Foundry NetIron M2404C and M2404F Metro Access Switches
Troubleshooting and Monitoring (Rev. 03)
Traffic Monitoring
© 2008 Foundry Networks, Inc.
Page 19 of 55
NOTE
On the switches, the rx | tx option is available only for configuring monitored ports
(using the source keyword). When the analyzer port is configured (using the
destination keyword), monitoring is set for both ingress and egress traffic.
However, the no monitor session command removes monitoring only for the
specified traffic (ingress if rx is specified, egress if tx is specified).
Example
The following example shows how to configure a monitor session to monitor ingress traffic on
multiple source VLANs. Note that the
rx
keyword must not be used in the second command line.
device-name
(config)#
monitor session rx source vlan 5-10,100
device-name
(config)#
monitor session destination interface 1/1/3
Displaying the Monitor Session Configuration
The
show monitor session
command, in Privileged (Enable) mode, displays the monitor session
configuration.
Command Syntax
device-name
#
show monitor
session
Example
device-name
(config)#
monitor session destination interface 1/1/8
device-name
(config)#
monitor session rx source interface 1/1/9-1/1/10
device-name
(config)#
end
device-name
#
show monitor session
=================================================
Monitor | Analyzer | Source | Monitored Source
---------+----------+---------+------------------
Transmit | | |
Receive | 1/1/8 | ports | 1/1/9-1/1/10
Configuration Examples
Monitor Session on Ports
The following example, based on
Figure 1,
shows how to configure the monitor session on ports.
Interface 1/1/9 mirrors the traffic on interfaces 1/1/1, 1/1/2, 1/1/3, 1/1/5, 1/1/6 and 1/1/8. The
traffic is monitored both for Rx and Tx.
1. Set the destination interface (sniffer port) for both Rx and Tx:
device-name
(config)#
monitor session destination interface 1/1/9
2. Set the source interfaces (monitored ports):
device-name
(config)#
monitor session
rx
source
interface 1/1/1-
1/1/3,1/1/5-1/1/6,1/1/8
device-name
(config)#
monitor session
tx
source
interface 1/1/1-
1/1/3,1/1/5-1/1/6,1/1/8