Configuring the LLDP port-ID-subtype
  • 05 Jul 2023
  • 1 Minute to read
  • Contributors
  • PDF

Configuring the LLDP port-ID-subtype

  • PDF

Article summary

This section explains how to configure the Port ID subtype. The Port ID subtype can be configured to any of the following values:

  • Interface alias
  • Port component
  • MAC address
  • Network address
  • Interface name
  • Agent Circuit Id
  • Local


Note: While configuring the Port ID subtype as Port component/Local, an Input string must be given in the command for setting Port ID.

  1. Configure the LLDP port ID subtype by executing the following commands.
  • Enter the Global Configuration mode.
your product# configure terminal
  • Configure the LLDP port-ID subtype and enable LLDP
your product(config)# interface gigabitethernet 0/1
your product(config-if)# lldp port-id-subtype mac-addr
your product(config-if)# exit
your product(config)# set lldp enable
  • Exit from the Global Configuration mode.
your product(config)# end
  • View the local system information of interface 0/1 by executing the following command.
your product# show lldp local gigabitethernet 0/1
Port Id SubType : Mac Address
Port Id : 00:01:02:03:04:01
Port Description : Ethernet Interface
Enabled Tx Tlvs :
Extended 802.3 TLV Info
-MAC PHY Configuration & Status
Auto-Neg Support & Status : Not Supported, Disabled
Advertised Capability Bits : 0000
Operational MAU Type : 0
-Link Aggregation
Capability & Status : Not Capable, Not In Aggregation
Aggregated Port Id : 1
-Maximum Frame Size : 1500
Extended 802.1 TLV Info
-Port VLAN Id : 1
-Port & Protocol VLAN Id
Protocol VLAN Id Support Protocol VLAN Status TxStatus
---------------- ------- -------------------- --------
0 Supported Enabled Disabled
-Vlan Name
Vlan Id Vlan Name TxStatus
------- --------- --------
1 Disabled
--------------------------------------------------------------------

© 2024 Cisco and/or its affiliates. All rights reserved.
 
For more information about trademarks, please visit: Cisco trademarks
For more information about legal terms, please visit: Cisco legal terms

For legal information about Accedian Skylight products, please visit: Accedian legal terms and tradmarks



Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.