PREV NEXT INDEX

Avici Systems Inc.


neighbor next-hop-self


Defines the IP address of this router as the next hop to reach a destination.

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

ip-address

IP address of a BGP neighbor.

peer-group-name

Name of a BGP peer group.

Description: The BGP next-hop attribute is the next IP address used to reach a destination. Normally, BGP chooses the next hop automatically. In networks where BGP neighbors may not have direct access to all other neighbors on the same subnet, BGP's automatic next hop selection can result in broken routing.

Use the neighbor next-hop-self command to disable automatic next-hop selection. Updates meant for the specified system or peer group are forced to advertise this router as the next hop.

Use the ip-address parameter to configure a neighbor to specify this router as the next hop.

Use the peer-group-name parameter to configure all the members of a peer group to specify this router as their next hop.

Use the no neighbor next-hop-self command to disable this attribute.

Factory Default: Disabled.

Command Mode: Router configuration.

Example: In the following example, the neighbor next-hop-self command forces all updates for neighbor 121.80.100.4 to advertise this router as the next hop, and the show ip bgp neighbor command displays the setting:

router(config)#router bgp 101

router(config-router)#neighbor 121.80.100.4 remote-as 101

router(config-router)#neighbor 121.80.100.4 next-hop-self

router(config-router)#end

router#show ip bgp neighbor 121.80.100.4

BGP neighbor 121.80.100.4 using remote AS 101 router ID: 5.198.5.1 version: 4 state: Active           time: 0:46:44 def orignat: False ebgp multihop: False n hop self: True    route ref client: False

.

.

.

Related Commands: neighbor peer-group (assigning and creating)
neighbor remote-as
show ip bgp neighbors


PREV NEXT INDEX

Copyright © 2004 Avici Systems Inc.
Avici® and TSR® is a registered trademark of Avici Systems Inc.
IPriori™, Composite Links™, SSR™, QSR, and NSR® are trademarks of Avici Systems Inc.

   Source File Name: BGP_Nd.fm
    HTML File Name: BGP_Nd33.html
    Last Updated: 05/10/04 at 16:36:55

Please email suggestions and comments to: doc@avici.com