direct-routes

Function

The direct-routes command enables the direct routes delivered by IS-IS to carry IS-IS route attributes.

The undo direct-routes command restores the default configuration.

By default, the direct routes delivered by IS-IS carry their own route attributes.

Format

direct-routes protocol-attribute-update

undo direct-routes protocol-attribute-update

Parameters

Parameter Description Value
protocol-attribute-update

Enables the direct routes delivered by IS-IS to carry IS-IS route attributes.

-

Views

IS-IS view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
isis write

Usage Guidelines

Usage Scenario

By default, the cost and tag of the direct routes delivered by IS-IS are both 0. To enable the direct routes delivered by IS-IS to carry IS-IS cost and tag, run the direct-routes command.

Prerequisites

An IS-IS process has been created and the IS-IS view has been displayed using the isis command.

Example

# Enable the direct routes delivered by IS-IS to carry IS-IS route attributes.
<HUAWEI> system-view
[~HUAWEI] isis
[*HUAWEI-isis-1] direct-routes protocol-attribute-update
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >