- New and Changed Information
- Preface
- Overview
- Tools
- Installation
- Licenses
- Upgrade
- High Availability
- VSM and VEM Modules
- Ports
- Port Profiles
- Port Channels and Trunking
- Layer 2 Switching
- VLAN
- Private VLAN
- NetFlow
- ACL
- Quality of Service
- SPAN
- Multicast IGMP
- DHCP, DAI, and IPSG
- Virtual Service Domain
- System
- Network Segmentation Manager
- VXLANs
- Ethanalyzer
- Before Contacting Technical Support
- Index
SPAN
This chapter describes how to identify and resolve problems that relate to SPAN and includes the following topics:
•SPAN Troubleshooting Commands
Information About SPAN
The Switched Port Analyzer (SPAN) feature (sometimes called port mirroring or port monitoring) selects network traffic for analysis by a network analyzer. The network analyzer can be a Cisco SwitchProbe or other Remote Monitoring (RMON) probe.
Cisco Nexus 1000V supports two types of SPAN:
•SPAN (local SPAN) that can monitor sources within a host or VEM.
•Encapsulated remote SPAN (ERSPAN) that can send monitored traffic to an IP destination.
For detailed information about how to configure local SPAN or ERSPAN, see the Cisco Nexus 1000V System Management Configuration Guide, Release 4.2(1)SV1(5.1).
SPAN Session Guidelines
The following are SPAN session guidelines:
•When a SPAN session contains multiple transmit source ports, packets that these ports receive may be replicated even though they are not transmitted on the ports. Examples include the following:
–Traffic that results from flooding
–Broadcast and multicast traffic
•For VLAN SPAN sessions with both receive and transmit configured, two packets (one from receive and one from transmit) are forwarded from the destination port if the packets get switched on the same VLAN.
•After VMotion:
–A session is stopped if the source and destination ports are separated.
–A session resumes if the source and destination ports end up on the same host.
•The following are required for a running SPAN session:
–The limit of 64 SPAN sessions is not exceeded.
–At least one operational source is configured.
–At least one operational destination is configured.
–The configured source and destination are on the same host.
–The session is enabled with the no shut command.
•A session is stopped if any of the following occur:
–All the source ports go down or are removed.
–All the destination ports go down or are removed.
–All the source and destination ports are separated by a VMotion.
–The session is disabled by a shut command.
Problems with SPAN
SPAN Troubleshooting Commands
You can use the commands in this section to troubleshoot problems related to SPAN.
|
|
---|---|
show monitor |
Displays the status of SPAN sessions. See Example 17-1. |
show monitor session |
Displays the current state of a SPAN session, the reason it is down, and the session configuration. See Example 17-2. |
module vem module-number execute vemcmd show span |
Displays the VEM source IP and SPAN configuration. See Example 17-3. |
show monitor internal errors |
|
show monitor internal event-history msgs |
|
show monitor internal info global-info |
|
show monitor internal mem-stats |
Example 17-1 show monitor
n1000v# show monitor
Session State Reason Description
------- ----------- ---------------------- --------------------------------
17 down Session admin shut folio
Example 17-2 show monitor session
n1000v(config)# show monitor session 1
session 1
---------------
type : erspan-source
state : up
source intf :
rx : Eth3/3
tx : Eth3/3
both : Eth3/3
source VLANs :
rx :
tx :
both :
filter VLANs : filter not specified
destination IP : 10.54.54.1
ERSPAN ID : 999
ERSPAN TTL : 64
ERSPAN IP Prec. : 0
ERSPAN DSCP : 0
ERSPAN MTU : 1000
Example 17-3 module vem execute vemcmd show span
n1000v# module vem 3 execute vemcmd show span
VEM SOURCE IP: 10.54.54.10
HW SSN ID DST LTL/IP ERSPAN ID
0 10.54.54.1 999
1 48 local