Specifying Vlans To Monitor - Cisco Catalyst 4500 Series Software Configuration Manual

Cisco ios xe release 3.9.xe and cisco ios release 15.2(5)ex
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Chapter 66
Configuring SPAN and RSPAN
Command
Step 1
Switch# configure terminal
Step 2
Switch(config)# [no] monitor session
{session_number} {source {interface
interface_list | {vlan vlan_IDs | cpu
[queue queue_ids]} [rx | tx | both]
Step 3
Switch(config)# end
Step 4
Switch# show monitor [session
session_number]
Step 5
Switch# copy running-config
startup-config
This example shows how to remove port 1 as an RSPAN source for RSPAN session 1:
Switch# configure terminal
Enter configuration commands, one per line.
Switch(config)# no monitor session 1 source interface gigabitEthernet1/1
Switch(config)# end
This example shows how to disable received traffic monitoring on port 1, which was configured for
bidirectional monitoring:
Switch(config)# no monitor session 1 source interface gigabitEthernet1/1 rx
The monitoring of traffic received on port 1 is disabled, but traffic transmitted from this port continues
to be monitored.

Specifying VLANs to Monitor

VLAN monitoring is similar to port monitoring. To specify VLANs to monitor, perform this task:
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Purpose
Enters global configuration mode.
Specifies the characteristics of the RSPAN source port (monitored
port) to remove.
For session_number, specifies the session number identified with
this RSPAN session (1 through 6).
For interface-list, specifies the source port to no longer monitor.
Valid interfaces include physical interfaces and port-channel
logical interfaces (port-channel port-channel-number).
For vlan_IDs, specifies the source vlan or vlans to monitor. Valid
VLANs are in the range from 1 to 4094.
For queue_ids, specifies either a set of CPU queue numerical
identifiers from 1 to 32, or a named queue.
(Optional) [, | -] Specifies a series or range of interfaces. Enter a
space after the comma; enter a space before and after the hyphen.
(Optional) Specifies the direction of traffic to monitor. If you do
not specify a traffic direction, the source interface sends both
transmitted (Tx) and received (Rx) traffic. Only received traffic can
be monitored on additional source ports.
Rx—Monitor received traffic.
Tx—Monitor transmitted traffic.
both—Monitor both received and transmitted traffic
(bidirectional).
Returns to privileged EXEC mode.
Verifies your entries.
(Optional) Saves your entries in the configuration file.
End with CNTL/Z.
Configuring RSPAN
66-21

Advertisement

Table of Contents
loading

Table of Contents