The route-distinguisher command configures an RD for a VPN instance IPv6 address family.
The undo route-distinguisher command deletes the RD configuration in a specified VPN instance IPv6 address family.
By default, no RD is configured for a VPN instance IPv6 address family.
Parameter | Description | Value |
---|---|---|
route-distinguisher |
Specifies an RD. |
The three formats of an RD are as follows:
|
Usage Scenario
Different RDs need to be configured for different VPNs to prevent overlapping of routes with the same prefixes in different VPNs. To configure an RD for a VPN instance IPv6 address family, run the route-distinguisher command.
An RD must be configured for a VPN instance before other IPv6 VPN configurations are performed. This means that other VPN configurations can be performed for a VPN instance IPv6 address family only after an RD is configured for it.Precautions
Configuring a unique RD for a VPN instance IPv6 address family is recommended; otherwise, route overlapping may occur.
After an RD in the IPv6 address family for a VPN instance is deleted using the undo route-distinguisher command, configurations in the IPv6 address family as well as the IPv6 address family-related configurations in the BGP view will be deleted. Therefore, exercise caution when you run this command.