282
Examples
# Disable LLDP globally.
<Sysname> system-view
[Sysname] undo lldp global enable
Related commands
lldp enable
lldp global tlv-enable basic-tlv management-address-tlv
Use lldp global tlv-enable basic-tlv management-address-tlv to enable
advertisement of the management address TLV globally and set the management address to be
advertised.
Use
undo lldp global tlv-enable basic-tlv management-address-tlv to restore
the default.
Syntax
lldp [ agent { nearest-customer | nearest-nontpmr } ] global tlv-enable
basic-tlv management-address-tlv [ ipv6 ] { ip-address | interface loopback
interface-number | interface vlan-interface interface-number }
undo lldp [ agent { nearest-customer | nearest-nontpmr } ] global tlv-enable
basic-tlv management-address-tlv
Default
Advertisement of the management address TLV is disabled globally.
Views
System view
Predefined user roles
network-admin
Parameters
agent: Specifies an LLDP agent type. If you do not specify an agent type, this command applies to
the nearest bridge agent.
•
nearest-customer: Specifies the nearest customer bridge agent.
•
nearest-nontpmr: Specifies the nearest non-TPMR bridge agent.
ipv6: Specifies an IPv6 management address. If you do not specify this keyword, an IPv4
management address will be advertised.
ip-address: Specifies the management address to be advertised.
interface loopback interface-number: Specifies a loopback interface by its number in the
range of 0 to 127. The IP address of the loopback interface will be advertised as the management
address. The value range for the
interface-number argument is 0 to 127.
interface vlan-interface interface-number
: Specifies a VLAN interface by is number
in the range of 1 to 4094. The IP address of the VLAN interface will be advertised as the
management address.
Usage guidelines
If you execute this command multiple times, the most recent configuration takes effect.