CLI Guide
Related
Commands
show ip bgp dampened-paths — views the BGP paths.
bgp default local-preference
Change the default local preference value for routes exchanged between internal BGP peers.
Syntax
bgp default local-preference value
To return to the default value, use the no bgp default local-preference
command.
Parameters
value Enter a number to assign to routes as the degree of
preference for those routes. When routes are compared, the
higher the degree of preference or local preference value,
the more the route is preferred. The range is from 0 to
4294967295. The default is 100.
Defaults 100
Command Modes ROUTER BGP
Supported Modes Full–Switch
Command History
Version Description
9.9(0.0) Introduced on the FN IOM.
9.2(0.0) Introduced on the MXL 10/40GbE Switch IO Module.
Usage Information
All routers apply the bgp default local-preference command setting within
the AS. To set the local preference for a specific route, use the set local-
preference
command in ROUTE-MAP mode.
Related
Commands
set metric — assigns a local preference value for a specific route.
bgp enforce-first-as
Disable (or enable) enforce-first-as check for updates received from EBGP peers.
Syntax
bgp enforce-first-as
To turn off the default, use the no bgp enforce-first-as command.
Defaults Enabled
Border Gateway Protocol IPv4 (BGPv4)
351