/
protocols bgp peer <text> next-hop-self

protocols bgp peer <text> next-hop-self


Users can enable or disable next-hop-self to rewrite the nexthop as the local-self.


Command Syntax
set protocols bgp peer <text> next-hop-self <bool>
delete protocols bgp peer <text> next-hop-self


Parameter
<text>router identifier,(eg:192.168.10.2)
<bool>enable or disable next-hop-self

  • true enable next-hop-self
  • false disable next-hop-self


Example
• This example is to enable next-hop-self on peer 192.168.10.2:

admin@XorPlus# set protocols bgp peer 192.168.10.2 next-hop-self true 
admin@XorPlus# commit

Copyright © 2025 Pica8 Inc. All Rights Reserved.