BGP and BGP4+ Commands

neighbor next-hop-self (BGP and BGP4+)

Use this command to configure the BGP or BGP4+ router as the next hop for a BGP or BGP4+ speaking neighbor or peer group.

Use the no variant of this command to disable this feature.

Syntax [BGP/BGP4+] neighbor <neighborid> next-hop-self

no neighbor <neighborid> next-hop-self

Parameter Description

<neighborid> {<ip-address><ipv6-addr><peer-group>}

<ip-address>Specify the address of an IPv4 BGP neighbor, in dotted decimal notation A.B.C.D.

<ipv6-addr>Specify the address of an IPv6 BGP4+ neighbor, entered in hexadecimal in the format X:X::X:X.

<peer-group>Enter the name of an existing peer-group. For information on how to create peer groups, refer to the neighbor peer-group (add a neighbor) (BGP and BGP+) command on page 3.144, and neighbor route-map (BGP and BGP4+) command on page 3.159. When this parameter is used with this command, the command applies on all peers in the specified group.

Mode [BGP] Router Configuration or IPv4 Address Family Configuration for a VRF instance

Mode [BGP4+] IPv6 Address Family Configuration

Usage [BGP/BGP4+] This command allows a BGP or BGP4+ router to change the nexthop information that is sent to the iBGP peer. The nexthop information is set to the IP address of the interface used to communicate with the neighbor.

This command can be run for a specific VRF instance.

Examples [BGP]

awplus#

configure terminal

awplus(config)#

router bgp 10

awplus(config-router)#

neighbor 10.10.0.72 next-hop-self

awplus#

configure terminal

awplus(config)#

router bgp 10

awplus(config-router)#

no neighbor 10.10.0.72 next-hop-self

 

Software Reference Supplement for SwitchBlade® x8112, x908, x900 and x610 Series Switches

 

3.134

AlliedWare PlusTM Operating System - Software Version 5.4.3-2.6

C613-50032-01 REV D

Page 232
Image 232
Allied Telesis VERSION 5.4.3-2.6 manual Neighbor next-hop-self BGP and BGP4+, Neighbor 10.10.0.72 next-hop-self