View
Parameter
Description
Example
peer default-route-advertise vpn-instance
Syntax
View
Parameter
Description
BGP-VPNv4 subaddress family view
group-name: Name of the peer group, a string of 1 to 47 characters.
ip-address: IP address of the peer.
aspath-acl-number: AS_PATH filtering list number, in the range 1 to 256.
import: Filters the received routes.
export: Filters the routes to be advertised.
Use the
peer as-path-acl
be advertised to a specified peer or peer group based on an AS_PATH list.
Use the
undo peer as-path-acl
By default, no AS filtering list is applied to a peer or peer group.
# In BGP-VPNv4 subaddress family view, apply AS filtering list 3 to routes
advertised by peer group test.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpnv4
[Sysname-bgp-af-vpnv4] peer test as-path-acl 3 export
peer { group-name | ip-address } default-route-advertise vpn-instance
vpn-instance-name
undo peer { group-name | ip-address } default-route-advertise vpn-instance
vpn-instance-name
BGP-VPNv4 subaddress family view
group-name: Name of the peer group, a string of 1 to 47 characters.
ip-address: IP address of the peer.
vpn-instance-name: Name of the VPN instance, a string of 1 to 31 characters.
Use the
peer default-route-advertise vpn-instance
advertise all default routes of a VPN instance to a peer or peer group.
Use the
undo peer default-route-advertise vpn-instance
remove the configuration.
By default, no default route is advertised to a peer or peer group.
command to specify to filter routes received from or to
command to remove the configuration.
1699
command to specify to
command to