neighbor check-next-hop

This command enables checking to see if the next hop is the peer‘s address and does not send routes if it is.

Syntax

neighbor ip-address check-next-hop
no neighbor ip-address check-next-hop

Parameters

ip-address Specifies a BGP peer as a valid IPv4 address in dotted-quad format or as a valid IPv6 address in colon-separated format.

Defaults

None.

Mode

BGP Router Configuration.

Usage

Checking to see whether the next hop is the peer‘s address is enabled by default.

The no neighbor check-next-hop command disables checking to see whether the next hop is the peer‘s address.

Example

The following example disables checking to see whether the next hop for neighbor 200.51.1.1 is the peer‘s address:

System(su-config)->router bgp 65151
System(su-config-bgp)->bgp router-id 159.1.1.9
System(su-config-bgp)->no neighbor 200.51.1.1 check-next-hop
System(su-config-bgp)->