R2511-HP MSR Router Series Layer 3 - IP Routing Command Reference(V5)
269
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 v i e w, s u b s t i t u t e l o c a l A S n u m b e r fo r A S n u m b e r o f p e e r 1.1.1.1. ( T h 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.
Syntax
peer { group-name | ip-address } timer keepalive keepalive hold holdtime
undo peer { group-name | ip-address } timer
Default
The keepalive and holdtime are 60s and 180s.
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.
keepalive: Specifies the keepalive interval in seconds, in the range of 0 to 21845.
holdtime: Specifies the holdtime interval in seconds, whose value is 0 or in the range of 3 to 65535.
Usage guidelines
The timers configured with this command are preferred to the timers configured with the timer command.
If the holdtime is configured as 0, no keepalive message is sent to the peer, and the peer connection
never times out. If the keepalive interval is configured as 0 and the negotiated hold time is not 0, one
third of the hold time is taken as the interval for sending keepalive messages.










