In VPLS, packets are forwarded according to MAC address forwarding entries. In most cases, MAC address learning can be performed automatically. Nevertheless, to prevent attacks and troubleshoot faults, you can adopt the VSI-based MAC address management mechanism provided by the switch.
A physical interface can belong to multiple VLANs at the same time. Multiple VLANIF interfaces can be bound with the same VSI. Therefore, when configuring MAC address static entries or blackhole entries for VSI bound to the VLANIF interfaces, you must specify the physical interface and VLANIF interface.
Do as follows on the PEs of the two ends of the PW:
The system view is displayed.
The aging time of MAC address entries for the VPLS is configured.
Or run mac-address static mac-address interface-type interface-number vsi vsi-name
Static MAC address entries are configured.
MAC address blackhole entries are configured.
The VSI view is displayed.
The PW signaling protocol is specified as LDP and the VSI-LDP view is displayed.
The VSI ID is configured.
Return to the VSI view.
The MAC address learning is enabled or disabled.
The MAC address learning limit is configured.