Examples: Creating an RSPAN VLAN
This example shows how to create the RSPAN VLAN 901:
Switch>
enable
Switch#
configure terminal
Switch(config)#
vlan 901
Switch(config-vlan)#
remote span
Switch(config-vlan)#
end
This example shows how to remove any existing RSPAN configuration for session 1, configure RSPAN
session 1 to monitor multiple source interfaces, and configure the destination as RSPAN VLAN 901:
Switch>
enable
Switch#
configure terminal
Switch(config)#
no monitor session 1
Switch(config)#
monitor session 1 source interface gigabitethernet1/0/1 tx
Switch(config)#
monitor session 1 source interface gigabitethernet1/0/2 rx
Switch(config)#
monitor session 1 source interface port-channel 2
Switch(config)#
monitor session 1 destination remote vlan 901
Switch(config)#
end
This example shows how to remove any existing configuration on RSPAN session 2, configure RSPAN
session 2 to monitor traffic received on trunk port 2, and send traffic for only VLANs 1 through 5 and 9 to
destination RSPAN VLAN 902:
Switch>
enable
Switch#
configure terminal
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 remote vlan 902
Switch(config)#
end
This example shows how to configure VLAN 901 as the source remote VLAN and port 1 as the destination
interface:
Switch>
enable
Switch#
configure terminal
Switch(config)#
monitor session 1 source remote vlan 901
Switch(config)#
monitor session 1 destination interface gigabitethernet2/0/1
Switch(config)#
end
This example shows how to configure VLAN 901 as the source remote VLAN in RSPAN session 2, to
configure Gigabit Ethernet source port 2 as the destination interface, and to enable forwarding of incoming
traffic on the interface with VLAN 6 as the default receiving VLAN:
Switch>
enable
Switch#
configure terminal
Switch(config)#
monitor session 2 source remote vlan 901
Switch(config)#
monitor session 2 destination interface gigabitethernet1/0/2 ingress vlan 6
Switch(config)#
end
Related Topics
Creating an RSPAN Destination Session and Configuring Incoming Traffic, on page 499
Remote SPAN, on page 475
RSPAN VLAN, on page 481
RSPAN Configuration Guidelines, on page 483
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
503
SPAN and RSPAN Configuration Examples
Summary of Contents for Catalyst 2960 Series
Page 96: ......
Page 196: ......
Page 250: ......
Page 292: ......
Page 488: ......
Page 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Page 590: ......
Page 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Page 620: ......
Page 750: ......
Page 1604: ......
Page 1740: ......
Page 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Page 2106: ......
Page 2118: ......
Page 2164: ......