Reference Guide

set local-preference
To set the BGP LOCAL_PREF attribute for routers within the local autonomous system, configure a filter.
Z9000
Syntax
set local-preference value
To delete a BGP LOCAL_PREF attribute, use the no set local-preference command.
Parameters
value
Enter a number as the LOCAL_PREF attribute value. The range is from
0 to 4294967295.
Defaults Not configured.
Command Modes ROUTE-MAP
Command History
This guide is platform-specific. For command information about other platforms, refer to the
relevant
FTOS Command Line Reference Guide
.
The following is a list of the FTOS version history for this command.
Version 8.3.19.0 Introduced on the S4820T.
Version 8.3.11.1 Introduced on the Z9000.
Version 8.3.7.0 Introduced on the S4810.
Version 8.1.1.0 Introduced on the E-Series ExaScale.
Version 7.6.1.0 Introduced on the S-Series.
Version 7.5.1.0 Introduced on the C-Series.
pre-Version
6.1.1.0
Introduced on the E-Series.
Usage
Information
The set local-preference command changes the LOCAL_PREF attribute for routes
meeting the route map criteria. To change the LOCAL_PREF for all routes, use the bgp
default local-preference command.
Related
Commands
bgp default local-preference — changes the default LOCAL_PREF attribute for all routes.
set metric
To assign a new metric to redistributed routes, configure a filter.
Z9000
Syntax
set metric [+ | -] metric-value
To delete a setting, enter no set metric.
Parameters
+ (OPTIONAL) Enter + to add a metric-value to the redistributed routes.
232