Configure the Metric Type for IS-IS Routes
About this task
-
accept a remote IS-IS route with the help of IS-IS accept policies
-
redistribute routes from other protocols into IS-IS
Before you begin
You must configure the required SPBM and IS-IS infrastructure.
You must log on to the route-map configuration mode in the CLI.
Procedure
Example
Switch:1> enable Switch:1# configure terminal Switch:1(config)# route-map ro1 10 Switch:1(route-map)# set metric-type-isis internal Switch:1(route-map)# permit Switch:1(route-map)# enableSet metric type for IS-IS routes in accept policies:
Switch:1> enable Switch:1# configure terminal Switch:1(config)# route-map ro1 10 Switch:1(route-map)# set metric-type-isis internal Switch:1(route-map)# permit Switch:1(route-map)# enable Switch:1(route-map)# exit Switch:1(config)# router isis Switch:1(config-isis)# accept route-map ro1 Switch:1(config-isis)# exit Switch:1(config)# isis apply acceptSet metric type to redistribute routes from other protocols into IS-IS:
Switch:1> enable Switch:1# configure terminal Switch:1(config)# route-map ro1 10 Switch:1(route-map)# match metric-type-isis internal Switch:1(route-map)# permit Switch:1(route-map)# enable Switch:1(route-map)# exit Switch:1(config)# router isis Switch:1(config-isis)# redistribute bgp route-map ro1 Switch:1(config-isis)# exit Switch:1(config)# isis apply redistribute
Variable Definitions
The following table defines parameters for the set metric-type-isis command.
Variable |
Value |
---|---|
metric-type-isis {any|internal|external} |
Specifies the IS-IS metric type:
|