Peer Timer - HP 6125XLG Command Reference Manual

Blade switch layer 3 - ip routing
Table of Contents

Advertisement

[Sysname-bgp-vpn1] peer 1::1 substitute-as

peer timer

Use peer timer to configure a keepalive interval and holdtime for a peer or peer group.
Use undo peer timer to restore the default.
Syntax
peer { group-name | ip-address | ipv6-address } timer keepalive keepalive hold holdtime
undo peer { group-name | ip-address | ipv6-address } timer
Default
The keepalive interval is 60 seconds, and the holdtime is 180 seconds.
Views
BGP view, BGP-VPN instance view
Predefined user roles
network-admin
Parameters
group-name: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters. The peer
group must have been created.
ip-address: Specifies a peer by its IP address. The peer must have been created.
ipv6-address: Specifies a peer by its IPv6 address. The peer must have been created.
keepalive keepalive: Sets a keepalive interval in the range of 0 to 21845 seconds.
hold holdtime: Sets a holdtime in the range of 3 to 65535 seconds.
Usage guidelines
After establishing a BGP session, two routers send keepalive messages at the specified keepalive interval
to each other to keep the session.
If a router receives no keepalive or update message from the peer within the holdtime, it tears down the
session.
The timers configured with this command are preferred to the timers configured with the timer command.
If the holdtime settings on the local and peer routers are different, the smaller one is used.
If the holdtime is configured as 0, no keepalive message will be sent to the peer, and the peer session will
never time out. If the keepalive interval is configured as 0 and the negotiated holdtime is not 0, one third
of the holdtime is taken as the interval for sending keepalive messages. If neither the holdtime nor the
keepalive interval is configured as 0, the actual keepalive interval is the smaller one between one third
of the holdtime and the keepalive interval.
After this command is executed, the peer session is closed at once, and a new session to the peer is
negotiated by using the configured holdtime.
Examples
# In BGP view, configure the keepalive interval and holdtime for peer group test as 60s and 180s.
<Sysname> system-view
[Sysname] bgp 100
303

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents