© 2011 Fujitsu Technology Solutions
492
10.4.14 Port Mirror
10.4.14.1 show port-monitor session
This command displays the Port monitoring information for the specified session.
Syntax
show port-monitor session <SessionNum>
Default Setting
None
Command Mode
Privileged Exec
Display Message
Session ID: indicates the session ID.
Admin Mode: indicates whether the Port Monitoring feature is enabled or disabled. The possible
values are enabled and disabled.
Probe Port: is the slot/port that is configured as the probe port. If this value has not been configured,
'Not Configured' will be displayed.
Mirrored Port: is the slot/port that is configured as the monitored port. If this value has not been
configured, 'Not Configured' will be displayed.
10.4.14.2 port-monitor session
This command configures a probe port and a monitored port for monitor session (port monitoring). Use
the source interface <slot/port> 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 <slot/port> to
specify the interface to receive the monitored traffic.
Syntax
port-monitor session <session-id> {source interface <slot/port> [{rx | tx}] | destination interface
<slot/port> }
no port-monitor session <session-id> { source interface <slot/port> | destination interface <slot/port>}
<slot/port> - Interface number.
tx/rx – Use to monitor ingress packets or egress packets.
no - This command removes the probe port or the mirrored port from a monitor session (port
monitoring).