set lldp port-id-tlv
Use this command to set the sub type of the Port ID.
Use no form of this command to unset the sub type of the Port ID.
Command Syntax
set lldp port-id-tlv (if-alias | ip-address | mac-address | if-name | agt-circuit-id | locally-assigned)
no set lldp port-id-tlv
Parameters
mac-address
Use the MAC address as the port-id-tlv.
ip-address
Use the management IP address as the port-id-tlv
if-alias
Use the IP alias as the port-id-tlv
if-name
Use the interface name as the port-id-tlv
agt-circuit-id
Use the agt-circuit-id name as the port-id-tlv
locally-assigned
Use the locally assigned value as the port-id-tlv
Command Mode
LLDP Agent mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
(config)#interface eth0
(config-if)#lldp-agent
(if-lldp-agent)#set lldp port-id-tlv ip-address
(if-lldp-agent)#no set lldp port-id-tlv
Last modified date: 07/13/2023