![Cisco Catalyst 2350 Скачать руководство пользователя страница 203](http://html.mh-extra.com/html/cisco/catalyst-2350/catalyst-2350_command-reference-manual_67583203.webp)
2-179
Catalyst 2350 Switch Command Reference
OL-19055-01
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands
monitor session
This example shows how to limit SPAN traffic in an existing session only to specific VLANs:
Switch(config)#
monitor session 1 filter vlan 100 - 110
This example shows how to configure RSPAN source session 1 to monitor multiple source interfaces and
to configure the destination RSPAN VLAN 900.
Switch(config)#
monitor session 1 source interface gigabitethernet0/1
Switch(config)#
monitor session 1 source interface port-channel 2 tx
Switch(config)#
monitor session 1 destination remote vlan 900
Switch(config)#
end
This example shows how to configure an RSPAN destination session 10 in the switch receiving the
monitored traffic.
Switch(config)#
monitor session 10 source remote vlan 900
Switch(config)#
monitor session 10 destination interface gigabitethernet0/2
This example shows how to configure the destination port for ingress traffic on VLAN 5 by using a
security device that supports IEEE 802.1Q encapsulation. Egress traffic replicates the source; ingress
traffic uses IEEE 802.1Q encapsulation.
Switch(config)#
monitor session 2 destination interface gigabitethernet0/2 encapsulation
dot1q ingress dot1q vlan 5
This example shows how to configure the destination port for ingress traffic on VLAN 5 by using a
security device that does not support encapsulation. Egress traffic and ingress traffic are untagged.
Switch(config)#
monitor session 2 destination interface gigabitethernet0/2 ingress
untagged vlan 5
You can verify your settings by entering the
show monitor
privileged EXEC command. You can display
SPAN, RSPAN, FSPAN, and FRSPAN configuration on the switch by entering the
show running-config
privileged EXEC command. SPAN information appears near the end of the output.
Related Commands
Command
Description
remote-span
Configures an RSPAN VLAN in vlan configuration mode.
show monitor
Displays SPAN and RSPAN session information.
show running-config
Displays the operating configuration. For syntax information, use
this link to the Cisco IOS Release 12.2 Command Reference listing
page:
http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_co
mmand_reference_list.html
Select the
Cisco IOS Commands Master List, Release 12.2
to
navigate to the command.
Содержание Catalyst 2350
Страница 14: ...Contents xiv Catalyst 2350 Switch Command Reference OL 19055 01 ...
Страница 18: ...xviii Catalyst 2350 Switch Command Reference OL 19055 01 Preface ...
Страница 606: ...B 66 Catalyst 2350 Switch Command Reference OL 19055 01 Appendix B Catalyst 2350 Debug Commands debug vqpc ...
Страница 636: ...D 2 Catalyst 2350 Switch Command Reference OL 19055 01 Appendix D Acknowledgments for Open Source Software ...
Страница 652: ...Index IN 16 Catalyst 2350 Switch Command Reference OL 19055 01 ...