Configuring Remote Traffic Mirroring
Example:
RP/0/RP0/CPU0:router(config)# monitor-session mon1 ethernet
RP/0/RP0/CPU0:router(config-mon)#
Defines a monitor session and enters monitor session configuration mode.
Step 3
destination interface tunnel-ip
Example:
RP/0/RP0/CPU0:router(config-mon)# destination interface tunnelip3
Specifies the destination subinterface to which traffic is replicated.
Step 4
exit
Example:
RP/0/RP0/CPU0:router(config-mon)# exit
RP/0/RP0/CPU0:router(config)#
Exits monitor session configuration mode and returns to global configuration mode.
Step 5
interface type number
Example:
RP/0/RP0/CPU0:router(config)# interface HundredGigE 0/1/0/1
Enters interface configuration mode for the specified source interface. The interface number is entered in
rack/slot/module/port notation. For more information about the syntax for the router, use the question mark (?) online
help function.
Step 6
monitor-session session-name ethernet direction rx-onlyport-only
Example:
RP/0/RP0/CPU0:router(config-if)# monitor-session mon1 ethernet
direction rx-only port-only
Specifies the monitor session to be used on this interface. Use the direction keyword to specify that only ingress or
egress traffic is mirrored.
Step 7
end or commit
Example:
RP/0/RP0/CPU0:router(config-if)# end
or
RP/0/RP0/CPU0:router(config-if)# commit
Saves configuration changes.
• When you issue the end command, the system prompts you to commit changes:
Uncommitted changes found, commit them before exiting (yes/no/cancel)?
[cancel]:
Interface and Hardware Component Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release
6.1.x
126
Configuring Traffic Mirroring