The leaf command specifies the current device as a leaf node for a multicast EVPN.
The undo leaf command deletes a leaf node configured for a multicast EVPN.
By default, no device is specified as a leaf node for a multicast EVPN.
Usage Scenario
On a multicast EVPN, an mLDP P2MP tunnel has only one root node but may have multiple leaf nodes. To specify a leaf node and enter the EVI I-PMSI-leaf view for leaf node configurations, run the leaf command.
Precautions
In a dual-homing scenario, if the dual-homing PEs are configured as root nodes using the root command, the two PEs can no longer be configured as leaf nodes using the leaf command.