R0106-HP MSR Router Series Layer 2 - LAN Switching Configuration Guide(V7)

119
Step Command Remarks
3. Enable LLDP trapping.
In Layer 2 Ethernet interface view:
lldp notification remote-change enable
In Layer 3 Ethernet interface view:
lldp [ agent { nearest-customer |
nearest-nontpmr } ] notification
remote-change enable
In Layer 3 aggregate interface view:
lldp agent { nearest-customer |
nearest-nontpmr } notification
remote-change enable
By default, LLDP trapping is
disabled.
4. Enable LLDP-MED trapping
(in Layer 2/Layer 3 Ethernet
interface view).
lldp notification med-topology-change
enable
By default, LLDP-MED
trapping is disabled.
5. Return to system view.
quit N/A
6. (Optional.) Set the LLDP trap
transmission interval.
lldp timer notification-interval interval
The default setting is 30
seconds.
Displaying and maintaining LLDP
Execute display commands in any view.
Task Command
Display local LLDP
information.
display lldp local-information [ global | interface interface-type
interface-number ]
Display the information
contained in the LLDP TLVs
sent from neighboring
devices.
display lldp neighbor-information [ [ [ interface interface-type interface-number ]
[ agent { nearest-bridge | nearest-customer | nearest-nontpmr } ] [ verbose ] ] |
list [ system-name system-name ] ]
Display LLDP statistics.
display lldp statistics [ global | [ interface interface-type interface-number ]
[ agent { nearest-bridge | nearest-customer | nearest-nontpmr } ] ]
Display LLDP status of a
port.
display lldp status [ interface interface-type interface-number ] [ agent
{ nearest-bridge | nearest-customer | nearest-nontpmr } ]
Display types of
advertisable optional LLDP
TLVs.
display lldp tlv-config [ interface interface-type interface-number ] [ agent
{ nearest-bridge | nearest-customer | nearest-nontpmr } ]
LLDP configuration examples
Basic LLDP configuration example
Network requirements
As shown in Figure 36:
The NMS and Router A are located in the same Ethernet network.