
12
Views
VPN instance view
Predefined user roles
network-admin
Usage guidelines
In IPv4 VPN view, you can configure parameters such as inbound and outbound routing policies for the
VPN.
Examples
# Enter IPv4 VPN view.
<Sysname> system-view
[Sysname] ip vpn-instance vpn1
[Sysname-vpn-instance-vpn1] ipv4-family
[Sysname-vpn-ipv4-vpn1]
route-distinguisher
Use
route-distinguisher
to configure a route distinguisher (RD) for a VPN instance.
Use
undo route-distinguisher
to delete the RD for a VPN instance.
Syntax
route-distinguisher
route-distinguisher
undo route-distinguisher
Default
No RD is specified for a VPN instance.
Views
VPN instance view
Predefined user roles
network-admin
Parameters
route-distinguisher
: Specifies the RD for the VPN instance, a string of 3 to 21 characters in one of the
following formats:
•
16-bit AS number
:
32-bit user-defined number
. For example, 101:3.
•
32-bit IP address
:
16-bit user-defined number
. For example, 192.168.122.15:1.
•
32-bit AS number
:
16-bit user-defined number
, where the minimum value of the AS number is 65536.
For example, 65536:1.
Usage guidelines
RDs enable VPNs to use overlapping address space. By prefixing an RD to an IPv4 prefix for a VPN, you
make the VPN IPv4 prefix globally unique. On an MCE device, when multiple BGP VPN instances are
configured, you can configure RDs for the VPN instances to distinguish them.