11.07.2015 Views

Catalyst 3750-E and 3560-E Switch Cisco IOS ... - DNIP . NET

Catalyst 3750-E and 3560-E Switch Cisco IOS ... - DNIP . NET

Catalyst 3750-E and 3560-E Switch Cisco IOS ... - DNIP . NET

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 2<strong>Catalyst</strong> <strong>3750</strong>-E <strong>and</strong> <strong>3560</strong>-E <strong>Switch</strong> <strong>Cisco</strong> <strong>IOS</strong> Comm<strong>and</strong>smonitor sessionsourceSpecify the SPAN or RSPAN source. A source can be a physical port, a portchannel, or a VLAN.both, rx, tx(Optional) Specify the traffic direction to monitor. If you do not specify atraffic direction, the source interface sends both transmitted <strong>and</strong> receivedtraffic.source vlan vlan-id Specify the SPAN source interface as a VLAN ID. The range is 1 to 4094.all, local, remote Specify all, local, or remote with the no monitor session comm<strong>and</strong> to clearall SPAN <strong>and</strong> RSPAN, all local SPAN, or all RSPAN sessions.filter ipSpecify the filtering of IPv4 packets in an FSPAN session.filter ipv6Specify the filtering of IPv6 packets in an FSPAN session.filter macSpecify the filtering of non-IP packets in an FSPAN session.access-groupSpecify the access list numbers or names to apply to an FSPAN session.access-list-number, nameDefaultsNo monitor sessions are configured.On a source interface, the default is to monitor both received <strong>and</strong> transmitted traffic.On a trunk interface used as a source port, all VLANs are monitored.If encapsulation replicate is not specified on a local SPAN destination port, packets are sent in nativeform with no encapsulation tag.Ingress forwarding is disabled on destination ports.Comm<strong>and</strong> ModesGlobal configurationComm<strong>and</strong> HistoryRelease12.2(35)SE212.2(40)EX12.2(44)SEModificationThis comm<strong>and</strong> was introduced.The destination-port group {a | b | c} keywords were added only for the<strong>Catalyst</strong> <strong>3560</strong>E-12D switch.The ip, ipv6,mac, <strong>and</strong> access group keywords were added.Usage GuidelinesTraffic that enters or leaves source ports or source VLANs can be monitored by using SPAN or RSPAN.Traffic routed to source ports or source VLANs cannot be monitored.You can set a combined maximum of two local SPAN sessions <strong>and</strong> RSPAN source sessions. You can havea total of 66 SPAN <strong>and</strong> RSPAN sessions on a switch or switch stack.You can have a maximum of 64 destination ports on a switch or a switch stack.Each session can include multiple ingress or egress source ports or VLANs, but you cannot combinesource ports <strong>and</strong> source VLANs in a single session. Each session can include multiple destination ports.When you use VLAN-based SPAN (VSPAN) to analyze network traffic in a VLAN or set of VLANs, allactive ports in the source VLANs become source ports for the SPAN or RSPAN session. Trunk ports areincluded as source ports for VSPAN, <strong>and</strong> only packets with the monitored VLAN ID are sent to thedestination port.OL-9776-08<strong>Catalyst</strong> <strong>3750</strong>-E <strong>and</strong> <strong>3560</strong>-E <strong>Switch</strong> Comm<strong>and</strong> Reference2-391

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!