OcNOS-RON-6.3.1 : Layer 3 Guide : Fundamental Layer 3 Command Reference : Route-Map Commands : set local-preference
set local-preference
Use this command to set the BGP local preference path attribute.
Use the no parameter with this command to disable this function.
Command Syntax
set local-preference <0-4294967295>
no set local-preference (<0-4294967295>|)
Parameters
<0-4294967295>
Tag value for destination routing protocol.
Default
By default, set local preference is disabled
Command Mode
Route-map mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#route-map rmap1 permit 3
(config-route-map)#set local-preference 12
Last modified date: 07-13-2023