28-17
Catalyst 3750 Switch Software Configuration Guide
OL-8550-02
Chapter 28 Configuring SPAN and RSPAN
Configuring SPAN and RSPAN
To monitor all VLANs on the trunk port, use the
no monitor session
session_number
filter
global
configuration command.
This example shows how to remove any existing configuration on SPAN session 2, configure SPAN
session 2 to monitor traffic received on Gigabit Ethernet trunk port 2, and send traffic for only VLANs
1 through 5 and VLAN 9 to destination Gigabit Ethernet port 1.
Switch(config)#
no monitor session 2
Switch(config)#
monitor session 2 source interface gigabitethernet1/0/2 rx
Switch(config)#
monitor session 2 filter vlan 1 - 5 , 9
Switch(config)#
monitor session 2 destination interface gigabitethernet1/0/1
Switch(config)#
end
Configuring RSPAN
These sections contain this configuration information:
•
RSPAN Configuration Guidelines, page 28-18
•
Configuring a VLAN as an RSPAN VLAN, page 28-19
•
Creating an RSPAN Source Session, page 28-19
•
Creating an RSPAN Destination Session, page 28-21
•
Creating an RSPAN Destination Session and Configuring Incoming Traffic, page 28-22
•
Specifying VLANs to Filter, page 28-24
Step 5
monitor session
session_number
destination
{
interface
interface-id
[, | -]
[
encapsulation replicate]
}
Specify the SPAN session and the destination port (monitoring port).
For
session_number
, specify the session number entered in Step 3.
For
interface-id
, specify the destination port. The destination interface
must be a physical port; it cannot be an EtherChannel, and it cannot
be a VLAN.
(Optional) [
,
|
-
] Specify a series or range of interfaces. Enter a space
before and after the comma; enter a space before and after the hyphen.
(Optional) Enter
encapsulation replicate
to specify that the
destination interface replicates the source interface encapsulation
method. If not selected, the default is to send packets in native form
(untagged).
Step 6
end
Return to privileged EXEC mode.
Step 7
show monitor
[
session
session_number
]
show running-config
Verify the configuration.
Step 8
copy running-config startup-config
(Optional) Save the configuration in the configuration file.
Command
Purpose
Содержание 3750G - Catalyst Integrated Wireless LAN Controller
Страница 80: ...1 28 Catalyst 3750 Switch Software Configuration Guide OL 8550 02 Chapter 1 Overview Where to Go Next ...
Страница 606: ...27 8 Catalyst 3750 Switch Software Configuration Guide OL 8550 02 Chapter 27 Configuring UDLD Displaying UDLD Status ...
Страница 670: ...31 18 Catalyst 3750 Switch Software Configuration Guide OL 8550 02 Chapter 31 Configuring SNMP Displaying SNMP Status ...
Страница 1048: ...41 20 Catalyst 3750 Switch Software Configuration Guide OL 8550 02 Chapter 41 Configuring MSDP Monitoring and Maintaining MSDP ...
Страница 1086: ...43 26 Catalyst 3750 Switch Software Configuration Guide OL 8550 02 Chapter 43 Troubleshooting Using the crashinfo Files ...
Страница 1104: ...B 4 Catalyst 3750 Switch Software Configuration Guide OL 8550 02 Appendix B Supported MIBs Using FTP to Access the MIB Files ...