bgp default local-preference
Configures the default local-preference value.
Syntax: [no] bgp local-preference value
value
Local preference value. Valid values are integers from 0 to 429467295.
Description: The preference value is used to determine the order that routes to the same destination appear in a single routing database. Configuring preferences enables you to define a particular path as preferred. The preference is sent to all routers and access servers in the local autonomous system.
Paths configured with higher local preferences are preferred.
Use the bgp default local-preference command to change the local default preference.
Use the no bgp default local-preference command to return to the default setting of 100.
Factory Default: 100.
Command Mode: Router configuration.
Example: In the following example:
- The bgp deafult local preference command assigns a default local preference of 150.
- The show running-config bgp command displays the setting:
router(config)#router bgp 101
router(config-router)#bgp default local-preference 150
router(config-router)#end
router#show runnning-config bgp
!
router bgp 101
bgp default local-preference 150
aggregate-address 12.0.0.0 255.248.0.0 summary-only
redistribute static
.
.
.
Related Commands: set local-preference
show running-config bgp
Copyright © 2004
Avici Systems Inc.
Avici® and TSR®
is a registered trademark of Avici Systems Inc.
IPriori, Composite Links, SSR, QSR, and NSR® are
trademarks of Avici Systems Inc.
Source
File Name: BGP_Nd.fm
HTML File Name: BGP_Nd9.html
Last Updated: 05/10/04 at 16:36:55