Configuring the source MAC address of LLDP frames
Perform this task to configure the MAC address of the subinterface that runs Dot1q termination in the specified VLAN as the source MAC address of LLDP frames. For more information about LLDP, see Layer 2—LAN Switching Configuration Guide.
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter Layer 3 Ethernet interface view. | interface interface-type interface-number | N/A |
3. Configure the MAC address of the Dot1q termination-enabled subinterface in the specified VLAN as the source MAC address of LLDP frames. | lldp source-mac vlan vlan-id | By default, the MAC address of the current Ethernet interface is specified as the source MAC address of LLDP frames. |