neighbor next-hop-self

This command specifies an announced route’s next hop as being equivalent to the

address of the bgp router.

Syntax

neighbor {<neighbor tag>|a.b.c.d|X:X::X:X} next-hop-self
no neighbor peer next-hop-self

Command

Description

a.b.c.d|X:X::X:X

Defines the IP address of the neighbor (IPv4 or IPv6).

neighbor tag

Defines the neighbor tag.

Default

NA

Command Mode

Privileged User

Example

This example specifies an announced route’s next hop.

(config-data)# router bgp 1
(conf-router)# neighbor 10.12.50.103 next-hop-self