3com S7906E Guide De Référence

Page de 2327
 
1-51 
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. 
as-number: AS number of the peer, in the range 1 to 65535. 
Description 
Use the peer group command to add a peer to a peer group.  
Use the undo peer group command to delete a specified peer from a peer group. 
By default, no peer is added into a peer group. 
If you have specified an AS number for the peer to be added, make sure that the as-number argument 
is consistent with the specified peer AS number.  
If you have not created the peer to be added, the system automatically creates the peer when you 
execute the command.  
Examples 
# In BGP view, add the peer 10.1.1.1 to the EBGP peer group test. 
<Sysname> system-view 
[Sysname] bgp 100 
[Sysname-bgp] group test external  
[Sysname-bgp] peer test as-number 2004 
[Sysname-bgp] peer 10.1.1.1 group test 
# In BGP-VPN view, add the peer 10.1.1.1 to the EBGP peer group test (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 2004 
[Sysname-bgp-vpn1] peer 10.1.1.1 group test 
peer ignore (BGP/BGP-VPN instance view) 
Syntax 
peer { group-name | ip-address ignore 
undo peer { group-name | ip-address } ignore 
View 
BGP view/BGP-VPN instance view