145
Usage guidelines
An LLDPDU carries only one management address TLV. If you set the management address
multiple times, the most recent configuration takes effect.
In Layer 2 Ethernet interface view, if you run the
lldp management-address-tlv
command without
specifying the
ip-address
argument, the advertised management address is the main IP address of
the lowest-ID VLAN carried on the interface. If none of the carried VLANs is assigned an IP address,
no management address will be advertised.
In Layer 3 Ethernet interface view, if you run the
lldp management-address-tlv
command without
specifying the
ip-address
argument, the advertised management address is the IP address of the
Layer 3 Ethernet port. If no IP address is configured for the port, no management address will be
advertised.
Examples
# Set the management address to 192.6.0.1 for Ethernet 1/1.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] lldp management-address-tlv 192.6.0.1
lldp notification remote-change enable
Use
lldp notification remote-change enable
to enable LLDP trapping for a port or all ports in a port
group.
Use
undo lldp notification remote-change enable
to disable LLDP trapping.
Syntax
lldp notification remote-change enable
undo lldp notification remote-change enable
Default
LLDP trapping is disabled on ports.
Views
Layer 2 Ethernet interface view, Layer 3 Ethernet interface view, port group view
Default command level
2: System level
Examples
# Enable LLDP trapping for Ethernet 1/1.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] lldp notification remote-change enable
lldp timer notification-interval
Use
lldp timer notification-interval
to set the LLDP trap transmit interval.
Use
undo lldp timer notification-interval
to restore the default.
Syntax
lldp timer notification-interval interval
undo lldp timer notification-interval