Setting the source MAC address of LLDP frames to the MAC address of the subinterface associated with the specified VLAN

This feature allows you to configure the source MAC address of LLDP frames as the MAC address of the Layer 3 Ethernet subinterface associated with the specified VLAN in Dot1q termination. For more information about Dot1q termination, see "Configuring VLAN termination."

To set the source MAC address of LLDP frames to the MAC address of the Layer 3 Ethernet subinterface associated with the specified VLAN:

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. Set the source MAC address of LLDP frames to the MAC address of the Layer 3 Ethernet subinterface associated with the specified VLAN.

lldp source-mac vlan vlan-id

By default, the source MAC address of LLDP frames is the MAC address of the port.

vlan-id specifies the VLAN ID associated with a Layer 3 Ethernet subinterface in Dot1q termination.