24 set metric-type – CANOGA PERKINS CanogaOS Command Reference User Manual

Page 394

Advertising
background image

CanogaOS Command Line Reference

Revision 1.02

Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches

Page 394 of 855

19.23.1.5 Examples

Switch# configure terminal
Switch(config)# route-map rmap1 permit 3
Switch(config-route-map)# set metric 600

19.23.1.6 Related

Commands

19.24 set metric-type

Use this command to set the metric type for the destination routing protocol.
Use the no parameter with this command to return to the default.

This command sets the type to either Type-1 or Type-2 in the AS-external-LSA when the
route-map matches the condition.

Note:

This command is valid for OSPF only.

19.24.1.1 Command

Syntax

set metric-type {type1 | type2}

no set metric-type

19.24.1.2 Syntax

Description

type1

Select to set external type 1 metric.

type2

Select to set external type 2 metric.

19.24.1.3 Command

Mode

Route-map mode

19.24.1.4 Defaults

No set metric-type is specified by default.

19.24.1.5 Examples

Switch# configure terminal
Switch(config)# route-map rmap1 permit 3
Switch(config-route-map)# set metric-type 1

Advertising