21 set metric-type, 22 set origin, 23 set originator-id – Accton Technology ES4626 User Manual

Page 377

Advertising
background image

377

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

13.2.3.21 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 OSPS type 1 external route, type-2 means

matches the OSPS 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

13.2.3.22 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.

Example:

Switch#config terminal

Switch(config)#route-map r1 permit 5

Switch(config-route-map)#set origin egp

13.2.3.23 set originator-id

Command: set originator-id <ip_addr>

no set originator-id [<ip_addr>]

Advertising
This manual is related to the following products: