To change the default local preference value, use the bgp default local-preference router configuration command. To return to the default setting, use the no form of this command.
bgp default local-preference value
no bgp default local-preference value
value  Local preference value from 0 to 4294967295. Higher is more preferred.
Local preference value of 100
Router configuration
Release | Modification | 10.0 | This command was introduced. |
---|
Generally, the default value of 100 allows you to easily define a particular path as less preferable than paths with no local preference attribute. The preference is sent to all routers and access servers in the local autonomous system.
The following example raises the default local preference value from the default of 100 to 200:
router bgp 200 bgp default local-preference 200
Command | Description |
---|---|
set local-preference | Specifies a preference value for the autonomous system path. |
Printed for apswan@ctr.ap.nic.in on Wed Mar 5 22:32:57 PST 2003
All material in this document copyright 2000 Cisco Systems, Inc. All rights reserved. No material may be reproduced or distributed without written permission of Cisco Systems, Inc.