Release : 1.1f 726 / 985
Super Micro Intelligent Switch Command Line Interface User Guide
27.20 bgp local-preference
This command configures an entry in the Local Preference Table and the no form of the
command deletes the entry from Local Preference Table.
bgp local-preference <1-100> remote-as <0-65535> <ip-address> <ip_mask>
[intermediate-as <AS-no list- AS1,AS2,...>] value <value> direction
<in|out> [override]
no bgp local-preference <1-100>
Syntax Description
remote-as - AS number of BGP peer associated with the route-prefix
ip-address - Route-prefix on which local-preference policy needs to be applied
ip_mask - Mask associated with the route
intermediate-as - The sequence of intermediate Autonomous system numbers through
which the route update is expected to travel
value - The local-preference value that needs to be associated with the route-update
direction - Direction of application of local-preference policy Incoming - On received route-
update with other matching attributes like as-number, intermediate-as numbers Outgoing - On
route-update that needs to be advertised to peer
override - This setting decides whether configured local-preference value overrides the
received local-preference value. If this keyword is not specified, then the received value will have
precedence over configured value.
Mode
Router Configuration Mode
Defaults
remote-as - 0
Direction - in
Value - 100
ip-address - 0.0.0.0
mask - 0
Example
SMIS(config-router)# bgp local-preference-table index 5 remote-as
200 21.3.0.0 16 intermediate-as 150 local-pref 250 direction out