ebgp multihop
To configure the exterior Border Gateway Protocol (eBGP) time-to-live (TTL) value to support eBGP multihop, use the ebgp multihop command. To reset to default, use the no form of this command.
ebgp multihop ttl-value
no ebgp multihop ttl-value
Syntax Description
ttl-value |
TTL value for eBGP multihop. The range is from 2 to 255. You must manually reset the BGP sessions after using this command. |
Command Default
None
Command Modes
BGP neighbor configuration
Command History
Release |
Modification |
---|---|
4.0(1) |
This command was introduced. |
Usage Guidelines
Use the ebgp multihop command to configure the eBGP time-to-live (TTL) value to support eBGP multihop. In some situations, an eBGP peer is not directly connected to another eBGP peer and requires multiple hops to reach the remote eBGP peer. You can configure the eBGP TTL value for a neighbor session to allow these multihop sessions.
This command requires the Enterprise Services license.
Examples
This example shows how to configure the eBGP multihop value:
switch# configure terminal
switch(config)# router bgp 1.1
switch(config-router)# neighbor 192.0.2.1 remote-as 1.2
switch(config-route-neighbor) ebgp multihop 2