5000 Series Layer 2/3 Managed Data Center Switch CLI Reference Guide
1033
Command Mode
•
BGP Router Config
•
IPv4 VRF Address Family Config
11-15 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. lf you change the default local preference, BGP automatically initiates a soft
inbound reset for all peers to apply the new local preference.
Use the
no
command to set the default value of local preference of the BGP router.
bgp default local-preference number
no bgp default local-preference
Parameters
number
The value to use as the local preference for routes advertlsed to internal
peers. The range is 0 to 4,294,967,295.
Default
The default is 100. When the command is not given, BGP advertises a local preference of 100 in Update
messages to internal peers.
Command Mode
•
BGP Router Config
•
IPv4 VRF Address Family Config
11-16 bgp fast-external-failover
Use this command to configure BGP to immediately reset the adjacency with an external peer if the
routing interface to the peer goes down. When BGP gets a routing interface down event, BGP drops the
adjacency with all external peers whose IPv4 address is in one of the subnets on the failed interface. This
behavior can be overridden for specific inte sing the command
“ip bgp fast-external-failover”
.
Use the
no
command to disable the BGP fast-external-failover.
bgp fast-external-failover
no bgp fast-external-failover