SPAN・RSPAN・ERSPANの設定3 / 6

ERSPANのIP転送

ERSPANはcopyをGRE/IPへ包み、L3 networkを越えて送る。対応するIOS XEで、送信装置のorigin IPを192.0.2.10、受信装置を192.0.2.50、ERSPAN ID100とする例は次のようになる。

monitor session 10 type erspan-source
 source interface GigabitEthernet1/0/10 both
 destination
  erspan-id 100
  ip address 192.0.2.50
  origin ip address 192.0.2.10
 exit
 no shutdown

受信側でlocal interface/loopbackに192.0.2.50を持ち、対応するERSPAN destinationを作る例は次のようになる。

monitor session 20 type erspan-destination
 destination interface GigabitEthernet1/0/48
 source
  erspan-id 100
  ip address 192.0.2.50
 exit
 no shutdown

localのmonitor session番号は送受で同じにする必要はないが、識別するERSPAN ID等を対応させる。宛先IPは受信装置が持つaddressを使う。collector softwareで受ける場合は、その対応するheader形式と受信・decapsulationの構成へ合わせる。

学習パスへ
参考資料