R3102-R3103-HP 6600/HSR6600 Routers Layer 3 - IP Routing Command Reference
285
# In BGP-VPN instance view, configure the keepalive interval and holdtime 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-ipv4-vpn1] peer test timer keepalive 60 hold 180
# In BGP view, configure both the keepalive interval and holdtime for peer group test as 0 seconds,
indicating the peer group never times out.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer test timer keepalive 0 hold 0
# In BGP-VPN instance view, configure both the keepalive interval and holdtime interval for peer group
test as 0 seconds, indicating the peer group never times out. (vpn1 must have been created.)
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-ipv4-vpn1] peer test timer keepalive 0 hold 0
Related commands
timer
peer ttl-security hops (BGP/BGP-VPN instance view)
Use peer ttl-security hops to configure Generalized TTL Security Mechanism (GTSM) to check BGP
packets from the specified peer or peer group.
Use undo peer ttl-security hops to restore the default.
Syntax
peer { group-name | ip-address } ttl-security hops hop-count
undo peer { group-name | ip-address } ttl-security hops
Default
GTSM is not configured.
Views
BGP view, BGP-VPN instance view
Default command level
2: System level
Parameters
group-name: Name of a peer group, a string of 1 to 47 characters.
ip-address: IP address of a peer.
hop-count: Hop count value in the range of 1 to 254.
Usage guidelines
With the peer ttl-security hops command configured, the device checks whether the TTL in the BGP
packets received from the peer falls into the valid TTL range—255-hop-count+1 to 255. If yes, the packet
is delivered to the CPU; otherwise, the packet is discarded. Thus, GTSM prevents CPU utilization based










