Use this command to specify the default local preference. Local preference is an attribute sent to internal peers to indicate the degree of preference for a route. A route with a numerically higher local preference value is preferred.
BGP assigns the default local preference to each path received from an external peer. (BGP retains the LOCAL_PREF on paths received from internal peers.) BGP also assigns the default local preference to locally-originated paths. If you change the default local preference, BGP automatically initiates a soft inbound reset for all peers to apply the new local preference.
| Default | If this command is not given, BGP advertises a local preference of 100 in Update messages to internal peers. |
| Format | bgp default local-preference number |
| Mode |
|
| Parameter | Description |
|---|---|
| number | The value to use as the local preference for routes advertised to internal peers. The range is 0 to 4,294,967,295. |