3Com MSR 30 Network Router User Manual


  Open as PDF
of 2742
 
1005
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-vpn1] peer 1.1.1.1 substitute-as
peer timer (BGP/BGP-VPN instance view)
Syntax peer { group-name | ip-address } timer keepalive keepalive hold holdtime
undo peer { group-name | ip-address } timer
View BGP view/BGP-VPN instance view
Parameters group-name: Name of a peer group, a sting of 1 to 47 characters.
ip-address: IP address of a peer.
keepalive: Keepalive interval in seconds, ranging from 1 to 21845.
holdtime: Holdtime interval in seconds, ranging from 3 to 65535.
Description Use the
peer timer command to configure the keepalive interval and holdtime
interval for a peer or peer group.
Use the
undo peer timer command to restore the default.
By default, the keepalive and holdtime are 60s and 180s respectively.
Note that:
The timer configured with this command is preferred to the timer configured
with the timer command.
The holdtime interval must be at least three times the keepalive interval.
Related commands: timer (BGP/BGP-VPN instance view).
Examples # In BGP view, configure the keepalive interval and holdtime interval for peer
group test as 60s and 180s.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer test timer keepalive 60 hold 180
# In BGP-VPN instance view, configure the keepalive interval and holdtime interval
for peer group test as 60s and 180s (the VPN has been created).
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-vpn1] peer test timer keepalive 60 hold 180