We currently have RSPAN configured on C6504 (Config below). I need to migrate these configuration to C9500 (IOS-XE). I read the below documentations on how to configure ERSPAN and the config requires creating a GRE tunnel between two points. I am not clear on how do that. In the ERSPAN config requires two destination IP addresses and don't know of which devices I need to put these IPs for. Any help would be greatly appreciated!!
RSPAN Config on C6504:
monitor session 2 type rspan-source
source interface Gi4/43
source interface Po25
destination remote vlan 3001
monitor session 3 type rspan-destination
source remote vlan 3001
destination interface Gi4/32
ERSPAN run over L3 network, as long as source IP and destination IP reachable.
Source IP where you are capturing the monitor session
destination when you like to sniff the traffic or mirror the traffic
a good example here :
you can find config example :
Thanks for the input, Balaji!
Using the example you provided, I am assuming that I can use the same IP Address for the destination and origin IP addresses if the both interfaces (source and destination )are on the same switch. Would that be correct?
Using your example:
Src Port: G6/2 --- Interface traffic that need to be captured)
Dest Port: T6/8 --- Port Analyzer
monitor session 1 type erspan-source
source interface g6/2
destination ip address y.y.y.3
origin ip address y.y.y.3
monitor session 3 type erspan-destination
destination interface Tengigabit6/8
source ip address y.y.y.3
Thanks in advance,