...
set protocols bgp [vrf <vrf-name>] [ipv4 unicast|ipv4 labeled-unicast|ipv6 unicast|ipv6 labeled-unicast] neighbor <protocol bgppeer> <bgppeer> next-hop-self [force]
delete protocols bgp [vrf <vrf-name>] [ipv4 unicast|ipv4 labeled-unicast|ipv6 unicast|ipv6 labeled-unicast] neighbor <protocol bgppeer> <bgppeer> next-hop-self [force]
Parameter
Parameter | Description |
vrf <vrf-name> | Optional. Specifies a VRF name. The value is a string. It’s a user-defined VRF set by the command set ip vrf <vrf-name> [description <string>]. |
neighbor<protocol bgppeer> <bgppeer> | Specifies an the IP address of neighbora peer. |
Example
• This example configures the router as the next hop for a BGP-speaking neighbor or peer group, and enables BGP to send itself as the next hop for advertised routes.
...