Alcatel-Lucent 6850-48 参考指南

下载
页码 3444
IP Commands
page 32-50
OmniSwitch CLI Reference Guide
September 2009
ip route-map set metric-type
Configures the metric type for the redistributed route.
ip route-map route-map-name [sequence-number number] set metric-type
{internal | external [type1 | type2]}
no ip route-map route-map-name [sequence-number number] set metric-type
{internal | external [type1 | type2]}
Syntax Definitions
route-map-name
The name of the route map (up to 20 characters).
number
A number that links together the route maps. The range is 1–100.
internal
Sets the metric type to internal for routes redistributed into BGP.
external
Sets the metric type to external for routes redistributed into BGP.
type1
Sets the metric type to external type1 for routes redistributed into OSPF, 
which gives the full metric calculation for the complete path including 
internal as well as external cost. 
type2
Sets the metric type to external type2 for routes redistributed into OSPF, 
which gives the external redistribution metric only to the ASBR.
Defaults
Platforms Supported
OmniSwitch 6400, 6850, 6855, 9000, 9000E
Usage Guidelines
• Use the no form of this command to delete the set metric-type parameter in the route map.
• All route maps having the same name but different sequence numbers are linked together and 
processed in order of increasing sequence number.
• The route-map-name and sequence-number should exist before you configure this set criteria.
Examples
-> ip route-map 111 sequence-number 50 set metric-type internal
-> no ip route-map 111 sequence-number 50 set metric-type internal
Release History
Release 6.1.3; command was introduced.
parameter
default
number
50