The route-distinguisher command configures an RD for an EVPN instance.
The undo route-distinguisher command deletes the RD of an EVPN instance.
By default, no RD is configured for an EVPN instance.
Parameter | Description | Value |
---|---|---|
route-distinguisher |
Specifies an RD. |
An RD can be in either of the following formats:
|
Usage Scenario
An RD must be configured for an EVPN instance after the EVPN instance is created. To configure an RD for an EVPN instance, run the route-distinguisher command.
Different EVPN instances may have the same route prefix. To allow a PE to determine to which EVPN instance a route belongs, run the route-distinguisher command to configure an RD for each EVPN instance on the PE. After the configuration, a route sent from an EVPN instance will carry an RD, making the route a globally unique EVPN route.Precautions
Running the undo route-distinguisher command in the B-EVPN instance view causes EVPN-related configurations to be deleted.