Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

tcpdump and etherchannel

Status
Not open for further replies.

ogniemi

Technical User
Nov 7, 2003
1,041
0
0
PL
on standard, none-etherchannel interface I can recognize (using tcpdump) on which switch port interface is connected to.

eg.
tcpdump: listening on en0, link-type 1, capture size 1500 bytes
80414 packets received by filter
0 packets dropped by kernel
Port-ID (0x03), length: 19 bytes: 'GigabitEthernet6/14'

Is there a similiar way to get the port number for each ent being configured in etherchannel? tcpdump of course doesn't work in that case.
 
Hi,

is that what you are looking for?
netstat -vn | grep -i -E "Link Status|ETHERNET STATISTICS|Port operation"

or try entstat -d "ADAPTER" eg. entstat -d ent10
 
no I was thinking about something like this:

tcpdump -nn -v -i en0 -s 1500 -c 1 'ether[20:2] == 0x2000'

giving output like this:

tcpdump: listening on en0, link-type 1, capture size 1500 bytes
10:41:55.398940 snap 0:0:c:20:0 CDP v2, ttl: 180s, checksum: 692 (unverified)
Device-ID (0x01), length: 25 bytes: 'MYSWITCH01.net.somecompany.com'
Version String (0x05), length: 293 bytes:
Cisco Internetwork Operating System Software
IOS (tm) s72033_rp Software (s72033_rp-ADVENTERPRISEK9_WAN-M), Version 12.2(18)SXF4, RELEASE SOFTWARE (fc1)
Technical Support: Copyright (c) 1986-2006 by cisco Systems, Inc.
Compiled Thu 23-Mar-06 19:38 by tinhuang
Platform (0x06), length: 14 bytes: 'cisco WS-C6513'
Address (0x02), length: 13 bytes: IPv4 (1) 192.168.0.50
Port-ID (0x03), length: 20 bytes: 'GigabitEthernet13/26'
Capability (0x04), length: 4 bytes: (0x00000029): Router, L2 Switch, IGMP snooping
VTP Management Domain (0x09), length: 7 bytes: 'mwv-vtp'
Native VLAN ID (0x0a), length: 2 bytes: 2033
Duplex (0x0b), length: 1 byte: full
AVVID trust bitmap (0x12), length: 1 byte: 0x00
AVVID untrusted ports CoS (0x13), length: 1 byte: 0x00
18 packets received by filter
0 packets dropped by kernel


I have no idea if there is any substitite for etherchannel adapters...even for active adapter in etherchannel in active-backup configuration.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top