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