Command:

neighbor next-hop-self


Mode:

Router(config-router)#

Syntax:
neighbor {ip-address | peer-group-name} next-hop-self

no neighbor {ip-address | peer-group-name} next-hop-self

Syntax Description:
ip-address IP address of the BGP-speaking neighbor
peer-group-name Name of a BGP peer group

Command Description:

To configure the router as the next hop for a BGP-speaking neighbor or peer group, use the neighbor next-hop-self router configuration command. To disable this feature, use the no form of this command. This command is useful in nonmeshed networks (such as Frame Relay or X.25) where BGP neighbors may not have direct access to all other neighbors on the same IP subnet.

Example:

The following example forces all updates destined for 131.108.1.1 to advertise this router as the next hop:
Router(config)#router bgp 109
Router(config-router)#neighbor 131.108.1.1 next-hop-self

Misconceptions:
None

Related Commands:
neighbor peer-group (creating)

� Cisco Systems, Inc. 2001, 2002, 2003
World Wide Education

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)