24 set metric-type – CANOGA PERKINS CanogaOS Command Reference User Manual
Page 579
![background image](/manuals/651410/579/background.png)
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
- 3240S SNMP-Managed T1/E1 Fiber-Optic Multiplexer (50 pages)
- 3240S SNMP-Managed T1/E1 Fiber-Optic Multiplexer (48 pages)
- 9160 10 Gigabit Ethernet Network Interface Device (55 pages)
- 9160 10 Gigabit Ethernet Network Interface Device (46 pages)
- 9160 10 Gigabit Ethernet Network Interface Device (52 pages)
- 9171 Metro Ethernet Routing Switch (26 pages)
- 2201 Rack Chassis (18 pages)
- 2270 Fiber Optic Modem (64 pages)
- 3240S SNMP Managed Fiber Optic Multiplexer (108 pages)
- 2240 Fiber Optic Modem (106 pages)
- 2240 Fiber Optic Modem (98 pages)
- 2262 T1/E1 Fiber Optic Modem (28 pages)
- 2262 T1/E1 Fiber Optic Modem (27 pages)
- 8829 UTP-to-Fiber Optic Media Converter (42 pages)
- 9119 Rack Mount 100BASE-TX/FX Media Converter (30 pages)
- 9101 LAN Chassis (31 pages)
- 9120 Gigabit Ethernet Media Converter (33 pages)
- 9135 Two-Port SNMP Managed Fast Ethernet Switch (99 pages)
- UCS 1000 Universal Chassis System (20 pages)
- 1202 Chassis Interconnect Module (18 pages)
- 1202 Chassis Interconnect Module (16 pages)
- 2345 T3 Fiber Optic Modem (46 pages)
- OADM (7 pages)
- OADM (6 pages)
- 6004 Wave Division Multiplexer (8 pages)
- 2461 E1 Modem (80 pages)
- 2461 E1 Modem (74 pages)
- 2361 T1 Modem (76 pages)
- 1200 Chassis Interconnect Module (18 pages)
- 1500 Domain Management Module (55 pages)
- 1500 Domain Management Module (56 pages)
- 1500 Domain Management Module (57 pages)
- 1502 Domain Management Module (54 pages)
- 1502 Domain Management Module (44 pages)
- L322 Fast Ethernet Media Converter (38 pages)
- L357 Gigabit Ethernet Service Unit (62 pages)
- L357 Gigabit Ethernet Service Unit (60 pages)
- L357 Gigabit Ethernet Service Unit (58 pages)
- UCS 1001 Universal Chassis System (16 pages)
- CanogaView Smart Element Manager (83 pages)
- CanogaView Smart Element Manager (77 pages)
- CanogaView Smart Element Manager (80 pages)
- L351 10/100BASE Media Converter (78 pages)
- L351 10/100BASE Media Converter (53 pages)
- L351 10/100BASE Media Converter (76 pages)