mirror of
https://github.com/the-tcpdump-group/tcpdump.git
synced 2024-11-24 10:33:28 +08:00
b713410ff2
Reference: IEEE Std 802.3-2012 "If the value of this field is less than or equal to 1500 decimal (05DC hexadecimal), then the Length/Type field indicates the number of MAC client data octets contained in the subsequent MAC Client Data field of the basic frame (Length interpretation)." Update the output of a test accordingly.
253 lines
15 KiB
Plaintext
253 lines
15 KiB
Plaintext
00:18:ba:98:68:8f > 01:00:0c:cc:cc:cc, 802.3, length 374: LLC, dsap SNAP (0xaa) Individual, ssap SNAP (0xaa) Command, ctrl 0x03: oui Cisco (0x00000c), pid CDP (0x2000), length 366: CDPv2, ttl: 180s, checksum: 0x0bea (unverified), length 366
|
|
Device-ID (0x01), value length: 2 bytes: 'S1'
|
|
Version String (0x05), value length: 190 bytes:
|
|
Cisco IOS Software, C3560 Software (C3560-ADVIPSERVICESK9-M), Version 12.2(44)SE, RELEASE SOFTWARE (fc1)
|
|
Copyright (c) 1986-2008 by Cisco Systems, Inc.
|
|
Compiled Sat 05-Jan-08 00:15 by weiliu
|
|
Platform (0x06), value length: 19 bytes: 'cisco WS-C3560-24TS'
|
|
Address (0x02), value length: 13 bytes: IPv4 (1) 0.0.0.0
|
|
Port-ID (0x03), value length: 16 bytes: 'FastEthernet0/13'
|
|
Capability (0x04), value length: 4 bytes: (0x00000028): L2 Switch, IGMP snooping
|
|
Protocol-Hello option (0x08), value length: 32 bytes:
|
|
VTP Management Domain (0x09), value length: 0 bytes: ''
|
|
Native VLAN ID (0x0a), value length: 2 bytes: 1
|
|
Duplex (0x0b), value length: 1 byte: full
|
|
AVVID trust bitmap (0x12), value length: 1 byte: 0x00
|
|
AVVID untrusted ports CoS (0x13), value length: 1 byte: 0x00
|
|
Management Addresses (0x16), value length: 13 bytes: IPv4 (1) 0.0.0.0
|
|
unknown field type (0x1a), value length: 12 bytes:
|
|
0x0000: 0000 0001 0000 0000 ffff ffff
|
|
00:19:2f:a7:b2:8d > 01:00:0c:cc:cc:cc, 802.3, length 378: LLC, dsap SNAP (0xaa) Individual, ssap SNAP (0xaa) Command, ctrl 0x03: oui Cisco (0x00000c), pid CDP (0x2000), length 370: CDPv2, ttl: 180s, checksum: 0x971d (unverified), length 370
|
|
Device-ID (0x01), value length: 2 bytes: 'S2'
|
|
Version String (0x05), value length: 190 bytes:
|
|
Cisco IOS Software, C3560 Software (C3560-ADVIPSERVICESK9-M), Version 12.2(44)SE, RELEASE SOFTWARE (fc1)
|
|
Copyright (c) 1986-2008 by Cisco Systems, Inc.
|
|
Compiled Sat 05-Jan-08 00:15 by weiliu
|
|
Platform (0x06), value length: 20 bytes: 'cisco WS-C3560G-24PS'
|
|
Address (0x02), value length: 13 bytes: IPv4 (1) 0.0.0.0
|
|
Port-ID (0x03), value length: 19 bytes: 'GigabitEthernet0/13'
|
|
Capability (0x04), value length: 4 bytes: (0x00000028): L2 Switch, IGMP snooping
|
|
Protocol-Hello option (0x08), value length: 32 bytes:
|
|
VTP Management Domain (0x09), value length: 0 bytes: ''
|
|
Native VLAN ID (0x0a), value length: 2 bytes: 1
|
|
Duplex (0x0b), value length: 1 byte: full
|
|
AVVID trust bitmap (0x12), value length: 1 byte: 0x00
|
|
AVVID untrusted ports CoS (0x13), value length: 1 byte: 0x00
|
|
Management Addresses (0x16), value length: 13 bytes: IPv4 (1) 0.0.0.0
|
|
unknown field type (0x1a), value length: 12 bytes:
|
|
0x0000: 0000 0001 0000 0000 ffff ffff
|
|
00:19:2f:a7:b2:8d > 01:80:c2:00:00:0e, ethertype LLDP (0x88cc), length 296: LLDP, length 282
|
|
Chassis ID TLV (1), length 7
|
|
Subtype MAC address (4): 00:19:2f:a7:b2:8d
|
|
Port ID TLV (2), length 13
|
|
Subtype Interface alias (1): Uplink to S1
|
|
Time to Live TLV (3), length 2: TTL 120s
|
|
System Name TLV (5), length 12: S2.cisco.com
|
|
System Description TLV (6), length 190
|
|
Cisco IOS Software, C3560 Software (C3560-ADVIPSERVICESK9-M), Version 12.2(44)SE, RELEASE SOFTWARE (fc1)\0x0aCopyright (c) 1986-2008 by Cisco Systems, Inc.\0x0aCompiled Sat 05-Jan-08 00:15 by weiliu
|
|
Port Description TLV (4), length 19: GigabitEthernet0/13
|
|
System Capabilities TLV (7), length 4
|
|
System Capabilities [Bridge, Router] (0x0014)
|
|
Enabled Capabilities [Bridge] (0x0004)
|
|
Organization specific TLV (127), length 6: OUI Ethernet bridged (0x0080c2)
|
|
Port VLAN Id Subtype (1)
|
|
port vlan id (PVID): 1
|
|
Organization specific TLV (127), length 9: OUI IEEE 802.3 Private (0x00120f)
|
|
MAC/PHY configuration/status Subtype (1)
|
|
autonegotiation [supported, enabled] (0x03)
|
|
PMD autoneg capability [10BASE-T hdx, Sym PAUSE for fdx, Asym and Sym PAUSE for fdx, 1000BASE-{X LX SX CX} fdx, 1000BASE-T hdx] (0xc036)
|
|
MAU type 100BASETX fdx (0x0010)
|
|
End TLV (0), length 0
|
|
00:18:ba:98:68:8f > 01:80:c2:00:00:0e, ethertype LLDP (0x88cc), length 287: LLDP, length 273
|
|
Chassis ID TLV (1), length 7
|
|
Subtype MAC address (4): 00:18:ba:98:68:8f
|
|
Port ID TLV (2), length 7
|
|
Subtype Local (7): Fa0/13
|
|
Time to Live TLV (3), length 2: TTL 120s
|
|
System Name TLV (5), length 12: S1.cisco.com
|
|
System Description TLV (6), length 190
|
|
Cisco IOS Software, C3560 Software (C3560-ADVIPSERVICESK9-M), Version 12.2(44)SE, RELEASE SOFTWARE (fc1)\0x0aCopyright (c) 1986-2008 by Cisco Systems, Inc.\0x0aCompiled Sat 05-Jan-08 00:15 by weiliu
|
|
Port Description TLV (4), length 16: FastEthernet0/13
|
|
System Capabilities TLV (7), length 4
|
|
System Capabilities [Bridge, Router] (0x0014)
|
|
Enabled Capabilities [Bridge] (0x0004)
|
|
Organization specific TLV (127), length 6: OUI Ethernet bridged (0x0080c2)
|
|
Port VLAN Id Subtype (1)
|
|
port vlan id (PVID): 1
|
|
Organization specific TLV (127), length 9: OUI IEEE 802.3 Private (0x00120f)
|
|
MAC/PHY configuration/status Subtype (1)
|
|
autonegotiation [supported, enabled] (0x03)
|
|
PMD autoneg capability [Sym PAUSE for fdx, Asym and Sym PAUSE for fdx, 1000BASE-{X LX SX CX} fdx, 1000BASE-T hdx] (0x0036)
|
|
MAU type 100BASETX fdx (0x0010)
|
|
End TLV (0), length 0
|
|
00:19:2f:a7:b2:8d > 01:80:c2:00:00:0e, ethertype LLDP (0x88cc), length 296: LLDP, length 282
|
|
Chassis ID TLV (1), length 7
|
|
Subtype MAC address (4): 00:19:2f:a7:b2:8d
|
|
Port ID TLV (2), length 13
|
|
Subtype Interface alias (1): Uplink to S1
|
|
Time to Live TLV (3), length 2: TTL 120s
|
|
System Name TLV (5), length 12: S2.cisco.com
|
|
System Description TLV (6), length 190
|
|
Cisco IOS Software, C3560 Software (C3560-ADVIPSERVICESK9-M), Version 12.2(44)SE, RELEASE SOFTWARE (fc1)\0x0aCopyright (c) 1986-2008 by Cisco Systems, Inc.\0x0aCompiled Sat 05-Jan-08 00:15 by weiliu
|
|
Port Description TLV (4), length 19: GigabitEthernet0/13
|
|
System Capabilities TLV (7), length 4
|
|
System Capabilities [Bridge, Router] (0x0014)
|
|
Enabled Capabilities [Bridge] (0x0004)
|
|
Organization specific TLV (127), length 6: OUI Ethernet bridged (0x0080c2)
|
|
Port VLAN Id Subtype (1)
|
|
port vlan id (PVID): 1
|
|
Organization specific TLV (127), length 9: OUI IEEE 802.3 Private (0x00120f)
|
|
MAC/PHY configuration/status Subtype (1)
|
|
autonegotiation [supported, enabled] (0x03)
|
|
PMD autoneg capability [10BASE-T hdx, Sym PAUSE for fdx, Asym and Sym PAUSE for fdx, 1000BASE-{X LX SX CX} fdx, 1000BASE-T hdx] (0xc036)
|
|
MAU type 100BASETX fdx (0x0010)
|
|
End TLV (0), length 0
|
|
00:18:ba:98:68:8f > 01:80:c2:00:00:0e, ethertype LLDP (0x88cc), length 287: LLDP, length 273
|
|
Chassis ID TLV (1), length 7
|
|
Subtype MAC address (4): 00:18:ba:98:68:8f
|
|
Port ID TLV (2), length 7
|
|
Subtype Local (7): Fa0/13
|
|
Time to Live TLV (3), length 2: TTL 120s
|
|
System Name TLV (5), length 12: S1.cisco.com
|
|
System Description TLV (6), length 190
|
|
Cisco IOS Software, C3560 Software (C3560-ADVIPSERVICESK9-M), Version 12.2(44)SE, RELEASE SOFTWARE (fc1)\0x0aCopyright (c) 1986-2008 by Cisco Systems, Inc.\0x0aCompiled Sat 05-Jan-08 00:15 by weiliu
|
|
Port Description TLV (4), length 16: FastEthernet0/13
|
|
System Capabilities TLV (7), length 4
|
|
System Capabilities [Bridge, Router] (0x0014)
|
|
Enabled Capabilities [Bridge] (0x0004)
|
|
Organization specific TLV (127), length 6: OUI Ethernet bridged (0x0080c2)
|
|
Port VLAN Id Subtype (1)
|
|
port vlan id (PVID): 1
|
|
Organization specific TLV (127), length 9: OUI IEEE 802.3 Private (0x00120f)
|
|
MAC/PHY configuration/status Subtype (1)
|
|
autonegotiation [supported, enabled] (0x03)
|
|
PMD autoneg capability [Sym PAUSE for fdx, Asym and Sym PAUSE for fdx, 1000BASE-{X LX SX CX} fdx, 1000BASE-T hdx] (0x0036)
|
|
MAU type 100BASETX fdx (0x0010)
|
|
End TLV (0), length 0
|
|
00:18:ba:98:68:8f > 01:00:0c:cc:cc:cc, 802.3, length 374: LLC, dsap SNAP (0xaa) Individual, ssap SNAP (0xaa) Command, ctrl 0x03: oui Cisco (0x00000c), pid CDP (0x2000), length 366: CDPv2, ttl: 180s, checksum: 0x0be9 (unverified), length 366
|
|
Device-ID (0x01), value length: 2 bytes: 'S1'
|
|
Version String (0x05), value length: 190 bytes:
|
|
Cisco IOS Software, C3560 Software (C3560-ADVIPSERVICESK9-M), Version 12.2(44)SE, RELEASE SOFTWARE (fc1)
|
|
Copyright (c) 1986-2008 by Cisco Systems, Inc.
|
|
Compiled Sat 05-Jan-08 00:15 by weiliu
|
|
Platform (0x06), value length: 19 bytes: 'cisco WS-C3560-24TS'
|
|
Address (0x02), value length: 13 bytes: IPv4 (1) 0.0.0.0
|
|
Port-ID (0x03), value length: 16 bytes: 'FastEthernet0/13'
|
|
Capability (0x04), value length: 4 bytes: (0x00000028): L2 Switch, IGMP snooping
|
|
Protocol-Hello option (0x08), value length: 32 bytes:
|
|
VTP Management Domain (0x09), value length: 0 bytes: ''
|
|
Native VLAN ID (0x0a), value length: 2 bytes: 1
|
|
Duplex (0x0b), value length: 1 byte: full
|
|
AVVID trust bitmap (0x12), value length: 1 byte: 0x00
|
|
AVVID untrusted ports CoS (0x13), value length: 1 byte: 0x00
|
|
Management Addresses (0x16), value length: 13 bytes: IPv4 (1) 0.0.0.0
|
|
unknown field type (0x1a), value length: 12 bytes:
|
|
0x0000: 0000 0001 0000 0000 ffff ffff
|
|
00:19:2f:a7:b2:8d > 01:00:0c:cc:cc:cc, 802.3, length 378: LLC, dsap SNAP (0xaa) Individual, ssap SNAP (0xaa) Command, ctrl 0x03: oui Cisco (0x00000c), pid CDP (0x2000), length 370: CDPv2, ttl: 180s, checksum: 0x971c (unverified), length 370
|
|
Device-ID (0x01), value length: 2 bytes: 'S2'
|
|
Version String (0x05), value length: 190 bytes:
|
|
Cisco IOS Software, C3560 Software (C3560-ADVIPSERVICESK9-M), Version 12.2(44)SE, RELEASE SOFTWARE (fc1)
|
|
Copyright (c) 1986-2008 by Cisco Systems, Inc.
|
|
Compiled Sat 05-Jan-08 00:15 by weiliu
|
|
Platform (0x06), value length: 20 bytes: 'cisco WS-C3560G-24PS'
|
|
Address (0x02), value length: 13 bytes: IPv4 (1) 0.0.0.0
|
|
Port-ID (0x03), value length: 19 bytes: 'GigabitEthernet0/13'
|
|
Capability (0x04), value length: 4 bytes: (0x00000028): L2 Switch, IGMP snooping
|
|
Protocol-Hello option (0x08), value length: 32 bytes:
|
|
VTP Management Domain (0x09), value length: 0 bytes: ''
|
|
Native VLAN ID (0x0a), value length: 2 bytes: 1
|
|
Duplex (0x0b), value length: 1 byte: full
|
|
AVVID trust bitmap (0x12), value length: 1 byte: 0x00
|
|
AVVID untrusted ports CoS (0x13), value length: 1 byte: 0x00
|
|
Management Addresses (0x16), value length: 13 bytes: IPv4 (1) 0.0.0.0
|
|
unknown field type (0x1a), value length: 12 bytes:
|
|
0x0000: 0000 0001 0000 0000 ffff ffff
|
|
00:19:2f:a7:b2:8d > 01:80:c2:00:00:0e, ethertype LLDP (0x88cc), length 296: LLDP, length 282
|
|
Chassis ID TLV (1), length 7
|
|
Subtype MAC address (4): 00:19:2f:a7:b2:8d
|
|
Port ID TLV (2), length 13
|
|
Subtype Interface alias (1): Uplink to S1
|
|
Time to Live TLV (3), length 2: TTL 120s
|
|
System Name TLV (5), length 12: S2.cisco.com
|
|
System Description TLV (6), length 190
|
|
Cisco IOS Software, C3560 Software (C3560-ADVIPSERVICESK9-M), Version 12.2(44)SE, RELEASE SOFTWARE (fc1)\0x0aCopyright (c) 1986-2008 by Cisco Systems, Inc.\0x0aCompiled Sat 05-Jan-08 00:15 by weiliu
|
|
Port Description TLV (4), length 19: GigabitEthernet0/13
|
|
System Capabilities TLV (7), length 4
|
|
System Capabilities [Bridge, Router] (0x0014)
|
|
Enabled Capabilities [Bridge] (0x0004)
|
|
Organization specific TLV (127), length 6: OUI Ethernet bridged (0x0080c2)
|
|
Port VLAN Id Subtype (1)
|
|
port vlan id (PVID): 1
|
|
Organization specific TLV (127), length 9: OUI IEEE 802.3 Private (0x00120f)
|
|
MAC/PHY configuration/status Subtype (1)
|
|
autonegotiation [supported, enabled] (0x03)
|
|
PMD autoneg capability [10BASE-T hdx, Sym PAUSE for fdx, Asym and Sym PAUSE for fdx, 1000BASE-{X LX SX CX} fdx, 1000BASE-T hdx] (0xc036)
|
|
MAU type 100BASETX fdx (0x0010)
|
|
End TLV (0), length 0
|
|
00:18:ba:98:68:8f > 01:80:c2:00:00:0e, ethertype LLDP (0x88cc), length 287: LLDP, length 273
|
|
Chassis ID TLV (1), length 7
|
|
Subtype MAC address (4): 00:18:ba:98:68:8f
|
|
Port ID TLV (2), length 7
|
|
Subtype Local (7): Fa0/13
|
|
Time to Live TLV (3), length 2: TTL 120s
|
|
System Name TLV (5), length 12: S1.cisco.com
|
|
System Description TLV (6), length 190
|
|
Cisco IOS Software, C3560 Software (C3560-ADVIPSERVICESK9-M), Version 12.2(44)SE, RELEASE SOFTWARE (fc1)\0x0aCopyright (c) 1986-2008 by Cisco Systems, Inc.\0x0aCompiled Sat 05-Jan-08 00:15 by weiliu
|
|
Port Description TLV (4), length 16: FastEthernet0/13
|
|
System Capabilities TLV (7), length 4
|
|
System Capabilities [Bridge, Router] (0x0014)
|
|
Enabled Capabilities [Bridge] (0x0004)
|
|
Organization specific TLV (127), length 6: OUI Ethernet bridged (0x0080c2)
|
|
Port VLAN Id Subtype (1)
|
|
port vlan id (PVID): 1
|
|
Organization specific TLV (127), length 9: OUI IEEE 802.3 Private (0x00120f)
|
|
MAC/PHY configuration/status Subtype (1)
|
|
autonegotiation [supported, enabled] (0x03)
|
|
PMD autoneg capability [Sym PAUSE for fdx, Asym and Sym PAUSE for fdx, 1000BASE-{X LX SX CX} fdx, 1000BASE-T hdx] (0x0036)
|
|
MAU type 100BASETX fdx (0x0010)
|
|
End TLV (0), length 0
|
|
00:19:2f:a7:b2:8d > 01:80:c2:00:00:0e, ethertype LLDP (0x88cc), length 296: LLDP, length 282
|
|
Chassis ID TLV (1), length 7
|
|
Subtype MAC address (4): 00:19:2f:a7:b2:8d
|
|
Port ID TLV (2), length 13
|
|
Subtype Interface alias (1): Uplink to S1
|
|
Time to Live TLV (3), length 2: TTL 120s
|
|
System Name TLV (5), length 12: S2.cisco.com
|
|
System Description TLV (6), length 190
|
|
Cisco IOS Software, C3560 Software (C3560-ADVIPSERVICESK9-M), Version 12.2(44)SE, RELEASE SOFTWARE (fc1)\0x0aCopyright (c) 1986-2008 by Cisco Systems, Inc.\0x0aCompiled Sat 05-Jan-08 00:15 by weiliu
|
|
Port Description TLV (4), length 19: GigabitEthernet0/13
|
|
System Capabilities TLV (7), length 4
|
|
System Capabilities [Bridge, Router] (0x0014)
|
|
Enabled Capabilities [Bridge] (0x0004)
|
|
Organization specific TLV (127), length 6: OUI Ethernet bridged (0x0080c2)
|
|
Port VLAN Id Subtype (1)
|
|
port vlan id (PVID): 1
|
|
Organization specific TLV (127), length 9: OUI IEEE 802.3 Private (0x00120f)
|
|
MAC/PHY configuration/status Subtype (1)
|
|
autonegotiation [supported, enabled] (0x03)
|
|
PMD autoneg capability [10BASE-T hdx, Sym PAUSE for fdx, Asym and Sym PAUSE for fdx, 1000BASE-{X LX SX CX} fdx, 1000BASE-T hdx] (0xc036)
|
|
MAU type 100BASETX fdx (0x0010)
|
|
End TLV (0), length 0
|
|
00:18:ba:98:68:8f > 01:80:c2:00:00:0e, ethertype LLDP (0x88cc), length 287: LLDP, length 273
|
|
Chassis ID TLV (1), length 7
|
|
Subtype MAC address (4): 00:18:ba:98:68:8f
|
|
Port ID TLV (2), length 7
|
|
Subtype Local (7): Fa0/13
|
|
Time to Live TLV (3), length 2: TTL 120s
|
|
System Name TLV (5), length 12: S1.cisco.com
|
|
System Description TLV (6), length 190
|
|
Cisco IOS Software, C3560 Software (C3560-ADVIPSERVICESK9-M), Version 12.2(44)SE, RELEASE SOFTWARE (fc1)\0x0aCopyright (c) 1986-2008 by Cisco Systems, Inc.\0x0aCompiled Sat 05-Jan-08 00:15 by weiliu
|
|
Port Description TLV (4), length 16: FastEthernet0/13
|
|
System Capabilities TLV (7), length 4
|
|
System Capabilities [Bridge, Router] (0x0014)
|
|
Enabled Capabilities [Bridge] (0x0004)
|
|
Organization specific TLV (127), length 6: OUI Ethernet bridged (0x0080c2)
|
|
Port VLAN Id Subtype (1)
|
|
port vlan id (PVID): 1
|
|
Organization specific TLV (127), length 9: OUI IEEE 802.3 Private (0x00120f)
|
|
MAC/PHY configuration/status Subtype (1)
|
|
autonegotiation [supported, enabled] (0x03)
|
|
PMD autoneg capability [Sym PAUSE for fdx, Asym and Sym PAUSE for fdx, 1000BASE-{X LX SX CX} fdx, 1000BASE-T hdx] (0x0036)
|
|
MAU type 100BASETX fdx (0x0010)
|
|
End TLV (0), length 0
|