regexp as-path-regexp: Specifies the AS_PATH regular expression.
Description
Use reset bgp vpn-instance flap-info to clear the route flap history information about BGP peers of a VPN
instance.
Examples
# Clear route flap history information about BGP peer 2.2.2.2 of VPN instance vpn1.
<Sysname> reset bgp vpn-instance vpn1 2.2.2.2 flap-info
route-distinguisher
Syntax
route-distinguisher route-distinguisher
View
VPN instance view
Default level
2: System level
Parameters
route-distinguisher: Route distinguisher (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.
Description
Use route-distinguisher to configure a route distinguisher (RD) for a VPN instance.
An RD is used to create the routing and forwarding table of a VPN. By prefixing an RD to an IPv4 prefix,
you make the VPN IPv4 prefix unique globally.
NOTE:
No RD is configured by default; you must configure an RD for each VPN instance.
•
A VPN instance takes effect only after you configure an RD for it.
•
•
Once you configure an RD for a VPN, you cannot remove the association.
You cannot change an RD directly; you can only delete the VPN instance, re-create the VPN instance,
•
and then reconfigure a new RD.
Examples
# Configure the RD of VPN instance vpn1.
<Sysname> system-view
[Sysname] ip vpn-instance vpn1
[Sysname-vpn-instance-vpn1] route-distinguisher 22:1
387