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

Page 579

Advertising
background image

CanogaOS Command Line Reference

Revision 1.02

Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches

Page 579 of 855

28.23.1.5 Examples

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

28.23.1.6 Related

Commands

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

28.24.1.1 Command

Syntax

set metric-type {type1 | type2}

no set metric-type

28.24.1.2 Syntax

Description

type1

Select to set external type 1 metric.

type2

Select to set external type 2 metric.

28.24.1.3 Command

Mode

Route-map mode

28.24.1.4 Defaults

No set metric-type is specified by default.

28.24.1.5 Examples

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

Advertising