Setting metric type for IS-IS routes using global redistribute command

About this task

Use this procedure to set the IS-IS external metric-type using the global redistribute command for the following cases redistributing 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 IS-IS router configuration mode in the CLI.

Procedure

  1. Enter IS-IS Router Configuration mode:

    enable

    configure terminal

    router isis

  2. Set IS-IS metric type using global redistribute command:

    redistribute direct metric-type {internal|external}

  3. Enable the route policy

    redistribute direct enable

Example

Set metric type for IS-IS routes using global redistribute command:
Switch:1> enable
Switch:1# configure terminal
Switch:1(config)# router isis
Switch:1(config-isis)# redistribute direct metric-type internal
Switch:1(config-isis)# redistribute direct enable

Variable Definitions

The following table defines parameters for the redistribute direct metric-type command.

Variable

Value

metric-type {internal|external}

Specifies the IS-IS metric type:

  • internal – permits or denies routes that are internal to the IS-IS domain.

  • external – permits or denies routes that originate from an external routing protocol domain.