BGP/MPLS VPN Configuration Commands
797
[3Com-bgp] ipv4-family vpnv4
[3Com-bgp-af-vpn] peer 1.1.1.1 upe
route-distinguisher
Syntax
route-distinguisher route-distinguisher
View
vpn-instance view
Parameter
route-distinguisher: Configures a VPN IPv4 prefix by adding an 8-byte value to a
IPv4 prefix.
Description
Using the route-distinguisher command, you can 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 specify
default route identifier. Add RD to a specific IPv4 prefix start to make it the only
VPN IPv4 prefix.
If ID is associated with autonomous system number(ASN), it is a combination of an
autonomous system number and an arbitrary number; if RD is associated with IP
address, it is a combination of an IP address and an arbitrary number.
RD has the following formats:
16-bit ASN: 32-bit number defined by user, for example, 101:3.
32-bit IP address: 16-bit number defined by user, for example, 192.168.122.15:1.
Example
Configure RD for the MPLS VPN instance.
[3Com] ip vpn-instance vpn_blue
[3Com-vpn-vpn_blue] route-distinguisher 100:3
[3Com] ip vpn-instance vpn_red
[3Com-vpn-vpn_red] route-distinguisher 173.13.0.12:200
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 range of 0~4294967295.
By default, its first two fields are fixed to 0xD000, while the last two fields are the
ASN of local BGP. For example, if local BGP ASN is 100, then the default tag value
in decimal is 3489661028.
Summary of Contents for Router 3031
Page 6: ......
Page 686: ...686 CHAPTER 6 ROUTING PROTOCOL...
Page 758: ...758 CHAPTER 7 MULTICAST COMMON CONFIGURATION COMMANDS...