Users Guide
3 Enter the source and direction of monitored trac in MONITOR-SESSION mode.
source interface interface-type {both | rx | tx}
4 Enter the destination of trac in MONITOR-SESSION mode.
destination interface interface-type
Create monitoring session
OS10(config)# monitor session 1
OS10(conf-mon-local-1)#
Congure source and destination port, and trac direction
OS10(conf-mon-local-1)# source interface ethernet 1/1/7-1/1/8 rx
OS10(conf-mon-local-1)# destination interface port-channel 10
OS10(conf-mon-local-1)# no shut
View congured monitoring sessions
In the State eld, true indicates that the port is enabled. In the Reason eld, Is UP indicates that hardware resources are allocated.
OS10# show monitor session all
S.Id Source Destination Dir SrcIP DstIP DSCP TTL State Reason
----------------------------------------------------------------------
1 ethernet1/1/7 port-channel10 rx N/A N/A N/A N/A true Is UP
Port monitoring commands
description (Port Monitoring)
Congures a description for the port monitoring session.
Syntax
description string
Parameters string — Enter a description of the monitoring session (up to 255 characters).
Default Not congured
Command Mode MONITOR-SESSION
Usage Information The no version of this command removes the description text.
Example
OS10(conf-mon-local-1)# description remote
Supported Releases 10.2.0E or later
destination (Port Monitoring)
Sets the destination where monitored trac is sent to.
Syntax
destination {interface interface-type}
Parameters interface-type — Enter the interface type for a local monitoring session.
• ethernet node/slot/port[:subport] — Enter the Ethernet interface information as the destination.
• port-channel id-number — Enter a port-channel number as the destination (1 to 128).
• vlan vlan-id —Enter a VLAN ID as the destination (1 to 4093).
184 Layer 2










