The purpose of this document is to explain quickly how to capture packets on the trunk between the ACE ad the Catalyst hosting the module.
This one of the most used procedures used by TAC to troubleshoot what enters and exits the module.
Traffic should be captured from the backplane port connecting to the ACE module. Ideally, the captured traffic should be sent to a port configured as trunk to ensure VLAN tags are preserved. Note that some network adapters or drivers strip the VLAN tag before sending it to the capture application.
The sniff can be done by filtering just the vlan of interest. This way we just keep off the capture the intra VLAN traffic that does not travere the ACE module and in whch we are not interested.
Packet Capture Limitations
When using a capture application, the following settings can limit the amount of storage required to capture the traffic:
Limit the capture packet length
Use a fixed capture file size
Rotate between a number of capture files
Configure Packet Capture
The few steps are:
1) to identify the source of the sniffing, meaning the ACE and its slot. Let's say the ACE module is settled in the slot 5;
2) to identify the destination of the sniffing wher the sniffing device is connected, let's say Ge 7/29; the port will have precise settings to preserve the VLAN settings, i.e. it will be a trunk; This is a MUST when doing a sniff in a bridge-mode environment if the IP addresses do not change in traversing the ACE;
3) to identify the VLAN of interest, let's say VLAN 100 and 200. (optional)
The number of files to rotate the captures depends on the amount of storage available.
An alternative method of limiting the captured traffic is to use VACLs or VLAN ACLs. An IP access-list can be used to specify traffic to capture.
ip access-list extended ALL_TRAFFIC
permit ip any any
ip access-list extended CAPTURE-HTTP
permit tcp any any eq www
vlan access-map HTTP_MAP 10
match ip address CAPTURE-HTTP
action forward capture
vlan access-map HTTP_MAP 20
match ip address ALL_TRAFFIC
vlan filter HTTP_MAP vlan-list 803-804
switchport trunk encapsulation dot1q
switchport mode trunk
switchport capture allowed vlan 803,804
no ip address
NOTE 1: Please note that on the packet trace tool (WireShark, Ethereal, SnifferPro) the frame snap size should be set to unlimited otherwise, only the first 68 bytes of each frame may be captured.
NOTE 2: The monitor session will span the entire packet and hence the throughput of each VLAN you filter will be summed up to the bandwidth available on the destination port.
Local SPAN, RSPAN, and ERSPAN sessions allow you to monitor traffic on one or more ports, or one or more VLANs, and send the monitored traffic to one or more destination ports. A local SPAN session is an association of source ports and source VLANs with one or more destination ports. You configure a local SPAN session on a single switch. Local SPAN does not have separate source and destination sessions. RSPAN supports source ports, source VLANs, and destination ports on different switches, which provides remote monitoring of multiple switches across your network. RSPAN consists of an RSPAN source session, an RSPAN VLAN, and an RSPAN destination session. ERSPAN supports source ports, source VLANs, and destination ports on different switches, which provides remote monitoring of multiple switches across your network. ERSPAN consists of an ERSPAN source session, routable ERSPAN GRE-encapsulated traffic, and an ERSPAN destination session.
Hi All , We have pair of 5020 ( VPC ) which will be refreshed with 5596 UP switches.We have 6 x Fexes which are connected to 5020 in dual homed manner. My question is when we are moving uplinks of Fex from 5020 to 5596 switches , what kind...
Hi Team,Sorry if this is a question is already asked, if so please guide me to that place...EPA is in EPG1EPB is in EPG2i need to have a contract which can permit only ping initiated from EPA and not EPB.....so if EPA ping EPB it should workif EPB pings E...
I have an ENCS5408 which was unused but during an attempted upgrade it seems to have run out of space on /var.Even a reboot on the device can't be done;nfvis# hostaction rebootError: Python cb_action error. [Errno 28] No space left on device nfvis# s...
I have a multipod ACI fabric With 3 apics.Trying to get snmp working, and following Cisco doc's, I get 1 of the 3 apic's working.2 of my apic's does not reply to the snmp get request from my managment station.Does anyone have any tips for getting it to wo...