查看 LLDP 邻居信息
可查看有关连接到集群节点的每个端口的相邻设备信息,前提是该端口已连接到符合 LLDP 的设备。可使用 network device-discovery show 命令来查看邻居信息。
显示有关连接到集群中节点端口的所有符合 LLDP 设备的信息:network device-discovery show -node node -protocol lldp
示例
以下命令显示连接到节点 cluster-1_01 上端口的邻居。输出列出了连接到指定节点的每个端口的启用 LLDP 的设备。如果省略 -protocol 选项,则输出还会列出启用 CDP 的设备。
cluster-1::> network device-discovery show -node cluster-1_01 -protocol lldp
Node/ Local Discovered
Protocol Port Device Interface Platform
----------- ------ ------------------------- ---------------- ----------------
cluster-1_01/lldp
e2a 0013.c31e.5c60 GigabitEthernet1/36
e2b 0013.c31e.5c60 GigabitEthernet1/35
e2c 0013.c31e.5c60 GigabitEthernet1/34
e2d 0013.c31e.5c60 GigabitEthernet1/33
提供反馈