Qtech QSW-8200-28T-POEAC- DC [17/74] Set origin

Qtech QSW-8200-28T-AC-DC [17/74] Set origin
User Manual
Chapter 1. Commands for Routing Policy 17
www.qtech.ru
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 14294967295.
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
1.24 set metric-type
Command: set metric-type <type-1 | type-2>
no set metric-type [<type-1 | type-2>]
Function: Configure the metric type of the OSPF routing message. The no set metric-
type [<type-1 | type-2>]” command deletes this configuration.
Parameter: type-1 means matches the OSPF type 1 external route; type-2 means
matches the OSPF type 2 external route.
Command Mode: route-map mode
Usage Guide: 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-type type-1
1.25 set origin
Command: set origin <egp | igp | incomplete >
no set origin [<egp | igp | incomplete >]
Function: Configure the origin code of the BGP routing message. The no set origin
[<egp | igp | incomplete >]” command deletes this configuration.
Parameter: egp means the route is learnt from the external gateway protocols, igp
means the route is learnt from the internal gateway protocols, incomplete means the
route origin is uncertain.
Command Mode: route-map mode
Usage Guide: To use this command, one match clause should at first be defined.

Содержание

Похожие устройства

Скачать