show lldp local-device
Syntax
show lldp local-device [vsx-peer]
描述
Shows global LLDP information advertised by the switch, as well as port-based data. If VLANs are configured on any active interfaces, the VLAN ID is only shown for trunk native or untagged VLAN IDs on access interfaces.
Command context
Manager (#
)
Parameters
-
[vsx-peer]
-
Shows the output from the VSX peer switch. If the switches do not have the VSX configuration or the ISL is down, the output from the VSX peer switch is not displayed. This parameter is available on switches that support VSX.
权威
运营商或管理员or local user group members with execution rights for this command. Operators can execute this command from the operator context (>) only.
Example
Showing global LLDP information only (all ports including OOBM port are administratively down):
switch#show lldp local-deviceGlobal Data =========== Chassis-ID : 1c:98:ec:e3:45:00 System Name : switch System Description : Aruba JL375A 8400X XL.01.01.0001 Management Address : 192.168.10.1 Capabilities Available : Bridge, Router Capabilities Enabled : Bridge, Router TTL : 120
Showing all ports except1/1/11and OOBM as administratively down:
switch#show lldp local-deviceGlobal Data =========== Chassis-ID : 1c:98:ec:e3:45:00 System Name : switch System Description : Aruba Management Address : 192.168.10.1 Capabilities Available : Bridge, Router Capabilities Enabled : Bridge, Router TTL : 120 Port Based Data =============== Port-ID : 1/1/11 Port-Desc : "1/1/11" Port Mgmt-Address : 164.254.21.220 Port VLAN ID : 0 Port-ID : mgmt Port-Desc : "mgmt" Port Mgmt-Address : 164.254.21.220
In this example, all the ports except1/1/11are administratively down, and VLAN ID 100 is configured on this access interface.
switch#show lldp local-deviceGlobal Data =========== Chassis-ID : 1c:98:ec:e3:45:00 System Name : switch System Description : Aruba Management Address : 192.168.10.1 Capabilities Available : Bridge, Router Capabilities Enabled : Bridge, Router TTL : 120 Port Based Data =============== Port-ID : 1/1/11 Port-Desc : "1/1/11" Port VLAN ID : 100 Parent Interface : interface 1/1/11