< Home

attached-bit advertise

Function

The attached-bit advertise command configures a rule for setting the ATT bit in Link state Protocol Data Units (LSPs).

The undo attached-bit advertise command restores the default setting rule.

By default, the Level-1-2 device sets the ATT bit in LSPs using the default rule.

Format

attached-bit advertise { always | never }

undo attached-bit advertise

Parameters

Parameter Description Value
always Indicates that the ATT bit is set to 1. -
never Indicates that the ATT bit is set to 0. -

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

An ATT bit is a field in link state packets. An ATT bit identifies whether Level-1 area is attached to other areas. A Level-1-2 device sets the ATT bit to 1 to notify the devices in Level-1 area of its attachment to a Level-2 backbone area. After a Level-1 device receives the LSPs carrying the ATT bit 1 from the Level-1-2 device, the Level-1 device generates a route with the same destination address as the default route of the Level-1-2 device. Traffic can be forwarded along this route.

The preceding rule is the default rule for setting the ATT bit in the Intermediate System to Intermediate System (IS-IS) protocol. You can run the attached-bit advertise command to configure a rule for setting the ATT bit as required.
  • If you want the ATT bit in LSPs to be set to 1, run the attached-bit advertise always command.

  • If you want to disable the Level-1 device connected to the Level-1-2 device from advertising default routes when the ATT bit is set to 1, run either of the following commands:
    • Run the attached-bit advertise never command on the Level-1-2 device to disable the device from sending LSPs with the ATT bit 1.

    • Run the attached-bit avoid-learning command on the Level-1 device that is connected to the Level-1-2 device.

    Running the attached-bit advertise never command applies to all Level-1 devices that receive LSPs with the ATT bit 0. Therefore, it is more convenient.

Precautions

The ATT bit is defined in both Level-1 and Level-2 LSPs, but it can be set to 1 only in Level-1 LSPs. Additionally, only the Level-1-2 device can set the ATT bit. Therefore, running the attached-bit avoid-learning command takes effect only on the Level-1-2 device.

Example

# Enable the Level-1-2 device to set the ATT bit to 1 in the LSPs sent in IS-IS process 1.

<HUAWEI> system-view
[HUAWEI] isis 1
[HUAWEI-isis-1] attached-bit advertise always
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >