Configuring Local SPAN, RSPAN, and ERSPAN
Configuring Local SPAN, RSPAN, and ERSPAN
These sections describe how to configure local SPAN, RSPAN, and ERSPAN:
•
•
•
•
•
•
•
•
•
Configuring Destination Port Permit Lists (Optional)
To prevent accidental configuration of ports as destinations, you can create a permit list of the ports that
are valid for use as destinations. With a destination port permit list configured, you can only configure
the ports in the permit list as destinations.
To configure a destination port permit list, perform this task:
Command
Step 1
Router# configure terminal
Step 2
Router(config)# monitor permit-list
Step 3
Router(config)# no monitor permit-list
Step 4
Router(config)# monitor permit-list destination
1
interface type
slot/port - port ]
Step 5
Router(config)# no monitor permit-list destination
1
interface type
slot/port - port ]
Step 6
Router(config)# do show monitor permit-list
1. type = ethernet, fastethernet, gigabitethernet, or tengigabitethernet
This example shows how to configure a destination port permit list that includes Gigabit Ethernet ports
5/1 through 5/4 and 6/1:
Router# configure terminal
Router(config)# monitor permit-list
Router(config)# monitor permit-list destination interface gigabitethernet 5/1-4,
gigabitethernet 6/1
This example shows how to verify the configuration:
Router(config)# do show monitor permit-list
SPAN Permit-list
Permit-list ports
Cisco 7600 Series Router Cisco IOS Software Configuration Guide, Release 12.2SX
52-14
Configuring Destination Port Permit Lists (Optional), page 52-14
Configuring Local SPAN, page 52-15
Configuring RSPAN, page 52-16
Configuring ERSPAN, page 52-19
Configuring Source VLAN Filtering for Local SPAN and RSPAN, page 52-24
Configuring a Destination Port as an Unconditional Trunk, page 52-24
Configuring Destination Trunk Port VLAN Filtering, page 52-25
Verifying the Configuration, page 52-26
Configuration Examples, page 52-27
slot/port [- port ] [, type
slot/port [- port ] [, type
:Admin Enabled
:Gi5/1-4,Gi6/1
Chapter 52
Purpose
Enters global configuration mode.
Enables use of the destination port permit list.
Disables use of the destination port permit list.
Configures a destination port permit list or adds
1
to an existing destination port permit list.
Deletes from or clears an existing destination port
1
permit list.
Verifies the configuration.
Configuring Local SPAN, RSPAN, and ERSPAN
OL-4266-08