CLI Reference Guide

628 Port Monitor Commands
Commands in this Chapter
This chapter explains the following commands:
monitor session
Use the monitor session command in Global Configuration mode to
configure a probe port and a monitored port for monitor session (port
monitoring). Use the src-interface parameter to specify the interface to
monitor. Use rx to monitor only ingress packets, or use tx to monitor only
egress packets. If you do not specify an {rx | tx} option, the destination port
monitors both ingress and egress packets. Use the destination interface to
specify the interface to receive the monitored traffic. Use the mode parameter
to enabled the administrative mode of the session. If enabled, the probe port
monitors all the traffic received and transmitted on the physical monitored
port.
Use the no form of the command to remove the monitoring session.
Syntax
monitor session
session_number
{source {interface
interface–id
|vlan
vlan-
id
| remote vlan
rspan-vlan-id
}[rx | tx] | destination {interface
interface–id
| remote vlan
rspan-vlan-id
reflector-port
interface-id
} | filter {ip access-
group [
acl-name
|
acl-number
] | mac access-group
acl-name
no monitor session
[no] monitor session
session_number
destination {interface
interface–id
|
remote vlan
rspan-vlan-id
reflector-port
interface-id
}
[no] monitor session
session_number
filter {ip access-group [
acl-name
|
acl-
number
] | mac access-group
acl-name
}
session _number
— Session identification number.
interface interface–id
— Ethernet interface (Range: Any valid Ethernet
Port), CPU interface. CPU interface is not supported as a destination
interface or a source interface for RSPAN..
monitor session show monitor session
remote-span show vlan remote-span
2CSNXXX_SWUM200.book Page 628 Tuesday, December 10, 2013 1:22 PM