Set Metric - Planet SGS-6341 Series Command Manual

Gigabit ethernet l3 stackable managed switch with 10gbe uplink
Table of Contents

Advertisement

local priority validates only within this AS and will not be transported to EBGP neighbors. To use this
command, one match clause should at first be defined.
Example:
Switch#config terminal
Switch(config)#route-map r1 permit 5
Switch(config-route-map)#set local-preference 60

31.23 set metric

Command:
set metric < metric_val>
no set metric [< metric_val>]
Function:
Configure the metric value of the route. The "no set metric [< metric_val>]" command deletes the
configuration.
Parameter:
<metric_val > is the metric value, ranging between 1~4294967295.
Command Mode:
route-map mode
Usage Guide:
The metric value only affects the path option from external neighbors to local AS. The less the
metric value is the higher is the priority. Under normal circumstances only the path metric value of
the neighbors of the same AS will be compared. To extend the comparison to the metric values of
different neighbor path, the bgp always-compare-med command should be configured. To use this
command, one match clause should at first be defined.
Example:
Switch#config terminal
Switch(config)#route-map r1 permit 5
Switch(config-route-map)#set metric 60
31.24 set metric-type
Command:
set metric-type <type-1 | type-2>
no set metric-type [<type-1 | type-2>]
31-126

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sgs-6341-24t4x

Table of Contents