configure vr rd

configure vr vrf_name rd [2_byte_as_num:4_byte_number | ip_address:2_byte_number | 4_byte_as_num:2_byte_number]

Description

Use this command to configure a route-distinguisher (RD) for a VPN VRF.

Syntax Description

vrf_name Specifies the name of a VPN VRF.
rd Specifies a Route Distinguisher for a VRF. It can be either ASN-related, where it is represented as 2-byte AS number:4-byte num. It can be IP-address based where it is represented as 4-byte IP address:2-byte number.
2_byte_as_num Specifies a 2-byte Autonomous System (AS) number.
4_byte_number Specifies a 4-byte number to further identify the RD. This number can be chosen by organization that configures the RD, and this number does not need to match any other network configuration parameters.
ip_address Specifies an IP address to include as part of the RD.
4_byte_as_num Specifies a 4-byte AS number.
2_byte_number Specifies a 2-byte number to further identify the RD. This number can be chosen by the organization that configures the RD, and this number does not need to match any other network configuration parameters.

Default

N/A.

Usage Guidelines

The RD can be specified in the following formats:
  • 2_byte_as_num:4_byte_number

    Here is an example: 9643:7000

  • ip_address:2_byte_number

    Here is an example: 10.203.134.5:324

  • 4_byte_as_num:2_byte_number
Note

Note

Although Route Distinguisher is eight-bytes wide, this CLI accepts only six bytes value. The first two bytes ("type" field) is deduced from the values entered on the CLI, so it is redundant to set the type field on the CLI too. If 2-byte as-num:4-byte num is entered on the CLI, the type field is automatically set to 0. If ip_address:2_byte_number is entered on the CLI, the type field is automatically set to 1. Type 2 (4-bytes AS number) Route Distinguisher is not supported.

Route Distinguisher is a mandatory parameter for a VRF. Without this parameter, a VRF cannot be active and local VPN routes cannot be advertised across the SP‘s backbone to the remote VPN sites.

Use this command to configure or change the RD for a VPN VRF. If you use this command to change the RD, the Layer 3 VPN associated with that VPN VRF is reset by automatically disabling and re-enabling the VRF.

RD is added to the beginning of the VPN customer‘s IPv4 prefix to make globally unique VPNv4 prefixes. You must configure RD for a VRF to be functional. This command is not applicable for a heavy-weight traditional VR.

Example

The following examples configure RDs using the two of the supported formats:

configure vr corporate-extreme rd 10.203.134.5:324
configure vr corporate-guest rd 9643:7000

History

This command was first available in ExtremeXOS 15.3.

Platform Availability

This command is available on Summit X450-G2, X460-G2, X670-G2, and X770 series switches.