rd

Use this command to specify the route distinguisher (RD) for a VRF instance that is used to create a VPNv4 prefix. An RD creates routing and forwarding tables and specifies the default route distinguisher for a VPN. The RD is added to the beginning of the IPv4 prefixes to change them into globally unique VPNv4 prefixes.

An RD is either:
Default A VRF does not associate with any RD.
Format rd route-distinguisher
Mode Virtual Router Config
Parameter Description
route-distinguisher An 8-byte value to be added to an IPv4 prefix to create a VPNv4 prefix. The RD value can be specified in either of the following formats:
  • 16-bit AS number: your 32-bit value (Ex : 100 :11)
  • 32-bit IPv4 address: your 16-bit value (Ex : 10.1.1.1 :22)
  • 4-byte AS number: your 32-bit value (Ex : 66666 :33)
Note:

This command is effective only if BGP is running on the router. The RD for a VRF once configured cannot be removed or changed. For this reason, this command does not have the no form. To change the configured RD value, remove the VRF (using the no ip vrf command) and reconfigure the VRF.

Example: The following example shows how to configure a RD for a VRF instance in ASN format:

(Router) (Config)#ip vrf Red
(Router) (Config-vrf-Red)#rd 62001:10
(Router) (Config-vrf-Red)#exit

Example: The following example shows how to configure a RD for a VRF instance in IP address format:

(Router) (Config)#ip vrf Red
(Router) (Config-vrf-Red)#rd 192.168.10.1:10
(Router) (Config-vrf-Red)#exit

Example: The following example shows how to configure a RD for a VRF instance in 4-byte ASN format:

(Router) (Config)#ip vrf Green
(Router) (Config-vrf-Red)#rd 77777:20
(Router) (Config-vrf-Red)#exit

www.lancom-systems.com

LANCOM Systems GmbH | A Rohde & Schwarz Company | Adenauerstr. 20/B2 | 52146 Wuerselen | Germany | E‑Mail info@lancom.de

LANCOM Logo