Previous page Next page

neighbor uses-next-hop-self-address

Provides CNA with a next-hop address when routers are configured with next-hop-self.

Syntax
neighbor <address> uses-next-hop-self-address <next-hop>
 
no neighbor <address> uses-next-hop-self-address
 
Arguments
Prerequisites

Must be in BGP configuration mode (config-engine-bgp), which requires privileged-level access.

Occurrence

Available for use multiple times in the configuration.

Default

Edge routers cannot be configured with next-hop-self

Description

Use the neighbor uses-next-hop-self-address command to identify the IP address to be used by CNA when asserting routes to edge routers configured with next-hop-self.

When next-hop-self is configured on a router, CNA will attempt to match the router’s advertised next hop to a next-hop argument configured by a uses-next-hop-self-address command in one of the CNA configuration’s BGP neighbor blocks.

When a match is found, CNA will set the next-hop address to the facing address of the link whose AS number (declared when the link was created with the link command) matches the first AS number in the route’s AS path.

To be sure these facing addresses are included in the routing tables on each of your edge routers, you can redistribute them into IGP or you can create static routes on each edge router for all non-connected service providers.

Use the no form of the command to remove the next-hop-self mapping from the BGP neighbor configuration block.


Previous page Next page