API Guide
• 在 EXEC 模式下查看邻居通告的所有接口特定信息。
show lldp neighbors interface ethernetnode/slot/port[:subport]
查看 LLDP 邻居
OS10# show lldp neighbors
Loc PortID Rem Host Name Rem Port Id Rem Chassis Id
----------------------------------------------------------------------
ethernet1/1/2 Not Advertised fortyGigE 0/56 00:01:e8:8a:fd:35
ethernet1/1/20:1 Not Advertised GigabitEthernet 1/0 00:01:e8:05:db:05
查看 LLDP 邻居详细信息
OS10# show lldp neighbors interface ethernet 1/1/1 detail
Remote Chassis ID Subtype: Mac address (4)
Remote Chassis ID: 00:13:21:57:ca:40
Remote Port Subtype: Interface name (5)
Remote Port ID: ethernet1/1/10
Remote Port Description: Ethernet port 1
Local Port ID: ethernet1/1/1
Locally assigned remote Neighbor Index: 3
Remote TTL: 120
Information valid for next 105 seconds
Time since last information change of this neighbor: 00:00:15
Remote System Name: LLDP-pkt-gen
Remote Management Address (IPv4): 10.1.1.1
Remote System Desc: LLDP packet generator using scapy
Existing System Capabilities: Repeater, Bridge, Router
Enabled System Capabilities: Repeater, Bridge, Router
Remote Max Frame Size: 0
Remote Aggregation Status: false
MAC PHY Configuration:
Auto-neg supported: 1
Auto-neg enabled: 1
Auto-neg advertised capabilities:
10BASE-T half duplex mode,
10BASE-T full duplex mode,
100BASE-TX half duplex mode,
100BASE-TX full duplex mode
MED Capabilities:
Supported:
LLDP-MED Capabilities,
Network Policy,
Location Identification,
Extended Power via MDI - PSE,
Extended Power via MDI - PD,
Inventory Management
Current:
LLDP-MED Capabilities,
Network Policy,
Location Identification,
Extended Power via MDI - PD,
Inventory Management
Device Class: Endpoint Class 3
Network Policy:
Application: voice, Tag: Tagged, Vlan: 50, L2 Priority: 6, DSCP Value: 46
Inventory Management:
H/W Revision : 12.1.1
F/W Revision : 10.1.9750B
S/W Revision : 10.1.9750B
Serial Number : B11G152
Manufacturer : Dell
Model : S6010-ON
Asset ID : E1001
Power-via-MDI:
Power Type: PD Device
Power Source: Local and PSE
Power Priority: Low
Power required: 6.5
Location Identification:
第 2 层 415