DXS-3600 Series 10GbE Layer 2/3 Switch CLI Reference Guide
532
Parameters
53-16 set metric
This command is used to add a set command to modify the metric of routes. Use the no form of this command to delete
this command.
set metric
NUMBER
no set metric
Parameters
NUMBER
Specifies the value of local preference. The range is 0 to 4294967295.
Default
The default value of local preference is 100.
Command Mode
Route Map Configuration Mode.
Command Default Level
Level: 8
Usage Guideline
Use this command to modify the local preference attribute of route when match
conditions are met.
By default, the BGP router will send the default local preference with the routes to
IBGP neighbors and to EBGP neighbors which are in one confederation. It can be
overwritten by the local preference set by the route map. For the received route, the
local preference sent with the route will be used in the best path selection. This local
preference will be overwritten if the local preference is ingress set by the route map.
For the connected routes, the default local preference will be used for them in the
best path selection.
This will take effect for both ingress and egress directions.
You can verify your settings by entering the
show route-map
command.
Example
This example shows how to add a set command to modify the local preference of
route 120.1.1.0/24.
DXS-3600-32S#configure terminal
DXS-3600-32S(config)#ip standard access-list Strict-Control
DXS-3600-32S(config-ip-acl)#permit 120.1.1.0/24
DXS-3600-32S(config-ip-acl)#exit
DXS-3600-32S(config)#route-map mapprefer permit 10
DXS-3600-32S(config-route-map)#match ip address Strict-Control
DXS-3600-32S(config-route-map)#set local-preference 500
DXS-3600-32S(config-route-map)#
NUMBER
Specifies the metric of routes. The range is 0 to 4294967294.
Default
None.
Command Mode
Route Map Configuration Mode.
Command Default Level
Level: 8
Usage Guideline
Use this command to modify the metric of routes to be redistributed
.
You can verify your settings by entering the
show route-map
command.
Summary of Contents for DXS-3600-16S
Page 1: ...CLI Reference Guide Product Model DXS 3600 Series Layer 2 3 Managed 10GbE Switch Release 1 10 ...
Page 232: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 224 ...
Page 301: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 293 ...
Page 349: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 341 ...
Page 494: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 486 ...
Page 564: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 556 ...
Page 649: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 641 ...