Reference Guide

326 | Border Gateway Protocol IPv4 (BGPv4)
www.dell.com | support.dell.com
bgp default local-preference
c e s
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, enter no bgp default local-preference.
Parameters
Defaults
100
Command Modes
ROUTER BGP
Usage
Information
The bgp default local-preference command setting is applied by all routers within the AS. To set the
local preference for a specific route, use the set local-preference command in the ROUTE-MAP mode.
Related
Commands
Command
History
bgp enforce-first-as
c e s
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
Command Modes
ROUTER BGP
Usage
Information
This is enabled by default, that is for all updates received from EBGP peers, BGP ensures that the first
AS of the first AS segment is always the AS of the peer. If not, the update is dropped and a counter is
incremented. Use the show ip bgp neighbors command to view the “failed enforce-first-as check
counter.
If enforce-first-as is disabled, it can be viewed via the show ip protocols command.
Related
Commands
Command
History
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.
Range: 0 to 4294967295
Default: 100
set local-preference Assign a local preference value for a specific route.
Version 7.8.1.0 Introduced support on S-Series
Version 7.7.1.0 Introduced on C-Series
show ip bgp neighbors View the information exchanged by BGP neighbors
show ip protocols View Information on routing protocols.
Version 7.8.1.0 Introduced support on S-Series