bgp default local-preference

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
  • BGP Router Config
  • IPv4 VRF Address Family
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.

www.lancom-systems.com

LANCOM Systems GmbH | A Rohde & Schwarz Company | Adenauerstr. 20/B2 | 52146 Wuerselen | Germany | E‑Mail info@lancom.de

LANCOM Logo