Cisco Cisco Packet Data Gateway (PDG)

Página de 8994
Route-map Configuration Mode Commands   
▀  set local-preference 
 
 
▄  Command Line Interface Reference, StarOS Release 17 
8260 
   
set local-preference 
Sets the BGP local preference attribute that is sent by the BGP speaker only to IBGP peers. 
Product
 
All 
Privilege
 
Security Administrator, Administrator 
Mode
 
Exec > Global Configuration > Context Configuration > Route-map Configuration 
configure > context context_name > route-map map_name { deny | permit }
 
seq_number
 
Entering the above command sequence results in the following prompt: 
[context_name]host_name(config-route-map)# 
Syntax
 
[ no ] set local-preference pref_number 
no
 
Disables the specified local preference. 
pref_number
 
Specifies the BGP local preference number as an integer from 1 through 16777214. 
Usage 
Sets the BGP local preference attribute that is sent by the BGP speaker only to IBGP peers. This value can be 
used by peers to determine the exit point of the Autonomous System (AS). 
There is no match clause corresponding to local preference in the route-map because local-preference is 
directly used in the route selection algorithm. 
Example
 
The following command sets the BGP local preference attribute to 33: 
set local-preference 33