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