3com S7906E Guide De Référence

Page de 2327
 
1-38 
peer enable 
Syntax 
peer { group-name | ip-address enable 
undo peer { group-name | ip-address } enable 
View 
BGP-VPNv4 subaddress family view, BGP-L2VPN address 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. 
Description 
Use the peer enable command to enable a peer or peer group for an address family and enable the 
exchange of BGP routing information of the address family.  
Use the undo peer enable command to disable the capability. 
By default, only IPv4 routing information is exchanged between BGP peers/peer groups. 
Examples 
# Configure peer 1.1.1.1 and enable the peer for the BGP-VPNv4 subaddress family. 
<Sysname> system-view 
[Sysname] bgp 100 
[Sysname-bgp] peer 1.1.1.1 as-number 100 
[Sysname-bgp] ipv4-family vpnv4 
[Sysname-bgp-af-vpnv4] peer 1.1.1.1 enable 
# Configure peer 1.1.1.1 and enable the peer for the BGP-L2VPN address family. 
<Sysname> system-view 
[Sysname] bgp 100 
[Sysname-bgp] peer 1.1.1.1 as-number 100 
[Sysname-bgp] l2vpn-family 
[Sysname-bgp-af-l2vpn] peer 1.1.1.1 enable 
peer filter-policy (BGP-VPNv4 subaddress family view) 
Syntax 
peer { group-name | ip-address filter-policy acl-number { export import } 
undo peer { group-name | ip-address } filter-policy acl-number { export import } 
View 
BGP-VPNv4 subaddress family view