The evpn stp-ring-id command configures the ring-id of an interface.
The undo evpn stp-ring-id command deletes the ring-id of an interface.
By default, no ring-id of an interface is configured.
Usage Scenario
The ring-id value specifies the dual-homing ID of a ring network. Two devices with the same ring ID are considered as two dual-homing PEs on the same ring network. During route advertisement between PEs, the ring ID carried in routes helps the PEs detect the connections on the same ring network.
Precautions
The ring-id is the dual-homing ID on a ring network. Therefore, the same ring ID cannot be configured on interfaces of a PE.