ip (bgp-router-config)

Configures the BGP default gateway‘s priority

Supported in the following platforms:

Syntax

ip default-gateway priority <1-8000>

Parameters

ip default-gateway priority <1-8000>
default-gateway priority <1-8000> Configures the default gateway‘s (acquired through BGP) priority
  • <1-8000> – Specify a value from 1 - 8000. The default is 7500. Lower the value, higher is the priority.

Examples

nx9500-6C8809(config-profile testNX9000-router-bgp)#ip default-gateway priority 1
nx9500-6C8809(config-profile testNX9000-router-bgp)#show context
 router bgp
  bgp enable
  asn 1
  ip default-gateway priority 1
  bgp-route-limit num-routes 10
nx9500-6C8809(config-profile testNX9000-router-bgpp)#

Related Commands

no (bgp-router-config) Removes the BGP default gateway configuration