The root-vlan command configures a root VLAN and a leaf VLAN.
The undo root-vlan command deletes the configuration.
By default, no root VLAN or leaf VLAN is configured.
Usage Scenario
In a VPLS domain, AC interfaces bound to the same VSI can communicate with each other. To enhance data security and minimize mutual influences between users, controlling communication between these AC interfaces is required. VPLS E-Tree can meet this requirement by allowing you to configure the root or leaf attribute for AC interfaces. A root AC interface can communicate with leaf AC interfaces and other root AC interfaces, while a leaf AC interface can communicate only with root AC interfaces.
To configure a root VLAN and a leaf VLAN, run the root-vlan root-vlan leaf-vlan leaf-vlan command. The command configuration enables the local device to identify whether a received packet is sent from a leaf or root AC interface.Prerequisites
The e-tree static command has been configured to enable the VPLS E-Tree function.
Precautions
A root VLAN ID must be different from a leaf VLAN ID.