No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

AR500, AR510, and AR530 V200R007 Commands Reference

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
IPv4 IS-IS Configuration Commands

IPv4 IS-IS Configuration Commands

NOTE:

Among the AR500 series routers, the AR502G-L-D-H, AR502GR-L-D-H do not support IPv4 IS-IS.

adjacency-strict-check enable

Function

The adjacency-strict-check enable command enables IS-IS adjacency strict-check.

The undo adjacency-strict-check enable command disables IS-IS adjacency strict-check.

The adjacency-strict-check disable command disables IS-IS adjacency strict-check.

By default, IS-IS adjacency strict-check is disabled when IS-IS establishes neighbor relationships.

Format

adjacency-strict-check enable

undo adjacency-strict-check [ enable ]

adjacency-strict-check disable

Parameters

None

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

During the establishment of IS-IS neighbor relationships, if both IPv4 and IPv6 are configured at both ends, both IPv4 and IPv6 neighbors are established. By default, IPv4 and IPv6 share the standard topology. When the faulty link is restored, IPv4 goes Up faster than IPv6. After the IS-IS router receives a message indicating that IPv4 goes Up, it considers that both IPv4 and IPv6 neighbors are established. If IPv6 packets are being transmitted at that time, some of these IPv6 packets are discarded.

To resolve this problem, run the adjacency-strict-check enable command to enable IS-IS adjacency strict-check to ensure that an IS-IS neighbor is established only when both IPv4 and IPv6 go Up.

Prerequisites

You have created an IS-IS process and entered the IS-IS view using the isis command.

Configuration Impact

After you run the adjacency-strict-check enable command on a broadcast network, the basic topology becomes Down if the IP protocol enabled on the local router is different from that on its neighbors.

After you run the adjacency-strict-check enable command on a P2P network, neighbor relationships cannot be established if the IP protocol enabled on the local router is different from that on its neighbors and only the basic topology is available for the local router.

Example

# Enable adjacency strict-check on IS-IS process 1.

<Huawei> system-view
[Huawei] isis
[Huawei-isis-1] adjacency-strict-check enable
Related Topics

area-authentication-mode

Function

The area-authentication-mode command configures an IS-IS area to authenticate received Level-1 packets (LSPs and SNPs) using the specified authentication mode and password or adds authentication information to Level-1 packets to be sent.

The undo area-authentication-mode command restores the default configuration.

By default, the system neither encapsulates generated Level-1 packets with authentication information nor authenticates received Level-1 packets.

Format

area-authentication-mode { { simple { plain plain-text | [ cipher ] plain-cipher-text } | md5 { [ cipher ] plain-cipher-text | plain plain-text } } [ ip | osi ] | { keychain keychain-name } } [ snp-packet { authentication-avoid | send-only } | all-send-only ]

area-authentication-mode hmac-sha256 key-id key-id { plain plain-text | [ cipher ] plain-cipher-text } [ snp-packet { authentication-avoid | send-only } | all-send-only ]

undo area-authentication-mode

Parameters

Parameter Description Value
simple Transmits the password in plain text.
NOTICE:

Simple authentication has potential risks. HMAC-SHA256 cipher text authentication is recommended.

-
plain plain-text Specifies the authentication password in plain text. You can enter only the password in plain text. When you view the configuration file, the password is displayed in plain text.
NOTICE:

If plain is selected, the password is saved in the configuration file in plain text. This brings security risks. It is recommended that you select cipher to save the password in cipher text.

The value is a string of case-sensitive characters without spaces. The value contains digits and letters. When the authentication mode is simple, the value is a string of 1 to 16 characters. When the authentication mode is md5 or hmac-sha256, the value is a string of 1 to 255 characters.
cipher plain-cipher-text Specifies the authentication password in cipher text. You can enter the password in plain or cipher text. When you view the configuration file, the password is displayed in cipher text. By default, the password is in cipher text. The value is a string of case-sensitive characters without spaces. The value contains digits and letters. When the authentication mode is simple, the value is a string of 1 to 16 characters in plain text or a string of 32 or 48 characters in cipher text. When the authentication mode is md5 or hmac-sha256, the value is a string of 1 to 255 characters in plain text or a string of 20 to 392 characters in cipher text.
md5 Transmits the password that is encrypted using MD5.
NOTICE:

MD5 authentication has potential risks. HMAC-SHA256 cipher text authentication is recommended.

-
ip Indicates the IP authentication password. This parameter cannot be configured when keychain authentication is used. -
osi Indicates the OSI authentication password. This parameter cannot be configured when keychain authentication is used. When neither osi nor ip is specified, the default parameter osi is used. -
keychain keychain-name Indicates the keychain that changes with time and is encrypted using MD5. This parameter takes effect only when keychain-name is set using the keychain command. The value is a string of 1 to 47 case-insensitive characters. Except the question mark (?) and space. However, when double quotation marks (") are used around the string, spaces are allowed in the string.
snp-packet Authenticates SNPs. -
authentication-avoid Encapsulates generated LSPs but not SNPs with authentication information and authenticates received LSPs but not SNPs. -
send-only Encapsulates generated LSPs and SNPs with authentication information, and authenticates received LSPs but not SNPs. -
all-send-only Encapsulates generated LSPs and SNPs with authentication information, but does not authenticate received LSPs and SNPs. -
hmac-sha256 Encapsulates generated packets with the HMAC-SHA256 authentication and a password encrypted by the HMAC-SHA256 algorithm and authenticates received packets. -
key-id key-id Indicates key ID of the HMAC-SHA256 algorithm. It is an integer ranging from 0 to 65535.

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Generally, the IS-IS packets to be sent are not encapsulated with authentication information, and the received packets are not authenticated. If a user sends malicious packets to attack a network, information on the entire network may be stolen. Therefore, you can configure IS-IS authentication to improve the network security.

The area authentication password is encapsulated into Level-1 IS-IS packets. Only the packets that pass the area authentication can be accepted. Therefore, you can configure IS-IS area authentication to authenticate the Level-1 area.

Precautions

The area-authentication-mode command is valid only on Level-1 or Level-1-2 routers.

By using this command enables IS-IS to discard all the Level-1 LSPs and SNPs whose area authentication passwords are not consistent with the one set by this command. At the same time, IS-IS inserts the configured area authentication password into all the Level-1 routing packets (LSPs and SNPs) sent from the local node. The establishment of the Level-1 neighbor relationship is not affected, regardless of whether the packets pass the area authentication.

The authentication takes effect only on the peer configured with authentication. The peer with no authentication configured can still receive the LSP and SNP packet with the password.

Example

# Set the area authentication mode to HMAC-SHA256, key id to 23, and password to admin@huawei.

<Huawei> system-view
[Huawei] isis 1
[Huawei-isis-1] area-authentication-mode hmac-sha256 key-id 23 cipher admin@huawei

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 or IS-IS topology 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

attached-bit avoid-learning

Function

The attached-bit avoid-learning command disables a device from advertising default routes to a routing table when the ATT bit is set to 1.

The undo attached-bit avoid-learning command restores the device to generates default routes when the ATT bit is set to 1.

By default, a device advertises default routes when the ATT bit is set to 1.

Format

attached-bit avoid-learning

undo attached-bit avoid-learning

Parameters

None

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

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.

To prevent the Level-1 device from advertising the default route when the ATT bit is set to 1, run the attached-bit avoid-learning command.

To prevent the Level-1 device from advertising default routes to the routing table, 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.

The difference between the preceding commands lies in that the attached-bit avoid-learning command applies to a specified device.

Example

# Disable IS-IS-enabled device from advertising default routes to a routing table when the ATT bit is set to 1.

<Huawei> system-view
[Huawei] isis 1
[Huawei-isis-1] attached-bit avoid-learning

auto-cost enable

Function

The auto-cost enable command enables IS-IS to automatically calculate the interface cost based on the interface bandwidth.

The undo auto-cost enable command disables IS-IS from automatically calculating the interface cost based on the interface bandwidth.

By default, IS-IS is disabled from automatically calculating the interface cost based on the interface bandwidth.

Format

auto-cost enable [ compatible ]

undo auto-cost enable

Parameters

Parameter Description Value
compatible

Specifies the IS-IS to calculate the cost of an interface based on the bandwidth of the interface automatically in compatible.

-

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After this command is run, if the cost of an IS-IS interface is not set in the interface view and no cost is set in the IS-IS view, the system automatically calculates a cost for the interface.

If the cost style of the system is wide or wide-compatible:

When auto-cost enable command is configured, Interface cost = (Bandwidth-reference/Link-bandwidth) x 10.

When auto-cost enable compatible command is configured, Interface cost = (Bandwidth-reference/Link-bandwidth).

The cost style is set by the cost-style command.The Bandwidth-reference is set by the bandwidth-reference command. The Link-bandwidth is the interface bandwidth.

If the cost style of the system is narrow, narrow-compatible or compatible, the cost of each interface is based on the following table.

Table 8-81  Relationship between the IS-IS interface cost and the bandwidth

Cost

Range of the Interface Bandwidth

60

Interface bandwidth =< 10 Mbit/s

50

10 Mbit/s < Interface bandwidth ≤ 100 Mbit/s

40

100 Mbit/s < Interface bandwidth ≤ 155 Mbit/s

30

155 Mbit/s < Interface bandwidth ≤ 622 Mbit/s

20

622 Mbit/s < Interface bandwidth ≤ 2.5 Gbit/s

10

2.5 Gbit/s < Interface bandwidth

Precautions

The priority of the cost value of the global configured by the circuit-cost command is higher than the auto cost value.

The auto-cost enable command cannot change the cost of the loopback interface.

Example

# Enable IS-IS to automatically calculate the interface cost.

<Huawei> system-view
[Huawei] isis 1
[Huawei-isis-1] auto-cost enable

bandwidth-reference (IS-IS)

Function

The bandwidth-reference command sets the bandwidth reference value that is used in automatic IS-IS interface cost calculation.

The undo bandwidth-reference command restores the default bandwidth reference value that is used in automatic IS-IS interface cost calculation.

By default, the bandwidth reference value is 100 Mbit/s.

Format

bandwidth-reference value

undo bandwidth-reference

Parameters

Parameter Description Value
value Specifies the bandwidth reference value used in automatic IS-IS interface cost calculation. The value is an integer that ranges from 1 to 2147483648, in Mbit/s.

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To make the set link cost of IS-IS routes reflect the actual link cost, configure a proper link cost for all interfaces or enable automatic interface cost calculation. To enable automatic interface cost calculation, set a proper bandwidth reference value.

You can run the bandwidth-reference command to set a proper bandwidth reference value. After automatic interface cost calculation is enabled, and the cost type is wide or wide-compatible, the system calculates the cost of each interface with the following formula: Interface cost = (Bandwidth-reference/Interface bandwidth) x 10. If the interface cost calculated through this formula is greater than 16777214, 16777214 is used as the interface cost for route calculation. That is, the interface cost will never be greater than 16777214.

After the auto-cost enable command enables automatic IS-IS interface cost calculation, the system automatically calculates the interface cost based on the bandwidth reference value set using the bandwidth-reference command.

NOTE:

The cost style is set by the cost-style command.

Precautions
Rules for automatically calculating the IS-IS interface cost vary according to the cost style of the IS-IS interface:
  • The bandwidth reference value set using the bandwidth-reference command takes effect only when the cost style is wide or wide-compatible. In this case, the interface cost is calculated using the following formula:

    Interface cost = (Bandwidth-reference/Interface bandwidth) × 10.

  • If the cost style of the system is narrow, narrow-compatible or compatible, the cost of each interface is based on the Table 8-82.

    Table 8-82  Relationship between the IS-IS interface cost and the bandwidth

    Cost

    Range of the Interface Bandwidth

    60

    Interface bandwidth =< 10 Mbit/s

    50

    10 Mbit/s < Interface bandwidth =< 100 Mbit/s

    40

    100 Mbit/s < Interface bandwidth =< 155 Mbit/s

    30

    155 Mbit/s < Interface bandwidth =< 622 Mbit/s

    20

    622 Mbit/s < Interface bandwidth =< 2.5 Gbit/s

    10

    2.5 Gbit/s < Interface bandwidth

Example

# Set the reference value of the system bandwidth to 1000 Mbit/s.

<Huawei> system-view
[Huawei] isis 1
[Huawei-isis-1] bandwidth-reference 1000

bfd all-interfaces (IS-IS)

Function

The bfd all-interfaces command sets values for BFD session parameters used in BFD for IS-IS.

The undo bfd all-interfaces command restores the default values of BFD session parameters used in BFD for IS-IS.

By default, the minimum intervals for receiving and sending BFD packets are 1000 ms and the detection time multiplier is 3.

Format

bfd all-interfaces { min-rx-interval receive-interval | min-tx-interval transmit-interval | detect-multiplier multiplier-value } *

undo bfd all-interfaces { min-rx-interval [ receive-interval ] | min-tx-interval [ transmit-interval ] | detect-multiplier [ multiplier-value ] } *

Parameters

Parameter Description Value
min-rx-interval receive-interval Specifies the minimum interval for receiving BFD packets from the peer end. The interval for receiving BFD packets between determines the BFD session detection time. On an unstable link, a smaller receive interval may result in BFD session flapping. To prevent BFD session flapping, increase the receive interval. The value is an integer ranging from 10 to 2000, in milliseconds. The default value is 1000 milliseconds.
min-tx-interval transmit-interval Specifies the minimum interval for transmitting BFD packets to the peer end. The interval for transmitting BFD packets determines the BFD session detection time. On a stable link, you can increase the transmit interval to prevent frequent link status detection. The value is an integer ranging from 10 to 2000, in milliseconds. The default value is 1000 milliseconds.
detect-multiplier multiplier-value Specifies the local detection multiplier. On a stable link, you can increase the BFD detection multiplier to prevent frequent link status detection. The value is an integer that ranges from 3 to 50. The default value is 3.

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

During the establishment of a BFD session, you can adjust the interval for transmitting BFD packets, interval for receiving BFD packets, and local detection multiplier according to network and performance requirements.

Precautions

The value of receive-interval is obtained by negotiating the local min-rx-interval value and the remote min-tx-interval value. If a router does not receive any BFD packet from its peer in the receive-interval × multiplier-value period, the router advertises that its peer is Down.

If only parameters of a BFD session are set but the bfd all-interfaces enable command is not used, the BFD session cannot be set up.

NOTE:

The BFD priority of the interface is higher than the BFD priority of the process. If BFD of the interface is enabled, the BFD session is set up based on the BFD parameters on the interface.

Example

# Enable BFD in an IS-IS process and set the minimum interval for transmitting BFD packets to 600 ms.

<Huawei> system-view
[Huawei] bfd
[Huawei-bfd] quit
[Huawei] isis
[Huawei-isis-1] bfd all-interfaces enable
[Huawei-isis-1] bfd all-interfaces min-tx-interval 600

bfd all-interfaces enable

Function

The bfd all-interfaces enable command enables BFD in an IS-IS process.

The undo bfd all-interfaces enable command disables BFD in an IS-IS process.

By default, BFD is disabled in an IS-IS process.

Format

bfd all-interfaces enable

undo bfd all-interfaces enable

Parameters

None

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If global BFD is not enabled, you can configure IS-IS BFD but cannot set up the BFD session. Before establishing BFD sessions, you need to enable BFD on the two ends.

Precautions

When BFD is enabled in the process using the bfd all-interfaces enable command, the interface does not set up a BFD session in the following cases:

  • The isis bfd block command is used on the interface. The command suppresses the BFD capability of the interface. To set up a session on the interface, run the undo isis bfd block command.

  • When the isis bfd static command is used on the interface, the interface does not set up the BFD session. To set up a session on the interface, run the undo isis bfd static command.

NOTE:

The BFD priority of the interface is higher than the BFD priority of the process. If BFD of the interface is enabled, a BFD session is set up based on the BFD parameters on the interface.

Example

# Enable BFD in an IS-IS process.

<Huawei> system-view
[Huawei] bfd
[Huawei-bfd] quit
[Huawei] isis
[Huawei-isis-1] bfd all-interfaces enable

circuit-cost

Function

The circuit-cost command sets the link cost for all IS-IS interfaces during SPF calculation.

The undo circuit-cost command deletes the configured link cost of all IS-IS interfaces.

By default, no link cost is set for IS-IS interfaces.

Format

circuit-cost { cost | maximum } [ level-1 | level-2 ]

undo circuit-cost [ cost | maximum ] [ level-1 | level-2 ]

Parameters

Parameter Description Value
cost Specifies the interface cost used in SPF calculation. If the IS-IS cost style is wide or wide-compatible, the cost of imported routes ranges from 1 to 16777214; otherwise, the cost ranges from 1 to 63.
maximum Sets the link cost of IS-IS interfaces to 16777215.
NOTE:

You can configure this parameter only when the IS-IS cost style is wide or wide-compatible. After the interface cost is set to 16777215, the neighbor TLV generated on the link can only be used to transmit TE information but cannot be used for route calculation.

-
level-1 Specifies the link cost for all Level-1 interfaces. If no level is specified, the link cost is set for Level-1-2 interfaces. -
level-2 Specifies the link cost for all Level-2 interfaces. If no level is specified, the link cost is set for Level-1-2 interfaces. -

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

On a large network, there are often multiple valid routes to the same destination. IS-IS can use the SPF algorithm to calculate the optimal route to forward traffic. This may cause the following problems:
  • All traffic is forwarded along the optimal path, resulting in load unbalance.
  • If the optimal path is intermittently disconnected, traffic is still forwarded along the optimal path, resulting in traffic loss.

To solve the preceding problems, run the circuit-cost command to change the cost of all IS-IS interfaces so that traffic can be forwarded along different physical links.

Precautions

The isis cost command takes precedence over the circuit-cost command. The circuit-cost command cannot change the cost of loopback interfaces.

Changing the link cost of interfaces will cause routes of the entire network to be recalculated and change the forwarding path of traffic.

Example

# Set the default cost of all Level-1-2 interfaces to 30.

<Huawei> system-view
[Huawei] isis
[Huawei-isis-1] circuit-cost 30
# Set the link cost of all IS-IS interfaces to 16777215.
<Huawei> system-view
[Huawei] isis 1
[Huawei-isis-1] circuit-cost maximum
Related Topics

circuit default-tag

Function

The circuit default-tag command sets the administrative tag value for all interfaces in an IS-IS process.

The undo circuit default-tag command restores the default administrative tag value for all interfaces in an IS-IS process.

By default, the administrative tag value of all IS-IS interfaces is 0.

Format

circuit default-tag tag [ level-1 | level-2 ]

undo circuit default-tag [ tag ] [ level-1 | level-2 ]

Parameters

Parameter Description Value
tag Specifies the administrative tag value for all interfaces in an IS-IS process. The value is an integer that ranges from 1 to 4294967295.
level-1 Specifies the administrative tag value for all Level-1 interfaces in an IS-IS process. If no interface level is specified, the administrative tag values of Level-1 and Level-2 interfaces are set. -
level-2 Specifies the administrative tag value for all Level-2 interfaces in an IS-IS process. If no interface level is specified, the administrative tag values of Level-1 and Level-2 interfaces are set. -

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The administrative tag carries management information about IP address prefixes to control the import of routes of different levels and areas. You can use the administrative tag to control the advertisement of IP address prefixes in an IS-IS routing domain to simplify route management.

The circuit default-tag command allows you to set the administrative tag value for all routes in an IS-IS process. You can filter routes based on the configured administrative tag value.

The administrative tag for an interface is advertised along with routing information.
  • When the cost style of IS-IS is narrow or narrow-compatible, the administrative tag value is neither advertised nor takes effect in the LSP.

  • When the cost style of IS-IS is wide, wide-compatible, or compatible, the administrative tag value is advertised in the LSP.

Precautions

The value of the administrative tag configured through thecircuit default-tag command is the global administrative tag. The priority of the interface administrative tag configured by the isis tag-value command is higher than the priority of the global administrative tag.

Example

# Set the administrative tag value of Level-1 interfaces to 30.

<Huawei> system-view 
[Huawei] isis 1
[Huawei-isis-1] circuit default-tag 30 level-1

cost-style

Function

The cost-style command sets the cost style of routes received and sent by an IS-IS device.

The undo cost-style command restores the default cost style of routes received and sent by an IS-IS device.

By default, the cost style of routes received and sent by an IS-IS device is narrow.

Format

cost-style { narrow | wide | wide-compatible | { compatible | narrow-compatible } [ relax-spf-limit ] }

undo cost-style

Parameters

Parameter Description Value
narrow Configures an IS-IS device to receive and send only routes with cost style narrow. When the cost style is narrow, the cost of routes ranges from 1 to 63. -
wide Configures an IS-IS device to receive and send only routes with cost style wide. When the cost style is wide, the cost of routes ranges from 1 to 16777215. -
wide-compatible Configures an IS-IS device to receive routes with cost style narrow or wide and sent only routes with cost style wide. -
compatible Configures an IS-IS device to receive and send routes with cost style narrow or wide. -
narrow-compatible Configures an IS-IS device to receive routes with cost style narrow or wide and sent only routes with cost style narrow. -
relax-spf-limit Configures an IS-IS device to receive routes with cost higher than 1023.

If this parameter is specified, there is no restriction on the link costs of interfaces or route costs. The cost of a received route is the actual cost.

If this parameter is not specified, the following situations occur:
  • If the cost of a route is smaller than or equal to 1023, and the link cost of each interface through which the route passes is smaller than or equal to 63:

    The cost of the route is the sum of link costs of all interfaces through which the route passes.

  • If the cost of a route is smaller than or equal to 1023, and the link costs of certain interfaces through which the route passes are larger than 63:

    An IS-IS device can learn only the routes imported by the interfaces and direct routes of the network segment where the interfaces reside. The costs of these routes are the actual cost.

  • If the cost of a route is larger than 1023:

    The device can receive only the routes of the network segment where the interface with link cost smaller than 1023 resides. If the cost of a route is larger than 1023, the cost is calculated as 1023.

-

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

By default, the cost style of IS-IS routes is narrow, indicating that only routes with the cost ranging from 1 to 63 can be received and sent. LSPs carrying tag information to be filtered by a routing policy cannot be flooded when the cost style is narrow. The cost-style command can be used to change the cost style of IS-IS routes so that they can be transmitted successfully.

To implement extended IS-IS functions, setting the cost style of IS-IS routes to wide is recommended.

Precautions

When the cost style of a route is changed from wide to narrow, transmission of the route may be interrupted.

If you want to change the cost style of IS-IS routes, running the command while configuring basic IS-IS functions is recommended. If the cost style of IS-IS routes is changed during network operation, the IS-IS process is restarted and neighbors are disconnected.

Example

# Configure an IS-IS device to send only the packets with cost style narrow and to receive the packets with cost style narrow or wide.

<Huawei> system-view
[Huawei] isis 1 
[Huawei-isis-1] cost-style narrow-compatible

default-route-advertise (IS-IS)

Function

The default-route-advertise command configures IS-IS devices to generate default routes.

The undo default-route-advertise command disables IS-IS devices from generating default routes.

By default, IS-IS devices do not generate default routes.

Format

default-route-advertise [ always | match default | route-policy route-policy-name ] [ cost cost | tag tag | [ level-1 | level-1-2 | level-2 ] ] * [ avoid-learning ]

undo default-route-advertise

Parameters

Parameter Description Value
always Configures an IS-IS device to unconditionally advertise default routes with itself as the next hop. -
match default Advertises a default route through an LSP if the default route is generated by other routing protocols or other IS-IS processes in the routing table. If this default route is deleted from the routing table, it is not advertised through an LSP. -
route-policy route-policy-name Specifies the name of a route-policy. A Level-1-2 device advertises default routes to the IS-IS routing domain only when there are external routes matching the route-policy in the routing table of the device. This prevents routing blackhole when link faults make some important external routes unavailable but default routes are still advertised. This route-policy does not affect external route import in IS-IS. The name is a string of 1 to 40 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.
cost cost Specifies the cost of default routes. The value is an integer. The value range varies according to the cost style. When the cost style is narrow, narrow-compatible, or compatible, the value ranges from 0 to 63. When the cost style is wide or wide-compatible, the value ranges from 0 to 4261412864.
tag tag Specifies the tag value of advertised default routes. Advertised LSPs carry the tag value only when the IS-IS cost style is wide, wide-compatible, or compatible. The value is an integer that ranges from 1 to 4294967295.
level-1 Sets the level of default routes to Level-1. If no level is specified, Level-2 default routes are generated by default. -
level-2 Sets the level of default routes to Level-2. If no level is specified, Level-2 default routes are generated by default. -
level-1-2 Sets the level of default routes to Level-1-2. If no level is specified, Level-2 default routes are generated by default. -
avoid-learning Prevents an IS-IS process from learning default routes or adding them to the routing table. If existing default routes in the routing table are active, set the default route that needs to be added to the routing table to inactive. -

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When IS-IS and other routing protocols are running on a network, use either of the following methods to allow the traffic within the IS-IS domain to be transmitted to other routing domains:
  • Configure a boundary router in the IS-IS domain to advertise default routes to the IS-IS domain.

  • Configure a boundary router in the IS-IS domain to import routes from the other routing domains to the IS-IS domain.

The first method is simpler, because the routers in the IS-IS domain do not need to learn routes imported form the other routing protocols.

Precautions

You can specify always to allow default routes to be advertised unconditionally; in this case, the device still calculates default routes from other devices.
NOTE:

If always is configured on multiple devices within the same area, a routing loop may occur.

After this command is run on an IS-IS router, all traffic in an IS-IS domain will be forwarded by this IS-IS router to a destination outside the domain. Compared with configuring a static default route on each router in an IS-IS domain, running this command simplifies configurations, because this command only needs to be run on a boundary router in the IS-IS domain. In addition, you can specify different parameters to allow default routes to be advertised in different ways.

If this command is run on a Level-1 router, the router advertises default routes only to the Level-1 area.

Example

# Configure the current IS-IS device to advertise the IPv4 default routes that match route-policy filter and set the cost of these default routes to 15.

<Huawei> system-view
[Huawei] isis
[Huawei-isis-1] default-route-advertise route-policy filter cost 15

description (IS-IS)

Function

The description command configures a description for an IS-IS process.

The undo description command deletes the description of an IS-IS process.

By default, no description is configured for an IS-IS process.

Format

description description

undo description

Parameters

Parameter Description Value
description Configures a description for an IS-IS process. The value is a string of 1 to 80 case-sensitive characters. Spaces are supported.

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Configuring descriptions for IS-IS processes helps identify and maintain IS-IS processes.

IS-IS process description that is configured through the description command is not advertised in an LSP.

IS-IS process description that is configured through the is-name command is advertised in an LSP.

Precautions

If you run the description command multiple times, only the latest configuration takes effect.

Example

# Configure description for IS-IS process 1.

<Huawei> system-view
[Huawei] isis 1
[Huawei-isis-1] description this process configure the area-authentication-mode

display default-parameter isis

Function

The display default-parameter isis command displays the default IS-IS configuration.

Format

display default-parameter isis

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

None

Example

# Display the default IS-IS configuration.

<Huawei> display default-parameter isis

Default Configurations For Process                                              
------------------------------------------------------------------------------  
   Cost-Style                            : Narrow
   Circuit-Cost <IPv4>                   : L1 10 L2 10
   Circuit-Cost <IPv6>                   : L1 10 L2 10
   IS-Level                              : L12
   LSP-Originate-Length                  : 1497
   LSP-Receive-Length                    : 1497
   LSP-Max-Age <s>                       : 1200
   LSP-Generation-IntelliTimer <s,ms,ms> : L1 Max 2 Init 0 Incr 0
                                           L2 Max 2 Init 0 Incr 0
   LSP-Refresh-Interval <s>              : 900
   Preference                            : IPv4 15 IPv6 15
   SPF-IntelliTimer <s,ms,ms>            : Max 5 Init 50 Incr 200
                                                                                
                     Default Configurations For Interfaces                      
                     -------------------------------------                      
   Circuit-Level                         : L12                                  
   CSNP-Interval <s>                     : L1 10 L2 10
   Cost <IPv4>                           : L1 10 L2 10
   Cost <IPv6>                           : L1 10 L2 10
   DIS-Priority                          : L1 64 L2 64                          
   Hello-Interval <s>                    : L1 10 L2 10                          
   Holding-Multiplier                    : L1 3 L2 3                            
   LSP-Retransmit <s>                    : 5                                    
   LSP-Throttle <ms>                     : 50 count 10                          
   PPP-Negotiation                       : 3-Way
Table 8-83  Description of the display default-parameter isis command output

Item

Description

Default Configurations For Process

Default configuration of an IS-IS process.

Cost-Style

IS-IS cost style:
  • narrow

  • wide

  • wide-compatible

  • compatible

  • narrow-compatible

To set the IS-IS cost style, run the cost-style command.

Circuit-Cost <IPv4>

Cost of all IS-IS IPv4 interfaces. To set the cost of IS-IS IPv4 interfaces, run the circuit-cost command.

Circuit-Cost <IPv6>

Cost of all IS-IS IPv6 interfaces. To set the cost of IS-IS IPv6 interfaces, run the ipv6 circuit-cost command.

IS-Level

Level of an IS-IS device:
  • L1: Level-1 device

  • L2: Level-2 device

  • L12: Level-1-2 device

To set the level of an IS-IS device, run the is-level command.

LSP-Originate-Length

Maximum length of an LSP generated by IS-IS. To set the maximum length of an LSP generated by IS-IS, run the lsp-length command.

LSP-Receive-Length

Maximum length of an LSP received by IS-IS. To set the maximum length of an LSP received by IS-IS, run the lsp-length command.

LSP-Max-Age <s>

Maximum lifetime of an LSP generated by an IS-IS process, in seconds. To set the maximum lifetime of an LSP generated by an IS-IS process, run the timer lsp-max-age command.

LSP-Generation-IntelliTimer <s,ms,ms>

Delay in generating LSPs:
  • L1: delay for a Level-1 router to generate LSPs

  • L2: delay for a Level-2 router to generate LSPs

  • Max: maximum delay in generating LSPs, in seconds

  • Init: initial delay in generating LSPs, in milliseconds

  • Incr: incremental delay in generating LSPs, in milliseconds

To set the delay in generating LSPs, run the timer lsp-generation command.

LSP-Refresh-Interval <s>

Interval for refreshing LSPs, in seconds. To set the interval for refreshing LSPs, run the timer lsp-refresh command.

Preference

Protocol preference of IS-IS routes. To set the protocol preference of IS-IS routes, run the preference (IS-IS) command.

SPF-IntelliTimer <s,ms,ms>

Delay in SPF calculation:
  • Max: maximum delay in SPF calculation, in seconds

  • Init: initial delay in SPF calculation, in milliseconds

  • Incr: incremental delay in SPF calculation, in milliseconds

To set the delay in SPF calculation, run the timer spf command.

Default Configurations For Interfaces

Default configuration of IS-IS interfaces.

Circuit-Level

IS-IS interface level. To set the IS-IS interface level, run the isis circuit-level command.

CSNP-Interval <s>

Interval for sending CSNPs, in seconds. To set the interval for sending CSNPs, run the isis timer csnp command.

Cost <IPv4>

Cost of IS-IS interfaces in an IPv4 topology. To set the cost of IS-IS interfaces in an IPv4 topology, run the isis cost command.

Cost <IPv6>

Cost of IS-IS interfaces in an IPv6 topology. To set the cost of IS-IS interfaces in an IPv6 topology, run the isis ipv6 cost command.

DIS-Priority

Priority for DIS election. To set the priority for DIS election, run the isis dis-priority command.

Hello-Interval <s>

Interval for sending Hello packets, in seconds. To set the interval for sending Hello packets, run the isis timer hello command.

Holding-Multiplier

Number of consecutive Hello packets that are not received before the neighbor is declared Down. To set this value, run the isis timer holding-multiplier command.

LSP-Retransmit <s>

Interval for retransmitting LSPs on a P2P link, in seconds. To set the retransmit interval, run the isis timer lsp-retransmit command.

LSP-Throttle <ms>

Interval for sending LSPs or CSNPs, in seconds, and number of LSPs or CSNPs that are sent each time. To set the two values, run the isis timer lsp-throttle command.

PPP-Negotiation

PPP negotiation type during the establishment of IS-IS adjacencies:
  • 2-way

  • 3-way

  • only

To set the PPP negotiation type during the establishment of IS-IS adjacencies, run the isis ppp-negotiation command.

display isis cost interface

Function

The display isis cost interface command displays costs of an interface and how they are generated.

Format

display isis cost interface interface-type interface-number

Parameters

Parameter Description Value
interface-type interface-number Specifies the type and number of an interface. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can run the display isis cost interface command to check costs of an IS-IS interface, including the link cost and route prefix cost that the interface uses in each topology, and how the costs are generated.

Example

# Display costs of GE 0/0/1 and how they are generated.

<Huawei> display isis cost interface gigabitethernet 0/0/1
Interface: GE 1/0/0
                             Level-2 interface cost
 Topology base(0):
  Link effective cost: 10(A)                           enabled by circuit cost
  IP prefix effective cost:
   10.10.7.0/24                    cost: 10            enabled by circuit cost
   10.10.8.0/24                    cost: 10            enabled by circuit cost
   10.10.9.0/24                    cost: 10            enabled by circuit cost
 Topology red(7):
  Link effective cost: 87(A)                           enabled by circuit cost
  IP prefix effective cost:
   10.10.7.0/24                    cost: 87            enabled by circuit cost
   10.10.8.0/24                    cost: 87            enabled by circuit cost
   10.10.9.0/24                    cost: 87            enabled by circuit cost
 Topology ipv6(2):
  Link effective cost: 10(A)                           enabled by circuit cost
  IPv6 prefix effective cost:
   63::/64                         cost: 10            enabled by circuit cost
   101:10:7::/64                   cost: 10            enabled by circuit cost
   101:10:8::/64                   cost: 10            enabled by circuit cost
   101:10:9::/64                   cost: 10            enabled by circuit cost

                    Flags: R-Relative cost  A-Absolute cost  
Table 8-84  Description of the display isis cost interface command output

Item

Description

Interface

Type and ID of an interface on which IS-IS is enabled

Link effective cost

Link cost

IP prefix effective cost

Cost of an IPv4 route

enabled by circuit cost

Default cost or cost configured in the isis cost command

enabled by auto cost

Cost configured in the auto-cost enable command

enabled by global cost

Cost configured in the circuit cost command

enabled by igp ldp

The interface cost is configured by LDP

enabled by rui cost

Cost that inherits the cost of the RUI route

enabled by silent cost

Cost configured in the isis silent command in the interface view

enabled by tunnel cost

Cost generated after the TE Tunnel is configured

IPv6 prefix effective cost

Cost of an IPv6 route

Flags

Cost flag
  • R-Relative cost: relative cost
  • A-Absolute cost: absolute cost

display isis bfd interface

Function

The display isis bfd interface command displays information about BFD-enabled IS-IS interfaces.

Format

display isis [ process-id ] bfd interface

Parameters

Parameter Description Value
process-id Specifies an IS-IS process ID. The value is an integer that ranges from 1 to 65535.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

None

Example

# Display information about BFD-enabled interfaces.

<Huawei> display isis 1 bfd interface
                                                                                
                    BFD information of interface for ISIS(1)                    
                   -----------------------------------------                    
 Interface                     BFD.State       Min-Tx        Min-Rx         Mul 
 Vlanif101                      enable          1000          1000          3   
 Total interfaces: 1                         Total bfd enabled interfaces: 1    
Table 8-85  Description of the display isis bfd interface command output

Item

Description

Interface

BFD-enabled IS-IS interface. To enable BFD on an IS-IS interface, run the bfd all-interfaces enable or isis bfd enable command.

BFD.State

BFD status on the IS-IS interface:
  • enable: BFD is enabled on the interface.

  • disable: BFD is disabled on the interface.

To enable BFD on an IS-IS interface, run the bfd all-interfaces enable or isis bfd enable command.

Min-Tx

Minimum interval for transmitting BFD packets. To set the minimum interval, run the bfd all-interfaces (IS-IS) or isis bfd command.

Min-Rx

Minimum interval for receiving BFD packets. To set the minimum interval, run the bfd all-interfaces (IS-IS) or isis bfd command.

Mul

Local detection multiplier. To set the local detection multiplier, run the bfd all-interfaces (IS-IS) or isis bfd command.

display isis bfd session

Function

The display isis bfd session command displays information about dynamic BFD sessions.

Format

display isis [ process-id | vpn-instance vpn-instance-name ] bfd session { all | peer ip-address | interface interface-type interface-number }

Parameters

Parameter Description Value
process-id Specifies an IS-IS process ID. The value is an integer that ranges from 1 to 65535.
vpn-instance vpn-instance-name Specifies the IS-IS multi-instance process in a specified VPN instance. The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.
all Specifies all IS-IS interfaces in the IS-IS process. -
peer ip-address Specifies the IP address of a neighbor. The value is in dotted decimal notation.
interface interface-type interface-number Specifies the interface on which BFD session statistics need to be collected. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

None

Example

# Display information about the BFD session with a specified neighbor.

<Huawei> display isis bfd session all
                      BFD session information for ISIS(1)
                      -----------------------------------
Peer System ID : 0000.0000.0002           Interface : GE1/0/0
TX : 1000          BFD State : up         Peer IP Address : 10.1.1.2
RX : 1000          LocDis : 8194          Local IP Address: 10.1.1.1
Multiplier : 3     RemDis : 8197          Type : L1
Diag : No diagnostic information 
Total BFD session(s) : 1
Table 8-86  Description of the display isis bfd session all command output

Item

Description

Peer System ID

System ID of the neighbor.

Interface

Local IS-IS interface connected to the neighbor.

TX

Negotiated minimum interval for transmitting BFD packets.

BFD State

BFD session status: Up or Down.

Peer IP Address

IP address of the remote IS-IS interface.

RX

Negotiated minimum interval for receiving BFD packets.

LocDis

Local discriminator dynamically assigned by BFD.

Local IP Address

IP address of the local IS-IS interface.

Multiplier

Remote detection multiplier.

RemDis

Remote identifier dynamically assigned by BFD.

Type

Level of the neighbor:
  • L1: Level-1 device
  • L2: Level-2 device
  • L1L2: Level-1-2 device

Diag

Diagnostic information. "No diagnostic information" indicates that BFD runs properly and no diagnostic information is displayed.

Total BFD session (s)

Total number of BFD sessions.

display isis brief

Function

The display isis brief command displays brief information about IS-IS.

Format

display isis brief [ process-id | vpn-instance vpn-instance-name ]

display isis [ process-id ] brief

Parameters

Parameter Description Value
process-id Display brief information about a specified IS-IS process. The value is an integer that ranges from 1 to 65535.
vpn-instance vpn-instance-name Display brief information about the IS-IS multi-instance process in a specified VPN instance. The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

None

Example

# Display brief information about the IS-IS processes of all public network instances.

<Huawei> display isis brief
                                                                                
                     ISIS Protocol Information for ISIS(1)                      
                     -------------------------------------                      
SystemId: 1010.1020.1030      System Level: L12                                 
Area-Authentication-mode: NULL                                                  
Domain-Authentication-mode: NULL                                                
Ipv6 is not enabled                                                             
ISIS is in starting status                                                      
ISIS is in protocol hot standby state: Real-Time Backup                         
                                                                                
Interface: (GE1/0/0)                                              
Cost: L1 10        L2 10                Ipv6 Cost: L1 10   L2 10
State: IPV4 Up                          IPV6 Down
Type: BROADCAST                         MTU: 1497                               
Priority: L1 64   L2 64                                                         
Timers:     Csnp: L1 10    L2 10    ,Retransmit: L12 5   , Hello: L1 10 L2 10  ,
                                                                                
Hello Multiplier: L1 3    L2 3     , LSP-Throttle Timer: L12 1                  
Table 8-87  Description of the display isis brief command output

Item

Description

ISIS Protocol Information for ISIS(1)

Information about IS-IS process 1. To create an IS-IS process, run the isis command.

SystemId

System ID of the current IS-IS device. To set the system ID, run the network-entity command.

System Level

Level of an IS-IS device:
  • L1: Level-1 device

  • L2: Level-2 device

  • L12: Level-1-2 device

To set the level of an IS-IS device, run the is-level command.

Area-Authentication-mode

IS-IS area authentication mode. To set the IS-IS area authentication mode and password, run the area-authentication-mode command.

Domain-Authentication-mode

IS-IS routing domain authentication mode. To set the IS-IS domain authentication mode and password, run the domain-authentication-mode command.

Ipv6 is not enabled

IPv6 is not enabled in the IS-IS process.

ISIS is in starting status

IS-IS is running.

ISIS is in protocol hot standby state: Real-Time Backup

IS-IS hot standby is real-time backup.

Interface

Interface on which IS-IS is enabled. To enable IS-IS on an interface, run the isis enable command.

Cost

Cost of IS-IS IPv4 interfaces. To set the cost of IS-IS IPv4 interfaces, run the circuit-cost or isis cost command.

Ipv6 Cost

Cost of IS-IS IPv6 interfaces. To set the cost of IS-IS IPv6 interfaces, run the ipv6 circuit-cost or isis ipv6 cost command.

State

Status of the IS-IS interface.

Type

Network type of the IS-IS interface: P2P or broadcast. To set the network type of an IS-IS interface, run the isis circuit-type command.

MTU

MTU of the IS-IS interface.

Priority

Priority of the IS-IS interface.
NOTE:

When the current interface is a virtual link interface, the priority field is not displayed.

Timers

IS-IS timer.

Csnp

Interval for sending CSNPs. To set the interval for sending CSNPs, run the isis timer csnp command.

Retransmit

Interval for retransmitting LSPs on a P2P link. To set the retransmit interval, run the isis timer lsp-retransmit command.

Hello

Interval for sending Hello packets. To set the interval for sending Hello packets, run the isis timer hello command.

Hello Multiplier

Number of consecutive Hello packets that are not received before the neighbor is declared Down. To set this value, run the isis timer holding-multiplier command.

LSP-Throttle Timer

Interval for sending LSPs or CSNPs and number of LSPs or CSNPs that are sent each time. To set the two values, run the isis timer lsp-throttle command.

display isis debug-switches

Function

The display isis debug-switches command displays the current IS-IS debugging status.

Format

display isis debug-switches [ process-id ]

display isis [ process-id ] debug-switches

Parameters

Parameter Description Value
process-id

Displays the current status of IS-IS debugging of specified IS-IS process ID.

If process-id is not specified, display the current status of IS-IS debugging of all IS-IS process.

The value is an integer that ranges from 1 to 65535.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

If no IS-IS process is enabled or IS-IS debugging is not enabled, the display isis debug-switches command output is empty.

Example

# Display the IS-IS debugging status.

<Huawei> debugging isis spf-event
<Huawei> display isis debug-switches 1
ISIS-1 SPF events related debugging switch is on

display isis error

Function

The display isis error command displays statistics about error LSPs and Hello packets that are received by IS-IS interfaces or processes.

Format

display isis error [ { process-id | vpn-instance vpn-instance-name } [ interface ] ]

display isis error interface interface-type interface-number

Parameters

Parameter Description Value
process-id Displays statistics about error packets received by a specified IS-IS process. The value is an integer that ranges from 1 to 65535.
vpn-instance vpn-instance-name Displays statistics about error packets received by the IS-IS process in a specified VPN instance. The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.
interface

Displays statistics about error packets received on all interfaces in a specified IS-IS process or VPN instance.

-
interface-type interface-number Displays statistics about error packets received by a specified interface. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

None

Example

# Display statistics about error LSPs received on all interfaces in IS-IS process 1.

<Huawei> display isis error 1

                     Statistics of error packets for ISIS(1)
                     ---------------------------------------
LSP packet errors:
Longer LSP              : 0           Smaller LSP             : 0
Mismatched Level        : 0           Invalid Sysid           : 0
Zero Sequence Number    : 0           Illegal IS Type         : 0
Zero Checksum           : 0           Incorrect Checksum      : 0
Bad Authentication      : 0           Bad Auth Count          : 0
More Protocol TLV       : 0           Bad Nbr TLV             : 0
Bad Extended IS TLV     : 0           Bad IF Addr TLV         : 0
Bad Reach TLV           : 0           Bad Inter Domain TLV    : 0
Mismatched Area Id(L1)  : 0           Bad TLV Length          : 0
Bad Alias TLV           : 0           Bad Area TLV            : 0
Bad SRLG TLV            : 0           Unknown Adjacency       : 0
Bad Protocol ID         : 0           Bad Version             : 0
Zero Lifetime           : 0           Bad Ext Reach TLV       : 0
Bad TE Router ID TLV    : 0           Bad TE Sub TLV          : 0

Hello packet errors:
Bad Packet Length       : 0           Reserved CircType       : 0
Repeated System ID      : 0           Bad Circuit Type        : 0
Longer packet           : 0           More Area Addr          : 0
Longer Area Addr        : 0           Bad Area Addr TLV       : 0
More IF Addr            : 0           Bad Formatted IF TLV    : 0
More Nbr SNPA(LAN)      : 0           Invalid Sysid           : 0
Bad TLV Length          : 0           Zero HoldingTime        : 0
Unusable IP Addr        : 0           Repeated IPv4 Addr      : 0
Mismatched Area Addr(L1): 0           Mismatched Proto        : 0
SNPA Conflicted(LAN)    : 0           Mismatched Level        : 0
Mismatched Max Area Addr: 0           Bad Authentication      : 0
More Auth TLV           : 0           3-Way Option Error(P2P) : 0
No Area Addr TLV        : 0           Bad Protocol ID         : 0
Bad Version             : 0           Invalid IPv6 Addr       : 0
More IPv6 IF Addr       : 0           Duplicate IPv6 Addr     : 0
--------------------------------------------------------------------
Table 8-88  Description of the display isis error command output

Item

Description

LSP packet errors

LSP errors.

Longer LSP

The LSP length is greater than the value set using the lsp-length receive command.

Smaller LSP

The LSP header length is smaller than the fixed length.

Mismatched Level

The level of received LSPs mismatches the local IS-IS level.

Invalid Sysid

The system ID in an LSP is invalid.

Zero Sequence Number

The sequence number of an LSP is 0.

Illegal IS Type

The IS type is invalid.

Zero Checksum

The checksum of an LSP is 0.

Incorrect Checksum

The checksum of an LSP is incorrect.

Bad Authentication

The authentication field of an LSP is incorrect.

Bad Auth Count

The number of authentication fields carried in an LSP is incorrect, that is, it is greater than 1.

More Protocol TLV

The number of protocol TLVs in an LSP is greater than 1.

Bad Nbr TLV

The neighbor TLV is incorrect.

Bad Extended IS TLV

The extended IS TLV is incorrect.

Bad IF Addr TLV

The interface address TLV is incorrect.

Bad Reach TLV

The reachability TLV is incorrect.

Bad Inter Domain TLV

The inter-domain TLV is incorrect. The correct TLV is 0x83.

Mismatched Area Id(L1)

Mismatched Level-1 area ID.

Bad TLV Length

The TLV length is incorrect.

Bad Alias TLV

The Alias TLV is incorrect.

Bad Area TLV

The area TLV is incorrect.

Bad SRLG TLV

The SRLG TLV is incorrect.

Unknown Adjacency

LSPs are received from unknown adjacency.

Bad Protocol ID

The protocol ID is incorrect.

Bad Version

The version is incorrect.

Zero Lifetime

The remaining lifetime of an LSP is 0.

Bad Ext Reach TLV

The Ext Reach TLV is incorrect.

Bad TE Router ID TLV

The TE Router ID TLV is incorrect.

Bad TE Sub TLV

The TE sub-TLV is incorrect.

Hello packet errors

Hello packet errors.

Bad Packet Length

The Hello packet length is incorrect.

Reserved CircType

The reserved link type is incorrect.

Repeated System ID

The system ID is repeated.

Bad Circuit Type

The link type is incorrect.

Longer packet

The Hello packet length is greater than the larger value between the interface MTU and the value set using the lsp-length originate command.

More Area Addr

Area addresses are superfluous.

Longer Area Addr

The area address is too long.

Bad Area Addr TLV

The area address TLV is incorrect.

More IF Addr

Interface addresses are superfluous.

Bad Formatted IF TLV

The format of the interface TLV is incorrect.

More Nbr SNPA(LAN)

Sub-network Points of Attachment (SNPAs) of a neighbor on a broadcast network are superfluous.

Invalid Sysid

The system ID length field is not 0 or 6.

Bad TLV Length

The TLV length is incorrect.

Zero HoldingTime

The neighbor holdtime is 0.

Unusable IP Addr

The IP address is on a different network segment than the peer end.

Repeated IPv4 Addr

The IPv4 address is repeated.

Mismatched Area Addr(L1)

Mismatched Level-1 area address.

Mismatched Proto

Mismatched protocol.

SNPA Conflicted(LAN)

Conflicting SNPA on a broadcast network.

Mismatched Level

The level of received Hello packets mismatches the local IS-IS level.

Mismatched Max Area Addr

The maximum area address is incorrect.

Bad Authentication

The authentication field of a Hello packet is incorrect.

More Auth TLV

Authentication TLVs are superfluous.

3-Way Option Error(P2P)

3-way information is incorrect.

No Area Addr TLV

The received Hello packet has no area address TLV.

Bad Protocol ID

The protocol ID is incorrect.

Bad Version

The version is incorrect.

Invalid IPv6 Addr

An IPv6 address is invalid.

More IPv6 IF Addr

A Hello packet carries more than 11 IPv6 addresses.

Duplicate IPv6 Addr

The IPv6 address is repeated.

More Optional Checksum

Indicates that more than one optional checksum TLV is contained in a packet.

Bad Optional Checksum

Indicates an error optional checksum TLV.

display isis graceful-restart status

Function

The display isis graceful-restart status command displays the IS-IS GR status.

Format

display isis process-id graceful-restart status [ level-1 | level-2 ]

display isis graceful-restart status [ level-1 | level-2 ] [ process-id | vpn-instance vpn-instance-name ]

Parameters

Parameter Description Value
level-1 Displays the Level-1 IS-IS GR status. -
level-2 Displays the Level-2 IS-IS GR status. -
process-id Displays the IS-IS GR status of a specified IS-IS process. The value is an integer that ranges from 1 to 65535.
vpn-instance vpn-instance-name Displays the IS-IS GR status of the IS-IS multi-instance process in a specified VPN instance. The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

None

Example

# Display the IS-IS GR status.

<Huawei> display isis graceful-restart status
                                                                                
                        Restart information for ISIS(1)                         
                        -------------------------------                         
                                                                                
IS-IS(1) Level-1 Restart Status                                                 
Restart Interval: 300                                                            
SA Bit Not Supported                                                            
  Total Number of Interfaces = 1                                                
  Restart Status: RESTART COMPLETE  
Table 8-89  Description of the display isis graceful-restart status command output

Item

Description

Restart Interval

Expected restart time of the device. This parameter is configured using the graceful-restart interval command.

SA Bit Supported

Whether the device supports SA.

Total Number of Interfaces = 1

Number of interfaces on which IS-IS is enabled. IS-IS is enabled using the isis enable command on an interface.

Restart Status:

Restart status of the current device. RESTART COMPLETE indicates that the restart is complete.

display isis interface

Function

The display isis interface command displays information about IS-IS interfaces.

Format

display isis interface [ [ verbose | traffic-eng ] * | te-tunnel ] [ process-id | vpn-instance vpn-instance-name ]

display isis process-id interface [ te-tunnel | [ traffic-eng | verbose ] * ]

display isis interface interface-type interface-number [ verbose ]

Parameters

Parameter Description Value
verbose Displays detailed information about IS-IS interfaces. -
process-id Specifies an IS-IS process ID. The value is an integer that ranges from 1 to 65535.
traffic-eng Displays Traffic Engineering information of IS-IS. -
te-tunnel Displays information on the MPLS TE tunnel of IS-IS. -
vpn-instance vpn-instance-name Display IS-IS interface information in the IS-IS multi-instance process in a specified VPN instance. The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.
interface-type interface-number Specifies the type and number of an interface. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can use this command to view IS-IS interface information, including the interface name, IP address, link status of the interface. If verbose is specified, the command output also includes the configuration of IS-IS parameters for the interface, such as the CSNP broadcast interval, Hello packet broadcast interval, and number of IS-IS Hello packets that fail to be received before IS-IS declares the neighbor Down.

Example

# Display information about IS-IS interfaces.

<Huawei> display isis interface
                                                                                
                       Interface information for ISIS(1)                        
                       ---------------------------------                        
 Interface       Id      IPV4.State          IPV6.State      MTU  Type  DIS
 GE1/0/0         001        Up                  Down         1497 L1/L2 No/No

# Display detailed information about IS-IS interfaces.

<Huawei> display isis interface verbose
                       Interface information for ISIS(1)
                       ---------------------------------
 Interface                   Id       IPV4.State          IPV6.State          IPV6.State      MTU  Type  DIS     
 GE1/0/0                     001         Up                  Down         1497 L1/L2 No/No
   Description                            : HUAWEI, AR Series, GE1/0/0 Interface
   SNPA Address                           : 00e0-fc01-0004
   IP Address                             : 10.1.1.1
   IPV6 Link Local Address                :
   IPV6 Global Address(es)                :
   Csnp Timer Value                       :  L1    10  L2    10
   Hello Timer Value                      :  L1    10  L2    10
   DIS Hello Timer Value                  :  L1     3  L2     3
   Hello Multiplier Value                 :  L1     3  L2     3
   LSP-Throttle Timer                     :  L12   50
   Cost                                   :  L1    10  L2    10
   Ipv6 Cost                              :  L1    10  L2    10
   Priority                               :  L1    64  L2    64
   Retransmit Timer Value                 :  L12    5
   Bandwidth-Value                        :  Low 100000000  High         0
   Static Bfd                             :  NO
   Dynamic Bfd                            :  NO
   Fast-Sense Rpr                         :  NO

# Display detailed information about IS-IS P2P interfaces..

<Huawei> display isis interface verbose
                                                                                
                       Interface information for ISIS(1)                        
                       ---------------------------------                        
 Interface       Id      IPV4.State            MTU  Type  DIS                         
 S1/0/0          001     Mtu:Up/Lnk:Dn/IP:Dn   1500 L1/L2 --                          
  Circuit Parameters          :p2p
  Description                 : HUAWEI, AR Series, Serial1/0/0 Interface   
  SNPA Address                : 0000-0000-0000                                  
  IP Address                  : 10.1.2.1                                        
  IPV6 Link Local Address     :
  IPV6 Global Address(es)     :
  Csnp Timer Value            :  L12   10                                       
  Hello Timer Value           :        10                                       
  DIS Hello Timer Value       :                                                 
  Hello Multiplier Value      :         3                                       
  Cost                        :  L1    10  L2    10                             
  Ipv6 Cost                   :  L1    10  L2    10 
  Retransmit Timer Value      :  L12    5                                       
  LSP-Throttle Timer          :  L12   50                                       
  Bandwidth-Value             :  Low      64000  High          0                
  Static Bfd                  :  NO
  Dynamic Bfd                 :  NO
  Fast-Sense Rpr              :  NO                                             
  Extended-Circuit-Id Value   :  0000000001                                     
                                                                                
Table 8-90  Description of the display isis interface command output

Item

Description

Interface

IS-IS interface type and number.

ID

Link ID.

IPV4.State

IPv4 link status.

IPV6.State

IPv6 link status.

MTU

Interface MTU. An IS-IS neighbor relationship can be established only when two interfaces on both ends of a link have the same MTU.
NOTE:
To enable the IS-IS interface, the MTU value needs to be more than 1500 bytes.

Type

Interface type:
  • L1: Level-1 interface
  • L2: Level-2 interface
  • L1/L2: Level-1-2 interface

DIS

Whether the interface is a Designated Intermediate System (DIS):
  • No/No: the interface is not DIS neither in Level-1 nor in Level-2 area.
  • Yes/Yes: the interface is DIS in Level-1 and Level-2 area.
  • Yes/No: the interface is DIS in Level-1 area.
  • No/Yes: the interface is DIS in Level-2 area.
  • --: the interface is of the P2P type, and it cannot function as the DIS.

Circuit MT State

Topology status on the interface:
  • Standard:
    • IPv4 is enabled on the interface, but IPv6 is not.

    • IPv6 is enabled on the interface, but IPv4 is not. In addition, the topology type is standard.

    • Both IPv4 and IPv6 are enabled on the interface. In addition, the topology type is standard.

  • IPv6: IPv6 is enabled on the interface, but IPv4 is not. In addition, the topology type is IPv6.
  • Standard IPv6:
    • IPv6 is enabled on the interface, but IPv4 is not. In addition, the topology type is compatible.

    • Both IPv4 and IPv6 are enabled on the interface. In addition, the topology type is compatible or IPv6.

To configure the IPv6 topology type, run the ipv6 enable command in the IS-IS view.

Description

Description of the interface.

SNPA Address

MAC address.

IP Address

IPv4 address of the interface.

IPV6 Link Local Address

IPv6 link-local address.

IPV6 Global Address(es)

IPv6 global address.

Csnp Timer Value

Interval for sending CSNPs. To set the interval for sending CSNPs, run the isis timer csnp command.

Hello Timer Value

Interval for sending Hello packets. To set the interval for sending Hello packets, run the isis timer hello command.

DIS Hello Timer Value

Interval at which the DIS sends Hello packets. This field value is displayed only when the local device is the DIS. It is the same as the Hello Timer Value.

Hello Multiplier Value

Number of consecutive Hello packets that are not received before the neighbor is declared Down. To set this value, run the isis timer holding-multiplier command.

LSP-Throttle Timer

Interval for sending LSPs or CSNPs and number of LSPs or CSNPs that are sent each time. To set the two values, run the isis timer lsp-throttle command.

Cost

Cost of an IPv4 interface. This field value affects route selection.

Ipv6 Cost

Cost of an IPv6 interface. This field value affects route selection in IPv6 topologies.

Priority

Priority for DIS election. To set the priority for DIS election, run the isis dis-priority command.

Retransmit Timer Value

Interval for retransmitting LSPs on a P2P link. To set the retransmit interval, run the isis timer lsp-retransmit command.

Bandwidth-Value

Physical bandwidth of an interface. The value can be calculated using the following formula: Bandwidth-Value = 4294967296 x high + low. For example, if the value of high is 1 and the value of low is 705032704, Bandwidth-Value = 1 x 4294967296 + 705032704 = 5000000000.
  • low: low bandwidth with the maximum value of 4294967295
  • high: high bandwidth with the maximum value of 4294967295

Static Bfd

Status BFD status:
  • NO: Static BFD is not enabled.
  • YES: Static BFD is enabled.
To enable BFD on an interface, run the isis bfd static command.

Dynamic Bfd

Dynamic BFD status:
  • NO: Dynamic BFD is not enabled.
  • YES: Dynamic BFD is enabled.
To enable dynamic BFD on an interface, run the bfd all-interfaces enable or isis bfd enable command.

Fast-Sense Rpr

Whether the fast sense RPR function is enabled.

Extended-Circuit-Id Value

Link ID of an interface.

display isis last-peer-change

Function

The display isis last-peer-change command displays changes in IS-IS neighbor relationships.

Format

display isis process-id last-peer-change

display isis last-peer-change [ process-id | vpn-instance vpn-instance-name ]

Parameters

Parameter Description Value
process-id Specifies an IS-IS process ID. The value is an integer that ranges from 1 to 65535.
vpn-instance vpn-instance-name Specifies the IS-IS multi-instance process in a specified VPN instance. The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can use the display isis last-peer-change command to view a maximum of 100 latest records in each IS-IS process.

Example

# Display changes in IS-IS neighbor relationships.

<Huawei> display isis last-peer-change
                      Peer change information for ISIS(1)
                      -----------------------------------

Time      : 2011-03-28 09:30:34
System Id : 0000.0000.0002
Type      : L1 LAN
Interface : GE1/0/0
State     : IPv4 -> IPv4/IPv6
Details   : Protocol change 
Table 8-91  Description of the display isis last-peer-change command output

Item

Description

Time

Time a neighbor relationship changes.

System Id

System ID of a neighbor.

Type

Neighbor type:
  • L1 LAN
  • L2 LAN
  • P2P

Interface

Interface connected to the neighbor.

State

Changes in the IS-IS neighbor relationship status:
  • Init -> Up
  • Up -> Down
  • Up -> Init
  • Down -> Up
  • IPv4/IPv6 -> IPv4
  • IPv4/IPv6 -> IPv6
  • IPv4 -> IPv4/IPv6
  • IPv6 -> IPv4/IPv6
  • IPv4 -> IPv6
  • IPv6 -> IPv4
  • L12 -> L2
  • L2 -> L12

Details

Causes for IS-IS neighbor relationship changes:
  • Circuit down
  • BFD down
  • Hold timer expired
  • New adjacency created
  • Clear neighbor
  • Multiple P2P adjacency
  • Adjacency usage mismatch
  • Internal error
  • Memory low
  • P2P circuit ID conflict
  • Area mismatch
  • Three way down
  • Three way init
  • Three way up
  • Protocol change
  • Mt usage mismatch
  • Peer state change
  • Peer level change

display isis lsdb

Function

The display isis lsdb command displays information about IS-IS LSDBs.

Format

display isis process-id lsdb [ { level-1 | level-2 } | verbose | { local | lsp-id | is-name symbolic-name } ] *

display isis lsdb [ { level-1 | level-2 } | verbose | { local | lsp-id | is-name symbolic-name } ] * [ process-id | vpn-instance vpn-instance-name ]

Parameters

Parameter Description Value
process-id Specifies an IS-IS process ID. The value is an integer that ranges from 1 to 65535.
level-1 Displays Level-1 LSDBs. If no level is specified, Level-1 and Level-2 LSDBs are displayed. -
level-2 Displays Level-2 LSDBs. If no level is specified, Level-1 and Level-2 LSDBs are displayed. -
verbose Displays detailed information about IS-IS LSDBs. -
local Displays information about the local LSDB. -
lsp-id Specifies an LSP ID. The value is in dotted decimal notation. The value ranges from 16 to 20 in ####.####.####.##-## format, such as 0050.0500.5004.00-00.
is-name symbolic-name Specifies the dynamic host name in is-name or is-name.##-## format. ##-## indicates the pseudonode ID-LSP fragment ID. If the value is in is-name format, the value is a string of 1 to 64 characters. If the value is in is-name.##-##, the value is a string of 1 to 70 characters.
vpn-instance vpn-instance-name Displays the LSDB of the IS-IS multi-instance process in a specified VPN instance. The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

None

Example

# Display IS-IS LSDB information.

<Huawei> display isis lsdb
                        Database information for ISIS(1)
                        --------------------------------
                          Level-2 Link State Database
LSPID                 Seq Num      Checksum      Holdtime      Length  ATT/P/OL
-------------------------------------------------------------------------------
0000.0000.0001.00-00  0x0000017a   0xa21c        846           84      0/0/0
2222.2222.2222.00-00* 0x000001ce   0xbdcc        845           111     0/0/0
3333.3333.3333.00-00  0x00000013   0x8847        1004          84      0/0/0
3333.3333.3333.01-00  0x0000000b   0x95bc        1004          55      0/0/0
Total LSP(s): 4
    *(In TLV)-Leaking Route, *(By LSPID)-Self LSP, +-Self LSP(Extended),
           ATT-Attached, P-Partition, OL-Overload
Table 8-92  Description of the display isis lsdb command output

Item

Description

LSPID

LSP ID.

Seq Num

LSP sequence number.

Checksum

LSP checksum.

Holdtime

LSP holdtime.

Length

LSP length.

ATT/P/OL

  • ATT: Attach bit
  • P: partition bit
  • OL: overload bit

Total LSP(s)

Number of LSPs.

*/+

  • *(In TLV): Leaking route.
  • *(By LSPID): Locally generated LSP.
  • +: Locally generated extended LSP.

# Display detailed information about IS-IS LSDB.

<Huawei> display isis lsdb verbose

                        Database information for ISIS(1)
                        --------------------------------

                          Level-1 Link State Database

LSPID                 Seq Num      Checksum      Holdtime      Length  ATT/P/OL
-------------------------------------------------------------------------------
0000.0000.0001.00-00  0x00000010   0xc776        0 (724)       36      0/0/0
 SOURCE       0000.0000.0001.00
 NLPID        IPV4                                                              
 AREA ADDR    10                                                                
 INTF ADDR    10.22.21.1                                                        
 NBR  ID      0000.0000.0002.02  COST: 10 
 IP-Internal  10.22.21.0      255.255.255.0    COST: 10 

0000.0000.0003.00-00* 0x00000026   0x6fb4        1145          350     0/0/0
 SOURCE       0000.0000.0003.00
 HOST NAME    RouterA 
 NLPID        IPV4
 NLPID        IPV6
 AREA ADDR    10
 INTF ADDR    10.1.1.2
 INTF ADDR    10.1.2.2
 INTF ADDR V6 FC00:1::1
 Topology     Standard
 NBR  ID      0000.0000.0001.00  COST: 10
+NBR  ID      0000.0000.0001.00  COST: 10
 IP-Internal  10.1.1.0       255.255.255.0    COST: 10
 IP-Internal  10.1.2.0       255.255.255.0    COST: 10
+IP-Extended  10.1.1.0       255.255.255.0    COST: 10
+IP-Extended  10.1.2.0       255.255.255.0    COST: 10
 IPV6         FC00:1::/64                        COST: 10
Total LSP(s): 2
    *(In TLV)-Leaking Route, *(By LSPID)-Self LSP, +-Self LSP(Extended),
           ATT-Attached, P-Partition, OL-Overload


                          Level-2 Link State Database

LSPID                 Seq Num      Checksum      Holdtime      Length  ATT/P/OL
-------------------------------------------------------------------------------
0000.0000.0003.00-00* 0x0000001c   0x9b0d        1131          233     0/0/0
 SOURCE       RouterA.00 ORG ID: RouterA.00 ORG ID: 0000.0000.0003.00
 HOST NAME    RouterA
 NLPID        IPV4
 NLPID        IPV6
 AREA ADDR    10
 INTF ADDR    10.1.1.2
 INTF ADDR    10.1.2.2
 INTF ADDR V6 FC00:1::1
 Topology     Standard
 NBR  ID      0000.0000.0004.00  COST: 10
+NBR  ID      0000.0000.0004.00  COST: 10
+MT NBR ID    0000.0000.0004.00  COST: 10          
 IP-Internal  10.1.1.0       255.255.255.0    COST: 10
 IP-Internal  10.1.2.0       255.255.255.0    COST: 10
+IP-Extended  10.1.1.0       255.255.255.0    COST: 10
+IP-Extended  10.1.2.0       255.255.255.0    COST: 10
 IPV6         FC00:1::/64                        COST: 10

0000.0000.0003.00-01* 0x00000005   0x5ec1        1129          70      0/0/0
 SOURCE       RouterA.00
Auth: *****     Len: --     Type: MD5
 IP-External  10.1.3.0       255.255.255.0    COST: 0
+IP-Extended  10.1.3.0       255.255.255.0    COST: 0
Total LSP(s): 2
    *(In TLV)-Leaking Route, *(By LSPID)-Self LSP, +-Self LSP(Extended),
           ATT-Attached, P-Partition, OL-Overload
Table 8-93  Description of the display isis lsdb verbose command output

Item

Description

SOURCE

System ID of the source node.

ORG ID

Source system ID of the virtual system.

HOST NAME

Dynamic host name.

Auth

Authentication password.

Len

Authentication password length.

Type

Authentication type:

  • Plain Text: indicates that the password is sent in plain text.

  • MD5: indicates that the password is encrypted using the MD5 algorithm.

  • CRYPTO_AUTH: The password is encrypted with the HMAC-SHA256 encryption algorithm.

NLPID

Supported network protocol.

  • IPV4: supported the IPv4 netwok protocol.
  • IPV6: supported the IPv6 netwok protocol.

AREA ADDR

Area address.

INTF ADDR

Interface address.

INTF ADDR V6

Interface IPv6 address.

Topology

Topology type.

NBR ID

System ID of a neighbor.

+NBR ID

System ID of a neighbor, which can carry TE information.

+MT NBR ID

Neighbor ID in the MT topology.

COST

Route cost.

IP-Internal

Internal IPv4 routing information.

IP-External

External IPv4 routing information.

+IP-Extended

Extended IP routing information, which can carry TE information.

IPV6

Internal IPv6 routing information.

display isis mesh-group

Function

The display isis mesh-group command displays the configuration of the IS-IS mesh-group.

Format

display isis mesh-group [ process-id | vpn-instance vpn-instance-name ]

display isis process-id mesh-group

Parameters

Parameter Description Value
process-id Specifies an IS-IS process ID. The value is an integer that ranges from 1 to 65535.
vpn-instance vpn-instance-name Specifies the IS-IS multi-instance process in a specified VPN instance. The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

None

Example

# Add GE1/0/0 GE2/0/0 that run IS-IS to mesh-group 100.

<Router> system view
[Router] interface gigabitethernet 1/0/0
[Router-GigabitEthernet1/0/0] isis mesh-group 100
[Router-GigabitEthernet1/0/0] quit
[Router] interface gigabitethernet 2/0/0
[Router-GigabitEthernet2/0/0] isis mesh-group 100

# Display information about the configured IS-IS mesh-group.

<Router> display isis mesh-group
               Mesh Group information for ISIS(1)
----------------------------------------------------------------------
Interface          Status
GE1/0/0            100
GE2/0/0            100
Table 8-94  Description of the display isis mesh group command output

Item

Description

Interface

Type and number of the interface in the mesh group.

Status

Mesh-group number.

Related Topics

display isis name-table

Function

The display isis name-table command displays the mapping between the local or remote IS-IS device and the system ID.

Format

display isis name-table [ process-id | vpn-instance vpn-instance-name ]

display isis process-id name-table

Parameters

Parameter Description Value
process-id Specifies an IS-IS process ID. The value is an integer that ranges from 1 to 65535.
vpn-instance vpn-instance-name Specifies the IS-IS multi-instance process in a specified VPN instance. The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

None

Example

# Configure a name for the local IS-IS system.

[Router] isis
[Router-isis-1] is-name RUTA

# Configure a static name mapping for the remote IS-IS system (0000.0000.0041).

[Router-isis-1] is-name map 0000.0000.0041 RUTB

# Display the IS-IS system name table.

<Router> display isis name-table
              Name table information for ISIS(1)
System ID               Hostname       Type
---------------------------------------------------------------
6789.0000.0001          RUTA           DYNAMIC
0000.0000.0041          RUTB           STATIC
Table 8-95  Description of the display isis name-table command output

Item

Description

System ID

System ID of the current IS-IS device. To set the system ID, run the network-entity command.

Hostname

Host name of the device. To set a host name for the local or remote device, run the is-name or is-name map command.

Type

Type of the mapping between the host name and system ID: static or dynamic.

display isis peer

Function

The display isis peer command displays IS-IS neighbor information.

Format

display isis process-id peer [ verbose ]

display isis peer [ verbose ] [ process-id | vpn-instance vpn-instance-name ]

display isis peer interface interface-type interface-number [ verbose ]

Parameters

Parameter Description Value
verbose

Displays detailed IS-IS neighbor information, including the area address, period during which the neighbor remains Up, and IP address of its directly connected interface.

-
process-id Specifies an IS-IS process ID. The value is an integer that ranges from 1 to 65535.
vpn-instance vpn-instance-name Specifies the IS-IS multi-instance process in a specified VPN instance. The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.
interface interface-type interface-number Specifies the type and number of an interface. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

In an IS-IS area, if you need to check whether two devices can communicate properly, run the display isis peer command to view information about the neighbor, including the neighbor status, period during which the neighbor remains Up, and neighbor type.

Example

# Display information about IS-IS neighbors.

<Huawei> display isis peer
                          Peer information for ISIS(1)

  System Id     Interface          Circuit Id       State HoldTime Type     PRI
-------------------------------------------------------------------------------
0000.0000.0001   GE1/0/0          0000.0000.0001.01   Up    24s   L1(L1L2)  64
0000.0000.0001   GE1/0/0          0000.0000.0001.01   Up    24s   L2(L1L2)  64

Total Peer(s): 2
Table 8-96  Description of the display isis peer command output

Item

Description

System Id

System ID of the neighbor.

Interface

Type and number of the interface.

Circuit Id

Circuit ID.

State

Neighbor status:
  • Up: indicates that the neighbor is Up and the two ends can communicate.
  • Init: indicates that the local end can receive packets from the remote end but the remote end cannot receive packets from the local end. This status is displayed when authentication is configured on the remote end.
  • Down: indicates that the neighbor is Down. This is the initial status, indicating that no message is received from the neighbor. In most cases, this status is not displayed.

HoldTime

Neighbor holdtime.

Type

Neighbor type:
  • L1: indicates that the neighbor type is Level-1 and interfaces on both ends are Level-1 interfaces.
  • L2: indicates that the neighbor type is Level-2 and interfaces on both ends are Level-2 interfaces.
  • L1(L1L2): indicates that the neighbor type is Level-1 and interfaces on both ends are Level-1-2 interfaces.
  • L2(L1L2): indicates that the neighbor type is Level-2 and interfaces on both ends are Level-1-2 interfaces.

PRI

Priority of the neighbor in DIS election.

# Display detailed information about IS-IS neighbor.

<Huawei> display isis peer verbose
                          Peer information for ISIS(1)

  System Id     Interface          Circuit Id          State  HoldTime   Type     PRI
-------------------------------------------------------------------------------
0000.0000.0001  GE1/0/0           0000.0000.0001.01      Up     26s     L1(L1L2)   64
  MT IDs supported     : 0(UP)                                                  
  Local MT IDs         : 0                                                      
  Area Address(es)     : 10
  Peer IP Address(es)  : 10.10.10.1
  Peer IPv6 Address(es): FE80::82FB:6FF:FE35:45B6 
  Uptime               : 00:00:19
  Adj Protocol         : IPV4  IPV6
  Restart Capable      : YES
  Suppressed Adj       : NO
  Peer System Id       : 0000.0000.0001 

0000.0000.0001  GE1/0/0           0000.0000.0001.01      Up     27s     L2(L1L2)   64
  MT IDs supported     : 0(UP)                                                  
  Local MT IDs         : 0                                                      
  Area Address(es)     : 10
  Peer IP Address(es)  : 10.10.10.1
  Peer IPv6 Address(es): FE80::82FB:6FF:FE35:45B6
  Uptime               : 00:00:19
  Adj Protocol         : IPV4  IPV6
  Restart Capable      : YES
  Suppressed Adj       : NO
  Peer System Id       : 0000.0000.0001 


Total Peer(s): 2
Table 8-97  Description of the display isis peer verbose command output

Item

Description

MT IDs supported

IDs of topology instances supported by the remote interface.

Local MT IDs

IDs of topology instances supported by the local interface.

Area Address(es)

Area addresses of the neighbor.

Peer IP Address(es)

IP address of the remote interface.

Peer IPv6 Address(es)

IPv6 address of the remote interface.

Uptime

Period during which the neighbor remains Up.

Adj Protocol

Protocol used for establishing the adjacency.

Restart Capable

Whether GR is supported:
  • YES: indicates that GR is supported.

  • NO: indicates that GR is not supported.

Suppressed Adj

Whether neighbor suppression is supported:
  • YES: indicates that neighbor suppression is supported.

  • NO: indicates that neighbor suppression is not supported.

Peer System Id

The System ID of IS-IS peer

Total Peer(s)

Number of neighbors.

display isis purge packet

Function

The display isis purge packet command displays statistics about received IS-IS purge LSPs carrying the POI TLV.

Format

display isis process-id purge packet [ packet-number ]

display isis purge packet process-id [ packet-number ]

Parameters

Parameter Description Value
process-id Specifies an IS-IS process ID. The value is an integer ranging from 1 to 65535.
packet-number Specifies the number of purge LSPs whose statistics are to be displayed. The value is an integer ranging from 1 to 20.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

To check statistics about received IS-IS purge LSPs carrying the POI TLV, run the display isis purge packet command. You can specify packet-number in the command to check statistics about a specified number of purge LSPs, and the maximum value of packet-number is 20. If its value is set to 20:
  • The first two displayed purge LSPs are sent by the local source system, with fragment number 0, one of which is Level-1, and the other is Level-2.
  • The first 10 displayed purge LSPs are generated locally, and the next 10 purge LSPs are from neighbors. The purge LSPs are displayed in reverse order of the time when they were received. If the LSP ID is followed by an asterisk (*), the purge LSP is generated locally.

Example

# Display statistics about received IS-IS purge LSPs carrying the POI TLV.

<Huawei> display isis purge packet 1 10
                 Purge LSP packet for ISIS(1) 
------------------------------------------------------------ 
Packet information(Index 1): 
----------------------------------------------------- 
Received LSPID      :  0000.0000.0027.00-00* 
Source Interface    :  Vlanif100 
Time                :  2015-1-22 13:55:06 
Level               :  Level-2 
PDU Type            :  20(Level-2 LSP) 
PDU Length          :  55 
Sequence Number     :  0x00000015 
Checksum            :  0xc891 
POI NAME            :  0000.0000.0004 
POI NAME(Neighbor)  :  0000.0000.0005   
HOST NAME           :  RT4-Pro1 
Auth Type           :  **               
0010: 83 1b 01 06 12 01 00 03 00 43 00 00 00 00 00 00 
0020: 00 27 00 00 00 01 6a 6c bd ed 01 0d 07 01 00 00 
0030: 00 00 00 01 89 0a 52 54 31 2d 50 72 6f 2d 30 31 
0040: ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** 
0050: ** ** **                          
-----------------------------------------------------
    **-Authentication TLV, *(By LSPID)-Self LSP
Table 8-98  Description of the display isis purge packet command output

Item

Description

Received LSPID

ID of a received purge LSP

Source Interface

Source interface of a received purge LSP

Time

Time when a purge LSP was received

Level

Level of a received purge LSP

PDU Type

Type of received purge LSP

PDU Length

Length of a received purge LSP

Sequence Number

Sequence number (LSN) of a received purge LSP

Checksum

Checksum of a received purge LSP

POI NAME

POI TLV carried in a received purge LSP

POI NAME(Neighbor)

Neighbor system ID in the POI TLV carried in a received purge LSP

HOST NAME

Dynamic hostname carried in a received purge LSP

Auth Type

Authentication information carried in a received purge LSP

display isis route

Function

The display isis route command displays IS-IS routing information.

Format

display isis route [ process-id | vpn-instance vpn-instance-name ] [ ipv4 ] [ verbose | [ level-1 | level-2 ] | ip-address [ mask | mask-length ] ] *

display isis route [ process-id | vpn-instance vpn-instance-name ] ipv6 [ verbose | [ level-1 | level-2 ] | ipv6-address [ prefix-length ] ] *

display isis process-id route [ ipv4 ] [ verbose | [ level-1 | level-2 ] | ip-address [ mask | mask-length ] ] *

display isis process-id route ipv6 [ verbose | [ level-1 | level-2 ] | ipv6-address [ prefix-length ] ] *

Parameters

Parameter Description Value
process-id Specifies an IS-IS process ID. The value is an integer that ranges from 1 to 65535.
vpn-instance vpn-instance-name Specifies the IS-IS multi-instance process in a specified VPN instance. The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.
ipv4 Displays IPv4 routes. If this parameter is not specified, both IPv4 and IPv6 IS-IS routes are displayed. -
verbose Displays detailed routing information. -
level-1 Displays Level-1 IS-IS routes. -
level-2 Displays Level-2 IS-IS routes. -
ip-address Displays the routes with the specified IPv4 destination address. The value is in dotted decimal notation.
mask Specifies the mask of an IP address. The value is in dotted decimal notation.
mask-length Specifies the mask length of an IP address. The value is an integer that ranges from 0 or 32.
ipv6 Displays IPv6 routes. If this parameter is not specified, both IPv4 and IPv6 IS-IS routes are displayed. -
ipv6-address Displays the routes with the specified IPv6 destination address. The value is a 32-digit hexadecimal number, in X:X:X:X:X:X:X:X format.
prefix-length Specifies the prefix length of an IPv6 address. The value is an integer that ranges from 0 to 128.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

None

Example

# Display all IS-IS routes.

<Huawei> display isis route
                                                                                
                         Route information for ISIS(1)                          
                         -----------------------------                          
                                                                                
                        ISIS(1) Level-1 Forwarding Table                        
                        --------------------------------                        
                                                                                
IPV4 Destination     IntCost    ExtCost ExitInterface   NextHop         Flags   
------------------------------------------------------------------------------- 
10.2.1.0/24          10         NULL    GE0/0/2         Direct          D/-/L/- 
172.18.0.0/16        20         NULL    GE0/0/2         10.2.1.1        A/-/L/- 
                                                                                
 IPV6 Dest.      ExitInterface   NextHop                       Cost       Flags 
------------------------------------------------------------------------------- 
 FC00:200::/64   GE0/0/2         Direct                        10         D/L/- 
                                                                                
     Flags: D-Direct, A-Added to URT, L-Advertised in LSPs, S-IGP Shortcut,     
                               U-Up/Down Bit Set                                
                                                                                
                                                                                
                        ISIS(1) Level-2 Forwarding Table                        
                        --------------------------------                        
                                                                                
IPV4 Destination     IntCost    ExtCost ExitInterface   NextHop         Flags   
------------------------------------------------------------------------------- 
10.2.1.0/24          10         NULL    GE0/0/2         Direct          D/-/L/- 
172.18.0.0/16        20         NULL                                            
                                                                                
 IPV6 Dest.      ExitInterface   NextHop                       Cost       Flags 
------------------------------------------------------------------------------- 
 100:200::/64    GE0/0/2         Direct                        10         D/L/- 
                                                                                
     Flags: D-Direct, A-Added to URT, L-Advertised in LSPs, S-IGP Shortcut,     
                               U-Up/Down Bit Set                                
Table 8-99  Description of the display isis route command output

Item

Description

IPV4 Destination

IPv4 destination address and mask.

IPV6 Dest.

IPv6 destination address and mask.

IntCost

IPv4 internal cost or IS-IS route cost. To change the IS-IS IPv4 route cost, run the circuit-cost or isis cost command to set the link cost of an IS-IS IPv4 interface.

ExtCost

IPv4 external cost or cost of routes imported from other routing protocols. To set the cost of imported routes, run the import-route (IS-IS) command.
NOTE:

The costs of external routes imported using the import-route cost-type external command are displayed in this field to differentiate the costs of IS-IS routes.

Cost

IPv6 route cost. To change the IS-IS IPv6 route cost, run the ipv6 circuit-cost or isis ipv6 cost command to set the link cost of an IS-IS IPv6 interface.

ExitInterface

Outbound interface of a route.

NextHop

Next hop address of a route. This field displays Direct if the destination network segment is the direct network segment.

Flags

Route flag:
  • D-Direct: indicates a direct route.
  • A-Added to URT: indicates that a route is added to the unicast routing table.
  • L-Advertised in LSPs: indicates that a route is advertised through an LSP.
  • S-IGP Shortcut: indicates that the interface on which IGP-Shortcut is enabled exists on the path to the destination.
  • U-Up/Down Bit Set: indicates the Up/Down bit.

# Display IS-IS IPv4 routes.

<Huawei> display isis route ipv4
                                                                                
                         Route information for ISIS(1)                          
                         -----------------------------                          
                                                                                
                        ISIS(1) Level-1 Forwarding Table                        
                        --------------------------------                        
                                                                                
IPV4 Destination     IntCost    ExtCost ExitInterface   NextHop         Flags   
------------------------------------------------------------------------------- 
10.1.1.0/24          10         NULL    Loop1           Direct          D/-/L/- 
10.2.2.0/24          10         NULL    Loop2           Direct          D/-/L/- 
     Flags: D-Direct, A-Added to URT, L-Advertised in LSPs, S-IGP Shortcut,     
                               U-Up/Down Bit Set                                
                                                                                
                                                                                
                        ISIS(1) Level-2 Forwarding Table                        
                        --------------------------------                        
                                                                                
IPV4 Destination     IntCost    ExtCost ExitInterface   NextHop         Flags   
------------------------------------------------------------------------------- 
10.1.1.0/24          10         NULL    Loop1           Direct          D/-/L/- 
10.2.2.0/24          10         NULL    Loop2           Direct          D/-/L/- 
     Flags: D-Direct, A-Added to URT, L-Advertised in LSPs, S-IGP Shortcut,     
                               U-Up/Down Bit Set                                
                                                                                

# Display IS-IS IPv6 routes.

<Huawei> display isis route ipv6
                         Route information for ISIS(1)                          
                         -----------------------------                          
                                                                                
                        ISIS(1) Level-1 Forwarding Table                        
                        --------------------------------                        
                                                                                
 IPV6 Dest.           ExitInterface   NextHop                       Cost       Flags 
------------------------------------------------------------------------------- 
 FC00:0:0:200::/64    GE0/0/2         Direct                        10         D/L/- 
                                                                                
     Flags: D-Direct, A-Added to URT, L-Advertised in LSPs, S-IGP Shortcut,     
                               U-Up/Down Bit Set                                
                                                                                
                                                                                
                        ISIS(1) Level-2 Forwarding Table                        
                        --------------------------------                        
                                                                                
 IPV6 Dest.           ExitInterface   NextHop                       Cost       Flags 
------------------------------------------------------------------------------- 
 FC00:0:0:200::/64    GE0/0/2         Direct                        10         D/L/- 
                                                                                
                                                                                
     Flags: D-Direct, A-Added to URT, L-Advertised in LSPs, S-IGP Shortcut,     
                               U-Up/Down Bit Set                                

# Display detailed IS-IS routing information.

<Huawei> display isis route verbose
                         Route information for ISIS(1)
                         -----------------------------

                        ISIS(1) Level-1 Forwarding Table
                        --------------------------------

 IPV4 Dest  : 10.0.0.0/24        Int. Cost : 10            Ext. Cost : NULL
 Admin Tag  : -                  Src Count : 2             Flags     : D/-/L/-
 Priority   : -
 NextHop    :                    Interface :               ExitIndex :
    Direct                             GE1/0/0                   0x00000000

 IPV4 Dest  : 10.2.0.0/24        Int. Cost : 10            Ext. Cost : NULL
 Admin Tag  : -                  Src Count : 2             Flags     : D/-/L/-
 Priority   : -
 NextHop    :                    Interface :               ExitIndex :
    Direct                             GE2/0/0                   0x00000000

 IPV4 Dest  : 10.3.0.0/24        Int. Cost : 20            Ext. Cost : NULL
 Admin Tag  : -                  Src Count : 2             Flags     : A/-/L/-
 Priority   : Low
 NextHop    :                    Interface :               ExitIndex :
    10.2.0.2                           GE2/0/0                   0x00000003
    10.0.0.2                           GE1/0/0                   0x00000005

 IPV4 Dest  : 10.1.1.1/32        Int. Cost : 10            Ext. Cost : NULL
 Admin Tag  : -                  Src Count : 1             Flags     : A/-/L/-
 Priority   : Medium
 NextHop    :                    Interface :               ExitIndex :
    10.0.0.2                           GE1/0/0                   0x00000005
 (B)10.2.0.2                           GE2/0/0                   0x00000003

     Flags: D-Direct, A-Added to URT, L-Advertised in LSPs, S-IGP Shortcut,
                               U-Up/Down Bit Set


                        ISIS(1) Level-2 Forwarding Table
                        --------------------------------

 IPV4 Dest  : 10.0.0.0/24        Int. Cost : 10            Ext. Cost : NULL
 Admin Tag  : -                  Src Count : 3             Flags     : D/-/L/-
 Priority   : -
 NextHop    :                    Interface :               ExitIndex :
    Direct                             GE1/0/0                   0x00000000

 IPV4 Dest  : 10.2.0.0/24        Int. Cost : 10            Ext. Cost : NULL
 Admin Tag  : -                  Src Count : 3             Flags     : D/-/L/-
 Priority   : -
 NextHop    :                    Interface :               ExitIndex :
    Direct                             GE2/0/0                   0x00000000

 IPV4 Dest  : 10.3.0.0/24        Int. Cost : 20            Ext. Cost : NULL
 Admin Tag  : -                  Src Count : 2             Flags     : -/-/-/-
 Priority   : Low

 IPV4 Dest  : 10.1.1.1/32        Int. Cost : 10            Ext. Cost : NULL
 Admin Tag  : -                  Src Count : 2             Flags     : -/-/-/-
 Priority   : Medium

     Flags: D-Direct, A-Added to URT, L-Advertised in LSPs, S-IGP Shortcut,
                               U-Up/Down Bit Set

Table 8-100  Description of the display isis route verbose command output

Item

Description

IPV4 Dest

IPv4 destination address and mask.

Int.Cost

IPv4 internal cost, the cost of an IS-IS route.

Ext.Cost

IPv4 external cost, the cost of other protocol route imported by IS-IS.
NOTE:

The costs of non-IS-IS routes imported by the import-route cost-type external command are displayed in this field so that the costs of non-IS-IS routes are kept independently from the costs of IS-IS routes.

Admin Tag

Administrative tag.

Src Count

Number of source addresses to the same destination.

Priority

Convergence priority of IS-IS routes:
  • Critical
  • High
  • Medium
  • Low
To set the convergence priority of IS-IS routes, run the prefix-priority (IS-IS) command.

NextHop

Next hop of the route

(B) indicates the backup route label.

Interface

Outbound interface of a route.

ExitIndex

Index of the outbound interface.

Flags

Flags of routing information.

display isis spf-log

Function

The display isis spf-log command displays IS-IS SPF logs.

Format

display isis spf-log [ process-id | vpn-instance vpn-instance-name ] [ [ level-1 | level-2 ] | ipv6 | verbose ]*

display isis process-id spf-log [ [ level-1 | level-2 ] | ipv6 | verbose ]*

Parameters

Parameter Description Value
process-id Specifies an IS-IS process ID. The value is an integer that ranges from 1 to 65535.
vpn-instance vpn-instance-name Specifies the IS-IS multi-instance process in a specified VPN instance. The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.
ipv6 Displays SPF logs in IPv6 topologies. -
level-1 Displays Level-1 SPF logs. -
level-2 Displays Level-2 SPF logs. -
verbose Displays detailed information about SPF logs. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can use this command to view IS-IS SPF logs, including the start time, duration, number of nodes, and triggered events of SPF calculation.

Example

# Display IS-IS SPF logs.

<Huawei> display isis spf-log
                                                                                
                        SPF Log information for ISIS(10)                        
                        --------------------------------                        
                                                                                
                            ISIS(10) Level-1 SPF Log                            
                            ------------------------                            
                                                                                
 StartTime  Duration  Nodes  Count  Last Trigger LSP      Trigger Event         
------------------------------------------------------------------------------- 
 2013-09-05 10:14:48                                                            
            0         1      1      NULL                  ISPF_CIRC_DR_CHANGE   
 2013-09-05 10:13:23                                                            
            1         1      2      NULL                  FULL_SPF              
                                                                                
                            ISIS(10) Level-2 SPF Log                            
                            ------------------------                            
                                                                                
 StartTime  Duration  Nodes  Count  Last Trigger LSP      Trigger Event         
------------------------------------------------------------------------------- 
 2013-09-05 10:14:48                                                            
            1         1      1      NULL                  ISPF_CIRC_DR_CHANGE   
 2013-09-05 10:13:23                                                            
            1         1      2      NULL                  FULL_SPF 
Table 8-101  Description of the display isis spf-log command output

Item

Description

StartTime

Start time of SPF calculation.

Duration

Duration of SPF calculation.

Nodes

Number of nodes in SPF calculation.

Count

Number of times SPF calculated is triggered.

Last Trigger LSP

LSP that triggers the last SPF calculation:

  • NULL indicates that the LSP is local.
  • LSP ID (specific ID) indicates that the LSP is not local.

Trigger Event

Event that triggers the last SPF calculation:

  • NEWAREA indicates that a new NET is configured.
  • TUNNEL_ADJ indicates that a tunnel neighbor relationship is established.
  • ADJDOWN indicates that a tunnel neighbor goes Down.
  • NEWLSP indicates that the router receives an LSP of a new process.
  • LSPCHANGE indicates that the received LSP is different from local LSPs.
  • RST_T2_CANCEL indicates that the GR T2 Timer is disabled.
  • RST_T3_EXPIRE indicates that the GR T3 Timer expires.
  • RESTART_COMPLETE indicates that the GR is over.
  • CIRC_VLINK_CHANGE indicates that the status of the VLink interface changes.
  • PRC_IPV4_PREFIX_ADD indicates that an IPv4 route is added.
  • PRC_IPV4_PREFIX_DEL indicates that an IPv4 route is deleted.
  • PRC_IPV4_PREFIX_MODIFY indicates that an IPv4 route is modified.
  • PRC_IPV4_PREFIX_MIGP_ADD indicates that an MIGP IPv4 route is added.
  • PRC_IPV4_PREFIX_MIGP_DEL indicates that an MIGP IPv4 route is deleted.
  • PRC_IPV4_PREFIX_MIGP_MODIFY indicates that an MIGP IPv4 route is modified.
  • PRC_IPV6_PREFIX_ADD indicates that an IPv6 route is added.
  • PRC_IPV6_PREFIX_DEL indicates that an IPv6 route is deleted.
  • PRC_IPV6_PREFIX_MODIFY indicates that an IPv6 route is modified.
  • ISPF_ADJ_STATE_CHANGE indicates that the IS-IS neighbor status changes.
  • ISPF_ADJ_USAGE_CHANGE indicates that the IS-IS neighbor level changes.
  • ISPF_ADJ_PROT_USAGE_CHANGE indicates that the protocol used by the IS-IS neighbor changes.
  • ISPF_ADJ_NEXTHOP_CHANGE indicates that the next hop of the IS-IS neighbor changes.
  • ISPF_CIRC_METRIC_CHANGE indicates that the cost on the interface changes.
  • ISPF_CIRC_DR_CHANGE indicates that the DIS changes.
  • ISPF_NODE_DEL indicates that the nodes in the SPT change.
  • ISPF_NODE_OLOAD_CHANGE indicates that the overload bit of the system changes.
  • ISPF_LINK_ADD indicates that a new link is added to the SPT.
  • ISPF_LINK_DEL indicates that a link is deleted from the SPT.
  • ISPF_LINK_METRIC_CHANGE indicates that the cost of a link changes.
  • FULL_SPF indicates that a full SPF calculation is triggered.
  • AREA_CFG_CHANGE indicates that the area of the process changes.
  • AREA_LEARNT_CHANGE indicates that the area of the IS-IS neighbor changes.
  • ISPF_TUNNEL_TYPE_CHANGE indicates that the tunnel type changes.
  • PRC_LEAVE_MAN_OVERLOAD indicates that the system exits the set-overload state that is set manually.
  • PRC_IPV4_SELFLSP_CHANGE indicates that the IPv4 route in the local LSP changes.
  • PRC_IPV6_SELFLSP_CHANGE indicates that the IPv6 route in the local LSP changes.
  • PRC_ALIAS_TLV_CHANGE indicates that the ALIAS TLV in the LSP changes.
  • LFA_LINK_ADD indicates that a link is added to the routes for FRR.
  • LFA_LINK_DEL indicates that a link is deleted from the routes for FRR.
  • LFA_LINK_CHANGE indicates that the links of the routes for FRR change.
  • LFA_NODE_ADD indicates that a node is added along the links of the routes for FRR.
  • LFA_NODE_DEL indicates that a node is deleted from the links of the routes for FRR.
  • LFA_NODE_CHANGE indicates that the nodes along the links of the routes for FRR change.
  • KEY_RESRORE indicates that the local device receives an indirect next hop key.

display isis spf-tree

Function

The display isis spf-tree command displays the topology of the SPF tree that is generated by IS-IS.

Format

display isis spf-tree [ systemid systemid | dname dname ] [ [ level-1 | level-2 ] | ipv6 | verbose ] * [ process-id | vpn-instance vpn-instance-name ]

display isis process-id spf-tree [ systemid systemid | dname dname ] [ [ level-1 | level-2 ] | ipv6 | verbose ] *

display isis process-id spf-tree statistics [ [ level-1 | level-2 ] | ipv6 ] *

display isis spf-tree statistics [ [ level-1 | level-2 ] | ipv6 ] * [ process-id | vpn-instance vpn-instance-name ]

Parameters

Parameter Description Value
systemid systemid Displays the SPF tree of the industrial switch router with a specified system ID or pseudonode ID. The value is in XXXX.XXXX.XXXX[.XX] format.
dname dname Displays the SPF tree of the industrial switch router with a specified dynamic name. The value is a string of 1 to 64 characters without spaces.When double quotation marks are used around the string, spaces are allowed in the string.
level-1 Displays Level-1 SPF tree. -
level-2 Displays Level-2 SPF tree. -
ipv6 Displays SPF tree in IPv6 topologies. -
verbose Displays detailed information about SPF tree. -
process-id Display SPF tree in a specified IS-IS process. The value is an integer that ranges from 1 to 65535.
vpn-instance vpn-instance-name Displays SPF tree of the IS-IS multi-instance process in a specified VPN instance. The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.
statistics Displays SPF tree statistics, including information about links and nodes on the SPF tree. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can specify statistics to view the current status of the SPF tree. The generated SPF tree can be used to calculate routes only when the SPF calculation status is Completed, that is, incremental SPF (ISPF) calculation is complete.

Example

# Display information about the SPF tree.

<Huawei> display isis spf-tree
                         Shortest Path Tree for ISIS(1)
                         ------------------------------

         Flags:   T-System is on SPF TREE  R-System is directly reachable
                  O-System is Overload     D-System or Link is to be deleted
                  C-Neighbor is child      P-Neighbor is parent
                  G-Cost gets greater      L-Cost gets lower
                  H-Nexthop is changed     U-Protocol usage is changed
                  V-Link is involved       N-Link is a new path
                  S-Link is IGP Shortcut   *-Relative cost
                       ISIS(1) Level-1 Shortest Path Tree
                       ----------------------------------

 SpfNode           NodeFlags  NeighbourNode     LinkCost   LinkFlags
------------------------------------------------------------------------
------------------------------------------------------------------------
 0000.0000.0001.00 T/-/-/-   >0000.0000.0002.01       10   P/-/-/-/-/-/-
>0000.0000.0002.00 T/-/-/-    0000.0000.0003.01       10   C/-/-/-/-/-/-
                             >0000.0000.0002.01       10   C/-/-/-/-/-/-
                              0000.0000.0004.00      -10*  C/-/-/-/S/-/-
>0000.0000.0002.01 T/R/-/-    0000.0000.0001.00        0   C/-/-/-/-/-/-
                             >0000.0000.0002.00        0   P/-/-/-/-/-/-
 0000.0000.0003.00 T/-/-/-    0000.0000.0004.02       10   C/-/-/-/-/-/-
                              0000.0000.0003.01       10   P/-/-/-/-/-/-
 0000.0000.0003.01 T/R/-/-    0000.0000.0003.00        0   C/-/-/-/-/-/-
                             >0000.0000.0002.00        0   P/-/-/-/-/-/-
 0000.0000.0004.00 T/-/-/-    0000.0000.0004.02       10   P/-/-/-/-/-/-
                              0000.0000.0004.01       10   C/-/-/-/-/-/-
 0000.0000.0004.01 T/-/-/-    0000.0000.0004.00        0   P/-/-/-/-/-/-
                              0000.0000.0005.00        0   C/-/-/-/-/-/-
 0000.0000.0004.02 T/-/-/-    0000.0000.0004.00        0   C/-/-/-/-/-/-
                              0000.0000.0003.00        0   P/-/-/-/-/-/-
 0000.0000.0005.00 T/-/-/-    0000.0000.0004.01       10   P/-/-/-/-/-/-
                       ISIS(1) Level-2 Shortest Path Tree
                       ----------------------------------

 SpfNode           NodeFlags  NeighbourNode     LinkCost   LinkFlags
------------------------------------------------------------------------
------------------------------------------------------------------------
 0000.0000.0001.00 T/-/-/-   >0000.0000.0002.01       10   P/-/-/-/-/-/-
>0000.0000.0002.00 T/-/-/-    0000.0000.0003.01       10   C/-/-/-/-/-/-
                             >0000.0000.0002.01       10   C/-/-/-/-/-/-
                              0000.0000.0004.00      -10*  C/-/-/-/S/-/-
>0000.0000.0002.01 T/R/-/-    0000.0000.0001.00        0   C/-/-/-/-/-/-
                             >0000.0000.0002.00        0   P/-/-/-/-/-/-
 0000.0000.0003.00 T/-/-/-    0000.0000.0004.02       10   C/-/-/-/-/-/-
                              0000.0000.0003.01       10   P/-/-/-/-/-/-
 0000.0000.0003.01 T/R/-/-    0000.0000.0003.00        0   C/-/-/-/-/-/-
                             >0000.0000.0002.00        0   P/-/-/-/-/-/-
 0000.0000.0004.00 T/-/-/-    0000.0000.0004.02       10   P/-/-/-/-/-/-
                              0000.0000.0004.01       10   C/-/-/-/-/-/-
 0000.0000.0004.01 T/-/-/-    0000.0000.0004.00        0   P/-/-/-/-/-/-
                              0000.0000.0005.00        0   C/-/-/-/-/-/-
 0000.0000.0004.02 T/-/-/-    0000.0000.0004.00        0   C/-/-/-/-/-/-
                              0000.0000.0003.00        0   P/-/-/-/-/-/-
 0000.0000.0005.00 T/-/-/-    0000.0000.0004.01       10   P/-/-/-/-/-/-
Table 8-102  Description of the display isis spf-tree command output

Item

Description

SpfNode

Node ID in the network topology.

NodeFlags

Node flag:
  • T: The node is on the SPF tree.
  • R: The node is directly reachable.
  • O: The node is overloaded.
  • D: The node is to be deleted.

NeighbourNode

ID of the neighboring node.

LinkCost

Link cost.

LinkFlags

Link flag:
  • C: Neighbor is child
  • P: Neighbor is parent
  • G: Cost gets greater
  • L: Cost gets lower
  • H: Nexthop is changed
  • U: Protocol usage is changed
  • V: Link is involved
  • N: Link is a new path
  • S: Link is IGP Shortcut
  • *: Relative cost

>

Mark of the local node.

# Display detailed information about SPF tree.

<Huawei> display isis spf-tree verbose
                         Shortest Path Tree for ISIS(1)                         
                         ------------------------------                         
                                                                                
                       ISIS(1) Level-1 Shortest Path Tree                       
                       ----------------------------------                       
>0000.0000.0001.00                                                              
   Distance            : 0                                                      
   Distance-URT        : 0                                                      
   Flags               : SPT                                                    
   IPv4 Nexthops-URT   : 0                                                      
   IPv6 Nexthops       : 0                                                      
   Neighbors: 1 (Children:1 Parents:0 Others:0)                                 
             (1)   0000.0000.0003.02                                            
                     Cost  : 10                                                 
                     Flags : Child                                              
                                                                                
 0000.0000.0003.00                                                              
   Distance            : 10                                                     
   Distance-URT        : 10                                                     
   Flags               : SPT                                                    
   IPv4 Nexthops-URT   : 1                                                      
             (1) 10.2.1.1         IF:GE0/0/2  NBR:0000.0000.0003.00             
   IPv6 Nexthops       : 1                                                      
             (1) FE80::82FB:6FF:FE35:45B6  IF:GE0/0/2  NBR:0000.0000.0003.00    
   Neighbors: 1 (Children:0 Parents:1 Others:0)                                 
             (1)   0000.0000.0003.02                                            
                     Cost  : 10                                                 
                     Flags : Parent                                             
                                                                                
 0000.0000.0003.02                                                              
   Distance            : 10                                                     
   Distance-URT        : 10                                                     
   Flags               : SPT/Direct/Isolate/V6_Islt                             
   IPv4 Nexthops-URT   : 0                                                      
   IPv6 Nexthops       : 0                                                      
   Neighbors: 2 (Children:1 Parents:1 Others:0)                                 
             (1)   0000.0000.0003.00                                            
                     Cost  : 0                                                  
                             C:0 I:GigabitEthernet0/0/2                         
                     Flags : Adj/Child                                          
                                                                                
             (2)  >0000.0000.0001.00                                            
                     Cost  : 0                                                  
                     Flags : Parent                                             
                                                                                
                                                                                
                       ISIS(1) Level-2 Shortest Path Tree                       
                       ----------------------------------                       
>0000.0000.0001.00                                                              
   Distance            : 0                                                      
   Distance-URT        : 0                                                      
   Flags               : SPT                                                    
   IPv4 Nexthops-URT   : 0                                                      
   IPv6 Nexthops       : 0                                                      
   Neighbors: 1 (Children:1 Parents:0 Others:0)                                 
             (1)   0000.0000.0003.02                                            
                     Cost  : 10                                                 
                     Flags : Child                                              
                                                                                
 0000.0000.0003.00                                                              
   Distance            : 10                                                     
   Distance-URT        : 10                                                     
   Flags               : SPT                                                    
   IPv4 Nexthops-URT   : 1                                                      
             (1) 10.2.1.1         IF:GE0/0/2  NBR:0000.0000.0003.00             
   IPv6 Nexthops       : 1                                                      
             (1) FE80::82FB:6FF:FE35:45B6  IF:GE0/0/2  NBR:0000.0000.0003.00    
   Neighbors: 1 (Children:0 Parents:1 Others:0)                                 
             (1)   0000.0000.0003.02                                            
                     Cost  : 10                                                 
                     Flags : Parent                                             
                                                                                
 0000.0000.0003.02                                                              
   Distance            : 10                                                     
   Distance-URT        : 10                                                     
   Flags               : SPT/Direct/Isolate/V6_Islt                             
   IPv4 Nexthops-URT   : 0                                                      
   IPv6 Nexthops       : 0                                                      
   Neighbors: 2 (Children:1 Parents:1 Others:0)                                 
             (1)   0000.0000.0003.00                                            
                     Cost  : 0                                                  
                             C:0 I:GigabitEthernet0/0/2                         
                     Flags : Adj/Child                                          
                                                                                
             (2)  >0000.0000.0001.00                                            
                     Cost  : 0                                                  
                     Flags : Parent 
Table 8-103  Description of the display isis spf-tree verbose command output

Item

Description

Distance

Cost of the shortest path from the root node to the destination node, excluding the TE tunnel link.

Distance-URT

Cost of the shortest path from the root node to the destination node, including the TE tunnel link.

Flags

Flag:
  • SPT: The node is in the tree.

  • Direct: The node is a direct node.

  • Shortcut: The node is on a shortcut link.

  • Oload: The node is in Overload state.

  • Isolate: The node is not in the tree.

  • Del: The node will be deleted.

  • Remote: The node is on a tunnel.

IPv4 Nexthops-URT

IPv4 next hop of the node in the unicast routing table.

IPv6 Nexthops

IPv6 next hop of the node in the unicast routing table.

Neighbors

Information about all the neighbors of this node.

Cost

Cost of the link from the root node to this node.

Flags

Relationship with the neighbor:
  • Parent: The neighbor is a parent node.

  • Child: The neighbor is a child node.

IF

Name of the outbound interface.

NBR

System ID of the next hop.

# Display the current status statistics of the SPF tree.

<Huawei> display isis spf-tree statistics
                                                                                
                   Statistics information of SPT for ISIS(1)                    
                   -----------------------------------------                    
                                                                                
                               Level-1 Statistics                               
                               ------------------                               
Nodes information:                                                              
         Total:                               3                                 
         Count of nodes in SPT:               3                                 
         Count of isolate nodes in SPT:       1                                 
         Count of IPv6 isolate nodes in SPT:  1                                 
         Max Distance of nodes in SPT:        10                                
Links information:                                                              
         Total:                               4                                 
         Count of links from Parent to Son:   2                                 
         Count of links from Son to Parent:   2                                 
         Count of links that just changed:    0                                 
Status of SPF:                                Completed                         
                                                                                
                                                                                
                               Level-2 Statistics                               
                               ------------------                               
Nodes information:                                                              
         Total:                               3                                 
         Count of nodes in SPT:               3                                 
         Count of isolate nodes in SPT:       1                                 
         Count of IPv6 isolate nodes in SPT:  1                                 
         Max Distance of nodes in SPT:        10                                
Links information:                                                              
         Total:                               4                                 
         Count of links from Parent to Son:   2                                 
         Count of links from Son to Parent:   2                                 
         Count of links that just changed:    0                                 
Status of SPF:                                Completed
Table 8-104  Description of the display isis spf-tree statistics command output

Item

Description

Total (Nodes information)

Total number of nodes.

Count of nodes in SPT

Number of nodes in the SPT tree.

Count of isolate nodes in SPT

Number of isolated nodes in the network topology.

Count of IPv6 isolate nodes in SPT

Number of isolated IPv6 nodes in the network topology.

Max Distance of nodes in SPT

Maximum distance from the root node to the leaf node.

Total (Links information)

Total number of links.

Count of links from Parent to Son

Number of links from the parent node to the child node.

Count of links from Son to Parent

Number of links from the child node to the parent node.

Count of links that just changed

Number of links that just changed.

Status of SPF

Status of SPF calculation:
  • Completed: indicates that SPF calculation is complete.

  • Scheduled: indicates that SPF calculation is triggered but does not start.

  • Running: indicates that SPF calculation is being performed.

display isis statistics

Function

The display isis statistics command displays IS-IS process statistics.

Format

display isis statistics packet [ interface interface-type interface-number ]

display isis statistics [ updated-lsp [ history ] ] [ level-1 | level-2 | level-1-2 ] [ process-id | vpn-instance vpn-instance-name ]

display isis process-id statistics [ [ [ updated-lsp [ history ] ] [ level-1 | level-2 | level-1-2 ] ] | packet ]

display isis process-id statistics packet [ lsp ]

display isis statistics packet lsp { process-id | vpn-instance vpn-instance-name }

Parameters

Parameter Description Value
packet Displays IS-IS packet statistics. -
interface interface-type interface-number Displays IS-IS packet statistics on a specified interface. -
updated-lsp

Displays real-time data of received LSPs. By default, statistics about the LSPs received within the last 1 hour are displayed.

-
history

Displays historical data of received LSPs. By default, statistics about the LSPs received within the last 24 hours are displayed.

-
level-1 Displays IS-IS Level-1 statistics. -
level-2 Displays IS-IS Level-2 statistics. -
level-1-2 Displays IS-IS Level-1-2 statistics. -
process-id Displays statistics in a specified IS-IS process. The value is an integer that ranges from 1 to 65535.
vpn-instance vpn-instance-name Displays statistics about the IS-IS multi-instance process in a specified VPN instance. The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.
lsp Displays statistics about IS-IS LSPs. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can use the display isis statistics command to view IS-IS process statistics, including the number of routes learned from other IS-IS devices, number of routes imported from other routing protocols, number of locally generated LSPs, and convergence priorities of IS-IS routes.

Example

# Display IS-IS process statistics.

<Huawei> display isis statistics
                       Statistics information for ISIS(1)
                       ----------------------------------
                               Level-1 Statistics
                               ------------------
Forwarding routes information:
         Total IPV4 Learnt Routes: 0
                         Critical: 0
                         High    : 0
                         Medium  : 0
                         Low     : 0
         Total IPv4 Forwarding Routes: 1
Total IPv6 Learnt Routes: 0
                        Critical: 0       
                        High    : 0
                        Medium  : 0
                        Low     : 0
         Total IPv6 Forwarding Routes: 1
Imported routes information:
         IPv4 Imported Routes:
                         Static: 0       Direct: 0
                         ISIS:   0       BGP:    0
                         RIP:    0       OSPF:   0
         IPv6 Imported Routes:
                         Static: 0       Direct: 0
                         ISIS:   0       BGP:    0
                         RIPng:  0       OSPFv3: 0
Number of advertised imported routes: 
        IPv4 Imported Routes:   0
        IPv6 Imported Routes:   0
Lsp information:
                  LSP Source ID:          No. of used LSPs
                  0000.0000.0022                  002
                               Level-2 Statistics
                               ------------------
Forwarding routes information:
         Total IPV4 Learnt Routes: 0
                         Critical: 0
                         High    : 0
                         Medium  : 0
                         Low     : 0
         Total IPv4 Forwarding Routes: 1
Total IPv6 Learnt Routes: 0
                        Critical: 0
                        High    : 0
                        Medium  : 0
                        Low     : 0
         Total IPv6 Forwarding Routes: 1
Imported routes information:
         IPv4 Imported Routes:
                         Static: 0       Direct: 0
                         ISIS:   0       BGP:    0
                         RIP:    0       OSPF:   0
         IPv6 Imported Routes:
                         Static: 0       Direct: 0
                         ISIS:   0       BGP:    0
                         RIPng:  0       OSPFv3: 0  
Number of advertised imported routes: 
        IPv4 Imported Routes:   0
        IPv6 Imported Routes:   0
Lsp information:
                  LSP Source ID:          No. of used LSPs
                  0000.0000.0002                  001
Table 8-105  Description of the display isis statistics command output

Item

Description

Total IPV4 Learnt Routes
  • Critical

  • High

  • Medium

  • Low

Number of IPv4 routes learned by IS-IS:
  • Critical: indicates the number of IPv4 routes with convergence priority critical.

  • High: indicates the number of IPv4 routes with convergence priority high.

  • Medium: indicates the number of IPv4 routes with convergence priority medium.

  • Low: indicates the number of IPv4 routes with convergence priority low.

Total IPv4 Forwarding Routes

Number of IPv4 routes counted based on the destination address. If there are multiple routes to the same destination, these routes are counted as one route.

Total IPv6 Learnt Routes
  • Critical

  • High

  • Medium

  • Low

Number of IPv6 routes learned by IS-IS:
  • Critical: indicates the number of IPv6 routes with convergence priority critical.

  • High: indicates the number of IPv6 routes with convergence priority high.

  • Medium: indicates the number of IPv6 routes with convergence priority medium.

  • Low: indicates the number of IPv6 routes with convergence priority low.

Total IPv6 Forwarding Routes

Number of IPv6 routes counted based on the destination address. If there are multiple routes to the same destination, these routes are counted as one route.

IPv4 Imported Routes

Imported IPv4 routes.

Static

Number of imported static routes.

Direct

Number of imported direct routes.

ISIS

Number of imported IS-IS routes.

BGP

Number of imported BGP routes.

RIP

Number of imported RIP routes.

OSPF

Number of imported OSPF routes.

IPv6 Imported Routes

Imported IPv6 routes.

RIPng

Number of imported RIPng routes.

OSPFv3

Number of imported OSPFv3 routes.

LSP Source ID

System ID of the industrial switch router that generates the LSP.

No. of used LSPs

Number of used LSPs.

Number of advertised imported routes

Number of imported external routes that are advertised.

# Display IS-IS packet statistics.

<Huawei> display isis statistics packet

                          PDUs information for ISIS(1)
                          ----------------------------
          Sent packets:
          PDU type                   Total(packets)
          L1 IIH                        2516
          L1 LSP                          84
          L1 CSNP                          8
          L1 PSNP                         44
          L2 IIH                        5028
          L2 LSP                          80
          L2 CSNP                          8
          L2 PSNP                         46

          Received packets:
          PDU type                   Total(packets)
          L1 IIH                       12943
          L1 LSP                         216
          L1 CSNP                       3911
          L1 PSNP                         40
          L2 IIH                       14907
          L2 LSP                         206
          L2 CSNP                       3900
          L2 PSNP                         41
Table 8-106  Description of the display isis statistics packet command output

Item

Description

PDU type

Packet type.

Total(packets)

Total number of packets.

L1 IIH

Level-1 Hello packets.

L1 LSP

Level-1 LSPs.

L1 CSNP

Level-1 CSNPs.

L1 PSNP

Level-1 PSNPs.

L2 IIH

Level-2 Hello packets.

L2 LSP

Level-2 LSPs.

L2 CSNP

Level-2 CSNPs.

L2 PSNP

Level-2 PSNPs.

display isis statistics purge-lsp

Function

The display isis statistics purge-lsp command displays statistics about purge LSPs on the network.

Format

display isis [ process-id ] statistics purge-lsp [ level-1 | level-2 ]

Parameters

Parameter Description Value
process-id

Specifies an IS-IS process. If process-id is not specified in the command, statistics about purge LSPs of all IS-IS processes are displayed.

The value is an integer ranging from 1 to 65535.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

When monitoring the device status or locating a fault, you can run the display isis statistics purge-lsp command to check statistics about purge LSPs. The statistics help traffic statistics collection and troubleshooting.

Example

# Display statistics about purge LSPs.

<Huawei> display isis statistics purge-lsp
 Statistics of Purge packets Received for ISIS(1)                                                                        
               ---------------------------------------                                                                              
                                                                                                                                    
                        Level-1 Statistics                                                                                          
LSP ID                    Purge count   Last Purge time                                                                             
0000.0000.0001.00-00               0    --                                                                                          
                                                                                                                                    
                        Level-2 Statistics                                                                                          
LSP ID                    Purge count   Last Purge time                                                                             
0000.0000.0001.00-00               0    --              
Table 8-107  Description of the display isis statistics purge-lsp command output

Item

Description

LSP ID

LSP ID

Purge Count

Number of times purge LSPs are received. 0 indicates that no purge LSPs are received.

Last Purge Time

Time when the system last received a purge LSP. If the system does not receive any purge LSP, --:--:-- is displayed.

display snmp-agent trap feature-name isis all

Function

The display snmp-agent trap feature-name isis all command displays the status of the trap function on the IS-IS module.

Format

display snmp-agent trap feature-name isis all

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

If the trap function has been enabled, the status is displayed as on. Otherwise, the status is displayed as off.

To change the status of the trap function, run the snmp-agent trap enable feature-name isis command to enable the trap function or run the undo snmp-agent trap enable feature-name isis command to disable the trap function.

Example

# Display all trap messages of the IS-IS module.

<Huawei> display snmp-agent trap feature-name isis all
------------------------------------------------------------------------------
Feature name: ISIS
Trap number : 17
------------------------------------------------------------------------------
Trap name                       Default switch status      Current switch status
isisDatabaseOverload            off                        off
isisManualAddressDrops          off                        off
isisCorruptedLSPDetected        off                        off
isisAttemptToExceedMaxSequence  off                        off
isisIDLenMismatch               off                        off
isisMaxAreaAddressesMismatch    off                        off
isisOwnLSPPurge                 off                        off
isisSequenceNumberSkip          off                        off
isisAuthenticationTypeFailure   off                        off
isisAuthenticationFailure       off                        off
isisVersionSkew                 off                        off
isisAreaMismatch                off                        off
isisRejectedAdjacency           off                        off
isisLSPTooLargeToPropagate      off                        off
isisOrigLSPBuffSizeMismatch     off                        off
isisProtocolsSupportedMismatch  off                        off
isisAdjacencyChange             off                        off
Table 8-108  Description of the display snmp-agent trap feature-name isis all command output

Item

Description

Feature name

Name of the module that trap messages belong to.

Trap number

Number of trap messages.

Trap name

Name of the trap message of the IS-IS module:
  • isisAdjacencyChange: indicates neighbor changes.
  • isisAreaMismatch: indicates that the area address of the received Level-1 Hello packet does not match the local area address.
  • isisAttemptToExceedMaxSequence: indicates that the LSP sequence number is close to the maximum value.
  • isisAuthenticationFailure: indicates that the authentication code in the received packet does not match the local authentication code.
  • isisAuthenticationTypeFailure: indicates that the authentication type in the received packet does not match the local authentication type.
  • isisCorruptedLSPDetected: indicates the LSP checksum error.
  • isisDatabaseOverload: indicates that the LSDB overload bit changes.
  • isisIDLenMismatch: indicates that the system ID length in the received packet does not match the local system ID length.
  • isisLSPTooLargeToPropagate: indicates that the length of the forwarded LSP is greater than the interface MTU.
  • isisManualAddressDrops: indicates that some area IDs will be dropped if the number of Level-2 area IDs exceeds 3 on the Level-1-2 router after the router advertises LSPs with Level-1 area IDs to a Level-2 area.
  • isisMaxAreaAddressesMismatch: indicates that the maximum area address in the received packet does not match the local area address.
  • isisOrigLSPBuffSizeMismatch: indicates that the received LSP size does not match the local buffer size.
  • isisOwnLSPPurge: indicates that an IS detects that its LSPs are purged on the network.
  • isisProtocolsSupportedMismatch: indicates that the protocol in the received packet is not supported by the local device.
  • isisRejectedAdjacency: indicates that the PDU is received from the neighbor but the neighbor relationship cannot be established.
  • isisSequenceNumberSkip: indicates that the local router receives the LSP sent by itself with the sequence number greater than that of the LSP in the local LSDB.
  • isisVersionSkew: indicates that the version of the Hello packet received by IS-IS is incorrect.

Default switch status

Default status of the trap function:
  • on: The trap function is enabled.
  • off: The trap function is disabled.

Current switch status

Current status of the trap function:
  • on: The trap function is enabled.
  • off: The trap function is disabled.

display snmp-agent trap feature-name isis-std all

Function

The display snmp-agent trap feature-name isis-std all command displays the status of the trap function in the IS-IS standard MIB.

Format

display snmp-agent trap feature-name isis-std all

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

If the trap function has been enabled, the status is displayed as on. Otherwise, the status is displayed as off.

To change the status of the trap function, run the snmp-agent trap enable feature-name isis-std command to enable the trap function or run the undo snmp-agent trap enable feature-name isis-std command to disable the trap function.

Example

# Display all trap messages of the IS-IS module.

<Huawei> display snmp-agent trap feature-name isis-std all
------------------------------------------------------------------------------
Feature name: ISIS-STD
Trap number : 18
------------------------------------------------------------------------------
Trap name                       Default switch status      Current switch status
isisDatabaseOverload            off                        on
isisManualAddressDrops          off                        on
isisCorruptedLSPDetected        off                        on
isisAttemptToExceedMaxSequence  off                        on
isisIDLenMismatch               off                        on
isisMaxAreaAddressesMismatch    off                        on
isisOwnLSPPurge                 off                        on
isisSequenceNumberSkip          off                        on
isisAuthenticationTypeFailure   off                        on
isisAuthenticationFailure       off                        on
isisVersionSkew                 off                        on
isisAreaMismatch                off                        on
isisRejectedAdjacency           off                        on
isisLSPTooLargeToPropagate      off                        on
isisOrigLSPBuffSizeMismatch     off                        on
isisProtocolsSupportedMismatch  off                        on
isisAdjacencyChange             off                        on
isisLSPErrorDetected            off                        on  
Table 8-109  Description of the display snmp-agent trap feature-name isis-std all command output

Item

Description

Feature name

Name of the module that trap messages belong to.

Trap number

Number of trap messages.

Trap name

Name of the trap message of the IS-IS module:
  • isisAdjacencyChange: indicates neighbor changes.
  • isisAreaMismatch: indicates that the area address of the received Level-1 Hello packet does not match the local area address.
  • isisAttemptToExceedMaxSequence: indicates that the LSP sequence number is close to the maximum value.
  • isisAuthenticationFailure: indicates that the authentication code in the received packet does not match the local authentication code.
  • isisAuthenticationTypeFailure: indicates that the authentication type in the received packet does not match the local authentication type.
  • isisCorruptedLSPDetected: indicates the LSP checksum error.
  • isisDatabaseOverload: indicates that the LSDB overload bit changes.
  • isisIDLenMismatch: indicates that the system ID length in the received packet does not match the local system ID length.
  • isisLSPErrorDetected: indicates that an LSP with a parse error is received.
  • isisLSPTooLargeToPropagate: indicates that the length of the forwarded LSP is greater than the interface MTU.
  • isisManualAddressDrops: indicates that some area IDs will be dropped if the number of Level-2 area IDs exceeds 3 on the Level-1-2 router after the router advertises LSPs with Level-1 area IDs to a Level-2 area.
  • isisMaxAreaAddressesMismatch: indicates that the maximum area address in the received packet does not match the local area address.
  • isisOrigLSPBuffSizeMismatch: indicates that the received LSP size does not match the local buffer size.
  • isisOwnLSPPurge: indicates that an IS detects that its LSPs are purged on the network.
  • isisProtocolsSupportedMismatch: indicates that the protocol in the received packet is not supported by the local device.
  • isisRejectedAdjacency: indicates that the PDU is received from the neighbor but the neighbor relationship cannot be established.
  • isisSequenceNumberSkip: indicates that the local router receives the LSP sent by itself with the sequence number greater than that of the LSP in the local LSDB.
  • isisVersionSkew: indicates that the version of the Hello packet received by IS-IS is incorrect.

Default switch status

Default status of the trap function:
  • on: The trap function is enabled.
  • off: The trap function is disabled.

Current switch status

Current status of the trap function:
  • on: The trap function is enabled.
  • off: The trap function is disabled.

domain-authentication-mode

Function

The domain-authentication-mode command configures an IS-IS routing domain to authenticate received Level-2 packets using the specified authentication mode and password and adds authentication information to Level-2 packets to be sent.

The undo domain-authentication-mode command cancels authenticating Level-2 packets and deletes the added authentication information from Level-2 packets.

By default, the system neither encapsulates generated Level-2 packets with authentication information nor authenticates received Level-2 packets.

Format

domain-authentication-mode { simple { plain plain-text | [ cipher ] plain-cipher-text } | md5 { [ cipher ] plain-cipher-text | plain plain-text } } [ ip | osi ] [ snp-packet { authentication-avoid | send-only } | all-send-only ]

domain-authentication-mode keychain keychain-name [ snp-packet { authentication-avoid | send-only } | all-send-only ]

domain-authentication-mode hmac-sha256 key-id key-id { plain plain-text | [ cipher ] plain-cipher-text } [ snp-packet { authentication-avoid | send-only } | all-send-only ]

undo domain-authentication-mode

Parameters

Parameter Description Value
simple Transmits the password in plain text.
NOTICE:

Simple authentication has potential risks. HMAC-SHA256 cipher text authentication is recommended.

-
plain plain-text Specifies the authentication password in plain text. You can enter only the password in plain text. When you view the configuration file, the password is displayed in plain text.
NOTICE:

If plain is selected, the password is saved in the configuration file in plain text. This brings security risks. It is recommended that you select cipher to save the password in cipher text.

The value is a string of case-sensitive characters without spaces. The value contains digits and letters. When the authentication mode is simple, the value is a string of 1 to 16 characters. When the authentication mode is md5 or hmac-sha256, the value is a string of 1 to 255 characters.
cipher plain-cipher-text

Specifies the authentication password in cipher text. You can enter the password in plain or cipher text. When you view the configuration file, the password is displayed in cipher text. By default, the password is in cipher text.

The value is a string of case-sensitive characters without spaces. The value contains digits and letters. When the authentication mode is simple, the value is a string of 1 to 16 characters in plain text or a string of 32 or 48 characters in cipher text. When the authentication mode is md5 or hmac-sha256, the value is a string of 1 to 255 characters in plain text or a string of 20 to 392 characters in cipher text.
md5 Transmits the password that is encrypted using MD5.
NOTICE:

MD5 authentication has potential risks. HMAC-SHA256 cipher text authentication is recommended.

-
keychain keychain-name

Specifies the keychain that changes with time. This parameter takes effect only when keychain-name is set using the keychain command.

If keychain authentication is used, the encryption algorithm must be configured to HMAC-MD5 or HMAC-SHA-256 algorithm.

The value is a string of 1 to 47 case-insensitive characters. Except the question mark (?) and space. However, when double quotation marks (") are used around the string, spaces are allowed in the string.
ip Indicates the IP authentication password. When neither ip nor osi is specified, the default parameter osi is used. -
osi Indicates the OSI authentication password. When neither ip nor osi is specified, the default parameter osi is used. -
snp-packet Authenticates SNPs. -
authentication-avoid Encapsulates generated LSPs but not SNPs with authentication information and authenticates received LSPs but not SNPs. -
send-only Encapsulates generated LSPs and SNPs with authentication information, and authenticates received LSPs but not SNPs. -
all-send-only Encapsulates generated LSPs and SNPs with authentication information, but does not authenticate received LSPs and SNPs. -
hmac-sha256 Encapsulates generated packets with the HMAC-SHA256 authentication and a password encrypted by the HMAC-SHA256 algorithm and authenticates received packets. -
key-id key-id Indicates key ID of the HMAC-SHA256 algorithm. It is an integer ranging from 0 to 65535.

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Generally, the IS-IS packets to be sent are not encapsulated with authentication information, and the received packets are not authenticated. If a user sends malicious packets to attack a network, information on the entire network may be stolen. Therefore, you can configure IS-IS authentication to improve the network security.

The domain authentication password is encapsulated into Level-2 IS-IS packets. Only the packets that pass the domain authentication can be accepted. Therefore, you can configure IS-IS domain authentication to authenticate Level-2 area.

Precautions

This command is valid in all the topologies in the specified IS-IS process and is only valid for Level-2 or Level-1-2 routers.

By using this command, you can discard all the Level-2 packets whose domain authentication password does not contain the one set through this command. At the same time, IS-IS adds the configured domain authentication password in all the Level-2 packets carrying routing information sent from the local node.

The authentication takes effect on the interface with the password. The port without the password can still receive the LSP and SNP with password.

Example

# Set the domain authentication mode to HMAC-SHA256, authentication password to admin@huawei ,and key id to 33 to authenticate Level-2 packets.

<Huawei> system-view
[Huawei] isis 1
[Huawei-isis-1] domain-authentication-mode hmac-sha256 key-id 33 cipher admin@huawei 

filter-policy export (IS-IS)

Function

The filter-policy export command configures a filtering policy to allow IS-IS to filter the imported routes to be advertised.

The undo filter-policy export command cancels the filtering function.

By default, IS-IS does not filter the imported routes to be advertised.

Format

filter-policy { acl-number | acl-name acl-name | ip-prefix ip-prefix-name | route-policy route-policy-name } export [ protocol [ process-id ] ]

undo filter-policy [ acl-number | acl-name acl-name | ip-prefix ip-prefix-name | route-policy route-policy-name ] export [ protocol [ process-id ] ]

Parameters

Parameter Description Value
acl-number Specifies the number of a basic ACL. The value is an integer that ranges from 2000 to 2999.
acl-name acl-name Specifies the name of a named ACL. The value is a string of 1 to 32 case-sensitive characters without spaces. The value must start with a letter (a to z or A to Z, case sensitive).
ip-prefix ip-prefix-name Specifies the name of an IP prefix-list. The name is a string of 1 to 169 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.
route-policy route-policy-name Specifies the name of a route-policy to filter routes based on tag and other protocol parameters. The name is a string of 1 to 40 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.
protocol Specifies the imported routes that need to be filtered when the routes are advertised. If this parameter is not specified, all the imported routes to be advertised are filtered. The value can be direct, static, rip, bgp, unr, ospf, or another isis process.
process-id Specifies the process ID if protocol is rip, ospf, or another isis process. The value is an integer that ranges from 1 to 65535.

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When IS-IS and other routing protocols are running on the network, and a boundary router in the IS-IS routing domain has imported routes of other routing protocols, the boundary router will advertise all the imported routes to its IS-IS neighbors by default. To advertise some of the imported routes to neighbors, use the filter-policy export command.

Precautions

Running the filter-policy export command does not affect the routes on the local device, but only advertises specific imported routes to IS-IS neighbors.

For a named ACL, when the rule command is used to configure a filtering rule, the filtering rule is effective only with the source address range that is specified by the source parameter and with the time period that is specified by the time-range parameter.

Example

# Configure IS-IS to filter the imported routes using ACL 2000 before advertising the routes to other industrial switch routers.

<Huawei> system-view
[Huawei] isis
[Huawei-isis-1] filter-policy 2000 export

filter-policy import (IS-IS)

Function

The filter-policy import command configures a filtering policy to allow IS-IS to filter the received routes to be added to the IP routing table.

The undo filter-policy import command cancels the filtering function.

By default, IS-IS does not filter the received routes to be added to the IP routing table.

Format

filter-policy { acl-number | acl-name acl-name | ip-prefix ip-prefix-name | route-policy route-policy-name } import

undo filter-policy [ acl-number | acl-name acl-name | ip-prefix ip-prefix-name | route-policy route-policy-name ] import

Parameters

Parameter Description Value
acl-number Specifies the number of a basic ACL. The value is an integer that ranges from 2000 to 2999.
acl-name acl-name Specifies the name of a named ACL. The value is a string of 1 to 32 case-sensitive characters without spaces. The value must start with a letter (a to z or A to Z, case sensitive).
ip-prefix ip-prefix-name Specifies the name of an IP prefix list. The name is a string of 1 to 169 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.
route-policy route-policy-name Specifies the name of a route-policy to filter routes based on tag and other protocol parameters. The name is a string of 1 to 40 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

IS-IS routing entries need to be added to an IP routing table to guide IP packet forwarding. If an IS-IS routing table has routes destined for a specific network segment, but these routes are not expected to be added to an IP routing table, run the filter-policy import command with specified parameters to allow only the needed IS-IS routes to be added to the IP routing table.

Precautions

Running the filter-policy import command on a router does not affect LSP flooding and LSDB synchronization on the router, but affects the local IP routing table.

For a named ACL, when the rule command is used to configure a filtering rule, the filtering rule is effective only with the source address range that is specified by the source parameter and with the time period that is specified by the time-range parameter.

Example

# Configure IS-IS to filter the received routes using ACL 2000 and add the routes matching the filtering conditions to the IP routing table.

<Huawei> system-view
[Huawei] isis
[Huawei-isis-1] filter-policy 2000 import

flash-flood

Function

The flash-flood command enables LSP fast flooding to speed up IS-IS network convergence.

The undo flash-flood command disables LSP fast flooding.

By default, LSP fast flooding is disabled.

Format

flash-flood [ lsp-count | max-timer-interval interval | [ level-1 | level-2 ] ] *

undo flash-flood [ lsp-count | max-timer-interval interval | [ level-1 | level-2 ] ] *

Parameters

Parameter Description Value
lsp-count Specifies the maximum number of LSPs to be flooded at a time on an interface. The value is an integer that ranges from 1 to 15. The default value is 5.
max-timer-interval interval Specifies the maximum interval for LSP flooding. The value is an integer that ranges from 10 to 50000, in milliseconds. The default value is 10 ms.
level-1 Enables LSP fast flooding in Level-1. If no level is specified, by default, LSP fast flooding is enabled in both Level-1 and Level-2. -
level-2 Enables LSP fast flooding in Level-2. If no level is specified, by default, LSP fast flooding is enabled in both Level-1 and Level-2. -

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

In most cases, when an IS-IS router receives new LSPs from other routers, it updates the LSPs in its LSDB and periodically floods the updated LSPs according to a timer.

LSP fast flooding speeds up LSDB synchronization because it allows a device to flood fewer LSPs than the specified number before route calculation when the device receives one or more new LSPs. This mechanism also speeds up network convergence.

Precautions

You can specify the number of LSPs to be flooded each time. The number is valid for all IS-IS interfaces. If the number of LSPs to be flooded is greater than the specified value, the lsp-count number of the LSPs are sent. If the timer is configured and does not time out before route calculation, LSPs are flooded immediately; otherwise, LSPs are flooded when the timer times out.

Example

# Enable LSP fast flooding, configure each interface to send a maximum of six LSPs at a time, and set the maximum interval for sending LSPs to 100 ms.

<Huawei> system-view
[Huawei] isis 1
[Huawei-isis-1] flash-flood 6 max-timer-interval 100

frr-policy route

Function

The frr-policy route command configures a filtering policy to allow IS-IS to filter the IS-IS backup routes to be added in the IP routing table.

The undo frr-policy route command cancels the filtering function.

By default, IS-IS does not filter the IS-IS backup routes to be added in the IP routing table.

Format

frr-policy route route-policy route-policy-name

undo frr-policy route

Parameters

Parameter Description Value
route-policy route-policy-name Specifies the name of a route-policy to filter IS-IS backup routes. The name is a string of 1 to 40 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

Views

IS-IS FRR view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The filtering policy can be configured as required. In this case, the IS-IS backup route that satisfies specified rules can be added to the IP routing table and delivered to the forwarding table. When a fault occurs on the route, the system can fast switch the forwarded traffic to the IS-IS backup route to protect traffic.

You can use IP prefix lists or ACLs to filter IS-IS backup routes.

Precautions

If you run the frr-policy route command multiple times, only the latest configuration takes effect.

Example

# Configure IS-IS to filter IS-IS backup routes using named ACL abc and add the routes matching the ACL to the IP routing table.

<Huawei> system-view
[Huawei] isis
[Huawei-isis-1] frr
[Huawei-isis-1-frr] frr-policy route route-policy abc

graceful-restart (IS-IS)

Function

The graceful-restart command enables the graceful restart (GR) function for an IS-IS process.

The undo graceful-restart command disables the GR function for an IS-IS process.

By default, the GR function is disabled for an IS-IS process.

Format

graceful-restart

undo graceful-restart

Parameters

None

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When an IS-IS process on a device is restarted, neighbors delete neighbor relationships with the device and delete LSPs from the device. As a result, routes of neighbors are calculated incorrectly and packets are lost. Consequently, the network is temporarily interrupted.

After the graceful-restart command is run, the GR function is enabled. The device notifies its restart status to neighbors and permits neighbors to maintain neighbor relationships so that traffic forwarding is not interrupted.

Configuration Impact

If IS-IS GR is enabled on a router, the holdtimes of this router's neighbors are automatically changed to 60s if they are smaller than 60s, and the holdtimes of this router's neighbors are kept unchanged if they are equal to or greater than 60s. If a router is faulty in non-GR scenarios, its neighbors need to take 60 seconds to detect the fault. A large number of packets may be discarded within the 60 seconds.

To resolve this problem, run the graceful-restart no-impact-holdtime command to configure the holdtimes of the neighbors to remain unchanged after IS-IS GR is enabled.

Example

# Enable the GR function for IS-IS process 1.

<Huawei> system-view
[Huawei] isis 1
[Huawei-isis-1] graceful-restart

graceful-restart no-impact-holdtime

Function

The graceful-restart no-impact-holdtime command configures the holdtime of an IS-IS neighbor to remain unchanged after IS-IS GR is enabled.

The undo graceful-restart no-impact-holdtime command cancels the configuration.

By default, after IS-IS GR is enabled, the holdtime of an IS-IS neighbor is automatically changed to 60s if it is smaller than 60s, and the holdtime of an IS-IS neighbor is kept unchanged if it is equal to or greater than 60s.

Format

graceful-restart no-impact-holdtime

undo graceful-restart no-impact-holdtime

Parameters

None

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If IS-IS GR is enabled on a router, the holdtimes of this router's neighbors are automatically changed to 60s if they are smaller than 60s, and the holdtimes of this router's neighbors are kept unchanged if they are equal to or greater than 60s. If a router is faulty in non-GR scenarios, its neighbors need to take 60 seconds to detect the fault. A large number of packets may be discarded within the 60 seconds.

To resolve this problem, run the graceful-restart no-impact-holdtime command to configure the holdtimes of the neighbors to remain unchanged after IS-IS GR is enabled. After you run this command, the router can still fast detect neighbor status, implementing rapid network convergence.

Prerequisites

You have run the graceful-restart (IS-IS) command in the IS-IS view.

Example

# Configure the holdtime of an IS-IS neighbor to remain unchanged after IS-IS GR is enabled.

<Huawei> system-view
[Huawei] isis 1
[Huawei-isis-1] graceful-restart
[Huawei-isis-1] graceful-restart no-impact-holdtime

graceful-restart interval

Function

The graceful-restart interval command sets the GR T3 timer.

The undo graceful-restart interval command restores the default T3 timer.

By default, the GR T3 timer is 300 seconds.

Format

graceful-restart interval interval-value

undo graceful-restart interval

Parameters

Parameter Description Value
interval-value Specifies the GR T3 timer. The value is an integer that ranges from 30 to 1800, in seconds.

Setting a value greater than that of the GR T2 timer specified using the graceful-restart t2-interval command is recommended. If the value is smaller than that of the GR T2 timer, the GR may fail.

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

IS-IS GR can be classified into restarting GR and starting GR based on the restart type. The restarting GR is triggered by a master/slave main control board switchover or an IS-IS process restart, while the starting GR is triggered by a restart of the IS-IS-enabled router.

During a restarting GR, the restarter restarts the protocol and starts the T1, T2, and T3 timers at the same time. The value of the T1 timer indicates the longest time during which the GR restarter waits for the LSP from the GR helper. The value of the T2 timer indicates the longest time during which the system waits for the LSDB synchronization. The value of the T3 timer indicates the longest time that a GR lasts. A router disables the T3 timer after the LSDB synchronization ends in all areas. If LSDBs are not synchronized yet when the T3 timer expires, the GR fails.

You can run the graceful-restart interval command to adjust the value of the T3 timer so that the LSDB synchronization can end before the T3 timer expires, which prevents the GR failure.

Prerequisites

The GR of the IS-IS process has been enabled using the graceful-restart command.

Configuration Impact

If the graceful-restart interval command is run on an IS-IS-enabled router, interval-value is used as the holdtime of its neighbor during the GR.

Precautions

The graceful-restart interval command is applicable only to restarting GRs.

Example

# Set the GR interval for IS-IS process 1 to 120 seconds (2 minutes).

<Huawei> system-view
[Huawei] isis 1
[Huawei-isis-1] graceful-restart
[Huawei-isis-1] graceful-restart interval 120

graceful-restart suppress-sa

Function

The graceful-restart suppress-sa command suppresses the suppress-advertisement (SA) bit of the restart TLV.

The undo graceful-restart suppress-sa command restores the default setting.

By default, the SA bit of the restart TLV is not suppressed.

Format

graceful-restart suppress-sa

undo graceful-restart suppress-sa

Parameters

None

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The industrial switch router that starts for the first time (not including GR) does not maintain the forwarding status. If the industrial switch router does not start for the first time, the LSPs generated when the industrial switch router run last time may exist in the LSP database of other industrial switch routers in the network.

The sequence number of the LSP fragment is reinitialized when the industrial switch router starts, so the LSPs stored in the LSP database of other industrial switch routers seem to be newer than the LSPs generated after the industrial switch router starts. This leads to the black hole in the network, and the black hole lasts until the industrial switch router regenerates its LSPs and advertises the LSPs with the highest sequence number.

If the neighbor suppresses the advertisement of the adjacency relationship to this industrial switch router during the industrial switch router starting until the industrial switch router advertises the updated LSPs, the preceding case can be avoided.

Prerequisites

GR has been enabled for the IS-IS process using the graceful-restart command.

Example

# Suppress the SA bit in the restart TLV of IS-IS process 1.

<Huawei> system-view
[Huawei] isis 1
[Huawei-isis-1] graceful-restart
[Huawei-isis-1] graceful-restart suppress-sa

graceful-restart t2-interval

Function

The graceful-restart t2-interval command configures a value for the T2 timer during an IS-IS GR.

The undo graceful-restart t2-interval command restores the default value of the T2 timer.

By default, the GR T2 timer is 60 seconds.

Format

graceful-restart t2-interval interval-value

undo graceful-restart t2-interval

Parameters

Parameter Description Value
interval-value

Specifies the value of the T2 timer during the IS-IS GR.

The value is an integer that ranges from 30 to 1800, in seconds.

Setting a value smaller than that of the GR T3 timer specified using the graceful-restart interval command is recommended.

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

IS-IS GR can be classified into restarting GR and starting GR based on the restart type. The restarting GR is triggered by a master/slave main control board switchover or an IS-IS process restart, while the starting GR is triggered by a restart of the IS-IS-enabled router.

A GR restarter starts the T1 and T2 timers during all GRs. The value of the T1 timer indicates the longest time during which the GR restarter waits for the LSP from the GR helper. The value of the T2 timer indicates the longest time during which the system waits for the LSDB synchronization. The T2 timer is disabled after the LSDB synchronization among Level-1 or Level-2 routers ends. If LSDBs are not synchronized yet when the T2 timer expires, the GR fails.

You can run the graceful-restart t2-interval command to adjust the value of the T2 timer so that the LSDB synchronization can end before the T2 timer expires, which prevents the GR failure.

Prerequisites

The GR of the IS-IS process has been enabled using the graceful-restart command.

Precautions

If the value of the T2 timer is too small, a GR may fail. Keeping the default value is recommended. If you want to adjust it, configure a value to meet the conditions on the live network.

Example

# Set the GR T2 timer of IS-IS process 1 to 120 seconds (2 minutes).

<Huawei> system-view
[Huawei] isis 1
[Huawei-isis-1] graceful-restart
[Huawei-isis-1] graceful-restart t2-interval 120

import-route (IS-IS)

Function

The import-route command configures IS-IS to import routes from other routing protocols.

The undo import-route command restores the default setting.

By default, IS-IS does not import routes from other routing protocols.

Format

import-route { { rip | isis | ospf } [ process-id ] | static | direct | unr | bgp [ permit-ibgp ] } [ cost-type { external | internal } | cost cost | tag tag | route-policy route-policy-name | [ level-1 | level-2 | level-1-2 ] ] *

import-route { { rip | isis | ospf } [ process-id ] | direct | unr | bgp [ permit-ibgp ] } inherit-cost [ tag tag | route-policy route-policy-name | [ level-1 | level-2 | level-1-2 ] ] *

import-route limit limit-number [ threshold-alarm upper-limit upper-limit-value lower-limit lower-limit-value ] { level-1 | level-2 | level-1-2 }

undo import-route { { rip | isis | ospf } [ process-id ] | static | direct | unr | bgp [ permit-ibgp ] } [ cost-type { external | internal } | cost cost | tag tag | route-policy route-policy-name | [ level-1 | level-2 | level-1-2 ] ] *

undo import-route { { rip | isis | ospf } [ process-id ] | direct | unr | bgp [ permit-ibgp ] } inherit-cost [ tag tag | route-policy route-policy-name | [ level-1 | level-2 | level-1-2 ] ] *

undo import-route limit [ limit-number ] [ threshold-alarm upper-limit upper-limit-value lower-limit lower-limit-value ] { level-1 | level-2 | level-1-2 }

Parameters

Parameter Description Value
rip Indicates that the routing protocol from which routes are imported is RIP. -
isis Indicates that the routing protocol from which routes are imported is IS-IS. -
ospf Indicates that the routing protocol from which routes are imported is OSPF. -
process-id Specifies a process ID. When protocol is rip, ospf, or isis, a process ID needs to be specified. The default process ID is 1. The value is an integer that ranges from 1 to 65535.
static Indicates that the imported routes are active static routes. -
direct Indicates that the imported routes are direct routes. -
unr

Specifies the imported source routing protocol as unr.

User Network Route (UNR) is allocated if dynamic routing protocols cannot be used when users are getting online.

-
bgp Indicates that the routing protocol from which routes are imported is BGP.
NOTE:

IS-IS can only import EBGP routes but not IBGP routes.

-
permit-ibgp

Specifies the imported source route as an IBGP route. If you do not configure this parameter, only the EBGP routes are imported.

-
cost-type { external | internal }
Specifies the cost type of imported routes. The default cost type is external. The configuration of this parameter affects the cost value of imported routes:
  • If the cost type of an imported route is set to external, the new route cost value equals the imported route cost value (the default cost value is 0) plus 64.
  • If the cost type of an imported route is set to internal, the new route cost value equals the imported route cost value (the default cost value is 0).
NOTE:

If the cost style of the industrial switch router is wide, compatible, or wide-compatible, the cost types of imported routes are not differentiated between external and internal.

-
cost cost Specifies the cost value of imported routes. If the cost style of the industrial switch router is wide or wide-compatible, the cost value of imported routes ranges from 0 to 4261412864. Otherwise, the value ranges from 0 to 63. The default value is 0.
tag tag Specifies the administrative tag of imported routes. The value is an integer that ranges from 1 to 4294967295.
route-policy route-policy-name Specifies the name of a route-policy. The name is a string of 1 to 40 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.
level-1 Indicates that routes are imported into Level-1 routing tables. If no level is specified, routes are imported to Level-2 routing tables by default. -
level-2 Indicates that routes are imported into Level-2 routing tables. If no level is specified, routes are imported to Level-2 routing tables by default. -
level-1-2 Indicates that routes are imported into Level-1 and Level-2 routing tables. If no level is specified, routes are imported to Level-2 routing tables by default. -
inherit-cost Indicates that the original cost value of imported external routes is retained. When IS-IS is configured to retain the original cost value of imported routes, the cost style and cost value cannot be set for the imported routes. -
limit limit-number Specifies the maximum number of external routes allowed to be imported to the IS-IS area. The value is an integer ranging from 1 to 10000000.
threshold-alarm Specifies the alarm threshold for imported routes. -
upper-limit upper-limit-value Specifies the upper alarm threshold for imported routes. The value is an integer ranging from 1 to 100. The default value is 80.
lower-limit lower-limit-value Specifies the lower alarm threshold for imported routes. The value is an integer ranging from 1 to 100. The default value is 70.

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When IS-IS and other routing protocols are deployed on a network, you can enable the traffic within an IS-IS routing domain to reach a destination outside the IS-IS routing domain using either of the following methods:
  • Configure boundary devices in the IS-IS routing domain to advertise default routes to the IS-IS routing domain.

  • Configure boundary devices in the IS-IS routing domain to import routes from other routing domains into the IS-IS routing domain.

If there are multiple boundary devices in the IS-IS routing domain, optimal routes destined for another routing domain need to be selected. This requires all devices in the IS-IS routing domain learn all or some external routes. Configure boundary devices in the IS-IS routing domain to import routes from other routing domains into the IS-IS routing domain. Alternatively, run the route-policy route-policy-name command to import some external routes from other routing domains.

Precautions

When the routes of the other protocols are imported, you can set the cost value and cost style for the imported route. You can also configure IS-IS to retain the original cost value of the imported external route. During route advertisement and route calculation, the original cost values of these routes are used. In this case, the cost style and cost value of the imported routes cannot be set, and static routes cannot be imported.

After the import-route direct command is executed, routes to the network segment where the IP address of the management interface belongs are also imported in the ISIS routing table. Therefore, use this command with caution.

Example

# Configure IS-IS to import static routes and set the cost value of the routes to 15.

<Huawei> system-view
[Huawei] isis
[Huawei-isis-1] import-route static cost 15

# Configure IS-IS to import OSPF routes and retain the original cost value of the routes.

<Huawei> system-view
[Huawei] isis
[Huawei-isis-1] import-route ospf inherit-cost

import-route isis level-1 into level-2

Function

The import-route isis level-1 into level-2 command configures route leaking from Level-1 areas to Level-2 areas.

The undo import-route isis level-1 into level-2 command prohibits route leaking from Level-1 areas to Level-2 areas.

By default, all Level-1 routing information, excluding information about default routes, is leaked to Level-2 areas.

Format

import-route isis level-1 into level-2 [ filter-policy { acl-number | acl-name acl-name | ip-prefix ip-prefix-name | route-policy route-policy-name } | tag tag | direct allow-filter-policy ] *

undo import-route isis level-1 into level-2 [ filter-policy { acl-number | acl-name acl-name | ip-prefix ip-prefix-name | route-policy route-policy-name } | tag tag | direct allow-filter-policy ] *

Parameters

Parameter Description Value
filter-policy Specifies a filtering policy. -
acl-number Specifies the number of a basic ACL. The value is an integer that ranges from 2000 to 2999.
acl-name acl-name Specifies the name of a named ACL. The value is a string of 1 to 32 case-sensitive characters without spaces. The value must start with a letter (a to z or A to Z, case sensitive).
ip-prefix ip-prefix-name Specifies the name of an IP prefix list. Only the routes that match the IP prefix can be leaked to Level-2 areas. The name is a string of 1 to 169 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.
route-policy route-policy-name Specifies the name of a route-policy. The name is a string of 1 to 40 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.
tag tag Specifies the administrative tag value of imported routes. The value is an integer that ranges from 1 to 4294967295.
direct allow-filter-policy

Specifies the filtering policy to filter the direct routes. Only the IS-IS Level-1 area direct routing information that matches the filtering policy can be shared with the Level-2 area with this parameter, and all Level-1 area direct routing information will be shared with the Level-2 area without this parameter.

-

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

IS-IS is designed for a hierarchical network. This means that routes of Level-1 areas are leaked to Level-2 areas, whereas routes of Level-2 areas are not leaked to Level-1 areas.

The import-route isis level-1 into level-2 command can be run only on Level-1-2 routers to allow some or no Level-1 routes to be leaked to Level-2 areas. For example, there are two Level-1-2 routers in a Level-1 area. You can run the import-route isis level-1 into level-2 command on one Level-1-2 router to allow some Level-1 routes to be leaked to the Level-2 area, and run the import-route isis level-1 into level-2 command on the other Level-1-2 router to allow the remaining Level-1 routes to be leaked to the Level-2 area. Then, traffic that is sent from the Level-2 area and destined for different network segments in Level-1 area will be forwarded to different Level-1-2 routers. This allows route selection to be controlled.

Precautions

For a named ACL, when the rule command is used to configure a filtering rule, the filtering rule is effective only with the source address range that is specified by the source parameter and with the time period that is specified by the time-range parameter.

Example

# Control route leaking from Level-1 areas to Level-2 areas on Level-1-2 routers using filtering policy 2000.

<Huawei> system-view
[Huawei] isis 1
[Huawei-isis-1] import-route isis level-1 into level-2 filter-policy 2000

import-route isis level-2 into level-1

Function

The import-route isis level-2 into level-1 command configures route leaking from Level-2 areas to Level-1 areas.

The undo import-route isis level-2 into level-1 command prohibits route leaking from Level-2 areas to Level-1 areas.

By default, Level-2 routing information is not leaked to Level-1 areas.

Format

import-route isis level-2 into level-1 [ filter-policy { acl-number | acl-name acl-name | ip-prefix ip-prefix-name | route-policy route-policy-name } | tag tag | direct { allow-filter-policy | allow-up-down-bit } * ] *

undo import-route isis level-2 into level-1 [ filter-policy { acl-number | acl-name acl-name | ip-prefix ip-prefix-name | route-policy route-policy-name } | tag tag | direct { allow-filter-policy | allow-up-down-bit } * ] *

Parameters

Parameter Description Value
filter-policy Specifies a filtering policy. -
acl-number Specifies the number of a basic ACL. The value is an integer that ranges from 2000 to 2999.
acl-name acl-name Specifies the name of a named ACL. The value is a string of 1 to 32 case-sensitive characters without spaces. The value must start with a letter (a to z or A to Z, case sensitive).
ip-prefix ip-prefix-name Specifies the name of an IP prefix list. Only the routes that match the specified IP prefix can be imported. The name is a string of 1 to 169 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.
route-policy route-policy-name Specifies the name of a route-policy. The name is a string of 1 to 40 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.
tag tag Specifies the administrative tag value of imported routes. The value is an integer that ranges from 1 to 4294967295.
direct allow-filter-policy

Indicates the filtering policy to filter the direct routes. Only the IS-IS Level-1 area direct routing information that matches the filtering policy can leak to the Level-2 area with this parameter, and all Level-1 area direct routing information is available to the Level-2 area without this parameter.

-
direct allow-up-down-bit

Indicates that the Up or Down bit is used during the leak of directs routes.

If direct allow-up-down-bit is specified, the direct routes that have already leaked to the Level-1 area have the lowest priority and cannot leak back.

-

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When multiple Level-1-2 industrial switch routers in a Level-1 area are connected to a Level-2 area, Level-1 industrial switch routers are unable to know the network topology of the Level-2 area, but forward traffic to the nearest Level-1-2 industrial switch router (based on the route with the smallest cost). For Level-2 industrial switch routers, however, this route may not be the optimal one. Therefore, you need to allow some Level-2 routes to be leaked to the Level-1 area to help Level-1 industrial switch routers select the optimal route for forwarding traffic to the Level 2 area.

To solve the preceding problem, IS-IS provides the route leaking function to enable Level-1 devices to choose the best path for traffic forwarding.

The import-route isis level-2 into level-1 command can be run only on Level-1-2 routers to allow all or some Level-2 routes to be leaked to the Level-1 area.

Precautions

For a named ACL, when the rule command is used to configure a filtering rule, the filtering rule is effective only with the source address range that is specified by the source parameter and with the time period that is specified by the time-range parameter.

Example

# Configure IS-IS to perform route leaking from a Level-2 area to a Level-1 area using filtering policy 2000.

<Huawei> system-view
[Huawei] isis 1 
[Huawei-isis-1] import-route isis level-2 into level-1 filter-policy 2000

isis

Function

The isis command starts an IS-IS process and a specified VPN instance, and displays the IS-IS view.

The undo isis command deletes a specified IS-IS process.

By default, no IS-IS instance exists on the network.

Format

isis [ process-id ] [ vpn-instance vpn-instance-name ]

undo isis process-id

Parameters

Parameter Description Value
process-id Specifies an IS-IS process ID. The value is an integer that ranges from 1 to 65535.
vpn-instance vpn-instance-name Specifies the name of a VPN instance. The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To configure other functions and features of the interface, you need to enable IS-IS first. You can enter the IS-IS view after the command is used.

In addition, to ensure that different services are forwarded properly on the network, you can run the isis command to start multiple IS-IS processes on one device to isolate these services.

Precautions

One IS-IS process can be bound to only one VPN instance. Multiple IS-IS interfaces can be bound to one VPN instance.

If a VPN instance is deleted, the IS-IS process bound to the VPN instance is deleted.

When creating an IS-IS process, you need to bind it to a VPN instance. If the IS-IS process is not bound to any VPN instance when it is created, it cannot be bound to any VPN instance later through configuration.

Example

# Bind IS-IS process 2 to VPN instance vpn1.

<Huawei> system-view
[Huawei] isis 2 vpn-instance vpn1

isis authentication-mode

Function

The isis authentication-mode command configures an IS-IS interface to authenticate Hello packets using the specified mode and password.

The undo isis authentication-mode command cancels the authentication and deletes the authentication information in Hello packets.

By default, no authentication information is added to Hello packets and no authentication is performed on received Hello packets.

Format

isis authentication-mode { simple | md5 } { plain plain-text | [ cipher ] plain-cipher-text } [ level-1 | level-2 ] [ ip | osi ] [ send-only ]

isis authentication-mode keychain keychain-name [ level-1 | level-2 ] [ send-only ]

isis authentication-mode hmac-sha256 key-id key-id { plain plain-text | [ cipher ] plain-cipher-text } [ level-1 | level-2 ] [ send-only ]

undo isis authentication-mode [ level-1 | level-2 ]

undo isis authentication-mode keychain keychain-name [ level-1 | level-2 ] [ send-only ]

undo isis authentication-mode { simple { plain plain-text | cipher plain-cipher-text } | md5 { cipher plain-cipher-text | plain plain-text } } [ level-1 | level-2 ] [ ip | osi ] [ send-only ]

undo isis authentication-mode hmac-sha256 key-id key-id { plain plain-text | cipher plain-cipher-text } [ level-1 | level-2 ] [ send-only ]

Parameters

Parameter Description Value
simple Indicates that the password is transmitted in plain text.
NOTICE:

Simple authentication has potential risks. HMAC-SHA256 cipher text authentication is recommended.

-
plain plain-text Indicates that the password is in plain text. Only a plain-text password can be entered. The password in the configuration file is displayed in plain text.
NOTICE:

If plain is selected, the password is saved in the configuration file in plain text. This brings security risks. It is recommended that you select cipher to save the password in cipher text.

The value is a string of case-sensitive characters. It contains letters and digits without spaces. In simple authentication mode, the value is a string of 1 to 16 characters. In md5 or hmac-sha256 authentication mode, the value is a string of 1 to 255 characters.
cipher plain-cipher-text Indicates that the password is in cipher text. A plain-text or cipher-text password can be entered. The password in the configuration file is displayed in cipher text. By default, the password is in cipher text. The value is a string of case-sensitive characters. It contains letters and digits without spaces. In simple authentication mode, the value is a string of 1 to 16 characters in plain text or a string of 32 or 48 characters in cipher text. In md5 or hmac-sha256 authentication mode, the value is a string of 1 to 255 characters in plain text or a string of 20 to 392 characters in cipher text.
md5 Indicates that the password to be transmitted is encrypted using MD5.
NOTICE:

MD5 authentication has potential risks. HMAC-SHA256 cipher text authentication is recommended.

-
level-1 Indicates Level-1 authentication. When the link type of an IS-IS interface is Level-1-2, if level-1 and level-2 are not specified, both Level-1 and Level-2 Hello packets are configured with the authentication mode and password. -
level-2 Indicates Level-2 authentication. When the link type of an IS-IS interface is Level-1-2, if level-1 and level-2 are not specified, both Level-1 and Level-2 Hello packets are configured with the authentication mode and password.
NOTE:

Parameters level-1 and level-2 are only visible on WAN-side Ethernet interfaces and LAN-side VLANIF interfaces. IS-IS must have been enabled on the interfaces first.

-
ip Indicates the IP authentication password. This parameter cannot be configured in keychain authentication mode. If parameters ip and osi are not specified, the parameter osi is used by default. -
osi Indicates the OSI authentication password. This parameter cannot be configured in keychain authentication mode. If parameters ip and osi are not specified, the parameter osi is used by default. -
send-only Encapsulates sent Hello packets with authentication information but does not authenticate received Hello packets. -
keychain keychain-name Indicates that the password is a keychain that changes with time. This parameter takes effect only when keychain-name is set using the keychain command. The value is a string of 1 to 47 case-insensitive characters. Except the question mark (?) and space. However, when double quotation marks (") are used around the string, spaces are allowed in the string.
hmac-sha256 Encapsulates generated packets with the HMAC-SHA256 authentication and a password encrypted by the HMAC-SHA256 algorithm and authenticates received packets. -
key-id key-id Indicates key ID of the HMAC-SHA256 algorithm. It is an integer ranging from 0 to 65535.

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To improve network security, authenticate received packets or encapsulate sent packets with authentication information. Only the packets that pass the authentication can be transmitted on the network.

You can use the isis authentication-mode command to discard the Hello packets whose authentication passwords are different from the authentication password configured using this command. At the same time, IS-IS adds the configured interface authentication password into all the Hello packets sent from the local node.

Prerequisites

IS-IS has been enabled on the interface using the isis enable command.

Precautions

If a broadcast interface is emulated as a P2P interface using the isis circuit-type command and then restored to the broadcast interface using the undo isis circuit-type command, the authentication configuration of the IS-IS area is restored to the default setting.

Example

# Set HMAC-SHA256 authentication password admin@huawei key id 33 on GE0/0/1

<Huawei> system-view
[Huawei] isis
[Huawei-isis-1] network-entity 01.0000.0000.0001.00
[Huawei-isis-1] quit
[Huawei] interface gigabitethernet 0/0/1
[Huawei-GigabitEthernet0/0/1] isis enable 1
[Huawei-GigabitEthernet0/0/1] isis authentication-mode hmac-sha256 key-id  33 cipher admin@huawei

isis bfd

Function

The isis bfd command sets values of BFD session parameters on a specified IS-IS interface.

The undo isis bfd command restores the default values of BFD session parameters on a specified IS-IS interface.

By default, BFD session parameters use default values.

Format

isis bfd { min-rx-interval receive-interval | min-tx-interval transmit-interval | detect-multiplier multiplier-value | frr-binding } *

undo isis bfd { min-rx-interval [ receive-interval ] | min-tx-interval [ transmit-interval ] | detect-multiplier [ multiplier-value ] | frr-binding } *

Parameters

Parameter Description Value
min-rx-interval receive-interval Specifies the minimum interval for receiving BFD packets from the peer end. The value is an integer ranging from 10 to 2000, in milliseconds. The default value is 1000 milliseconds.
min-tx-interval transmit-interval Specifies the minimum interval for transmitting BFD packets to the peer end. The value is an integer ranging from 10 to 2000, in milliseconds. The default value is 1000 milliseconds.
detect-multiplier multiplier-value Specifies the local detection multiplier. The value is an integer that ranges from 3 to 50. The default value is 3.
frr-binding Binds the BFD session status to IS-IS Auto FRR. When BFD detects the link fault on an interface, the BFD session goes Down, triggering FRR on the interface. After that, the traffic is switched from the faulty link to the backup link, which protects the traffic.
NOTE:
The AR502G-L-D-H, AR502GR-L-D-H, AR510&AR530 series do not support this parameter.
-

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

BFD can quickly detect faults on links. Configure proper parameters based on the actual network situation to improve the IS-IS convergence speed when network faults occur. You can use the isis bfd command to change BFD session parameters such as the minimum interval for sending BFD packets, minimum interval for receiving BFD packets, and local detection multiplier.

In an IS-IS process, after IS-IS establishes a BFD session, the value of receive-interval is obtained after the negotiation of the local min-rx-interval value and the remote min-tx-interval value. If no BFD packet is received from the peer end within the specified period (receive-interval x multiplier-value), the neighbor is considered Down.

Negotiation principle: Actual interval for the local device to receive BFD packets = MAX {local min-rx-interval value, remote min-tx-interval value}

Prerequisites

BFD has been enabled globally. In the interface view, IS-IS has been enabled and BFD has been enabled on the interface using the isis bfd enable command.

Precautions

The BFD priority of the interface is higher than that of the process. If BFD of the interface is enabled, the BFD session is set up based on the BFD parameters on the interface.

Example

# Enable BFD on GE0/0/1 and set the minimum receive interval to 600 ms and local detection multiplier to 4.

<Huawei> system-view
[Huawei] isis
[Huawei-isis-1] network-entity 01.0000.0000.0001.00
[Huawei-isis-1] quit
[Huawei] interface gigabitethernet 0/0/1
[Huawei-GigabitEthernet0/0/1] isis enable 1
[Huawei-GigabitEthernet0/0/1] isis bfd enable
[Huawei-GigabitEthernet0/0/1] isis bfd min-rx-interval 600 detect-multiplier 4

isis bfd block

Function

The isis bfd block command prevents an IS-IS interface from dynamically establishing a BFD session.

The undo isis bfd block command restores the default setting.

By default, an interface can dynamically establish a BFD session.

Format

isis bfd block

undo isis bfd block

Parameters

None

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

BFD can provide millisecond-level fault detection, help IS-IS rapidly detect the faults that occur on neighboring devices or links, and instruct IS-IS to recalculate routes for correct packet forwarding. If the network contains unstable links that do not require high reliability and BFD has been enabled, a link cannot transmit data normally when it flaps. You can use the isis bfd block command to prevent specified interfaces from dynamically establishing BFD sessions.

Prerequisites

IS-IS has been enabled on the interface using the isis enable command.

Precautions

If the isis bfd block, isis bfd enable, and isis bfd static commands are executed, only the last command takes effect.

Example

# Prevent GE0/0/1 from dynamically establishing a BFD session.

<Huawei> system-view
[Huawei] isis
[Huawei-isis-1] network-entity 01.0000.0000.0001.00
[Huawei-isis-1] quit
[Huawei] interface gigabitethernet 0/0/1
[Huawei-GigabitEthernet0/0/1] isis enable 1
[Huawei-GigabitEthernet0/0/1] isis bfd block

isis bfd enable

Function

The isis bfd enable command enables BFD on a specified IS-IS interface.

The undo isis bfd enable command disables BFD on a specified IS-IS interface.

By default, BFD is not enabled on an IS-IS interface.

Format

isis bfd enable

undo isis bfd enable

Parameters

None

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

BFD can provide millisecond-level fault detection, help IS-IS to detect the faults that occur on neighboring devices or links more rapidly, and instruct IS-IS to recalculate routes for correct packet forwarding. The isis bfd enable command can be used to enable BFD on a specified IS-IS interface and establish BFD sessions by using default parameters.

Prerequisites

IS-IS has been enabled on the interface using the isis enable command.

Precautions

If global BFD is not enabled, you can configure BFD parameters on an interface but cannot establish a BFD session.

The BFD priority of the interface is higher than the BFD priority of the process. If BFD of the interface is enabled, the BFD session is set up based on the BFD parameters on the interface.

If the isis bfd block, isis bfd enable, and isis bfd static commands are run, only the last command takes effect.

Example

# Enable BFD on GE0/0/1.

<Huawei> system-view
[Huawei] isis
[Huawei-isis-1] network-entity 01.0000.0000.0001.00
[Huawei-isis-1] quit
[Huawei] interface gigabitethernet 0/0/1
[Huawei-GigabitEthernet0/0/1] isis enable 1
[Huawei-GigabitEthernet0/0/1] isis bfd enable

isis bfd static

Function

The isis bfd static command enables static BFD on a specified IS-IS interface.

The undo isis bfd static command disables static BFD on a specified IS-IS interface.

By default, static BFD is disabled on an IS-IS interface.

Format

isis bfd static

undo isis bfd static

Parameters

None

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

In static BFD, BFD session parameters are set manually and BFD session establishment requests are delivered manually. Then static BFD can quickly detect faults on links. You can run the isis bfd static command to enable static BFD on a specified interface to establish static BFD sessions on specified links.

Prerequisites

IS-IS has been enabled on the interface using the isis enable command.

Precautions

If the isis bfd block, isis bfd enable, and isis bfd static commands are run, only the last command takes effect.

Example

# Enable static BFD on GE0/0/1.

<Huawei> system-view
[Huawei] isis
[Huawei-isis-1] network-entity 01.0000.0000.0001.00
[Huawei-isis-1] quit
[Huawei] interface gigabitethernet 0/0/1
[Huawei-GigabitEthernet0/0/1] isis enable 1
[Huawei-GigabitEthernet0/0/1] isis bfd static

isis circuit-level

Function

The isis circuit-level command sets the link type of an interface on a Level-1-2 router.

The undo isis circuit-level command restores the default link type of an interface on a Level-1-2 router.

By default, the link type of an interface on a Level-1-2 router is Level-1-2, and both Level-1 and Level-2 neighbor relationships can be established on the interface.

Format

isis circuit-level [ level-1 | level-1-2 | level-2 ]

undo isis circuit-level

Parameters

Parameter Description Value
level-1 Specifies the Level-1 link type. That is, only Level-1 neighbor relationship can be established on the interface. -
level-1-2 Specifies the Level-2 link type. That is, both Level-1 and Level-2 neighbor relationships can be established on the interface. -
level-2 Specifies the Level-2 link type. That is, only Level-2 neighbor relationship can be established on the interface. -

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When an adjacency is established between a Level-1-2 router and a remote device, the Level-1-2 router sends and receives both Level-1 and Level-2 Hello packets, wasting bandwidth and memory resources. To solve this problem, run the isis circuit-level command to set a specified link type for an interface.

Prerequisites

IS-IS has been enabled using the isis enable command in the interface view.

Precautions

Network flapping may occur if the link type of an IS-IS interface is changed during network operation. Therefore, setting a link type for an IS-IS interface on the industrial switch router when configuring IS-IS is recommended.

The configuration of the isis circuit-level command takes effect only when the IS-IS system type is Level-1-2. Otherwise, the level configured using the is-level command is used as the link type.

Example

# If GE0/0/1 is connected to a non-backbone router in the same area, set this interface to Level-1, and prohibit the interface from sending and receiving Level-2 Hello packets.

<Huawei> system-view
[Huawei] isis
[Huawei-isis-1] network-entity 01.0000.0000.0001.00
[Huawei-isis-1] quit
[Huawei] interface gigabitethernet 0/0/1
[Huawei-GigabitEthernet0/0/1] isis enable 1
[Huawei-GigabitEthernet0/0/1] isis circuit-level level-1
Related Topics

isis circuit-type

Function

The isis circuit-type command simulates the network type of an IS-IS broadcast interface to a P2P interface.

The undo isis circuit-type command restores the default network type of an IS-IS interface.

By default, the network type of an interface is determined by the physical type of the interface.

Format

isis circuit-type p2p [ strict-snpa-check ]

undo isis circuit-type

Parameters

Parameter Description Value
p2p Sets the network type of an IS-IS interface to P2P. -
strict-snpa-check Enables IS-IS to check the SNPA address of each received LSP or SNP. -

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The network type of IS-IS interfaces at the ends of the link must be identical. Otherwise, the two interfaces cannot set up the neighbor relationship. In most cases, the network types of interfaces on a broadcast network and a P2P network are Ethernet and P2P respectively.

The isis circuit-type command sets the network type of an interface to simulate a P2P interface so that the network type of IS-IS interfaces at the ends of the link is identical and the neighbor relationship can be established between them.

When an IS-IS neighbor relationship is established between a P2P interface and a simulated P2P interface and the simulated P2P interface has direct neighbors, the P2P interface may receive unneeded packets from these direct neighbors. To prevent the P2P interface from accepting these unneeded packets, specify strict-snpa-check in the isis circuit-type command to enable IS-IS to check the SNPA address of each received LSP or SNP. After the command is run, the P2P interface accepts only the packets whose SNPA addresses are included in the local neighbor address list, which improves network security.

Precautions

For an interface enabled with IS-IS using the isis enable command, when the network type of an interface changes, the corresponding configurations change. Details are as follows:
  • After a broadcast interface is simulated as a P2P interface using the isis circuit-type command, the interval for sending Hello packets, the number of Hello packets that IS-IS does not receive from a neighbor before the neighbor is declared Down, interval for resending LSP packets on a P2P link, and various IS-IS authentication modes are restored to the default settings; other configurations such as the DIS priority, DIS name, and interval for sending CSNP packets on a broadcast network become invalid.

  • After the undo isis circuit-type command is run to restore the network type of an IS-IS interface, the interval for sending Hello packets, the number of Hello packets that IS-IS does not receive from a neighbor before the neighbor is declared Down, interval for resending LSP packets on a P2P link, various IS-IS authentication modes, DIS priority, and interval for sending CSNP packets on a broadcast network are restored to the default settings.

Example

# Set the network type of GE0/0/1 to P2P.

<Huawei> system-view
[Huawei] isis
[Huawei-isis-1] network-entity 01.0000.0000.0001.00
[Huawei-isis-1] quit
[Huawei] interface gigabitethernet 0/0/1
[Huawei-GigabitEthernet0/0/1] isis enable 1
[Huawei-GigabitEthernet0/0/1] isis circuit-type p2p
Related Topics

isis cost

Function

The isis cost command sets the link cost value of an IS-IS interface.

The undo isis cost command restores the default link cost value of an IS-IS interface.

By default, the link cost value of an IS-IS interface is 10.

Format

isis cost { cost | maximum } [ level-1 | level-2 ]

undo isis cost [ cost | maximum ] [ level-1 | level-2 ]

Parameters

Parameter Description Value
cost Specifies the link cost value of an interface. The value is an integer that varies according to the cost style.
  • When the cost style is narrow, narrow-compatible, or compatible, the value ranges from 1 to 63.
  • When the cost style is wide or wide-compatible, the value ranges from 1 to 16777214.
The default value is 10.
maximum Sets the link cost of IS-IS interfaces to 16777215.
NOTE:

You can configure this parameter only when the IS-IS cost style is wide or wide-compatible. After the interface cost is set to 16777215, the neighbor TLV generated on the link can only be used to transmit TE information but cannot be used for route calculation.

-
level-1 Specifies the link cost value of a Level-1 interface. If the interface level is not specified, link cost values of Level-1 and Level-2 interfaces are set. -
level-2 Specifies the link cost value of a Level-2 interface. If the interface level is not specified, link cost values of Level-1 and Level-2 interfaces are set. -

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

On large networks, there may be multiple valid routes to the same destination. IS-IS uses the SPF algorithm to calculate an optimal route and transmits traffic over it, which brings the following problems:
  • All traffic is transmitted over the optimal route, causing load imbalance.

  • If the optimal route is faulty, traffic will get lost.

To solve the preceding problems, run the isis cost command to set a link cost for interfaces so that traffic can be transmitted over different physical links.

Prerequisites

IS-IS has been enabled on the interface using the isis enable command.

Configuration Impact

If the link cost of an interface is changed, routes will be re-calculated on the whole network, causing the changes in traffic forwarding paths.

Precautions

The priority of the circuit-cost command is lower than that of the isis cost command.

Example

# Set the Level-2 link cost of GE0/0/1 to 5.

<Huawei> system-view
[Huawei] isis
[Huawei-isis-1] network-entity 01.0000.0000.0001.00
[Huawei-isis-1] quit
[Huawei] interface gigabitethernet 0/0/1
[Huawei-GigabitEthernet0/0/1] isis enable 1
[Huawei-GigabitEthernet0/0/1] isis cost 5 level-2

isis delay-peer

Function

The isis delay-peer command configures a delay for an interface so that the interface delays establishing neighbor relationships after the neighbor relationship with the last neighbor goes Down due to packet timeout.

The undo isis delay-peer command deletes the configured delay and restores the default configurations.

By default, if the neighbor relationship goes Down due to packet timeout, the interface re-establishes the neighbor relationship after it receives a new Hello packet.

Format

isis delay-peer track last-peer-expired [ delay-time delay-interval ]

undo isis delay-peer [ track last-peer-expired [ delay-time delay-interval ] ]

Parameters

Parameter Description Value
track Tracks the mode of the neighbor relationship establishment delay. -
last-peer-expired Indicates that neighbor relationship establishment is delayed after the neighbor relationship with the last neighbor goes Down due to packet timeout. -
delay-time delay-interval Specifies the neighbor relationship establishment delay. The value is an integer ranging from 1 to 3600, in seconds. The default value is 60 seconds.

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

On IS-IS networks, devices at both ends of a link establish a neighbor relationship by exchanging Hello packets. After the neighbor relationship is established, both devices need to send Hello packets at a specified interval to maintain the neighbor relationship. If an IS-IS device does not receive any Hello packets from the neighbor at the other end within the specified period (Holddown time), the local device considers the neighbor Down and re-establishes the neighbor relationship after it receives a new Hello packet. If links are unstable or some Hello packets are lost or incorrect due to network transmission delay or poor transmission, neighbor relationships may alternate between Up and Down frequently, which causes a route flapping.

To address this issue, run the isis delay-peer command to configure a neighbor relationship establishment delay after the neighbor relationship goes Down.

Pre-configuration Tasks

IS-IS has been enabled using the isis enable command in the interface view.

Precautions

If a new delay-interval is configured and it is less than the remaining time of the ongoing delay, the new delay-interval takes effect immediately; if the new delay-interval is greater than the remaining time of the ongoing delay, the ongoing delay continues until the new delay-interval takes effect at the next delay.

Example

# Set the delay to 100s on GE0/0/1 so that the neighbor relationship establishment is delayed after the neighbor relationship with the last neighbor goes Down due to packet timeout.

<Huawei> system-view
[Huawei] isis
[Huawei-isis-1] network-entity 01.0000.0000.0001.00
[Huawei-isis-1] quit
[Huawei] interface gigabitethernet 0/0/1
[Huawei-GigabitEthernet0/0/1] isis enable 1
[Huawei-GigabitEthernet0/0/1] isis delay-peer track last-peer-expired delay-time 100
Related Topics

isis dis-name

Function

The isis dis-name command configures a host name for the DIS.

The undo isis dis-name command deletes the host name configured for the DIS.

By default, no host name is configured for the DIS.

Format

isis dis-name symbolic-name

undo isis dis-name

Parameters

Parameter Description Value
symbolic-name Specifies a host name for the DIS. The value is a string of 1 to 64 characters without spaces. It is case sensitive.
NOTE:
When double quotation marks are used around the string, spaces are allowed in the string.

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

You can configure the name for the DIS on an interface only after you run the isis enable command to enable IS-IS on the interface. The DIS name is advertised in a pseudo-node LSP. In this manner, the configured DIS name is associated with the system ID of the DIS.

NOTE:

This command takes effect only on the DIS in the broadcast network.

If the isis circuit-type command is run to emulate the interface as a P2P interface, the isis dis-name command becomes invalid on the interface; after the undo isis circuit-type command is run to restore the broadcast interface, the isis dis-name command becomes valid on the interface.

Example

# Configure a host name for the DIS on GE0/0/1.

<Huawei> system-view
[Huawei] isis
[Huawei-isis-1] network-entity 01.0000.0000.0001.00
[Huawei-isis-1] quit
[Huawei] interface gigabitethernet 0/0/1
[Huawei-GigabitEthernet0/0/1] isis enable 1
[Huawei-GigabitEthernet0/0/1] isis dis-name LOCALAREA

isis dis-priority

Function

The isis dis-priority command sets the priority of the IS-IS interface that is a candidate for the DIS at a specified level.

The undo isis dis-priority command restores the default priority.

By default, the DIS priority of broadcast IS-IS interfaces at Level-1 and Level-2 is 64.

Format

isis dis-priority priority [ level-1 | level-2 ]

undo isis dis-priority [ priority ] [ level-1 | level-2 ]

Parameters

Parameter Description Value
priority Specifies the priority for DIS election. The value is an integer that ranges from 0 to 127. The default value is 64. A larger value indicates a higher DIS priority.
level-1 Indicates the DIS priority of interfaces at Level 1. If the level is not specified, the same priority is set for Level-1 and Level-2 interfaces. -
level-2 Indicates the DIS priority of interfaces at Level 2. If the level is not specified, the same priority is set for Level-1 and Level-2 interfaces. -

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

The configuration is useful only for the broadcast network.

The DIS priority is advertised through Hello packets. The industrial switch router with the highest priority is elected as the DIS. In the case of the same priority, the industrial switch router with the largest MAC address is elected as the DIS.

NOTE:

IS-IS has been enabled on the interface using the isis enable command.

If the isis circuit-type command is run to emulate the interface as a P2P interface, the isis dis-priority command becomes invalid on the interface; after the undo isis circuit-type command is run to restore the broadcast interface, the isis dis-priority command becomes valid on the interface.

Example

# Set the Level-2 priority for electing the DIS to 127 on GE0/0/1.

<Huawei> system-view
[Huawei] isis
[Huawei-isis-1] network-entity 01.0000.0000.0001.00
[Huawei-isis-1] quit
[Huawei] interface gigabitethernet 0/0/1
[Huawei-GigabitEthernet0/0/1] isis enable 1
[Huawei-GigabitEthernet0/0/1] isis dis-priority 127 level-2
Related Topics

isis enable

Function

The isis enable command enables IS-IS on an interface and specifies the ID of the IS-IS process to be associated with the interface.

The undo isis enable command disables IS-IS on an interface and cancels the ID of the IS-IS process associated with the interface.

By default, IS-IS is disabled on an interface.

Format

isis enable [ process-id ]

undo isis enable

Parameters

Parameter Description Value
process-id Specifies an IS-IS process ID. The value is an integer that ranges from 1 to 65535. The default value is 1.

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After an IS-IS process is configured in the system view, to make the IS-IS protocol function normally, enable IS-IS on an interface to associate the interface with the IS-IS process.

Prerequisites

An IS-IS process has been enabled using the isis command in the system view.

Precautions

An interface can be associated with only one IS-IS process.

Example

# Create IS-IS process 1 and activate the process on GE0/0/1.

<Huawei> system-view
[Huawei] isis 1
[Huawei-isis-1] network-entity 10.0001.1010.1020.1030.00
[Huawei-isis-1] quit
[Huawei] interface gigabitethernet 0/0/1
[Huawei-GigabitEthernet0/0/1] isis enable 1
Related Topics

isis mesh-group

Function

The isis mesh-group command adds an IS-IS interface to a specified mesh group.

The undo isis mesh-group command deletes an IS-IS interface from a specified mesh group.

By default, an IS-IS interface does not belong to any mesh group and floods LSPs normally.

Format

isis mesh-group { mesh-group-number | mesh-blocked }

undo isis mesh-group

Parameters

Parameter Description Value
mesh-group-number Specifies the mesh group number. The value is an integer that ranges from 1 to 4294967295.
mesh-blocked Blocks an interface to prevent it from flooding received LSPs to other interfaces. -

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When receiving LSPs, the interface, not in the mesh group, floods the LSPs to other interfaces following the normal procedure. For the NBMA network that is with higher connectivity and several P2P links, this process causes repeated LSP flooding and wastes bandwidth.

After receiving LSPs, the interface that joins a mesh group only floods the LSPs to the interfaces that are not in the local mesh group.

Prerequisites

IS-IS has been enabled on the interface using the isis enable command.

Precautions

When adding interfaces to mesh groups or blocking interfaces, keep certain interfaces from being configured with the isis mesh-group command. This can prevent link faults from affecting the normal spreading of LSPs.

Example

# Add GE0/0/1 to mesh group 3.

<Huawei> system-view
[Huawei] isis
[Huawei-isis-1] network-entity 01.0000.0000.0001.00
[Huawei-isis-1] quit
[Huawei] interface gigabitethernet 0/0/1
[Huawei-GigabitEthernet0/0/1] isis enable 1
[Huawei-GigabitEthernet0/0/1] isis mesh-group 3

isis padding-hello

Function

The isis padding-hello command configures an IS-IS interface to send Hello packets with the padding field.

The undo isis padding-hello command restores the default setting.

By default, an IS-IS interface is not configured to send Hello packets with the padding field.

Format

isis padding-hello

undo isis padding-hello

Parameters

None

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

The isis padding-hello and isis small-hello commands are mutually exclusive and cannot be configured on the same interface simultaneously.

If an interface that is not configured with the two commands, it sends Hello packets based on the following rules:

  • For a P2P interface

    • Before the P2P neighbor relationship is established, the P2P interface sends Hello packets with the padding field.

    • After the P2P neighbor relationship is established, the P2P interface sends Hello packets without the padding field.

    NOTE:

    For a P2P interface, the length of padding field is equal to the length of LSP packets orignate by local IS.

  • For a broadcast interface

    It sends Hello packets with the padding field.

    NOTE:

    For a broadcast interface, the length of padding field is equal to the length of MTU.

IS-IS has been enabled on the interface using the isis enable command.

Example

# Configure GE0/0/1 to send Hello packets with the padding field.

<Huawei> system-view
[Huawei] isis
[Huawei-isis-1] network-entity 01.0000.0000.0001.00
[Huawei-isis-1] quit
[Huawei] interface gigabitethernet 0/0/1
[Huawei-GigabitEthernet0/0/1] isis enable 1
[Huawei-GigabitEthernet0/0/1] isis padding-hello
Related Topics

isis peer-ip-ignore

Function

The isis peer-ip-ignore command configures IS-IS not to check the IP address of Hello packets received by an interface.

The undo isis peer-ip-ignore command restores the default setting.

By default, IS-IS checks the IP address of received Hello packets.

Format

isis peer-ip-ignore

undo isis peer-ip-ignore

Parameters

None

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

By default, IS-IS checks the IP address carried in the Hello packet. The neighbor relationship can be set up only when the local interface address and the interface address carried in the received packets belong to the same network segment. When the two interface IP addresses are not in the same network segment, if the isis peer-ip-ignore command is used, the check on the peer IP address is ignored, and the two IS-IS interfaces can set up normal neighbor relationship. Routes of this two network segments exist in the routing table, but cannot ping through each other.

Precautions

This command is valid for P2P interfaces, NBMA interfaces and the interface with the network type configured to P2P by using the isis circuit-type p2p command. The command takes effect only when the command is used on the two ends of the link.

NOTE:
  • For the broadcast interface, you can run the isis peer-ip-ignore command only after you run the isis circuit-type p2p command. The isis circuit-type p2p command is valid only for the broadcast interface.

  • For the P2P and NBMA interfaces, you can run the isis isis peer-ip-ignore command without running the isis circuit-type p2p command.

Example

# Configure GE0/0/1 not to check the IP address of the Hello packets sent by the peer.

<Huawei> system-view
[Huawei] isis
[Huawei-isis-1] network-entity 01.0000.0000.0001.00
[Huawei-isis-1] quit
[Huawei] interface gigabitethernet 0/0/1
[Huawei-GigabitEthernet0/0/1] isis enable 1
[Huawei-GigabitEthernet0/0/1] isis circuit-type p2p
[Huawei-GigabitEthernet0/0/1] isis peer-ip-ignore
Related Topics

isis ppp-negotiation

Function

The isis ppp-negotiation command specifies the PPP negotiation mode for establishing neighbor relationships.

The undo isis ppp-negotiation command restores the default negotiation mode.

By default, the 3-way handshake mode is used.

Format

isis ppp-negotiation { 2-way | 3-way [ only ] }

undo isis ppp-negotiation

Parameters

Parameter Description Value
2-way Establishes the neighbor relationship using the 2-way handshake negotiation mode. -
3-way Establishes the neighbor relationship using the 3-way handshake negotiation mode. -
only Establishes the neighbor relationship using the 3-way handshake negotiation mode that is not backward compatible. -

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

The 3-way handshake negotiation mode is backward compatible. If the neighbor only supports 2-way handshake, use the the 2-way handshake negotiation mode to establish a neighbor relationship.

The command is applicable only for P2P interfaces. It can be used on the broadcast interfaces only after the circuit type is set to P2P.

Example

# Establish the neighbor relationship on GE0/0/1 using the 2-way handshake negotiation mode.

<Huawei> system-view
[Huawei] isis
[Huawei-isis-1] network-entity 01.0000.0000.0001.00
[Huawei-isis-1] quit
[Huawei] interface gigabitethernet 0/0/1
[Huawei-GigabitEthernet0/0/1] isis enable 1
[Huawei-GigabitEthernet0/0/1] isis circuit-type p2p
[Huawei-GigabitEthernet0/0/1] isis ppp-negotiation 2-way
Related Topics

isis ppp-osicp-check

Function

The isis ppp-osicp-check command enables OSICP negotiation check on a PPP interface. The negotiation status can affect IS-IS interface status.

The undo isis ppp-osicp-check command restores the default setting.

By default, IS-IS does not check OSICP status of PPP.

Format

isis ppp-osicp-check

undo isis ppp-osicp-check

Parameters

None

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After this command is configured, OSI network negotiation status of PPP can affect IS-IS interface status. When PPP senses that the OSI network fails, the link status of the IS-IS interface turns Down and the route to the network segment where the interface resides is not advertised through LSP.

Precautions

This command applies to only PPP interfaces. For other point-to-point interfaces, this command is invalid.

Example

# Configure Serial1/0/0 to check OSICP status of PPP.

<Huawei> system-view
[Huawei] isis
[Huawei-isis-1] network-entity 01.0000.0000.0001.00
[Huawei-isis-1] quit
[Huawei] interface serial 1/0/0
[Huawei-Serial1/0/0] isis enable 1
[Huawei-Serial1/0/0] isis ppp-osicp-check

isis purge-lsp auto-protect disable

Function

The isis purge-lsp auto-protect disable command disables IS-IS purge LSPs from triggering master/slave main control board switchovers.

The undo isis purge-lsp auto-protect disable command restores the default configuration.

By default, IS-IS purge LSPs trigger master/slave main control board switchovers.

Format

isis purge-lsp auto-protect disable

undo isis purge-lsp auto-protect disable

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

When an IS-IS process on a device proactively sends a purge LSP, the device deletes the corresponding LSP and floods it to the network. In most cases, before the device sends a purge LSP, the end that generated the corresponding LSP sends an updated LSP. If the clock on the device runs fast, the device frequently floods purge LSPs to devices on the entire network, causing network flapping. If the device generates more than five purge LSPs for 80% or more non-pseudonode LSPs with a non-zero fragment number in the local LSDB within 6500s, a master/slave main control board switchover is performed if the device has two main control boards, or the device is restarted if it has only one main control board. The switchover or restart prevents network flapping.

By default, IS-IS purge LSPs trigger master/slave main control board switchovers. To disable IS-IS purge LSPs from triggering master/slave main control board switchovers, run the isis purge-lsp auto-protect disable command.

Example

# Disable IS-IS purge LSPs from triggering master/slave main control board switchovers.

<Huawei> system-view
[Huawei] isis purge-lsp auto-protect disable

isis silent

Function

The isis silent command configures an IS-IS interface as a silent interface. That is, the interface is suppressed from sending and receiving IS-IS packets, but routes of the network segment on which the interface resides can be advertised.

The undo isis silent command restores the default setting.

By default, no IS-IS interface is configured as a silent interface.

Format

isis silent [ advertise-zero-cost ]

undo isis silent

Parameters

Parameter Description Value
advertise-zero-cost Specifies the route cost as 0. The default cost of IS-IS routes is 10. -

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When an IS-IS network is connected to other ASs, it is required to enable IS-IS on the interfaces that connect the IS-IS network to other ASs so that the industrial switch router on the IS-IS network can learn the routes to other ASs. This interface, however, unnecessarily advertises IS-IS Hello packets on its network segment. In this case, you can run the isis silent command to suppress the IS-IS interface.

Prerequisites

IS-IS has been enabled on the interface using the isis enable command.

Example

# Configure GE0/0/1 as a silent interface.

<Huawei> system-view
[Huawei] isis
[Huawei-isis-1] network-entity 01.0000.0000.0001.00
[Huawei-isis-1] quit
[Huawei] interface gigabitethernet 0/0/1
[Huawei-GigabitEthernet0/0/1] isis enable 1
[Huawei-GigabitEthernet0/0/1] isis silent
Related Topics

isis small-hello

Function

The isis small-hello command configures an IS-IS interface to send Hello packets without the padding field.

The undo isis small-hello command restores the default setting.

By default, an IS-IS interface is not configured to send Hello packets without the padding field.

Format

isis small-hello

undo isis small-hello

Parameters

None

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

The command can simplify the operations of sending and receiving Hello packets.

The isis small-hello and isis padding-hello commands are mutually exclusive and cannot be configured on the same interface simultaneously.

If an interface is not configured with the two commands, it sends Hello packets based on the following rules:

  • P2P interface

    • Before the P2P neighbor relationship is established, the P2P interface sends Hello packets with the padding field.

    • After the P2P neighbor relationship is established, the P2P interface sends Hello packets without the padding field.

    NOTE:

    For a P2P interface, the length of padding field is equal to the length of LSP packets orignate by local IS.

  • Broadcast interface

    The interface sends Hello packets with the padding field.

    NOTE:

    For a broadcast interface, the length of padding field is equal to the length of MTU.

Before running this command on an interface, run the isis enable command on the interface to enable IS-IS.

Example

# Configure GE0/0/1 to send Hello packets without the padding field.

<Huawei> system-view
[Huawei] isis
[Huawei-isis-1] network-entity 01.0000.0000.0001.00
[Huawei-isis-1] quit
[Huawei] interface gigabitethernet 0/0/1
[Huawei-GigabitEthernet0/0/1] isis enable 1
[Huawei-GigabitEthernet0/0/1] isis small-hello
Related Topics

isis suppress-reachability

Function

The isis suppress-reachability command suppresses the advertisement of direct routes on an IS-IS interface in a specified topology.

The undo isis suppress-reachability command restores the default setting.

By default, direct routes on an IS-IS interface are advertised.

Format

isis suppress-reachability [ level-1 | level-1-2 | level-2 ]

undo isis suppress-reachability

Parameters

Parameter Description Value
level-1 Indicates that the advertisement of IPv4 addresses is suppressed on Level-1 interfaces. If the level is not specified, the advertisement of IPv6 addresses on Level-1 and Level-2 interfaces is suppressed. -
level-1-2 Indicates that the advertisement of IPv4 addresses is suppressed on Level-1 and Level-2 interfaces. -
level-2 Indicates that the advertisement of IPv4 addresses is suppressed on Level-2 interfaces. If the level is not specified, the advertisement of IPv4 addresses is suppressed on Level-1 and Level-2 interfaces. -

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Before running this command on an interface, run the isis enable command on the interface to enable IS-IS.

Example

# Suppress the advertisement of IPv4 addresses on GE0/0/1.

<Huawei> system-view
[Huawei] isis
[Huawei-isis-1] network-entity 01.0000.0000.0001.00
[Huawei-isis-1] quit
[Huawei] interface gigabitethernet 0/0/1
[Huawei-GigabitEthernet0/0/1] isis enable 1
[Huawei-GigabitEthernet0/0/1] isis suppress-reachability

isis system-id auto-recover disable

Function

The isis system-id auto-recover disable command disables the system from automatically resolving IS-IS system ID conflicts.

The undo isis system-id auto-recover disable command enables the system to automatically resolve IS-IS system ID conflicts.

By default, if the system detects an IS-IS system ID conflict, it automatically changes the local system ID to resolve the conflict.

Format

isis system-id auto-recover disable

undo isis system-id auto-recover disable

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

A system ID uniquely identifies an IS-IS device. If the same system ID is configured for more than one device on the network, a routing loop may occur. By default, if the system detects an IS-IS system ID conflict, it automatically changes the local system ID to resolve the conflict.

To disable the system from automatically resolving IS-IS system ID conflicts, run the isis system-id auto-recover disable command. After the command is run, IS-IS system ID conflicts need to be manually resolved.

NOTE:

The first two bytes of the system ID automatically changed by the system are Fs, and the last four bytes are randomly generated. For example, FFFF:1234:5678 is such a system ID.

Precautions

If an IS-IS system ID conflict occurs between two directly connected devices, a neighbor relationship fails to be established only between the two devices, without affecting the entire network. As a result, the conflict is not automatically resolved in this case.

On broadcast networks, the system ID generated automatically is not recorded in the configuration file. If the device is restarted, the system restores this system ID to the originally configured one and then generates another one, which may be different from the one last generated automatically. If the conflict persists after the system automatically generates three system IDs, the system no longer resolves this conflict.

Example

# Disable the system to automatically resolve IS-IS system ID conflicts.

<Huawei> system-view
[Huawei] isis system-id auto-recover disable

isis tag-value

Function

The isis tag-value command sets the administrative tag value of an IS-IS interface.

The undo isis tag-value command deletes the administrative tag value on an IS-IS interface.

By default, an IS-IS interface has no administrative tag value.

Format

isis tag-value tag [ level-1 | level-2 ]

undo isis tag-value [ tag ] [ level-1 | level-2 ]

Parameters

Parameter Description Value
tag Specifies the administrative tag of an IS-IS interface. The value is an integer that ranges from 1 to 4294967295.
level-1 Indicates the administrative tag value of a Level-1 interface. If the interface level is not specified, the administrative tag value is set for Level-1 and Level-2 interfaces. -
level-2 Indicates the administrative tag value of a Level-2 interface. If the interface level is not specified, the administrative tag value is set for Level-1 and Level-2 interfaces. -

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

An administrative tag carries administrative information about IP address prefixes. The tag can be used to import routes of different levels and different areas. Administrative tags can advertise IP address prefixes in an IS-IS routing domain to control routes and simplify management.

Using the isis tag-value command, you can set the administrative tag value for all routes of a specified IS-IS process. The tag can be used as a filtering condition of a route-policy to filter routes.

Prerequisites

IS-IS has been enabled on the interface using the isis enable command.

Precautions

The advertised LSPs contain the administrative tag value only when the IS-IS cost style is wide, wide-compatible, or compatible.

The administrative tag value set using the isis tag-value command has a higher priority than the administrative tag value set using the circuit default-tag command.

Example

# Set the administrative tag value of GE0/0/1 to 77.

<Huawei> system-view
[Huawei] isis
[Huawei-isis-1] network-entity 01.0000.0000.0001.00
[Huawei-isis-1] quit
[Huawei] interface gigabitethernet 0/0/1
[Huawei-GigabitEthernet0/0/1] isis enable 1
[Huawei-GigabitEthernet0/0/1] isis tag-value 77

isis timer csnp

Function

The isis timer csnp command sets the interval for sending CSNPs on a broadcast network.

The undo isis timer csnp command restores the default setting.

By default, the interval for sending CSNPs on a broadcast network is 10 seconds.

Format

isis timer csnp csnp-interval [ level-1 | level-2 ]

undo isis timer csnp [ csnp-interval ] [ level-1 | level-2 ]

Parameters

Parameter Description Value
csnp-interval Specifies the interval for sending CSNPs on a broadcast network. The value is an integer that ranges from 1 to 65535, in seconds. The default value is 10 seconds.
level-1 Indicates the interval for sending Level-1 CSNPs. If no level is specified, the interval for the IS-IS process of the current level to send CSNP packets is set by default. -
level-2 Indicates the interval for sending Level-2 CSNPs. If no level is specified, the interval for the IS-IS process of the current level to send CSNP packets is set by default. -

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

In a broadcast network, a DIS sends CSNPs periodically to enable all devices to synchronize LSDBs with one another. If a device finds that the local LSDB does not have a specific LSP or an existing LSP is not the latest one after the device has received a CSNP, the device will send a PSNP to request the corresponding LSP. Only a DIS sends CSNPs periodically. Therefore, the isis timer csnp command will take effect only on a broadcast interface of the DIS. This command can be used to set an interval for sending CSNPs in an area at a specified level. A router may be elected as a DIS in both Level-1 and Level-2 areas. Therefore, you can set different intervals at which the DIS sends CSNPs in Level-1 and Level-2 areas.

Prerequisites

Before running this command on an interface, run the isis enable command on the interface to enable IS-IS.

Precautions

The IS-IS route convergence speed depends on the LSDB synchronization speed. Therefore, reducing the interval for sending CSNPs can speed up LSDB synchronization and IS-IS route convergence. If the interval is set too small, however, the DIS will send CSNPs frequently. This causes high CPU, memory, and network bandwidth usage and affects services.

NOTE:

If the isis circuit-type command is run to emulate the interface as a P2P interface, the isis timer csnp command becomes invalid on the interface; after the undo isis circuit-type command is run to restore the broadcast interface, the interval for sending CSNPs is restored to the default setting.

Example

# Set the interval for sending Level-2 CSNPs to 15 seconds on GE0/0/1.

<Huawei> system-view
[Huawei] isis
[Huawei-isis-1] network-entity 01.0000.0000.0001.00
[Huawei-isis-1] quit
[Huawei] interface gigabitethernet 0/0/1
[Huawei-GigabitEthernet0/0/1] isis enable 1
[Huawei-GigabitEthernet0/0/1] isis timer csnp 15 level-2

isis timer hello

Function

The isis timer hello command sets the interval for sending Hello packets on an IS-IS interface.

The undo isis timer hello command restores the default setting.

By default, the interval for sending Hello packets 10 seconds on an interface.

Format

isis timer hello hello-interval [ level-1 | level-2 ]

undo isis timer hello [ hello-interval ] [ level-1 | level-2 ]

Parameters

Parameter Description Value
hello-interval Specifies the interval for sending Hello packets. The value is an integer that ranges from 3 to 255, in seconds. The default value is 10 seconds.
level-1 Indicates the interval for sending Level-1 Hello packets.

If the level is not specified, the interval for sending Level-1 and Level-2 Hello packets is set by default.

-
level-2 Indicates the interval for sending Level-2 Hello packets.

If the level is not specified, the interval for sending Level-1 and Level-2 Hello packets is set by default.

NOTE:

Parameters level-1 and level-2 are configured only on a broadcast interface that is enabled with IS-IS.

Level-1 and Level-2 Hello packets are sent separately and their intervals must be set respectively. There is only one Hello packet on a point-to-point link. Therefore, level-1 and level-2 parameters are not used.

-

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

IS-IS maintains neighbor relationships between neighbors by sending and receiving Hello packets. If the local device does not receive Hello packets from its neighbor within a specified period, the device considers the neighbor Down.

Prerequisites

IS-IS has been enabled on the interface using the isis enable command.

Precautions

The shorter the interval, the more system resources used to send Hello packets. The interval should therefore be set according to the actual conditions.

If a broadcast interface is emulated as a P2P interface through the isis circuit-type command or then restored to the broadcast interface through the undo isis circuit-type command, the interval for sending IS-IS Hello packets is restored to the default value.

Example

# Set the interval for sending Level-2 Hello packets to 20 seconds on GE0/0/1.

<Huawei> system-view
[Huawei] isis
[Huawei-isis-1] network-entity 01.0000.0000.0001.00
[Huawei-isis-1] quit
[Huawei] interface gigabitethernet 0/0/1
[Huawei-GigabitEthernet0/0/1] isis enable 1
[Huawei-GigabitEthernet0/0/1] isis timer hello 20 level-2

isis timer holding-multiplier

Function

The isis timer holding-multiplier command sets the multiplier of the interval for sending Hello packets to change the holdtime of IS-IS neighbor relationship.

The undo isis timer holding-multiplier command restores the default setting.

By default, the multiplier of the interval for sending Hello packets is 3, that is, the neighbor holdtime is three times the interval for sending Hello packets.

Format

isis timer holding-multiplier number [ level-1 | level-2 ]

undo isis timer holding-multiplier [ number ] [ level-1 | level-2 ]

Parameters

Parameter Description Value
number Indicates that the neighbor holdtime is a multiplier of the interval for sending Hello packets. The value is an integer that ranges from 3 to 1000. The default value is 3.
level-1 Indicates the holdtime of Level-1 neighbors. If the level is not specified, the holdtime is set for both Level-1 and Level-2 neighbors. -
level-2 Indicates the holdtime of Level-2 neighbors. If the level is not specified, the holdtime is set for both Level-1 and Level-2 neighbors.
NOTE:

Parameters level-1 and level-2 are configured only on a broadcast interface that is enabled with IS-IS.

Level-1 and Level-2 Hello packets are sent separately and their intervals must be set respectively. There is only one Hello packet on a point-to-point link. Therefore, level-1 and level-2 parameters are not used.

-

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Devices at both ends of a link establish a neighbor relationship by sending Hello packets to each other. After the neighbor relationship is established, both devices need to send Hello packets at a specified interval to maintain the neighbor relationship. If a device does not receive any Hello packet from its neighbor within a specified period of time, the device considers the neighbor to be Down. The specified time period is known as the neighbor holdtime.

For example, run the isis timer hello command on a local device to set the interval for sending Hello packets to 20s. Then, run the isis timer holding-multiplier 4 command. The holdtime is 80s (four times the interval for sending Hello packets). If the interval for sending Hello packets is changed using the isis timer hello 20 command, the holdtime will be changed accordingly.

Prerequisites

IS-IS has been enabled on the interface using the isis enable command.

Precautions

If the number value is set too large, the local device needs to wait a long time before detecting that the remote device has gone Down. This slows down IS-IS route convergence. If the value of number is set too small, the neighbor relationship will alternate between Up and Down when some Hello packets are lost due to transmission delays and errors on the network. This causes route flapping on the IS-IS network. Therefore, exercise caution when setting the value of number. Set the same interval for sending Hello packets and the same neighbor holdtime for all devices on the IS-IS network is recommended. This is to ensure that all devices detect link failures at the same time and guarantee timely IS-IS route convergence.

If a broadcast interface is emulated as a P2P interface through the isis circuit-type command or then restored to the broadcast interface through the undo isis circuit-type command, the number of Hello packets that IS-IS does not receive from a neighbor before the neighbor is declared Down is restored to the default value.

Example

# Set the number of Level-2 Hello packets that IS-IS does not receive from a neighbor before the neighbor is declared Down to 6 on GE0/0/1.

<Huawei> system-view
[Huawei] isis
[Huawei-isis-1] network-entity 01.0000.0000.0001.00
[Huawei-isis-1] quit
[Huawei] interface gigabitethernet 0/0/1
[Huawei-GigabitEthernet0/0/1] isis enable 1
[Huawei-GigabitEthernet0/0/1] isis timer holding-multiplier 6 level-2

isis timer lsp-retransmit

Function

The isis timer lsp-retransmit command sets the interval for retransmitting LSPs over a P2P link.

The undo isis timer lsp-retransmit command restores the default value.

By default, the interval for retransmitting LSPs over a P2P link is 5 seconds.

Format

isis timer lsp-retransmit retransmit-interval

undo isis timer lsp-retransmit

Parameters

Parameter Description Value
retransmit-interval Specifies the interval for retransmitting LSPs. The value is an integer that ranges from 1 to 300.

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

On a point-to-point network, devices at both ends of a link synchronize LSDBs with each other by flooding LSPs. The device at one end of the link sends an LSP. If the device at the other end receives this LSP, it replies with a PSNP. If the device that has sent an LSP does not receive a PSNP from the other end in a period of time, the device will retransmit the LSP.

The isis timer lsp-retransmit command is used to set an interval for retransmitting LSPs. Only the devices on a point-to-point network send PSNPs. Therefore, the isis timer lsp-retransmit command will take effect only when it is run on point-to-point interfaces.

Precautions

After the isis timer lsp-retransmit command is run on a device, the device will wait retransmit-interval after having sent an LSP. If the device receives a PSNP from the other end, the device will not retransmit the LSP. Otherwise, the device will retransmit the LSP.

If the value of retransmit-interval is set too small, an LSP will be retransmitted even though it is not necessary, causing high CPU, memory, and network bandwidth usage.
NOTE:

If a broadcast interface is emulated as a P2P interface through the isis circuit-type command or restored a P2P interface to the broadcast interface through the undo isis circuit-type command, the interval for retransmitting LSP packets on a P2P link is restored to the default value.

Example

# Set the interval for retransmitting LSPs on Serial1/0/0 to 10 seconds.

<Huawei> system-view
[Huawei] isis
[Huawei-isis-1] network-entity 01.0000.0000.0001.00
[Huawei-isis-1] quit
[Huawei] interface serial 1/0/0
[Huawei-Serial1/0/0] isis enable 1
[Huawei-Serial1/0/0] isis timer lsp-retransmit 10

isis timer lsp-throttle

Function

The isis timer lsp-throttle command sets the minimum interval for sending LSPs on an IS-IS interface and the maximum number of LSPs sent within the interval.

The undo isis timer lsp-throttle command restores the default setting.

By default, the minimum interval for sending LSPs on an IS-IS interface is 50 milliseconds and the maximum number of LSPs sent within the interval is 10.

Format

isis timer lsp-throttle throttle-interval [ count count ]

undo isis timer lsp-throttle

Parameters

Parameter Description Value
throttle-interval Specifies the minimum interval for sending LSPs. The value is an integer that ranges from 1 to 10000, in milliseconds.
count count Specifies the maximum number of LSPs that are sent within the interval specified by throttle-interval. The value is an integer that ranges from 1 to 1000.

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

The value specified by throttle-interval is the interval between two consecutive LSPs and is also the interval for sending multiple fragments of a CSNP.

Before running this command on an interface, run the isis enable command on the interface to enable IS-IS.

Example

# Set the interval for retransmitting LSPs on GE0/0/1 to 500 ms.

<Huawei> system-view
[Huawei] isis
[Huawei-isis-1] network-entity 01.0000.0000.0001.00
[Huawei-isis-1] quit
[Huawei] interface gigabitethernet 0/0/1
[Huawei-GigabitEthernet0/0/1] isis enable 1
[Huawei-GigabitEthernet0/0/1] isis timer lsp-throttle 500

is-level

Function

The is-level command sets the level of an IS-IS industrial switch router.

The undo is-level command restores the default setting.

By default, the level of an IS-IS industrial switch router is Level-1-2.

Format

is-level { level-1 | level-1-2 | level-2 }

undo is-level

Parameters

Parameter Description Value
level-1 Indicates that the level of the industrial switch router is Level-1. The industrial switch router calculates only intra-area routes and maintains the Level-1 LSDB. -
level-1-2 Indicates that the level of the industrial switch router is Level-1-2. The industrial switch router calculates Level-1 and Level-2 routes and maintains Level-1 and Level-2 LSDBs. -
level-2 Indicates that the level of the industrial switch router is Level-2. The industrial switch router calculates only Level-2 routes, and maintains the Level-2 LSDB. -

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To support a network with a large number of routes, IS-IS uses a two-level structure in an IS-IS routing domain. IS-IS industrial switch routers are classified into the following levels:
  • Level-1 industrial switch router: A Level-1 industrial switch router manages intra-area routing. It establishes neighbor relationships with only Level-1 and Level-1-2 industrial switch routers in the same area. Level-1 industrial switch routers can be connected to other areas through Level-1-2 industrial switch routers only.
  • Level-2 industrial switch router: A Level-2 industrial switch router manages intra-area routing. It establishes neighbor relationships with Level-2 industrial switch routers in the same area and Level-1-2 industrial switch routers in other areas only. All Level-2 industrial switch routers form the backbone network of the routing domain. They are responsible for communications between areas. The Level-2 industrial switch routers in the routing domain must be reachable, and no industrial switch router of other levels is deployed between every two Level-2 industrial switch routers.
  • Level-1-2 industrial switch router: A Level-1-2 industrial switch router can establish Level-1 neighbor relationships with Level-1 industrial switch routers and Level-1-2 industrial switch routers in the same area. It can also establish Level-2 neighbor relationships with Level-2 industrial switch routers and Level-1-2 industrial switch routers in other areas.

In most cases, Level-1 industrial switch routers are located within an area, Level-2 industrial switch routers are located between areas, and Level-1-2 industrial switch routers are located between Level-1 industrial switch routers and Level-2 industrial switch routers.

The level of an IS-IS industrial switch router and of an interface determine the level of a neighbor relationship. By default, neighbor relationships between two Level-1-2 industrial switch routers are Level-1 and Level-2. To establish a Level-1 or Level-2 neighbor relationship, run the isis circuit-level command to modify the level of interfaces.

If only one area exists, setting the level of industrial switch routers to Level-1 or Level-2 is recommended to prevent devices from maintaining two LSDBs that are the same. On an IP network, setting the level of all industrial switch routers to Level-2 for future extension is recommended.

Precautions

If the levels of IS-IS industrial switch routers are changed during network operation, the IS-IS process will be restarted and IS-IS neighbor relationships will be disconnected. Setting the levels of industrial switch routers when configuring IS-IS is recommended.

If the Level-1 and Level-2 is not specified, the industrial switch router works at Level-1-2. That is, the industrial switch router calculates Level-1 and Level-2 routes and maintains Level-1 and Level-2 LSDBs simultaneously.

Example

# Set the level of the current industrial switch router to Level-1.

<Huawei> system-view
[Huawei] isis 1
[Huawei-isis-1] is-level level-1
Related Topics

is-name

Function

The is-name command enables the capability of identifying the host name in an LSP and configures the dynamic host name for the IS-IS system of the local industrial switch router. The dynamic hostname is advertised in an LSP packet.

The undo is-name command deletes the dynamic host name configured for the IS-IS system of the local industrial switch router.

By default, the IS-IS system of the local industrial switch router has no dynamic host name.

Format

is-name symbolic-name

undo is-name [ symbolic-name ]

Parameters

Parameter Description Value
symbolic-name Specifies a dynamic host name. The value is a string of 1 to 64 case-sensitive characters without spaces.When double quotation marks are used around the string, spaces are allowed in the string.

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

In most cases, to check information about IS-IS neighbors and LSDBs on an IS-IS industrial switch router, you need to use a system ID of a 12-digit hexadecimal number, for example, aaaa.eeee.1234. This representation, however, is complicated and not easy to use. The dynamic host name mapping mechanism is introduced to facilitate maintenance and management of IS-IS networks. The is-name command is used to configure a simple host name for a local industrial switch router and enables the industrial switch router to advertise it in an LSP.

After the configuration is completed, you can run the display isis name-table command to check the configured hostname.

Example

# Configure host name RUTA for the local IS-IS system.

<Huawei> system-view
[Huawei] isis
[Huawei-isis-1] is-name RUTA

is-name map

Function

The is-name map command enables the local industrial switch router to identify the host name in LSPs, and sets a static host name for a remote IS-IS system on the local industrial switch router.

The undo is-name map command disables the local industrial switch router from identifying the host name in LSPs, and deletes the static host name for a remote IS-IS system set by the local industrial switch router.

By default, the local device does not have the static host name of a remote IS-IS system.

Format

is-name map system-id symbolic-name

undo is-name map system-id [ symbolic-name ]

Parameters

Parameter Description Value
system-id Specifies the ID of the remote mapped IS-IS system or pseudonode ID. The format is XXXX.XXXX.XXXX[.XX].
symbolic-name Specifies the static host name of the remote mapped IS-IS system. The value is a string of 1 to 64 characters without spaces. It is case sensitive.When double quotation marks are used around the string, spaces are allowed in the string.

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When checking information about IS-IS neighbors and LSDBs on the industrial switch router that runs IS-IS, each industrial switch router in the IS-IS routing domain is represented by a system ID with a 12-bit hexadecimal number, for example, aaaa.eeee.1234. This representation is complicated and not easy to use. To manage and maintain IS-IS networks conveniently, IS-IS uses the dynamic host name exchange mechanism. The is-name map command can configure a host name for the remote industrial switch router and does not advertise the host name through an LSP.

After running the is-name map command to map the remote industrial switch router to the host name, you can find that the system ID of the remote industrial switch router is replaced by the host name configured using the display isis name-table command.

Precautions

This configuration is static configuration and takes effect only on the local device. Therefore, the configured host name symbolic-name is not advertised through an LSP. If dynamic host name mapping is configured on an IS-IS device, dynamic host name mapping takes precedence over static host name mapping.

Example

# Configure static host name mapping for the IS-IS system on the remote industrial switch router as 0000.0000.0041.

<Huawei> system-view
[Huawei] isis
[Huawei-isis-1] is-name map 0000.0000.0041 RUTB

log-peer-change

Function

The log-peer-change command enables the output of IS-IS adjacency changes.

The undo log-peer-change command disables the output of IS-IS adjacency changes.

By default, the output of IS-IS adjacency changes is disabled.

Format

log-peer-change [ topology ]

undo log-peer-change

Parameters

Parameter Description Value
topology Enables the output of the IS-IS adjacency changes in an IPv6 topology. -

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

On an IS-IS network, IS-IS adjacency changes pose a threat to network stability, causing frequent route convergence which consumes a lot of memory resources and possible traffic loss. Therefore, diagnose the fault immediately when the IS-IS adjacency changes.

To locate the fault, run the log-peer-change command to enable the output of IS-IS adjacency changes and record the changes in the log.

Precautions

IS-IS adjacency changes are recorded only when the terminal monitor and log-peer-change commands are run.

Example

# Enable the output of IS-IS adjacency changes on the current industrial switch router.

<Huawei> system-view
[Huawei] isis
[Huawei-isis-1] log-peer-change
Related Topics

lsp-fragments-extend

Function

The lsp-fragments–extend command enables LSP fragment extension on the IS-IS industrial switch router.

The undo lsp-fragments-extend command disables LSP fragment extension on the IS-IS industrial switch router.

By default, LSP fragment extension is disabled on the IS-IS industrial switch router.

Format

lsp-fragments-extend [ [ level-1 | level-2 | level-1-2 ] | [ mode-1 | mode-2 ] ] *

undo lsp-fragments-extend [ mode-1 | mode-2 ] [ level-1 | level-2 | level-1-2 ]

Parameters

Parameter Description Value
level-1 Enables LSP fragment extension on a Level-1 industrial switch router. -
level-2 Enables LSP fragment extension on a Level-2 industrial switch router. -
level-1-2 Enables LSP fragment extension on a Level-1-2 industrial switch router. -
mode-1 Indicates that the industrial switch router supporting LSP fragment extension is compatible with the industrial switch router with an earlier version that does not support LSP fragment extension. -
mode-2 Requires that all the industrial switch routers support LSP fragment extension.
NOTE:

By default, mode-1 and level-1-2 are used.

-

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

To enable the IS-IS industrial switch router to generate extended LSP fragments, run the virtual-system command to configure at least one virtual system ID.

After the lsp-fragments–extend command is run, run the reset isis all command to restart the IS-IS process to make LSP fragment extension take effect.

Example

# Enable Level-2 LSP fragment extension in mode 1.

<Huawei> system-view
[Huawei] isis
[Huawei-isis-1] lsp-fragments-extend mode-1 level-2

lsp-length

Function

The lsp-length command sets the length of the LSP that is generated and received by the current IS-IS industrial switch router.

The undo lsp-length command restores the default setting.

By default, the IS-IS industrial switch router generates and receives 1497-byte LSPs.

Format

lsp-length { originate | receive } max-size

undo lsp-length { originate | receive }

Parameters

Parameter Description Value
originate Indicates the maximum length of generated LSPs. -
receive Indicates the maximum length of received LSPs. -
max-size Specifies the maximum length of LSPs. The max-size of a generated LSP must be smaller than or equal to the max-size of a received LSP. The value is an integer that ranges from 512 to 16384, in bytes. The default value is 1497.
NOTE:
Because the maximum MTU supported by interfaces is 9600 bytes and the LSP header length is 3 bytes, the allowed maximum LSP length is 9597 (9600 – 3) bytes to ensure that two devices on both ends communicate properly.

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

By controlling the length of LSPs generated and received by IS-IS routers, you can adjust the LSDB synchronization speed and change the network convergence speed.

Precautions
The max-size set using the lsp-length command must meet the following requirements:
  • The MTU of an Ethernet interface must be greater than or equal to the sum of the value of max-size and 3.

  • The MTU of a P2P interface must be greater than or equal to the value of max-size.

Example

# Set the maximum length of an LSP generated by the IS-IS industrial switch router to 1024 bytes.

<Huawei> system-view
[Huawei] isis
[Huawei-isis-1] lsp-length originate 1024

maximum load-balancing (IS-IS)

Function

The maximum load-balancing command sets the maximum number of equal-cost routes for load balancing. You need to set the maximum value according to memory capacity.

The undo maximum load-balancing command restores the default maximum number of equal-cost routes for load balancing.

By default, the maximum number of equal-cost routes supported by the device is 4.

Format

maximum load-balancing number

undo maximum load-balancing [ number ]

Parameters

Parameter Description Value
number Specifies the maximum number of equal-cost routes for load balancing. The value is an integer that ranges from 1 to 4.

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If multiple routes are available on an IS-IS network, multiple equal-cost routes may exist. Use the load balancing method to allocate traffic evenly to each link. This method improves link efficiency on the network and reduces the congestion possibility caused by overloaded links.

Specify the number parameter to limit the number of equal-cost routes for load balancing.

Precautions

To cancel load balancing, set the number parameter to 1 or run the nexthop command to set the preferences of equal-cost routes.

Example

# Set the maximum number of equal-cost routes for load balancing to 2.

<Huawei> system-view
[Huawei] isis 100
[Huawei-isis-100] maximum load-balancing 2

# Restore the default value.

<Huawei> system-view
[Huawei] isis 100
[Huawei-isis-100] undo maximum load-balancing

network-entity

Function

The network-entity command configures a network entity title (NET) for an IS-IS process.

The undo network-entity command deletes the NET of an IS-IS process.

By default, no NET is configured for an IS-IS process.

Format

network-entity net

undo network-entity net

Parameters

Parameter Description Value
net

Specifies a NET.

The format is X…X.XXXX.XXXX.XXXX.00, in which X…X indicates an area address, the 12 Xs in the middle indicate the system ID of the industrial switch router, and the last 00 indicates the selector (SEL).

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

NET is the special form of the network service access point (NSAP). After the IS-IS view is displayed, IS-IS can start only when a NET is configured for an IS-IS process.

A NET consists of the following parts:
  • Area ID: is 1 to 13 bytes in length.

  • System ID: is 6 bytes in length.

  • SEL: is 1 byte in length and fixed as 00.

Generally, you only need to configure one NET for an IS-IS process. When an area needs to be redefined, for example, the area needs to be merged with other areas or divided into sub-areas, configure multiple NETs to ensure route correctness.

Precautions

An area address uniquely identifies an area in a routing domain. All the industrial switch routers in the same Level-1 area must have the same area address. The industrial switch routers in a Level-2 area can have different area addresses.

The system ID must be unique in the whole domain.

A maximum of three area addresses can be configured for an IS-IS process. Therefore, a maximum of three NETs can be configured for an IS-IS process. When configuring multiple NETs, ensure that their system IDs are the same.

Example

# Set the NET to 10.0001.1010.1020.1030.00, in which the system ID is 1010.1020.1030 and the area ID is 10.0001.

<Huawei> system-view
[Huawei] isis 1
[Huawei-isis-1] network-entity 10.0001.1010.1020.1030.00
Related Topics

nexthop (IS-IS)

Function

The nexthop command sets the preference of equal-cost routes.

The undo nexthop command cancels the preference of equal-cost routes.

By default, no preference is set for equal-cost routes.

Format

nexthop ip-address weight value

undo nexthop ip-address

Parameters

Parameter Description Value
ip-address Specifies a next-hop IP address. The value is in dotted decimal notation.
weight value Specifies the next-hop weight. The value is an integer that ranges from 1 to 254.

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When there are multiple redundant links on an IS-IS network, there may be multiple equal-cost routes to the same destination network segment.

You can use this command to set the next-hop preference to determine the next hop when the interface cost remains unchanged. A smaller preference value indicates a higher preference.

Precautions

After this command is used, an IS-IS device does not load balance traffic when forwarding the traffic. Instead, the device forwards the traffic to the next hop with the highest preference.

Example

# Set the preference of IS-IS equal-cost routes.

<Huawei> system-view
[Huawei] isis
[Huawei-isis-1] nexthop 10.0.0.3 weight 1

optional-checksum enable

Function

The optional-checksum enable command enables IS-IS to configure Hello packets and SNP packets to carry optional checksum TLVs and to check received IS-IS packets and SNP packets.

The undo optional-checksum enable command restores IS-IS packets to default settings.

By default, Hello packets and SNPs do not carry checksum TLVs and the receiver does not check received packets.

Format

optional-checksum enable

undo optional-checksum enable

Parameters

None

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To prevent the attack of malicious packets and to ensure packets are correctly received on an IS-IS network, you can configure the optional-checksum enable command to enable IS-IS routers to send SNP packets and Hello packets carrying optional checksum TLVs. After the peer device receives the packets, it checks whether the carried optional checksum TLVs are correct. If the TLVs are not correct, the peer device rejects the packets.

Prerequisites

You have run the isis command to create an IS-IS process and entered the IS-IS view.

Precautions

If MD5 authentication or Keychain authentication with valid MD5 authentication is configured on an IS-IS interface or area, IS-IS routers send Hello packets and SNP packets carrying no checksum TLVs and verify the checksum of the received packets.

Example

# Configure IS-IS to add optional checksum TLVs to Hello packets and SNPs.

<Huawei> system-view
[Huawei] isis
[Huawei-isis-1] optional-checksum enable
Related Topics

preference (IS-IS)

Function

The preference command sets the IS-IS preference.

The undo preference command restores the default IS-IS preference.

The default IS-IS preference is 15.

Format

preference { preference | route-policy route-policy-name } *

undo preference

Parameters

Parameter Description Value
preference Specifies the IS-IS preference. A smaller value indicates a higher preference. The value is an integer that ranges from 1 to 255.
route-policy route-policy-name Specifies the name of a route-policy. The name is a string of 1 to 40 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

A device may run multiple dynamic routing protocols and there may be multiple routes of different routing protocols to the same destination. Therefore, routing protocols may share and select routing information. To solve this problem, the system sets a preference for each routing protocol. If different protocols discover routes to the same destination, the system selects the route with a higher protocol preference to forward traffic.

The preference command can set the preference of IS-IS routes to affect routing information sharing and selection:

  • The preference preference command can set the preference for all IS-IS routes.

  • The preference preference route-policy route-policy-name command can set different preferences for matched and unmatched routes.

  • The preference route-policy route-policy-name preference command can set the preference for matched routes without affecting the preference of other IS-IS routes.

Precautions

You can use route-policies to set the preference for specified routes. If the apply preference clause is configured in the route-policy command, the route preference is as follows:

  • The preference of matched routes is set using the apply clause.

  • The preference of unmatched routes is set using the preference command.

As shown in the following example, the preference of the routes that pass route-policy abc is set to 50 and the preference of the routes that do not pass the route-policy is set to 30.

#
route-policy abc permit node 1
 if-match cost 20
 apply preference 50
#
isis 1
 preference 30 route-policy abc

If the apply preference 50 clause is not configured in route-policy abc, the preference of all routes is set to 30.

Example

# Set the IPv4 IS-IS preference to 25.

<Huawei> system-view
[Huawei] isis
[Huawei-isis-1] preference 25
Related Topics

purge-originator-identification enable

Function

The purge-originator-identification enable command configures IS-IS to add purge-originator-identification (POI) TLV to Purge packets. If a dynamic hostname has been configured for the local device, the hostname TLV is also added to the Purge packets.

The undo purge-originator-identification enable command deletes POI TLV and hostname TLV from Purge packets.

By default, Purge packets do not carry POI TLV or hostname TLV.

Format

purge-originator-identification enable

undo purge-originator-identification enable

Parameters

None

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When Remaining Lifetime of an LSP is 0, the LSP is invalid, and this invalid packet is a Purge packet. In most cases, a Purge packet does not carry any information about the router that generated the Purge packet. Without such information, troubleshooting is difficult if a network problem occurs.

To address this issue, you can run the purge-originator-identification enable command to configure IS-IS to add POI TLV to Purge packets. If a dynamic hostname has been configured for the local device, the hostname TLV is also added to the Purge packets, which facilitates troubleshooting.
  • If the purge-originator-identification enable command is run and the any authentication is configured, generated Purge LSPs do not carry the POI TLV or hostname TLV.

  • If the purge-originator-identification enable command is run and no authentication is configured, generated Purge LSPs will carry the POI TLV or hostname TLV.

  • If the purge-originator-identification enable always command is run, generated Purge LSPs carry the POI TLV and hostname TLV, regardless of whether authentication is configured.

Example

# Configure IS-IS to add POI TLV to Purge packets.

<Huawei> system-view
[Huawei] isis 1
[Huawei-isis-1] purge-originator-identification enable
Related Topics

prefix-priority (IS-IS)

Function

The prefix-priority command sets the convergence priority of IS-IS routes.

The undo prefix-priority command restores the default convergence priority of IS-IS routes.

By default, the convergence priority of IS-IS host routes and default routes is medium, and the convergence priority of other IS-IS routes is low.

Format

prefix-priority [ level-1 | level-2 ] { critical | high | medium } { ip-prefix prefix-name | tag tag-value }

undo prefix-priority [ level-1 | level-2 ] { critical | high | medium }

Parameters

Parameter Description Value
level-1 Specifies the convergence priority of Level-1 IS-IS routes. -
level-2 Specifies the convergence priority of Level-2 IS-IS routes. -
critical Sets the convergence priority of IS-IS routes to critical. -
high Sets the convergence priority of IS-IS routes to high. -
medium Sets the convergence priority of IS-IS routes to medium. -
ip-prefix prefix-name Sets the convergence priority of the IS-IS routes matching the specified IP prefix. The value is a string of 1 to 169 case-sensitive characters without spaces.
tag tag-value Sets the convergence priority of the IS-IS routes with the specified tag value. To use the tag value to filter the IPv4 routes for which convergence priorities need to be set, ensure that the IS-IS cost style of sent packets is not narrow and the routes carry the tag value. The value is an integer that ranges from 1 to 4294967295.

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When a routing table has a large number of routing entries on an IS-IS device, the device needs to spend much time performing SPF calculation. To enable some key routes to be calculated first, run the prefix-priority command to set the convergence priority for these routes.

The convergence priorities of IS-IS routes are classified as critical, high, medium, and low in descending order.

The rules for applying convergence priorities to IS-IS routes are as follows:
  • Existing IS-IS routes are converged based on the priorities set using the prefix-priority command.

  • New IS-IS routes are converged based on the priorities set using the prefix-priority command.

  • If an IS-IS route conforms to the matching rules of multiple convergence priorities, the highest convergence priority is used.

  • If the route level is not specified, the prefix-priority command configuration takes effect for both Level-1 and Level-2 IS-IS routes.

Precautions

The prefix-priority command applies only to the public network.

After the prefix-priority command is run to set the convergence priority for IS-IS routes (including IS-IS host routes and default routes), the convergence priority of all the IS-IS routes that meet the matching rules is changed according to the command configuration, and the convergence priority of the IS-IS routes that do not meet the matching rules is changed to low.

Example

# Set the convergence priority of Level-1 routes with tag value 3 to critical.

<Huawei> system-view
[Huawei] isis 1
[Huawei-isis-1] prefix-priority level-1 critical tag 3

# Set the convergence priority of the routes matching IP prefix p1 to medium.

<Huawei> system-view
[Huawei] ip ip-prefix p1 permit 192.168.0.1 24
[Huawei] isis 1
[Huawei-isis-1] prefix-priority medium ip-prefix p1
Related Topics

reset isis all

Function

The reset isis all command restarts IS-IS processes.

Format

reset isis all [ [ process-id | vpn-instance vpn-instance-name ] | graceful-restart ] *

reset isis process-id all [ graceful-restart ]

Parameters

Parameter Description Value
process-id Specifies the ID of an IS-IS process to be restarted. The value is an integer that ranges from 1 to 65535.
vpn-instance vpn-instance-name Specifies the IS-IS multi-instance process in a specified VPN instance. vpn-instance-name specifies the name of a VPN instance. The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.
graceful-restart Restarts an IS-IS process in GR mode. -

Views

User view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

The reset isis all command is used when LSPs need to be updated immediately. For example, after the area-authentication-mode and domain-authentication-mode commands are used, you can run the reset isis all command to clear old LSPs.

Precautions

Restarting IS-IS processes may interrupt services. Therefore, confirm the action before running the reset isis all command.

Example

# Restart IS-IS processes.

<Huawei> reset isis all
Warning: The ISIS process(es) will be reset. Continue?[Y/N]y   

reset isis peer

Function

The reset isis peer command resets a specified IS-IS neighbor relationship.

Format

reset isis peer system-id [ process-id | vpn-instance vpn-instance-name ]

reset isis process-id peer system-id

Parameters

Parameter Description Value
system-id Specifies the system ID of an IS-IS neighbor. The value is 6 bytes in length and in XXXX.XXXX.XXXX format.
process-id Specifies the IS-IS process ID for which the neighbor relationship needs to be reset. The value is an integer that ranges from 1 to 65535.
vpn-instance vpn-instance-name Specifies the IS-IS multi-instance process in a specified VPN instance. This parameter is optional for a default VPN instance. The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

Views

User view

Default Level

3: Management level

Usage Guidelines

The reset isis peer command is used when a device needs to re-establish the neighbor relationship with a specified neighbor.

Exercise caution when using the reset isis peer command. This command will re-establish neighbor relationships with a specified neighbor, which may result in route flapping.

Example

# Reset the IS-IS neighbor with system ID 0000.0c11.1111.

<Huawei> reset isis peer 0000.0c11.1111

reset isis statistics packet

Function

The reset isis statistics packet command clears IS-IS packet statistics.

Format

reset isis statistics packet lsp { process-id | vpn-instance vpn-instance-name }

reset isis [ process-id ] statistics packet lsp

Parameters

Parameter Description Value
process-id

Specifies the ID of the IS-IS process whose IS-IS packet statistics are to be cleared.

The value is an integer ranging from 1 to 65535.
lsp

Deletes statistics about LSPs.

-
vpn-instance vpn-instance-name

Deletes LSP packet statistics of the specified VPN instance.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

Views

All views

Default Level

2: Configuration level

Usage Guidelines

When troubleshooting IS-IS network faults, you can run the reset isis statistics packet command to clear the existing statistics before checking new information about incorrect LSPs and Hello packets.

Example

# Clear packet statistics of IS-IS process 1.

<Huawei> reset isis 1 statistics packet lsp

reset isis statistics purge-lsp

Function

The reset isis statistics purge-lsp command deletes statistics about purge LSPs of a specified IS-IS process.

Format

reset isis statistics purge-lsp [ level-1 | level-2 ] [ process-id | vpn-instance vpn-instance-name ]

Parameters

Parameter Description Value
process-id

Specifies the ID of an IS-IS process.

The value is an integer ranging from 1 to 65535.
vpn-instance vpn-instance-name

Deletes statistics about IS-IS purge LSPs of specified VPN instance.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

Views

All views

Default Level

3: Management level

Usage Guidelines

To locate a problem on an IS-IS network, you can run the reset isis statistics purge-lsp command to delete existing statistics about purge LSPs and then check the latest statistics.

Example

# Delete statistics about purge LSPs of IS-IS process 1.

<Huawei> reset isis 1 statistics purge-lsp

set-overload

Function

The set-overload command sets the overload bit for non-pseudonode LSPs.

The undo set-overload command removes the overload bit of non-pseudonode LSPs.

By default, no overload bit is set for non-pseudonode LSPs.

Format

set-overload [ on-startup [ timeout1 | start-from-nbr system-id [ timeout1 [ timeout2 ] ] | wait-for-bgp [ timeout1 ] ] [ send-sa-bit [ timeout3 ] ] ] [ allow { interlevel | external }* ]

undo set-overload

Parameters

Parameter Description Value
on-startup Indicates that the overload bit remains set within the specified period when the industrial switch router restarts or is faulty. -
timeout1 Specifies the duration of the overload bit after the system starts. The value is an integer that ranges from 5 to 86400, in seconds. The default value is 600 seconds.
start-from-nbr system-id Specifies the duration of the system overload bit according to the status of a specified neighbor. The value is in XXXX.XXXX.XXXX format.
timeout1 [ timeout2 ] Specifies the period during which the overload bit remains set, which is related to the neighbor status.
  • If the specified neighbor does not go Up before timeout2 expires, the duration of the system overload bit is timeout2. timeout2 ranges from 5 to 86400, in seconds. The default value is 1200 seconds (20 minutes).

  • If the specified neighbor goes Up before timeout2 expires, the duration of the system overload bit is timeout1. timeout1 ranges from 5 to 86400, in seconds. The default value is 600 seconds (10 minutes).

wait-for-bgp Specifies the period during which the overload bit of the system remains set according to the BGP convergence status. -
send-sa-bit Specifies the overload bit remains in Hello packets after the device is started. -
timeout3 Specifies the period during which the overload bit remains in Hello packets after the device is started. The value is an integer ranging from 5 to 120, in seconds. The default value is 30 seconds.
allow Allows advertising IP prefixes. By default, the system is prohibited from advertising IP prefixes when the system enters the overload state. -
interlevel Allows advertising the IP prefixes learned from IS-IS of different levels when allow is specified. -
external Allows advertising the IP prefixes learned from other protocols when allow is specified. -

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

Although LSPs with the overload bit are flooded on the network, the LSPs are ignored in the calculation of the routes that pass through the industrial switch router in overload state. That is, after the overload bit is set on the industrial switch router, other industrial switch routers ignore the industrial switch router when performing SPF calculation. Direct routes of the industrial switch router are not ignored during SPF calculation.

To prevent the local industrial switch router from being used by other industrial switch routers to perform SPF calculation, run the set-overload command on the local industrial switch router without specifying the on-startup keyword. Then the system immediately sets the overload bit in the LSP to be sent. To remove the overload bit, run the undo set-overload command.

When the local industrial switch router restarts or is faulty, to prevent the local industrial switch router from being used by other industrial switch routers to perform SPF calculation, run the set-overload command on the local industrial switch router and specify the on-startup keyword.

When the industrial switch router is experiencing memory shortage, the system automatically sets the overload bit in the sent LSPs regardless of whether the set-overload command is run.

You can set the overload bit to solve the problem of network traffic loss caused by the difference between the BGP convergence speed and IGP convergence speed.

Example

# Set the overload bit for IS-IS process 1.

<Huawei> system-view
[Huawei] isis
[Huawei-isis-1] set-overload
Warning: The IS-IS process overload state will be set. Continue?[Y/N]  

# Configure IS-IS process 1 to enter the overload state during the startup, and configure the local industrial switch router to remain the overload state for 300 seconds after it establishes the neighbor relationship with neighbor 0000.0000.0002 within 1000 seconds during which the system starts.

<Huawei> system-view
[Huawei] isis
[Huawei-isis-1] set-overload on-startup start-from-nbr 0000.0000.0002 300 1000

# Configure IS-IS process 1 to enter the overload state during the startup, allow IS-IS to advertise the IP prefixes learned from IS-IS of different levels, and prohibit IS-IS from advertising the IP prefixes learned from other protocols.

<Huawei> system-view
[Huawei] isis
[Huawei-isis-1] set-overload on-startup allow interlevel

snmp-agent trap enable feature-name isis

Function

The snmp-agent trap enable feature-name isis command enables the trap function for the IS-IS module.

The undo snmp-agent trap enable feature-name isis command disables the trap function for the IS-IS module.

By default, the trap function is disabled for the IS-IS module.

Format

snmp-agent trap enable feature-name isis [ trap-name { isisadjacencychange | isisareamismatch | isisattempttoexceedmaxsequence | isisauthenticationfailure | isisauthenticationtypefailure | isiscorruptedlspdetected | isisdatabaseoverload | isisidlenmismatch | isislsptoolargetopropagate |isismanualaddressdrops | isismaxareaaddressesmismatch | isisoriglspbuffsizemismatch | isisownlsppurge | isisprotocolssupportedmismatch | isisrejectedadjacency | isissequencenumberskip | isisversionskew } ]

undo snmp-agent trap enable feature-name isis [ trap-name { isisadjacencychange | isisareamismatch | isisattempttoexceedmaxsequence | isisauthenticationfailure | isisauthenticationtypefailure | isiscorruptedlspdetected | isisdatabaseoverload | isisidlenmismatch | isislsptoolargetopropagate |isismanualaddressdrops | isismaxareaaddressesmismatch | isisoriglspbuffsizemismatch | isisownlsppurge | isisprotocolssupportedmismatch | isisrejectedadjacency | isissequencenumberskip | isisversionskew } ]

Parameters

Parameter Description Value
trap-name Specifies the trap name. -
isisadjacencychange Enables the trap function for neighbor changes. -
isisareamismatch Enables the trap function when the area address of the received Level-1 Hello packet does not match the local area address. -
isisattempttoexceedmaxsequence Enables the trap function when the LSP sequence number reaches the maximum value. -
isisauthenticationfailure Enables the trap function when the authentication password in the received LSP is not the same as the local authentication password. -
isisauthenticationtypefailure Enables the trap function when the authentication type in the received LSP is not the same as the local authentication type. -
isiscorruptedlspdetected Enables the trap function when the LSP checksum authentication fails. -
isisdatabaseoverload Enables the trap function when the LSDB overload status changes. -
isisidlenmismatch Enables the trap function when the system ID length in the received LSP is not the same as the local system ID length. -
isislsptoolargetopropagate Enables the trap function when the PDU length exceeds the interface MTU. -
isismanualaddressdrops Enables the trap function when the number of Level-2 area addresses exceeds the maximum value and some Level-2 area addresses may be lost after IS-IS leaks Level-1 area addresses to the Level-2 area. -
isismaxareaaddressesmismatch Enables the trap function when the maximum area address in the received LSP does not match the local one. -
isisoriglspbuffsizemismatch Enables the trap function when the buffer size in the received LSP does not match the local one. -
isisownlsppurge Enables the trap function when an IS detects that its LSPs are purged on the network. -
isisprotocolssupportedmismatch Enables the trap function when the protocol type in the received LSP does not match the local protocol type. -
isisrejectedadjacency Enables the trap function when the neighbor relationship cannot be established after IS-IS receives the Hello packet. -
isissequencenumberskip Enables the trap function when the local router receives the LSP sent by itself with the sequence number greater than that of the LSP in the local LSDB. -
isisversionskew Enables the trap function when the version in the Hello packet is incorrect. -

Views

System view

Default Level

3: Management level

Usage Guidelines

To enable the trap function for all non-excessive trap messages of the IS-IS module, specify non-excessive all.

To enable the trap function for one or more specific events of the IS-IS module, specify trap-name.

You can run the display snmp-agent trap feature-name isis all command to view all the trap messages of the IS-IS module.

Currently defined non-excessive trap messages of the IS-IS module include isisattempttoexceedmaxsequence, isisdatabaseoverload, isismanualaddressdrops, isisownlsppurge, and isissequencenumberskip.

NOTE:

If the IS-IS trap function is enabled before a version upgrade, you need to run the snmp-agent trap enable feature-name isis command to re-enable the trap function after the version upgrade. Otherwise, the previous configuration is lost.

Example

# Enable the trap function for IS-IS neighbor changes.

<Huawei> system-view
[Huawei] snmp-agent trap enable feature-name isis trap-name isisadjacencychange

snmp-agent trap enable feature-name isis-std

Function

The snmp-agent trap enable feature-name isis-std command enables the trap function for the IS-IS standard MIB.

The undo snmp-agent trap enable feature-name isis-std command disables the trap function of the IS-IS standard MIB.

By default, the trap function is disabled for the IS-IS standard MIB.

Format

snmp-agent trap enable feature-name isis-std [ trap-name { isisadjacencychange | isisareamismatch | isisattempttoexceedmaxsequence | isisauthenticationfailure | isisauthenticationtypefailure | isiscorruptedlspdetected | isisdatabaseoverload | isisidlenmismatch | isislsperrordetected | isislsptoolargetopropagate |isismanualaddressdrops | isismaxareaaddressesmismatch | isisoriglspbuffsizemismatch | isisownlsppurge | isisprotocolssupportedmismatch | isisrejectedadjacency | isissequencenumberskip | isisversionskew } ]

undo snmp-agent trap enable feature-name isis-std [ trap-name { isisadjacencychange | isisareamismatch | isisattempttoexceedmaxsequence | isisauthenticationfailure | isisauthenticationtypefailure | isiscorruptedlspdetected | isisdatabaseoverload | isisidlenmismatch | isislsperrordetected | isislsptoolargetopropagate |isismanualaddressdrops | isismaxareaaddressesmismatch | isisoriglspbuffsizemismatch | isisownlsppurge | isisprotocolssupportedmismatch | isisrejectedadjacency | isissequencenumberskip | isisversionskew } ]

Parameters

Parameter Description Value
isisadjacencychange Enables the trap function for neighbor changes. -
isisareamismatch Enables the trap function when the area address of the received Level-1 Hello packet does not match the local area address. -
isisattempttoexceedmaxsequence Enables the trap function when the LSP sequence number reaches the maximum value. -
isisauthenticationfailure Enables the trap function when the authentication password in the received LSP is not the same as the local authentication password. -
isisauthenticationtypefailure Enables the trap function when the authentication type in the received LSP is not the same as the local authentication type. -
isiscorruptedlspdetected Enables the trap function when the LSP checksum authentication fails. -
isisdatabaseoverload Enables the trap function when the LSDB overload status changes. -
isisidlenmismatch Enables the trap function when the system ID length in the received LSP is not the same as the local system ID length. -
isislsperrordetected Enables the trap function when the LSP fails to be parsed. -
isislsptoolargetopropagate Enables the trap function when the PDU length exceeds the interface MTU. -
isismanualaddressdrops Enables the trap function when the number of Level-2 area addresses exceeds the maximum value and some Level-2 area addresses may be lost after IS-IS leaks Level-1 area addresses to the Level-2 area. -
isismaxareaaddressesmismatch Enables the trap function when the maximum area address in the received LSP does not match the local one. -
isisoriglspbuffsizemismatch Enables the trap function when the buffer size in the received LSP does not match the local one. -
isisownlsppurge Enables the trap function when an IS detects that its LSPs are purged on the network. -
isisprotocolssupportedmismatch Enables the trap function when the protocol type in the received LSP does not match the local protocol type. -
isisrejectedadjacency Enables the trap function when the neighbor relationship cannot be established after IS-IS receives the Hello packet. -
isissequencenumberskip Enables the trap function when the local router receives the LSP sent by itself with the sequence number greater than that of the LSP in the local LSDB. -
isisversionskew Enables the trap function when the version in the Hello packet is incorrect. -

Views

System view

Default Level

3: Management level

Usage Guidelines

You can run the display snmp-agent trap feature-name isis-std all command to view all the trap messages of the IS-IS standard MIB.

Example

# Enable the trap function for IS-IS neighbor changes.

<Huawei> system-view
[Huawei] snmp-agent trap enable feature-name isis-std trap-name isisadjacencychange

spf-priority

Function

The spf-priority commands sets the priority of SPF calculation.

The undo spf-priority command restores the default priority of SPF calculation.

By default, the priority of SPF calculation in a base topology is 64.

Format

spf-priority priority-value

undo spf-priority

Parameters

Parameter Description Value
priority-value Specifies the priority of SPF calculation. A larger value indicates a higher priority. The value is an integer that ranges from 1 to 127.

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

If a higher priority is set for a topology, routes of the topology instance are converged first, ensuring that important services are running properly.

Example

# Set the priority of SPF calculation in an IPv4 base topology to 30.

<Huawei> system-view
[Huawei] isis 1
[Huawei-isis-1] spf-priority 30

spf-slice-size

Function

The spf-slice-size command sets the maximum duration for IS-IS route calculation.

The undo spf-slice-size command restores the default setting.

By default, IS-IS route calculation lasts for a maximum of 2 ms at a time.

Format

spf-slice-size duration-time

undo spf-slice-size

Parameters

Parameter Description Value
duration-time Specifies the maximum duration for IS-IS route calculation. The value is an integer that ranges from 1 to 5000, in milliseconds. The default value is 2.

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

When a routing table contains a large number of routes, run the spf-slice-size command to specify the maximum duration of SPF calculation to prevent route calculation from using system resources for a long period.

Example

# Set the maximum duration of IS-IS route calculation to 50 ms.

<Huawei> system-view
[Huawei] isis
[Huawei-isis-1] spf-slice-size 50

summary (IS-IS)

Function

The summary command configures IS-IS to generate summarized routes.

The undo summary command disables IS-IS from generating summarized routes.

By default, IS-IS does not generate summarized routes.

Format

summary ip-address mask [ avoid-feedback | generate_null0_route | tag tag | [ level-1 | level-1-2 | level-2