Programmable Internetworking & Communication Operating System Docs ... Click Spaces -> Space Directory to see docs for all releases ...
Page tree
Skip to end of metadata
Go to start of metadata

The set protocols bgp neighbor ebgp-multihop command enables BGP to establish a session with external peers residing on networks that are not directly connected. By default, BGP can only establish sessions with external BGP peers that are directly connected. The neighbor connection must be reset using clear bgp to allow this configuration to take effect.

The delete protocols  bgp neighbor ebgp-multihop command disables the peer ebgp-multihop feature.

Command Syntax

set protocols bgp [vrf <vrf-name>{neighbor <ip>| peer-group <peer-group>} ebgp-multihop [maximum-hop <HOP-COUNT>]

delete protocols bgp [vrf <vrf-name>{neighbor <ip>| peer-group <peer-group>ebgp-multihop [maximum-hop <HOP-COUNT>]




vrf <vrf-name>

Optional. Specifies a VRF name. The value is a string. It’s a user-defined VRF set by the command set ip vrf <vrf-name> [description <string>].

neighbor <ip>Specifies the IP address of a peer.
peer-group <peer-group>Specifies a peer group.
maximum-hop <HOP-COUNT>Optional. Specifies the maximum number of hops to reach the peer. The value is an integer that ranges from 1 to 255.

• This example enables BGP to establish connection with external peers residing on networks that are not directly connected:

admin@XorPlus# set protocols bgp neighbor ebgp-multihop maximum-hop 5

admin@XorPlus# commit

  • No labels