protocols bgp <asn> neighbor <id> address-family ipv4-unicast nexthop-self
Sets the local router as the next hop for this neighbor.
Disabled.
- asn
- The number for the AS in which this router resides. The number ranges from 1 through 4294967295.
- id
- The IPv4 or IPv6 address of a BGP neighbor.
Configuration mode
protocols {
bgp asn {
neighbor id {
address-family {
ipv4-unicast {
nexthop-self
}
}
}
}
}
Use the set form of this command to set this router as the next hop for this neighbor. This disables the next-hop calculation for this neighbor.
Use the delete form of this command to restore next-hop calculation for the neighbor.
Use the show form of this command to view BGP neighbor configuration settings.