336
as-path-acl-number: Specifies the number of the AS_PATH list, ranging from 1 to 256.
as-path-regexp: Specifies the AS_PATH regular expression.
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
reset bgp vpnv4
Description
Use the reset bgp vpnv4 command to reset BGP VPNv4 connections.
Syntax
reset bgp vpnv4 { as-number | ip-address | all | external | internal | group group-name }
View
User view
Default level
1: Monitor level
Parameters
as-number: Resets VPNv4 connections with the peers in an AS identified by this number. as-number
ranges from 1 to 4,294,967,295.
ip-address: Resets the VPNv4 connection with a BGP peer identified by this IP address.
all: Resets all BGP VPNv4 connections.
external: Resets EBGP VPNv4 connections.
internal: Resets IBGP VPNv4 connections.
group group-name: Resets the VPNv4 connections with a BGP peer group identified by this name.
Examples
# Reset all BGP VPNv4 connections to make new configurations take effect.
<Sysname> reset bgp vpnv4 all
route-distinguisher (VPN instance view)
Description
Use the route-distinguisher command to configure an RD for a VPN instance.
An RD is used to create the routing and FIB of a VPN. By prefixing an RD to an IPv4 prefix, you get a
VPN IPv4 prefix unique globally.
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, and then re-create the VPN
instance and re-configure a new RD.