neighbor ttl

This command specifies time to live (TTL) value.

Syntax

neighbor ip-address ttl ttl-num
no neighbor ip-address ttl ttl-num

Parameters

ip-address Specifies a BGP peer as a valid IPv4 address in dotted-quad format or as a valid IPv6 address in colon-separated format.
ttl-num Specifies the number of hops configured for this neighbors TTL setting. Valid values are 1 - 255. Default value is 0 (Set by the IP stack to 64 hops).

Defaults

None.

Mode

BGP Router Configuration.

Usage

The no neighbor ttl command resets the TTL value for this neighbor to the default of 0 (Set by the IP stack to 64).

Example

The following example configures a TTL value of 5 for this peer.

System(su-config)->router bgp 65151
System(su-config-bgp)->bgp router-id 1.1.1.1
System(su-config-bgp)->neighbor 1.2.3.4 remote-as 5
System(su-config-bgp)->neighbor 1.2.3.4 ttl 5