![Huawei Quidway S8500 Series Command Manual Download Page 789](http://html.mh-extra.com/html/huawei/quidway-s8500-series/quidway-s8500-series_command-manual_169479789.webp)
Command Manual – MPLS
Quidway S8500 Series Routing Switches
Chapter 2 BGP/MPLS VPN Configuration Commands
Huawei Technologies Proprietary
2-51
View
VPN-instance view
Parameter
route-distinguisher
: Configures a VPN IPv4 prefix by adding an 8-byte value to a VPN
IPv4 prefix.
Description
Use the
route-distinguisher
command to configure RD for an MPLS VPN instance. A
VPN-instance cannot run until it is configured with an RD.
A route distinguisher (RD) creates route and forwarding list for a VPN and specifies the
default route identifier. Add an RD to the beginning of a specific IPv4 prefix to make it a
globally unique VPN IPv4 prefix.
If an RD is associated with an autonomous system number (ASN), it is composed of the
ASN and an arbitrary number; if the RD is associated with an IP address, it is a
combination of the IP address and an arbitrary number.
RD has the following formats:
16-bit ASN (can be 0 here): A custom 32-bit number, for example, 101:3.
32-bit IP address (can be 0.0.0.0 here): A custom 16-bit number, for example,
192.168.122.15:1.
Example
# Configure RD for an MPLS VPN instance.
[Quidway] ip vpn-instance vpn-instance_blue
[Quidway-vpn-vpn-instance_blue] route-distinguisher 100:3
[Quidway] ip vpn-instance vpn-instance_red
[Quidway-vpn-vpn-instance_red] route-distinguisher 173.13.0.12:200
2.1.63 route-tag
Syntax
route-tag
tag-number
undo route-tag
View
OSPF protocol view
Parameter
tag-number
: Tag value to identify VPN import route, in the range of 0 to 4294967295.
By default, its first two bytes are fixed to 0xD000, while the last two bytes are the ASN of