Manoj Reddy's Reference Guide

bgp default local-preference

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

Syntax Description

value 

Local preference value from 0 to 4294967295. Higher is more preferred.

Defaults

Local preference value of 100

Command Modes

Router configuration

Command History

ReleaseModification
10.0

This command was introduced.

Usage Guidelines

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.

Examples

The following example raises the default local preference value from the default of 100 to 200:

router bgp 200
 bgp default local-preference 200

Related Commands

CommandDescription
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.