484
Configuring SPAN and RSPAN
Additional References
Configuring a VLAN for a SPAN Session: Example
This example shows how to configure VLAN 901 as the source remote VLAN and port 1 as the destination interface:
Switch(config)#
monitor session 1 source remote vlan 901
Switch(config)#
monitor session 1 destination interface GigabitEthernet1/17
Switch(config)#
end
Modifying RSPAN Sessions: Examples
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(config)#
no monitor session 1
Switch(config)#
monitor session 1 source interface GigabitEthernet1/17 tx
Switch(config)#
monitor session 1 source interface GigabitEthernet1/18 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 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(config)#
monitor session 2 source remote vlan 901
Switch(config)#
monitor session 2 destination interface GigabitEthernet1/18 ingress vlan 6
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(config)#
no monitor session 2
(config)#
monitor session 2 source interface GigabitEthernet1/18 rx
Switch(config)#
monitor session 2 filter vlan 1 - 5, 9
Switch(config)#
monitor session 2 destination remote vlan 902
Switch(config)#
end
Additional References
The following sections provide references related to switch administration:
Summary of Contents for IE 4000
Page 12: ...8 Configuration Overview Default Settings After Initial Switch Configuration ...
Page 52: ...48 Configuring Interfaces Monitoring and Maintaining the Interfaces ...
Page 108: ...104 Configuring Switch Clusters Additional References ...
Page 128: ...124 Performing Switch Administration Additional References ...
Page 130: ...126 Configuring PTP ...
Page 140: ...136 Configuring CIP Additional References ...
Page 146: ...142 Configuring SDM Templates Configuration Examples for Configuring SDM Templates ...
Page 192: ...188 Configuring Switch Based Authentication Additional References ...
Page 244: ...240 Configuring IEEE 802 1x Port Based Authentication Additional References ...
Page 298: ...294 Configuring VLANs Additional References ...
Page 336: ...332 Configuring STP Additional References ...
Page 408: ...404 Configuring DHCP Additional References ...
Page 450: ...446 Configuring IGMP Snooping and MVR Additional References ...
Page 490: ...486 Configuring SPAN and RSPAN Additional References ...
Page 502: ...498 Configuring Layer 2 NAT ...
Page 770: ...766 Configuring IPv6 MLD Snooping Related Documents ...
Page 930: ...926 Configuring IP Unicast Routing Related Documents ...
Page 976: ...972 Configuring Cisco IOS IP SLAs Operations Additional References ...
Page 978: ...974 Dying Gasp ...
Page 990: ...986 Configuring Enhanced Object Tracking Monitoring Enhanced Object Tracking ...
Page 994: ...990 Configuring MODBUS TCP Displaying MODBUS TCP Information ...
Page 996: ...992 Ethernet CFM ...
Page 1066: ...1062 Using an SD Card SD Card Alarms ...