3Com S7902E Command Reference Manual - page 1649
1-37
By default, no AS filtering list is applied to a peer or peer group.
Examples
# In BGP-VPNv4 subaddress family view, apply AS filtering list 3 to routes advertised by peer group
test.
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpnv4
[Sysname-bgp-af-vpnv4] peer test as-path-acl 3 export
peer default-route-advertise vpn-instance
Syntax
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
View
BGP-VPNv4 subaddress family view
Default Level
2: System level
Parameters
group-name
: Name of the peer group, a case-sensitive 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.
Description
Use the
peer default-route-advertise vpn-instance
command to specify to advertise all default routes
of a VPN instance to a peer or peer group.
Use the
undo peer default-route-advertise vpn-instance
command to remove the configuration.
By default, no default route is advertised to a peer or peer group.
Related commands:
peer upe
.
Examples
# In BGP-VPNv4 subaddress family view, specify to advertise default routes of VPN instance vpn1 to
peer 1.1.1.1.
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpnv4
[Sysname-bgp-af-vpnv4] peer 1.1.1.1 enable
[Sysname-bgp-af-vpnv4] peer 1.1.1.1 default-route-advertise vpn-instance vpn1