
183
Step Command
Remarks
2.
Enter Layer 2/Layer 3
Ethernet interface view,
management Ethernet
interface view, Layer
2/Layer 3 aggregate
interface view, or IRF
physical interface view.
interface
interface-type interface-number
N/A
3.
Enable LLDP trapping.
•
In Layer 2/Layer 3 Ethernet interface
view or management Ethernet
interface view:
lldp
[
agent
{
nearest-customer
|
nearest-nontpmr
} ]
notification
remote-change enable
•
In Layer 2/Layer 3 aggregate interface
view:
lldp agent
{
nearest-customer
|
nearest-nontpmr
}
notification
remote-change enable
•
In IRF physical interface view:
lldp notification remote-change
enable
By default, LLDP trapping
is disabled.
4.
Enable LLDP-MED
trapping (in Layer 2/Layer
3 Ethernet interface view
or management 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.
Setting the source MAC address of LLDP frames
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter Layer 2 or Layer
3 Ethernet interface
view.
interface interface-type interface-number
N/A
3.
Set the source MAC
address of LLDP
frames to the MAC
address of a VLAN
interface or a Layer 3
Ethernet subinterface.
lldp source-mac vlan vlan-id
By default, the source MAC
address of LLDP frames is the
MAC address of the egress
interface.
In Layer 3 Ethernet interface
view, the specified VLAN ID is
used as the
subnumber
element of the Layer 3 Ethernet
subinterface number
interface-number.subnumber
.