Viewing switch information available for outbound advertisements
Syntax:
show lldp info local-device [port-list]
Without the
[port-list]
option, displays the global switch information and the per-port information currently available for populating outbound LLDP advertisements.
With the
[port-list]
option, displays only the following port-specific information that is currently available for outbound LLDP advertisements on the specified ports:
PortType
PortId
PortDesc
This command displays the information available on the switch. Use the
lldp config <port-list>
command to change the selection of information that is included in actual outbound advertisements. In the default LLDP configuration, all information displayed by this command is transmitted in outbound advertisements.
In the default configuration, the switch information currently available for outbound LLDP advertisements appears similar to the display in the following example.
Displaying the global and per-port information available for outbound advertisements
switch(config)# show lldp info local-device LLDP Local Device Information Chassis Type : mac-address Chassis Id : 00 23 47 4b 68 DD System Name : Switch1 System Description : J9091A Switch, revision XX.15.06... System Capabilities Supported:bridge System Capabilities Enabled:bridge Management Address 1 Type:ipv4 Address: LLDP Port Information Port | PortType PortId PortDesc ----- + --------- ------- --------- 1 | local 1 1 2 | local 2 2 3 | local 3 3 4 | local 4 4 5 | local 5 5
- 1
The Management Address field displays only the LLDP-configurable IP addresses on the switch. (Only manually-configured IP addresses are LLDP-configurable.) If the switch has only an IP address from a DHCP or Bootp server, then the Management Address field is empty (because there are no LLDP-configurable IP addresses available.
The default per-port information content for ports 1 and 2
switch(config)# show lldp info local 1-2 LLDP Local Port Information Detail Port : 1 PortType : local PortId : 1 PortDesc : 1 ---------------------------------------- Port : 2 PortType : local PortId : 2 PortDesc : 2