Got it

MPLS VPN

Created: Oct 25, 2020 02:43:32Latest reply: Oct 25, 2020 18:28:48 535 5 0 0 0
  Rewarded HiCoins: 0 (problem resolved)

Will I be correct if a say on MPLS VPN ,Route Distinguisher (RD) is used to solve the problem of overlapping addresses while Route Target (RT) is mainly used for importing of routes?????

Featured Answers
wissal
MVE Created Oct 25, 2020 05:29:26

Hello!

route-distinguisher

Function

The route-distinguisher command configures a route distinguisher (RD) for a VPN instance address family.

The undo route-distinguisher command deletes the RD configuration in a specified VPN instance address family.

By default, no RD is configured for the VPN instance address family.

Format

route-distinguisher route-distinguisher

undo route-distinguisher route-distinguisher

Parameters

ParameterDescriptionValue
route-distinguisherSpecifies the value of an RD. The forms of RD are as follows:
  • 2-byte AS number: 4-byte user-defined number, for example, 101:3. An AS number ranges from 0 to 65535. A user-defined number ranges from 0 to 4294967295. The AS number and the user-defined number cannot be 0s at the same time. That is, an RD cannot be 0:0.

  • Integral 4-byte AS number: 2-byte user-defined number, for example, 65537:3. An AS number ranges from 65536 to 4294967295. A user-defined number ranges from 0 to 65535. The AS number and user-defined number cannot be both 0s. That is, an RD cannot be 0:0.

  • 4-byte AS number in dotted notation: 2-byte user-defined number, for example, 0.0:3 or 0.1:0. A 4-byte AS number in dotted notation is in the format of x.y, where x and y are integers that range from 0 to 65535 and from 0 to 65535, respectively. A user-defined number ranges from 0 to 65535. The AS number and user-defined number cannot be both 0s. That is, an RD cannot be 0.0:0.

  • IPv4-address: 2-byte user-defined number, for example, 192.168.122.15:1. An IP address ranges from 0.0.0.0 to 255.255.255.255. A user-defined number ranges from 0 to 65535.

-

Views

VPN instance view, VPN instance IPv4 address family view, VPN instance IPv6 address family view

Default level

2: Configuration level

Usage guidelines


Usage scenario

After you create a VPN instance and enable the address family, run this command to configure an RD for the VPN instance address family.


Different VPN instances may have the same route prefix. To allow a PE to determine to which VPN instance a route belongs, run the route-distinguisher command to configure an RD for an address family of a VPN instance on the PE. After the configuration, the PE will add an RD to the route received from the VPN instance, and then the route prefix becomes a globally unique VPN IPv4 or IPv6 route.


Precautions

Execution of this command will also enable the IPv4 address family.


When the CE is dual-homed, the RDs on the PEs must be globally unique to ensure routing.


RDs cannot be modified but can be deleted after being configured. After an RD is deleted, all configurations in the VPN instance IPv4 address family or the IPv6 address family of the corresponding VPN instance will be deleted.

Example

# Configure an RD for the VPN instance named vpn1.

<HUAWEI> system-view 
[~HUAWEI] ip vpn-instance vpn1 
[*HUAWEI-vpn-instance-vpn1] ipv4-family 
[*HUAWEI-vpn-instance-vpn1-af-ipv4] route-distinguisher 22:1


Details

https://support.huawei.com/enterprise/en/doc/EDOC1100039592/ed7ef289/route-distinguisher


Thanks!

View more
  • x
  • convention:

All Answers

Hello!

route-distinguisher

Function

The route-distinguisher command configures a route distinguisher (RD) for a VPN instance address family.

The undo route-distinguisher command deletes the RD configuration in a specified VPN instance address family.

By default, no RD is configured for the VPN instance address family.

Format

route-distinguisher route-distinguisher

undo route-distinguisher route-distinguisher

Parameters

ParameterDescriptionValue
route-distinguisherSpecifies the value of an RD. The forms of RD are as follows:
  • 2-byte AS number: 4-byte user-defined number, for example, 101:3. An AS number ranges from 0 to 65535. A user-defined number ranges from 0 to 4294967295. The AS number and the user-defined number cannot be 0s at the same time. That is, an RD cannot be 0:0.

  • Integral 4-byte AS number: 2-byte user-defined number, for example, 65537:3. An AS number ranges from 65536 to 4294967295. A user-defined number ranges from 0 to 65535. The AS number and user-defined number cannot be both 0s. That is, an RD cannot be 0:0.

  • 4-byte AS number in dotted notation: 2-byte user-defined number, for example, 0.0:3 or 0.1:0. A 4-byte AS number in dotted notation is in the format of x.y, where x and y are integers that range from 0 to 65535 and from 0 to 65535, respectively. A user-defined number ranges from 0 to 65535. The AS number and user-defined number cannot be both 0s. That is, an RD cannot be 0.0:0.

  • IPv4-address: 2-byte user-defined number, for example, 192.168.122.15:1. An IP address ranges from 0.0.0.0 to 255.255.255.255. A user-defined number ranges from 0 to 65535.

-

Views

VPN instance view, VPN instance IPv4 address family view, VPN instance IPv6 address family view

Default level

2: Configuration level

Usage guidelines


Usage scenario

After you create a VPN instance and enable the address family, run this command to configure an RD for the VPN instance address family.


Different VPN instances may have the same route prefix. To allow a PE to determine to which VPN instance a route belongs, run the route-distinguisher command to configure an RD for an address family of a VPN instance on the PE. After the configuration, the PE will add an RD to the route received from the VPN instance, and then the route prefix becomes a globally unique VPN IPv4 or IPv6 route.


Precautions

Execution of this command will also enable the IPv4 address family.


When the CE is dual-homed, the RDs on the PEs must be globally unique to ensure routing.


RDs cannot be modified but can be deleted after being configured. After an RD is deleted, all configurations in the VPN instance IPv4 address family or the IPv6 address family of the corresponding VPN instance will be deleted.

Example

# Configure an RD for the VPN instance named vpn1.

<HUAWEI> system-view 
[~HUAWEI] ip vpn-instance vpn1 
[*HUAWEI-vpn-instance-vpn1] ipv4-family 
[*HUAWEI-vpn-instance-vpn1-af-ipv4] route-distinguisher 22:1


Details

https://support.huawei.com/enterprise/en/doc/EDOC1100039592/ed7ef289/route-distinguisher


Thanks!

View more
  • x
  • convention:

Hey there,


The Route-Distinguisher (RD) & Route-Target (RT) are two different concepts that are both used in an MPLS VPN. 

  • The RD is used to keep all prefixes in the BGP table unique, the RD is used purely for the purpose of ensuring routes are unique per VPN.

  • RT: Whereas route distinguishers are used to maintain uniqueness among identical routes in different VRFs, route targets can be used to share routes among them. We can apply route targets to a VRF to control the import and export of routes among it and other VRFs.

View more
  • x
  • convention:

Posted by wissal at 2020-10-25 05:29 Hello,route-distinguisherFunctionThe route-distinguisher command configures a route distinguisher ...
Thanks alot
View more
  • x
  • convention:

Posted by thisu at 2020-10-25 09:17 Hey there,The Route-Distinguisher (RD) & Route-Target (RT) are two different concepts that are both ...
thanks for assistance
View more
  • x
  • convention:

thisu
thisu Created Oct 26, 2020 12:19:30 (0) (0)
welcome  

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.