R3303-HP 6600/HSR6600 Routers Layer 3 - IP Routing Command Reference

284
# 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-ipv4-vpn1] peer test as-number 100
[Sysname-bgp-ipv4-vpn1] peer test route-update-interval 10
peer substitute-as (BGP/BGP-VPN instance view)
Use peer substitute-as to replace the AS number of a peer/peer group in the AS_PATH attribute with the
local AS number.
Use undo peer substitute-as to remove the configuration.
Syntax
peer { group-name | ip-address } substitute-as
undo peer { group-name | ip-address } substitute-as
Default
No AS number is replaced.
Views
BGP view, BGP-VPN instance view
Default command level
2: System level
Parameters
group-name: Specifies the name of a peer group, a sting of 1 to 47 characters.
ip-address: Specifies the IP address of a peer.
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
# I n B G P- V P N i n s t a n c e vi e w, s u b s t i t u t e l o c a l A S nu m b e r f o r AS nu m b e r o f p e e r 1.1.1.1. ( Th e V P N h a s b e e n
created.)
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-ipv4-vpn1] peer 1.1.1.1 substitute-as
peer timer (BGP/BGP-VPN instance view)
Use peer timer to configure the keepalive interval and holdtime for a peer or peer group.
Use undo peer timer to restore the default.