3com S7906E Guía De Referencia

Descargar
Página de 2327
 
1-35 
Examples 
# Set the time to wait for the End-of-RIB marker to 100 seconds. 
<Sysname> system-view 
[Sysname] bgp 100 
[Sysname-bgp] graceful-restart timer wait-for-rib 100 
group (BGP/BGP-VPN instance view) 
Syntax 
group group-name [ external internal 
undo group group-name  
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. 
external: Creates an EBGP peer group, which can be the group of another sub AS in a confederation.  
internal: Creates an IBGP peer group; not supported in BGP-VPN instance view. 
Description 
Use the group command to create a peer group.  
Use the undo group command to delete a peer group. 
An IBGP peer group is created if neither internal nor external is specified.  
Examples 
# In BGP view, create an EBGP peer group test with AS number 200, and add EBGP peers 10.1.1.1 
and 10.1.2.1 into the group. 
<Sysname> system-view 
[Sysname] bgp 100 
[Sysname-bgp] group test external 
[Sysname-bgp] peer test as-number 200 
[Sysname-bgp] peer 10.1.1.1 group test 
[Sysname-bgp] peer 10.1.2.1 group test 
# In BGP-VPN instance view, create an EBGP peer group test with AS number 200, and add EBGP 
peers 10.1.1.1 and 10.1.2.1 into the group (the VPN has been created). 
<Sysname> system-view 
[Sysname] bgp 100 
[Sysname-bgp] ipv4-family vpn-instance vpn1 
[Sysname-bgp-vpn1] group test external 
[Sysname-bgp-vpn1] peer test as-number 200 
[Sysname-bgp-vpn1] peer 10.1.1.1 group test