3com S7906E Guía De Referencia

Descargar
Página de 2327
 
1-46 
[Sysname-bgp-vpn1] peer test connect-interface loopback 0 
peer default-route-advertise (BGP/BGP-VPN instance view) 
Syntax 
peer { group-name | ip-address default-route-advertise route-policy route-policy-name 
undo peer { group-name | ip-address default-route-advertise 
View 
BGP view/BGP-VPN instance view  
Default Level 
2: System level 
Parameters 
group-name: Name of a peer group, a string of 1 to 47 characters. 
ip-address: IP address of a peer. 
route-policy-name: Routing policy name, a string of 1 to 19 characters. 
Description 
Use the peer default-route-advertise command to advertise a default route to a peer/peer group. 
Use the undo peer default-route-advertise command to disable default route advertisement to a 
peer/peer group. 
By default, no default route is advertised to a peer/peer group. 
With this command used, the router unconditionally sends a default route with the next hop being itself 
to the peer/peer group regardless of whether the default route is available in the routing table. 
Examples 
# In BGP view, advertise a default route to peer group test
<Sysname> system-view 
[Sysname] bgp 100 
[Sysname-bgp] peer test default-route-advertise 
# In BGP-VPN instance view, advertise a default route to peer group test (the VPN has been created). 
<Sysname> system-view 
[Sysname] bgp 100 
[Sysname-bgp] ipv4-family vpn-instance vpn1 
[Sysname-bgp-vpn1] peer test default-route-advertise 
peer description (BGP/BGP-VPN instance view) 
Syntax 
peer { group-name | ip-address } description description-text 
undo peer { group-name | ip-address } description