网络:LLDP centos 网口抓包报文

该文展示了使用tcpdump工具捕获到的LLDP(LinkLayerDiscoveryProtocol)数据包内容,详细列出了ChassisID、PortID、系统名称、描述、能力及组织特有信息,如端口VLANID、MAC/PHY配置等,揭示了网络设备的接口配置和网络拓扑细节。
摘要由CSDN通过智能技术生成

tcpdump -nvv -i enp4s0f1 -nev ether proto 0x88cc

tcpdump: listening on enp4s0f1, link-type EN10MB (Ethernet), capture size 262144 bytes
12:58:23.084082 40:fe:95:3b:c9:a1 > 01:80:c2:00:00:0e, ethertype LLDP (0x88cc), length 348: LLDP, length 334
    Chassis ID TLV (1), length 7
      Subtype MAC address (4): 40:fe:95:3b:c9:78
      0x0000:  0440 fe95 3bc9 78
    Port ID TLV (2), length 22
      Subtype Interface Name (5): GigabitEthernet1/0/28
      0x0000:  0547 6967 6162 6974 4574 6865 726e 6574
      0x0010:  312f 302f 3238
    Time to Live TLV (3), length 2: TTL 121s
      0x0000:  0079
    Port Description TLV (4), length 31: GigabitEthernet1/0/28 Interface
      0x0000:  4769 6761 6269 7445 7468 6572 6e65 7431
      0x0010:  2f30 2f32 3820 496e 7465 7266 6163 65
    System Name TLV (5), length 16: SYS-RACK02-TOR-1
      0x0000:  5359 532d 5241 434b 3032 2d54 4f52 2d31
    System Description TLV (6), length 168
      H3C Comware Platform Software, Software Version 7.1.070, Release 6328P03\0x0d\0x0aH3C S5130S-52P-EI\0x0d\0x0aCopyright (c) 2004-2021 New H3C Technologies Co., Ltd. All rights reserved.
      0x0000:  4833 4320 436f 6d77 6172 6520 506c 6174
      0x0010:  666f 726d 2053 6f66 7477 6172 652c 2053
      0x0020:  6f66 7477 6172 6520 5665 7273 696f 6e20
      0x0030:  372e 312e 3037 302c 2052 656c 6561 7365
      0x0040:  2036 3332 3850 3033 0d0a 4833 4320 5335
      0x0050:  3133 3053 2d35 3250 2d45 490d 0a43 6f70
      0x0060:  7972 6967 6874 2028 6329 2032 3030 342d
      0x0070:  3230 3231 204e 6577 2048 3343 2054 6563
      0x0080:  686e 6f6c 6f67 6965 7320 436f 2e2c 204c
      0x0090:  7464 2e20 416c 6c20 7269 6768 7473 2072
      0x00a0:  6573 6572 7665 642e
    System Capabilities TLV (7), length 4
      System  Capabilities [Bridge, Router] (0x0314)
      Enabled Capabilities [Bridge, Router] (0x0114)
      0x0000:  0314 0114
    Management Address TLV (8), length 14
      Management Address length 7, AFI 802 (6): 40:fe:95:3b:c9:a1
      Interface Index Interface Numbering (2): 0
      0x0000:  0706 40fe 953b c9a1 0200 0000 0000
    Organization specific TLV (127), length 6: OUI Ethernet bridged (0x0080c2)
      Port VLAN Id Subtype (1)
        port vlan id (PVID): 50
      0x0000:  0080 c201 0032
    Organization specific TLV (127), length 9: OUI Ethernet bridged (0x0080c2)
      unknown Subtype (7)
      0x0000:  0080 c207 0100 0000 00
    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, 10BASE-T fdx, 100BASE-TX hdx, 100BASE-TX fdx, 1000BASE-T fdx] (0x6c01)
        MAU type 1000BASET fdx (0x001e)
      0x0000:  0012 0f01 036c 0100 1e
    Organization specific TLV (127), length 12: OUI IEEE 802.3 Private (0x00120f)
      Power via MDI Subtype (2)
        MDI power support [PSE], power pair signal, power class class0
      0x0000:  0012 0f02 0101 0110 0000 0000
    Organization specific TLV (127), length 6: OUI IEEE 802.3 Private (0x00120f)
      Max frame size Subtype (4)
        MTU size 10240
      0x0000:  0012 0f04 2800
    End TLV (0), length 0

每30秒发送一次

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

千码君2016

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值