1004
C
72: BGP C
HAPTER
Description
Examples
peer substitute-as (BGP/BGP-VPN instance view)
Syntax
View
Parameters
Description
Examples
C
ONFIGURATION
OMMANDS
Use the
peer route-update-interval
sending the same update to a peer/peer group.
Use the
undo peer route-update-interval
value.
By default, the interval is 5 seconds for IBGP peers, and 30 seconds for EBGP
peers.
# 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 { group-name | ip-address } substitute-as
undo peer { group-name | ip-address } substitute-as
BGP view/BGP-VPN instance view
group-name: Name of a peer group, a sting of 1 to 47 characters.
ip-address: IP address of a peer.
Use the
peer substitute-as
group in the AS_PATH attribute with the local AS number.
Use the
undo peer substitute-as
No AS number is replaced by default.
# 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).
command to specify the interval for
command to restore the default
command to replace the AS number of a peer/peer
command to remove the configuration.