3com S7906E Guía De Referencia

Descargar
Página de 2327
 
1-62 
Examples 
# In BGP view, specify the interval for sending the same update to peer group test as 10 seconds. 
<Sysname> system-view 
[Sysname] bgp 100 
[Sysname-bgp] peer test as-number 100 
[Sysname-bgp] peer test route-update-interval 10 
# In BGP-VPN instance view, specify the interval for sending the same update to peer group test as 10 
seconds (the VPN has been created). 
<Sysname> system-view 
[Sysname] bgp 100 
[Sysname-bgp] ipv4-family vpn-instance vpn1 
[Sysname-bgp-vpn1] peer test as-number 100 
[Sysname-bgp-vpn1] peer test route-update-interval 10 
peer substitute-as (BGP/BGP-VPN instance view) 
Syntax 
peer { group-name ip-address } substitute-as 
undo peer { group-name ip-address } substitute-as 
View 
BGP view/BGP-VPN instance view 
Default Level 
2: System level 
Parameters 
group-name: Name of a peer group, a sting of 1 to 47 characters.  
ip-address: IP address of a peer.  
Description 
Use the peer substitute-as command to replace the AS number of a peer/peer group in the AS_PATH 
attribute with the local AS number.  
Use the undo peer substitute-as command to remove the configuration. 
No AS number is replaced by default. 
Examples 
# In BGP view, substitute local AS number for AS number of peer 1.1.1.1.  
<Sysname> system-view 
[Sysname] bgp 100 
[Sysname-bgp] peer 1.1.1.1 substitute-as 
# In BGP-VPN instance view, substitute local AS number for AS number of peer 1.1.1.1 (the VPN has 
been created). 
<Sysname> system-view 
[Sysname] bgp 100