- Table of Contents
-
- 03-IP Routing Volume
- 00-IP Routing Volume Organization
- 01-IP Routing Table Display Commands
- 02-Static Routing Commands
- 03-RIP Commands
- 04-OSPF Commands
- 05-IS-IS Commands
- 06-BGP Commands
- 07-IPv6 Static Routing Commands
- 08-IPv6 RIPng Commands
- 09-IPv6 OSPFv3 commands
- 10-IPv6 IS-IS Commands
- 11-IPv6 BGP Commands
- 12-Route Policy Commands
Title | Size | Download |
---|---|---|
05-IS-IS Commands | 256.24 KB |
Table of Contents
1 IS-IS Configuration Commands
bandwidth-reference (IS-IS view)
default-route-advertise (IS-IS view)
display isis graceful-restart status
filter-policy export (IS-IS view)
filter-policy import (IS-IS view)
graceful-restart interval (IS-IS view)
import-route isis level-2 into level-1
import-route limit (IS-IS view)
maximum load-balancing (IS-IS view)
The term “router” in this document refers to a router in a generic sense or a Layer 3 switch.
IS-IS Configuration Commands
area-authentication-mode
Syntax
area-authentication-mode { simple | md5 } password [ ip | osi ]
View
IS-IS view
Default Level
2: System level
Parameters
simple: Specifies the simple authentication mode.
md5: Specifies the MD5 authentication mode.
password: Password. For simple authentication mode, the password must be plain text. For md5 authentication mode, the password can be either plain text or cipher text. A plaintext password can be a string of up to 16 characters, such as user918. A cipher password must be a ciphertext string of 24 characters, such as (TT8F]Y\5SQ=^Q`MAF4<1!!.
ip: Checks IP related fields in LSPs.
osi: Checks OSI related fields in LSPs.
Whether a password should use ip or osi is not affected by the actual network environment.
Description
Use the area-authentication-mode command to specify the area authentication mode and a password.
Use the undo area-authentication-mode command to restore the default.
No area authentication is configured by default.
The password in the specified mode is inserted into all outgoing Level-1 packets (LSP, CSNP and PSNP) and is used for authenticating the incoming Level-1 packets.
With area authentication configured, IS-IS discards incoming routes from untrusted routers.
Note that:
l Routers in a common area must have the same authentication mode and password.
l If neither ip nor osi is specified, OSI related fields are checked.
Related commands: reset isis all, domain-authentication-mode, isis authentication-mode
Examples
# Set the area authentication password to ivg, and the authentication mode to simple.
<Sysname> system-view
[Sysname] isis
[Sysname-isis-1] area-authentication-mode simple ivg
auto-cost enable
Syntax
auto-cost enable
undo auto-cost enable
View
IS-IS view
Default Level
2: System level
Parameters
None
Description
Use the auto-cost enable command to enable automatic link cost calculation.
Use the undo auto-cost enable command to disable the function.
This function is disabled by default.
After automatic link cost calculation is enabled, the link cost is automatically calculated based on the bandwidth reference value of an interface. When the cost-style is wide or wide-compatible, the cost value of an interface is calculated by using the formula: Cost = (reference bandwidth value/link bandwidth) × 10.
Related commands: bandwidth-reference, cost-style.
Examples
# Enable automatic link cost calculation.
<Sysname> system-view
[Sysname] isis
[Sysname-isis-1] auto-cost enable
bandwidth-reference (IS-IS view)
Syntax
bandwidth-reference value
undo bandwidth-reference
View
IS-IS view
Default Level
2: System level
Parameters
value: Bandwidth reference value in Mbps, ranging from 1 to 2147483648.
Description
Use the bandwidth-reference command to set the bandwidth reference value for automatic link cost calculation.
Use the undo bandwidth-reference command to restore the default.
By default, the bandwidth reference value is 100 Mbps.
Related commands: auto-cost enable.
Examples
# Configure the bandwidth reference of IS-IS process 1 as 200 Mbps.
<Sysname> system-view
[Sysname] isis
[Sysname-isis-1] bandwidth-reference 200
circuit-cost
Syntax
circuit-cost value [ level-1 | level-2 ]
undo circuit-cost [ level-1 | level-2 ]
View
IS-IS view
Default Level
2: System level
Parameters
value: Link cost value. The value range varies with cost styles.
l For styles narrow, narrow-compatible and compatible, the cost value ranges from 0 to 63.
l For styles wide and wide-compatible, the cost value ranges from 0 to 16777215.
level-1: Applies the link cost to Level-1.
level-2: Applies the link cost to Level-2.
Description
Use the circuit-cost command to set a global IS-IS link cost.
Use the undo circuit-cost command to restore the default.
By default, no global link cost is configured.
If no level is specified, the specified cost applies to both Level-1 and Level-2.
Related commands: isis cost, cost-style.
Examples
# Set the global Level-1 link cost of IS-IS process 1 to 11.
<Sysname> system-view
[Sysname] isis
[Sysname-isis-1] circuit-cost 11 level-1
cost-style
Syntax
cost-style { narrow | wide | wide-compatible | { compatible | narrow-compatible } [ relax-spf-limit ] }
undo cost-style
View
Default Level
2: System level
Parameters
narrow: Receives and sends only narrow cost style packets (The narrow cost ranges from 0 to 63).
wide: Receives and sends only wide cost style packets (The wide cost ranges from 0 to 16777215).
compatible: Receives and sends both wide and narrow cost style packets.
narrow-compatible: Receives both narrow and wide cost style packets, but sends only narrow cost style packets.
wide-compatible: Receives both narrow and wide cost style packets, but sends only wide cost style packets.
relax-spf-limit: Allows receiving routes with a cost greater than 1023. If this keyword is not specified, any route with a cost bigger than 1023 will be discarded. This keyword is only available when compatible or narrow-compatible is included.
Description
Use the cost-style command to set a cost style.
Use the undo cost-style command to restore the default.
Only narrow cost style packets can be received and sent by default.
Related commands: isis cost, circuit-cost.
Examples
# Configure the router to send only narrow cost style packets, but receive both narrow and wide cost style packets.
<Sysname> system-view
[Sysname] isis
[Sysname-isis-1] cost-style narrow-compatible
default-route-advertise (IS-IS view)
Syntax
default-route-advertise [ route-policy route-policy-name | [ level-1 | level-2 | level-1-2 ] ] *
undo default-route-advertise [ route-policy route-policy-name ]
View
IS-IS view
Default Level
2: System level
Parameters
route-policy-name: Specifies the name of a routing policy, a string of 1 to 19 characters.
level-1: Advertises a Level-1 default route.
level-2: Advertises a Level-2 default route.
level-1-2: Advertises both Level-1 and Level-2 default routes.
Description
Use the default-route-advertise command to advertise a default route of 0.0.0.0/0.
Use the undo default-route-advertise command to disable default route advertisement.
Default route advertisement is disabled by default.
Note that:
l If no level is specified, a Level-2 default route is advertised.
l The Level-1 default route is advertised to other routers in the same area, while the Level-2 default route is advertised to all the Level-2 and Level-1-2 routers.
l Using the apply isis level-1 command in routing policy view will generate a default route in a Level-1 LSP. Using the apply isis level-2 command in routing policy view will generate a default route in a Level-2 LSP. Using the apply isis level-1-2 command in routing policy view will generate a default route in a Level-1 LSP and Level-2 LSP respectively.
Examples
# Advertise a Level-2 default route.
<Sysname> system-view
[Sysname] isis
[Sysname-isis-1] default-route-advertise
display isis brief
Syntax
display isis brief [ process-id | vpn-instance vpn-instance-name ]
View
Any view
Default Level
1: Monitor level
Parameters
process-id: Displays IS-IS brief configuration information for the IS-IS process. The process ID is in the range 1 to 65535.
vpn-instance vpn-instance-name: Displays IS-IS brief configuration information for the VPN instance. The VPN instance name is a string of 1 to 31 characters.
Description
Use the display isis brief command to view IS-IS brief configuration information.
Examples
# Display IS-IS brief configuration information.
<Sysname> display isis brief
ISIS (1) Protocol Brief Information :
network-entity:
10.0000.0000.0001.00
is-level :level-1-2
cost-style: narrow
preference : 15
Lsp-length receive : 1497
Lsp-length originate : level-1 1497
level-2 1497
maximum imported routes number : 10000
Timers:
lsp-max-age: 1200
lsp-refresh: 900
Interval between SPFs: 10
Table 1-1 display isis brief command output description
Field |
Description |
|
network-entity |
Network entity name |
|
is-level |
IS-IS Routing level |
|
cost-style |
Cost style |
|
preference |
Preference |
|
Lsp-length receive |
Maximum LSP that can be received |
|
Lsp-length originate |
Maximum LSP that can be generated |
|
maximum imported routes number |
Maximum number of redistributed Level-1/Level-2 IPv4 routes |
|
Timers |
lsp-max-age |
Maximum life period of LSP |
lsp-refresh |
Refresh interval of LSP |
|
Interval between SPFs |
Interval between SPF calculations |
display isis debug-switches
Syntax
display isis debug-switches { process-id | vpn-instance vpn-instance-name }
View
Any view
Default Level
1: Monitor level
Parameters
process-id: Displays the IS-IS debugging switch state for the IS-IS process. The ID is in the range of 1 to 65535.
vpn-instance-name: Displays the IS-IS debugging switch state for the VPN instance. The name is a string of 1 to 31 characters.
Description
Use the display isis debug-switches command to display IS-IS debugging switch state.
Examples
# Display the debugging switch state of IS-IS process 1.
<Sysname> display isis debug-switches 1
IS-IS - Debug settings.
IS-IS SPF Triggering Events debugging is on
display isis graceful-restart status
Syntax
display isis graceful-restart status [ level-1 | level-2 ] [ process-id | vpn-instance vpn-instance-name ]
View
Any view
Default Level
1: Monitor level
Parameters
level-1: Displays the IS-IS Level-1 Graceful Restart state.
level-2: Displays the IS-IS Level-2 Graceful Restart state.
process-id: IS-IS Process ID, in the range 1 to 65535.
vpn-instance vpn-instance-name: Name of a VPN instance, a string of 1 to 31 characters.
Description
Use the display isis graceful-restart status command to display IS-IS Graceful Restart status.
Examples
# Display IS-IS Graceful Restart status.
<Sysname> display isis graceful-restart status
Restart information for IS-IS(1)
--------------------------------------------------------------------
IS-IS(1) Level-1 Restart Status
Restart Interval: 150
SA Bit Supported
Total Number of Interfaces = 1
Restart Status: RESTARTING
Number of LSPs Awaited: 3
T3 Timer Status:
Remaining Time: 140
T2 Timer Status:
Remaining Time: 59
IS-IS(1) Level-2 Restart Status
Restart Interval: 150
SA Bit Supported
Total Number of Interfaces = 1
Restart Status: RESTARTING
Number of LSPs Awaited: 3
T3 Timer Status:
Remaining Time: 140
T2 Timer Status:
Remaining Time: 59
Table 1-2 display isis graceful-restart status command output description
Field |
Description |
Restart Interval |
Graceful Restart interval |
SA Bit Supported |
The SA bit is set |
Total Number of Interfaces = 1 |
The current IS-IS interface number |
Restart Status: |
Graceful Restart status |
Number of LSPs Awaited |
Number of LSPs not obtained by the GR restarter from GR helpers during LSDB synchronization |
T3 Timer Status |
Remaining time of T3 timer |
T2 Timer Status: |
Remaining time of T2 Timer |
display isis interface
Syntax
display isis interface [ statistics | [ interface-type interface-number ] [ verbose ] ] [ process-id | vpn-instance vpn-instance-name ]
View
Any view
Default Level
1: Monitor level
Parameters
statistics: Displays IS-IS interface statistics information.
interface-type interface-number: IS-IS interface whose statistics information is to be displayed.
verbose: Displays detailed IS-IS interface information.
process-id: Displays the IS-IS interface information of the IS-IS process. The ID is in the range of 1 to 65535.
vpn-instance-name: Displays the IS-IS interface information of the VPN instance. The name is a string of 1 to 31 characters.
Description
Use the display isis interface command to display IS-IS interface information.
Examples
# Display brief IS-IS interface information.
<Sysname> display isis interface
Interface information for ISIS(1)
---------------------------------
Interface: Vlan-interface1
Id IPV4.State IPV6.State MTU Type DIS
001 Up Down 1497 L1/L2 No/No
# Display detailed IS-IS interface information.
<Sysname> display isis interface verbose
Interface information for ISIS(1)
---------------------------------
Interface: Vlan-interface999
Id IPV4.State IPV6.State MTU Type DIS
001 Up Down 1497 L1/L2 No/No
SNPA Address : 000f-e237-c6e0
IP Address : 192.168.1.48
Secondary IP Address(es) :
IPV6 Link Local Address :
IPV6 Global Address(es) :
Csnp Timer Value : L1 10 L2 10
Hello Timer Value : L1 10 L2 10
Hello Multiplier Value : L1 3 L2 3
Lsp Timer Value : L12 33
Cost : L1 10 L2 10
Priority : L1 64 L2 64
Retransmit Timer Value : L12 5
BFD : Disabled
MPLS TE Status : OFF
INTF L1 TE Status : OFF
INTF L2 TE Status : OFF
TE Cost : 0
TE Admin Group : 0
TE Max Bandwidth : 0
TE Max Res Bandwidth : 0
# Displays detailed information of the specified IS-IS interface.
<Sysname> display isis interface Tunnel 1 verbose
Interface information for ISIS(1)
---------------------------------
Interface: Tunnel1
Id IPv4.State IPv6.State MTU Type DIS
005 Up Down 16384L1/L2 --
SNPA Address : 0000-0000-0000
IP Address : 10.1.1.4
Secondary IP Address(es) :
IPv6 Link Local Address :
IPv6 Global Address(es) :
Csnp Timer Value : L1 10 L2 10
Hello Timer Value : 10
Hello Multiplier Value : 3
Cost : L1 10 L2 10
Priority : L1 64 L2 64
Retransmit Timer Value : L12 5
Retransmit-Throttle Timer : L12 33
BFD : Disabled
Tunnel L1 State : OFF
Tunnel L2 State : ON
Tunnel Type : AA
Tunnel Metric : 0
Destination Router ID : 5.5.5.5
Table 1-3 display isis interface command output description
Field |
Description |
Interface |
Interface type and number |
Id |
Circuit ID |
IPV4.State |
IPv4 state |
IPV6.State |
IPv6 state |
MTU |
Interface MTU |
Type |
Interface link adjacency type |
DIS |
Whether the interface is elected as the DIS or not |
SNPA Address |
Subnet access point address |
IP Address |
Primary IP address |
Secondary IP Address(es) |
Secondary IP addresses |
IPV6 Link Local Address |
IPv6 link local address |
IPV6 Global Address(es) |
IPv6 global address |
Csnp Timer Value |
Interval for sending CSNP packets |
Hello Timer Value |
Interval for sending Hello packets |
Hello Multiplier Value |
Number of invalid Hello packets |
Lsp Timer Value |
Minimum interval for sending LSP packets |
Cost |
Cost of the interface |
Priority |
DIS priority |
Retransmit Timer Value |
LSP retransmission interval over the point-to-point link |
BFD |
Whether BFD is enabled on the interface |
MPLS TE Status |
Whether MPLS TE is enabled on the interface |
INTF L1 TE Status |
Whether level-1 MPLS TE is enabled on the interface |
INTF L2 TE Status |
Whether level-2 MPLS TE is enabled on the interface |
TE Cost |
MPLS TE cost configured on the interface |
TE Admin Group |
TE link administration group |
TE Max Bandwidth |
TE link maximum bandwidth |
TE Max Res Bandwidth |
TE link maximum reserved bandwidth |
Tunnel L1 State |
IS-IS TE tunnel level-1 state |
Tunnel L2 State |
IS-IS TE tunnel level-2 state |
Tunnel Type |
Tunnel type |
Tunnel Metric |
IGP metric of the TE tunnel |
Destination Router ID |
Destination address of TE tunnel inteface |
# Display IS-IS interface statistics information.
<sysname> display isis interface statistics
Interface Statistics information for ISIS(1)
--------------------------------------------
Type IPv4 Up/Down IPv6 Up/Down
LAN 0/1 -/-
P2P 4/0 -/-
Table 1-4 display isis interface statistics command output description
Field |
Description |
Type |
Network type of the interface: l LAN for broadcast network. l P2P for point-to-point network. |
IPv4 UP |
Number of IS-IS interfaces in up state |
IPv4 DOWN |
Number of IS-IS interfaces in down state |
IPv6 UP |
Number of IS-ISv6 interfaces in up state. A value of "-" means IPv6 is not enabled. |
IPv6 DOWN |
Number of IS-ISv6 interfaces in down state. A value of "-" means IPv6 is not enabled. |
display isis license
Syntax
display isis license
View
Any view
Default Level
1: Monitor level
Parameters
Description
Use the display isis license command to display the information of the IS-IS license.
Examples
# Display the information of the IS-IS license.
<Sysname> display isis license
ISIS Shell License Values
_________________________
Feature Name Active Controllable
ISIS Protocol YES NO
IPV6 YES NO
RESTART YES NO
TE NO NO
MI YES NO
Resource Name MinVal MaxVal CurrVal Controllable
Max Processes Resource 1 1024 500 0
Max Paths Resource 1 6 3 0
Max IPv4 Rt Resource 400000 400000 400000 0
Max IPv6 Rt Resource 400000 400000 400000 0
ISIS Core License Values
________________________
Feature Name Active
ISIS Protocol YES
IPV6 YES
RESTART YES
TE NO
MI YES
Resource Name Current Value
Max Processes Resource 500
Max Paths Resource 3
Max IPv4 Rt Resource 400000
Max IPv6 Rt Resource 400000
Table 1-5 display isis license command output description
Field |
Description |
ISIS Shell License Values |
License values of IS-IS shell |
Feature Name |
Feature name |
Active |
Whether the state is active. |
Controllable |
Whether support reading configuration through License file. |
ISIS Protocol |
IS-IS Protocol |
IPV6 |
Whether IPv6 is active or not. |
RESTART |
Graceful Restart (GR) |
TE |
Traffic Engineering |
MI |
Multi-instance |
Resource Name |
Resource name |
MinVal |
Minimum value |
MaxVal |
Maximum value |
CurrVal |
Current value |
ISIS Core License Values |
License values of IS-IS Core |
Max Processes Resource |
Maximum number of processes supported |
Max Paths Resource |
Maximum equal cost paths |
Max IPv4 Rt Resource |
Maximum IPv4 routes supported |
Max IPv6 Rt Resource |
Maximum IPv6 routes supported |
display isis lsdb
Syntax
display isis lsdb [ [ l1 | l2 | level-1 | level-2 ] | [ lsp-id LSPID | lsp-name lspname ] | local | verbose ] * [ process-id | vpn-instance vpn-instance-name ]
View
Any view
Default Level
1: Monitor level
Parameters
l1, level-1: Displays the level-1 LSDB.
l2, level-2: Displays the level-2 LSDB.
LSPID: LSP ID, in the form of sysID. Pseudo ID-fragment num, where sysID represents the originating node or pseudo node.
lspname: LSP name, in the form of Symbolic name.[Pseudo ID]-fragment num.
local: Displays LSP information generated locally.
verbose: Displays LSDB detailed information.
process-id: Displays the LSDB of the IS-IS process. The ID is in the range of 1 to 65535.
vpn-instance-name: Displays the LSDB of the VPN instance. The VPN instance name is a string of 1 to 31 characters.
Description
Use the display isis lsdb command to display IS-IS link state database.
If no level is specified, both Level-1 and Level-2 link state databases are displayed.
Examples
# Display brief Level-1 LSDB information.
<Sysname> display isis lsdb level-1
Level-1 Link State Database
LSPID Seq Num Checksum Holdtime Length ATT/P/OL
--------------------------------------------------------------------------
1111.1111.1111.00-00 0x00000004 0xa76 563 68 0/0/0
1111.1111.1112.00-00* 0x00000006 0x498d 578 84 0/0/0
1111.1111.1112.01-00* 0x00000001 0x4c0e 556 55 0/0/0
*-Self LSP, +-Self LSP(Extended), ATT-Attached, P-Partition, OL-Overload
# Display detailed Level-1 LSDB information.
<Sysname> display isis lsdb level-1 verbose
Database information for ISIS(1)
--------------------------------
Level-1 Link State Database
LSPID Seq Num Checksum Holdtime Length ATT/P/OL
--------------------------------------------------------------------------
1111.1111.1111.00-00 0x00000005 0x877 1090 68 0/0/0
SOURCE 1111.1111.1111.00
NLPID IPV4
AREA ADDR 10
INTF ADDR 3.1.1.2
NBR ID 1111.1111.1112.01 COST: 10
IP-Internal 3.1.1.0 255.255.255.0 COST: 10
1111.1111.1112.00-00* 0x00000007 0x478e 1120 84 0/0/0
SOURCE 1111.1111.1112.00
NLPID IPV4
AREA ADDR 10
INTF ADDR 3.1.1.1
INTF ADDR 2.1.2.2
NBR ID 1111.1111.1112.01 COST: 10
IP-Internal 3.1.1.0 255.255.255.0 COST: 10
IP-Internal 2.1.2.0 255.255.255.0 COST: 10
1111.1111.1112.01-00* 0x00000002 0x4a0f 1118 55 0/0/0
SOURCE 1111.1111.1112.01
NLPID IPV4
NBR ID 1111.1111.1112.00 COST: 0
NBR ID 1111.1111.1111.00 COST: 0
*-Self LSP, +-Self LSP(Extended), ATT-Attached, P-Partition, OL-Overload
Table 1-6 display isis lsdb command output description
Field |
Description |
LSPID |
Link state packet ID |
Seq Num |
LSP sequence number |
Checksum |
LSP checksum |
Holdtime |
LSP lifetime which decreases as time elapses |
Length |
LSP length |
ATT/P/OL |
Attach bit (ATT) Partition bit (P) Overload bit (OL) 1 means the bit is set and 0 means the bit is not set. |
SOURCE |
System ID of the originating router |
NLPID |
Network layer protocol the originating router runs |
AREA ADDR |
Area address of the originating router |
INTF ADDR |
IP address of the originating router’s IS-IS interface |
INTF ADDR V6 |
IPv6 address of the originating router’s IS-ISv6 interface |
NBR ID |
Neighbor ID of the originating router |
IP-Internal |
Internal IP address and mask of the originating router |
IP-External |
External IP address and mask of the originating router |
IP-Extended |
Extended IP address and mask of the originating router |
COST |
Cost |
HOST NAME |
Dynamic host name of the originating router |
ORG ID |
Original system ID of the virtual system ID of the originating router |
Auth |
Authentication information of the originating router |
IPV6 |
Internal IPv6 address and prefix of the originating router |
IPV6-Ext |
External IPv6 address and prefix of the originating router |
display isis mesh-group
Syntax
display isis mesh-group [ process-id | vpn-instance vpn-instance-name ]
View
Any view
Default Level
1: Monitor level
Parameters
process-id: Displays IS-IS mesh-group configuration information for the IS-IS process. The ID is in the range of 1 to 65535.
vpn-instance-name: Displays IS-IS mesh-group configuration information for the VPN instance. The VPN instance name is a string of 1 to 31 characters.
Description
Use the display isis mesh-group command to display IS-IS mesh-group configuration information.
Examples
# Configure VLAN-interface 10 and VLAN-interface 20 to belong to mesh-group 100.
<Sysname> system-view
[Sysname] interface vlan-interface 10
[Sysname-Vlan-interface10] isis mesh-group 100
[Sysname-Vlan-interface10] interface vlan-interface 20
[Sysname-Vlan-interface20] isis mesh-group 100
# Display the configuration information of IS-IS mesh-group.
[Sysname-Vlan-interface20] display isis mesh-group
Mesh Group information for ISIS(1)
----------------------------------
Interface Status
Vlan10 100
Vlan20 100
Table 1-7 display isis mesh-group command output description
Field |
Description |
Interface |
Interface name |
Status |
Mesh-group the interface belongs to |
display isis name-table
Syntax
display isis name-table [ process-id | vpn-instance vpn-instance-name ]
View
Any view
Default Level
1: Monitor level
Parameters
process-id: Displays the host name-to-system ID mapping table for the IS-IS process. The ID is in the range of 1 to 65535.
vpn-instance-name: Displays the host name-to-system ID mapping table for the VPN instance. The VPN instance name is a string of 1 to 31 characters.
Description
Use the display isis name-table command to display the host name-to-system ID mapping table.
Examples
# Configure a name for the local IS system.
<Sysname> system-view
[Sysname] isis
[Sysname-isis-1] is-name RUTA
# Configure a static mapping for the remote IS system (system ID 0000.0000.0041, host name RUTB).
[Sysname-isis-1] is-name map 0000.0000.0041 RUTB
# Display the IS-IS host name-to-system ID mapping table.
[Sysname-isis-1] 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 1-8 display isis name-table command output description
Field |
Description |
System ID |
System ID |
Hostname |
Hostname name |
Type |
Mapping type (static or dynamic) |
display isis peer
Syntax
display isis peer [ verbose | statistics ] [ process-id | vpn-instance vpn-instance-name ]
View
Any view
Default Level
1: Monitor level
Parameters
verbose: Displays detailed IS-IS neighbor information. Without the keyword, the command displays brief IS-IS neighbor information.
statistics: Displays IS-IS neighbor statistics information.
process-id: Displays the IS-IS neighbor information of the IS-IS process. The ID is in the range of 1 to 65535.
vpn-instance-name: Displays the IS-IS neighbor information of the VPN instance. The vpn-instance-name is a string of 1 to 31 characters.
Description
Use the display isis peer command to display IS-IS neighbor information.
Examples
# Display brief IS-IS neighbor information.
<Sysname> display isis peer
Peer information for ISIS(1)
----------------------------
System Id: 1111.1111.1111
Interface: Vlan-interface1 Circuit Id: 1111.1111.1112.01
State: Up HoldTime: 23s Type: L1(L1L2) PRI: 64
System Id: 1111.1111.1111
Interface: Vlan-interface1 Circuit Id: 1111.1111.1112.01
State: Up HoldTime: 23s Type: L2(L1L2) PRI: 64
# Display detailed IS-IS neighbor information.
<Sysname>display isis peer verbose
Peer information for ISIS(1)
----------------------------
System Id: 1111.1111.1111
Interface: Vlan-interface1 Circuit Id: 1111.1111.1112.01
State: Up HoldTime: 27s Type: L1(L1L2) PRI: 64
Area Address(es):10
Peer IP Address(es): 3.1.1.2
Uptime: 00:38:15
Adj Protocol: IPV4
System Id: 1111.1111.1111
Interface: Vlan-interface1 Circuit Id: 1111.1111.1112.01
State: Up HoldTime: 28s Type: L2(L1L2) PRI: 64
Area Address(es):10
Peer IP Address(es): 3.1.1.2
Uptime: 00:38:15
Adj Protocol: IPV4
Table 1-9 display isis peer command output description
Field |
Description |
System Id |
System ID of the neighbor |
Interface |
Interface connecting to the neighbor |
Circuit Id |
Circuit ID |
State |
Circuit state |
HoldTime |
Holdtime Within the holdtime if no hellos are received from the neighbor, the neighbor is considered down. If a hello is received, the holdtime is reset to the initial value. |
Type |
Circuit type L1 means the circuit type is Level-1 and the neighbor is a Level-1 router. L2 means the circuit type is Level-2 and the neighbor is a Level-2 router. L1(L1L2) means the circuit type is Level-1 and the neighbor is a Level-1-2 router. L2(L1L2) means the circuit type is Level-2 and the neighbor is a Level-1-2 router. |
PRI |
DIS priority of the neighbor |
Area Address(es) |
The neighbor’s area address |
Peer IP Address(es) |
IP address of the neighbor |
Uptime |
Time that elapsed since the neighbor relationship was formed. |
Adj Protocol |
Adjacency protocol |
# Display IS-IS neighbor statistics information.
<Sysname> display isis peer statistics
Peer Statistics information for ISIS(1)
---------------------------------------
Type IPv4 Up/Init IPv6 Up/Init
LAN Level-1 0/0 0/0
LAN Level-2 0/0 0/0
P2P 3/0 0/0
Table 1-10 display isis peer statistics command output description
Field |
Description |
Type |
Neighbor type: l LAN Level-1: Number of Level-1 neighbors whose network type is broadcast. l LAN Level-2: Number of Level-2 neighbors whose network type is broadcast. l P2P: Number of neighbors whose network type is P2P. |
IPv4 Up |
Number of IPv4 neighbors in up state |
IPv4 Init |
Number of IPv4 neighbors in init state |
IPv6 Up |
Number of IPv6 neighbors in up state |
IPv6 Init |
Number of IPv6 neighbors in init state |
display isis route
Syntax
display isis route [ ipv4 ] [ [ level-1 | level-2 ] | verbose ] * [ process-id | vpn-instance vpn-instance-name ]
View
Any view
Default Level
1: Monitor level
Parameters
ipv4: Displays IS-IS IPv4 routing information (the default).
verbose: Displays detailed IS-IS IPv4 routing information.
process-id: Displays the IS-IS IPv4 routing information of the IS-IS process. The ID is in the range of 1 to 65535.
vpn-instance-name: Displays the IS-IS IPv4 routing information of the VPN instance. The vpn-instance-name is a string of 1 to 31 characters.
level-1: Displays Level-1 IS-IS routes.
level-2: Displays Level-2 IS-IS routes.
Description
Use the display isis route command to display IS-IS IPv4 routing information.
If no level is specified, both Level-1 and Level-2 routing information will be displayed.
Examples
# Display IS-IS IPv4 routing information.
<Sysname> display isis route 1
Route information for ISIS(1)
-----------------------------
ISIS(1) IPv4 Level-1 Forwarding Table
-------------------------------------
IPV4 Destination IntCost ExtCost ExitInterface NextHop Flags
--------------------------------------------------------------------------
1.1.0.0/16 20 NULL Vlan1 1.2.1.1 R/L/-
1.2.0.0/16 10 NULL Vlan1 Direct D/L/-
Flags: D-Direct, R-Added to RM, L-Advertised in LSPs, U-Up/Down Bit Set
ISIS(1) IPv4 Level-2 Forwarding Table
-------------------------------------
IPV4 Destination IntCost ExtCost ExitInterface NextHop Flags
--------------------------------------------------------------------------
1.1.0.0/16 20 NULL
1.2.0.0/16 10 NULL Vlan1 Direct D/L/-
Flags: D-Direct, R-Added to RM, L-Advertised in LSPs, U-Up/Down Bit Set
Table 1-11 display isis route command output description
Field |
Description |
Route information for ISIS(1) |
Route information for IS-IS process 1 |
ISIS(1) IPv4 Level-1 Forwarding Table |
IS-IS IPv4 routing information for Level-1 |
ISIS(1) IPv4 Level-2 Forwarding Table |
IS-IS IPv4 routing information for Level-2 |
IPv4 Destination |
IPv4 destination address |
IntCost |
Interior routing cost |
ExtCost |
Exterior routing cost |
ExitInterface |
Exit interface |
NextHop |
Next hop |
Flags |
Routing state flag D: Direct route. R: The route has been added into the routing table. L: The route has been advertised in an LSP. U: A route’s penetration flag. Setting it to UP can prevent an LSP sent from L2 to L1 from being sent back to L2. |
# Display detailed IS-IS IPv4 routing information.
<Sysname>display isis route verbose
Route information for ISIS(1)
-----------------------------
ISIS(1) IPv4 Level-1 Forwarding Table
-------------------------------------
IPV4 Dest : 1.1.0.0/16 Int. Cost : 20 Ext. Cost : NULL
Admin Tag : - Src Count : 2 Flag : R/L/-
NextHop : Interface : ExitIndex :
1.2.1.1 Vlan1 0x00000008
IPV4 Dest : 1.2.0.0/16 Int. Cost : 10 Ext. Cost : NULL
Admin Tag : - Src Count : 2 Flag : D/L/-
NextHop : Interface : ExitIndex :
Direct Vlan1 0x00000000
Flags: D-Direct, R-Added to RM, L-Advertised in LSPs, U-Up/Down Bit Set
ISIS(1) IPv4 Level-2 Forwarding Table
-------------------------------------
IPV4 Dest : 1.1.0.0/16 Int. Cost : 20 Ext. Cost : NULL
Admin Tag : - Src Count : 2 Flag : -/-/-
IPV4 Dest : 1.2.0.0/16 Int. Cost : 10 Ext. Cost : NULL
Admin Tag : - Src Count : 3 Flag : D/L/-
NextHop : Interface : ExitIndex :
Direct Vlan1 0x00000000
Flags: D-Direct, R-Added to RM, L-Advertised in LSPs, U-Up/Down Bit Set
Table 1-12 display isis route verbose command output description
Field |
Description |
Route information for ISIS(1) |
Route information for IS-IS process 1 |
ISIS(1) IPv4 Level-1 Forwarding Table |
IS-IS IPv4 routing information for Level-1 |
ISIS(1) IPv4 Level-2 Forwarding Table |
IS-IS IPv4 routing information for Level-2 |
IPV4 Dest |
IPv4 destination |
Int. Cost |
Internal route cost |
Ext. Cost |
External route cost |
Admin Tag |
Tag |
Src Count |
Count of advertising sources |
Flag |
Route state flag R: Indicates the route have been installed into the routing table. L: The route has been flooded in an LSP. U: Route leaking flag. If it is UP, routes from L2 to L1 cannot be advertised back to L2. |
Next Hop |
Next hop |
Interface |
Outgoing interface |
ExitIndex |
Index of the outgoing interface |
display isis spf-log
Syntax
display isis spf-log [ process-id | vpn-instance vpn-instance-name ]
View
Any view
Default Level
1: Monitor level
Parameters
process-id: Displays IS-IS SPF log information for the IS-IS process. The ID is in the range of 1 to 65535.
vpn-instance-name: Displays IS-IS SPF log information for the VPN instance. The name is a string of 1 to 31 characters.
Description
Use the display isis spf-log command to display IS-IS SPF log information.
Examples
# Display IS-IS SPF log information.
<Sysname> display isis spf-log
SPF Log information for ISIS(1)
-------------------------------
Level Trig.Event No.Nodes Duration StartTime
L2 IS_SPFTRIG_PERIODIC 2 0 13:3:24
L1 IS_SPFTRIG_PERIODIC 2 0 13:18:8
L2 IS_SPFTRIG_PERIODIC 2 0 13:18:8
L1 IS_SPFTRIG_PERIODIC 2 0 13:32:28
L2 IS_SPFTRIG_PERIODIC 2 0 13:32:28
L1 IS_SPFTRIG_PERIODIC 2 0 13:44:0
L2 IS_SPFTRIG_PERIODIC 2 0 13:44:0
L1 IS_SPFTRIG_PERIODIC 2 0 13:55:43
-->L2 IS_SPFTRIG_PERIODIC 2 0 13:55:43
L1 IS_SPFTRIG_PERIODIC 2 0 11:54:12
L2 IS_SPFTRIG_PERIODIC 2 0 11:54:12
L1 IS_SPFTRIG_PERIODIC 2 0 12:7:24
L2 IS_SPFTRIG_PERIODIC 2 0 12:7:24
L1 IS_SPFTRIG_PERIODIC 2 0 12:21:24
L2 IS_SPFTRIG_PERIODIC 2 0 12:21:24
L1 IS_SPFTRIG_PERIODIC 2 0 12:35:24
L2 IS_SPFTRIG_PERIODIC 2 0 12:35:24
L1 IS_SPFTRIG_PERIODIC 2 0 12:49:24
L2 IS_SPFTRIG_PERIODIC 2 0 12:49:24
L1 IS_SPFTRIG_PERIODIC 2 0 13:3:24
Table 1-13 display isis spf-log command output description
Field |
Description |
SPF Log information for ISIS(1) |
SPF log information for IS-IS process 1 |
Level |
SPF calculation level |
Trig.Event |
SPF triggered event |
No.Nodes |
Number of SPF calculation nodes |
Duration |
SPF calculation duration |
StartTime |
SPF calculation start time |
display isis statistics
Syntax
display isis statistics [ level-1 | level-2 | level-1-2 ] [ process-id | vpn-instance vpn-instance-name ]
View
Any view
Default Level
1: Monitor level
Parameters
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 IS-IS statistics for the IS-IS process. The ID is in the range of 1 to 65535.
vpn-instance-name: Displays IS-IS statistics for the VPN instance. The name is a string of 1 to 31 characters.
Description
Use the display isis statistics command to display IS-IS statistics.
Examples
# Display IS-IS statistics.
<Sysname> display isis statistics
Statistics information for ISIS(1)
----------------------------------
Level-1 Statistics
------------------
Learnt routes information:
Total IPv4 Learnt Routes in IPv4 Routing Table: 1
Total IPv6 Learnt Routes in IPv6 Routing Table: 0
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
ISISv6: 0 BGP4+: 0
RIPng: 0 OSPFv3: 0
Lsp information:
LSP Source ID: No. of used LSPs
0000.0000.0003 002
Table 1-14 display isis statistics command output description
Field |
Description |
|
Statistics information for ISIS(processid) |
Statistics for the IS-IS process |
|
Level-1 Statistics |
Level-1 Statistics |
|
Level-2 Statistics |
Level-2 Statistics |
|
Learnt routes information |
Number of learnt IPv4 routes Number of learnt IPv6 routes |
|
Imported routes information |
IPv4 Imported Routes |
Redistributed IPv4 routes l Static l Direct l IS-IS l BGP l RIP l OSPF |
IPv6 Imported Routes |
Redistributed IPv6 routes l Static l Direct l IS-ISv6 l BGP4+ l RIPng l OSPFv3 |
|
Lsp information |
LSP information l LSP Source ID: ID of the source system l No. of used LSPs: number of used LSPs |
domain-authentication-mode
Syntax
domain-authentication-mode { simple | md5 } password [ ip | osi ]
undo domain-authentication-mode
View
IS-IS view
Default Level
2: System level
Parameters
simple: Specifies the simple authentication mode.
md5: Specifies the MD5 authentication mode.
password: Specifies a password. For simple authentication mode, the password must be plain text. For md5 authentication mode, the password can be either plain text or cipher text. A plain text password can be a string of up to 16 characters, such as user918. A cipher password must be a string of 24 characters, such as _(TT8F]Y\5SQ=^Q`MAF4<1!!.
ip: Checks IP related fields in LSPs.
osi: Checks OSI related fields in LSPs.
Whether a password should use ip or osi is not affected by the actual network environment.
Description
Use the domain-authentication-mode command to specify the routing domain authentication mode and a password.
Use the undo domain-authentication-mode command to restore the default.
No routing domain authentication is configured by default
The configured password in the specified mode is inserted into all outgoing Level-2 packets (LSP, CSNP and PSNP) and is used for authenticating the incoming Level-2 packets.
Note that:
l All the backbone routers must have the same authentication mode and password.
l If neither ip nor osi is specified, the OSI related fields in LSPs are checked.
Related commands: area-authentication-mode, isis authentication-mode.
Examples
# Specify the routing domain authentication mode as simple and password as 123456.
<Sysname> system-view
[Sysname] isis
[Sysname-isis-1] domain-authentication-mode simple 123456
filter-policy export (IS-IS view)
Syntax
filter-policy { acl-number | ip-prefix ip-prefix-name | route-policy route-policy-name } export [ protocol [ process-id ] ]
undo filter-policy export [ protocol [ process-id ] ]
View
IS-IS view
Default Level
2: System level
Parameters
acl-number: Specifies the number of an ACL that is used to filter redistributed routes, ranging from 2000 to 3999. For ACL configuration information, refer to ACL commands in the Security Volume.
ip-prefix ip-prefix-name: Specifies the name of an IP prefix list that is used to filter redistributed routes, a string of 1 to 19 characters. For IP prefix list configuration information, refer to Routing Policy commands in the IP Routing Volume.
route-policy route-policy-name: Specifies the name of a routing policy that is used to filter redistributed routes, a string of 1 to 19 characters. For routing policy configuration information, refer to Routing Policy commands in the IP Routing Volume.
protocol: Filters routes redistributed from the routing protocol, which can be BGP, direct, IS-IS, OSPF, RIP or static.
process-id: Process ID, in the range of 1 to 65535. It is optional only when the protocol is IS-IS, OSPF or RIP.
Description
Use the filter-policy export command to configure IS-IS to filter redistributed routes.
Use the undo filter-policy export command to disable IS-IS from filtering redistributed routes.
IS-IS does not filter redistributed routes by default.
Related commands: filter-policy import.
Examples
# Reference ACL 2000 to filter redistributed routes.
<Sysname> system-view
[Sysname] isis
[Sysname-isis-1] filter-policy 2000 export
filter-policy import (IS-IS view)
Syntax
filter-policy { acl-number | ip-prefix ip-prefix-name | route-policy route-policy-name } import
undo filter-policy import
View
IS-IS view
Default Level
2: System level
Parameters
acl-number: Specifies the number of an ACL that is used to filter routes calculated from received LSPs, ranging from 2000 to 3999. For ACL configuration information, refer to ACL commands in the Security Volume.
ip-prefix ip-prefix-name: Specifies the name of an IP prefix list that is used to filter routes calculated from received LSPs, a string of 1 to 19 characters. For IP prefix list configuration information, refer to Routing Policy commands in the IP Routing Volume.
route-policy route-policy-name: Specifies the name of a routing policy that is used to filter routes calculated from received LSPs, a string of 1 to 19 characters. For routing policy configuration information, refer to Routing Policy commands in the IP Routing Volume.
Description
Use the filter-policy import command to configure IS-IS to filter routes calculated from received LSPs.
Use the undo filter-policy import command to disable IS-IS from filtering routes calculated from received LSPs.
IS-IS does not filter routes calculated from received LSPs by default.
Related commands: filter-policy export.
Examples
# Reference ACL 2000 to filter routes calculated from received LSPs.
<Sysname> system-view
[Sysname] isis
[Sysname-isis-1] filter-policy 2000 import
flash-flood
Syntax
flash-flood [ flood-count flooding-count | max-timer-interval flooding-interval | [ level-1 | level-2 ] ] *
undo flash-flood [ level-1 | level-2 ]
View
IS-IS view
Default Level
2: System level
Parameters
flood-count flooding-count: Specifies the maximum number of LSPs to be flooded before the next SPF calculation, ranging from 1 to 15. The default is 5.
max-timer-interval flooding-interval: Specifies the delay (in milliseconds) of the flash flooding, ranging from 10 to 50000. The default is 10.
level-1: Enables flash flooding for level-1.
level-2: Enables fast-flooding for level-2.
Description
Use the flash-flood command to enable IS-IS LSP flash flooding.
Use the undo flash-flood command to disable IS-IS LSP flash flooding.
IS-IS LSP flash flooding is disabled by default.
If no level is specified, the command enables IS-IS LSP flash flooding for both Level-1 and Level-2.
Examples
# Enable fast flooding and configure the maximum LSPs be sent as 10 and the delay time as 100 milliseconds.
<Sysname> system-view
[Sysname] isis
[Sysname-isis-1] flash-flood flood-count 10 max-timer-interval 100
graceful-restart (IS-IS view)
Syntax
graceful-restart
undo graceful-restart
View
IS-IS view
Default Level
2: System level
Parameters
None
Description
Use the graceful-restart command to enable IS-IS Graceful Restart capability.
Use the undo graceful-restart command to disable IS-IS Graceful Restart capability.
By default, IS-IS Graceful Restart capability is disabled.
Examples
# Enable the Graceful Restart capability for IS-IS process 1.
<Sysname> system-view
[Sysname] isis 1
[Sysname-isis-1] graceful-restart
graceful-restart interval (IS-IS view)
Syntax
graceful-restart interval interval-value
undo graceful-restart interval
View
IS-IS view
Default Level
2: System level
Parameters
interval-value: Graceful Restart interval, in the range 30 to 1800 seconds.
Description
Use the graceful-restart interval command to configure the Graceful Restart interval.
Use the undo graceful-restart interval command to restore the default Graceful Restart interval.
By default, the Graceful Restart interval is 300 seconds.
Examples
# Configure the Graceful Restart interval for IS-IS process 1 as 120 seconds.
<Sysname> system-view
[Sysname] isis 1
[Sysname-isis-1] graceful-restart interval 120
graceful-restart suppress-sa
Syntax
graceful-restart suppress-sa
undo graceful-restart suppress-sa
View
IS-IS view
Default Level
2: System level
Parameters
None
Description
Use the graceful-restart suppress-sa command to suppress the SA (Suppress-Advertisement) bit during restart.
Use the undo graceful-restart suppress-sa command to set the SA bit.
By default, the SA bit is set during restart.
Suppressing the SA bit is mainly for avoiding black hole route. If a router starts or reboots without keeping the local forwarding table, sending packets to the router may result in a severe packet loss. To avoid this, you can set the SA bit of the hello packet sent by the GR Restarter to 1. Upon receiving such hello packets, the GR Helpers will not advertise the GR Restarter through LSP.
Examples
# Suppress the SA bit during Graceful Restart.
<Sysname> system-view
[Sysname] isis 1
[Sysname-isis-1] graceful-restart suppress-sa
import-route (IS-IS view)
Syntax
import-route protocol [ process-id | all-processes | allow-ibgp ] [ cost cost | cost-type { external | internal } | [ level-1 | level-1-2 | level-2 ] | route-policy route-policy-name | tag tag ] *
undo import-route protocol [ process-id | all-processes ]
View
IS-IS view
Default Level
2: System level
Parameters
protocol: Redistributes routes from a routing protocol, which can be BGP, direct, IS-IS, OSPF, RIP or static.
process-id: Process ID, in the range of 1 to 65535. It is available only when the protocol is IS-IS, OSPF or RIP.
all-processes: Redistributes routes from all the processes of the specified routing protocol. This keyword takes effect only when the protocol is rip, ospf, or isis.
allow-ibgp: Allows redistribution of IBGP routes. It is available when the protocol is BGP.
cost: Specifies a cost for redistributed routes.
The range of the cost depends on its style:
l For the styles of narrow, narrow-compatible and compatible, the cost ranges from 0 to 63.
l For the styles of wide, wide-compatible, the cost ranges from 0 to 16777215.
cost-type { external | internal }: Specifies the cost type. The internal type indicates internal routes, and the external type indicates external routes. If external is specified, the cost of a redistributed route to be advertised is added by 64 to make internal routes take priority over external routes. The type is external by default. The keywords are available only when the cost type is narrow, narrow-compatible or compatible.
level-1: Redistributes routes into the Level-1 routing table.
level-2: Redistributes routes into the Level-2 routing table. If no level is specified, the routes are redistributed into the Level-2 routing table by default.
level-1-2: Redistributes routes into both Level-1 and Level-2 routing tables.
route-policy route-policy-name: Redistributes only routes satisfying the matching conditions of a routing policy, the name of which is a string of 1 to 19 characters.
tag tag: Specifies a tag value for redistributed routes from 1 to 4294967295.
Description
Use the import-route command to redistribute routes from another routing protocol or another IS-IS process.
Use the undo import-route command to disable route redistribution from another routing protocol or another IS-IS process.
No route redistribution is configured by default.
IS-IS takes all the redistributed routes as external routes to destinations outside the IS-IS routing domain.
Related commands: import-route isis level-2 into level-1.
l Using the import-route bgp command redistributes only EBGP routes. Using the import-route bgp allow-ibgp command redistributes both EBGP and IBGP routes, but this may cause routing loops; be cautious with this command.
l Only active routes can be redistributed. You can use the display ip routing-table protocol command to display route state information.
Examples
# Redistribute static routes and set the cost to 15.
<Sysname> system-view
[Sysname] isis
[Sysname-isis-1] import-route static cost 15
import-route isis level-2 into level-1
Syntax
import-route isis level-2 into level-1 [ filter-policy { acl-number | ip-prefix ip-prefix-name | route-policy route-policy-name } | tag tag ] *
undo import-route isis level-2 into level-1
View
IS-IS view
Default Level
2: System level
Parameters
acl-number: Specifies the number of an ACL that is used to filter routes from Level-2 to Level-1, ranging from 2000 to 3999. For ACL configuration information, refer to ACL commands in the Security Volume.
ip-prefix ip-prefix-name: Specifies the name of an IP prefix list that is used to filter routes from Level-2 to Level-1, a string of 1 to 19 characters. For IP prefix list configuration information, refer to Routing Policy commands in the IP Routing Volume.
route-policy route-policy-name: Specifies the name of a routing policy that is used to filter routes from Level-2 to Level-1, a string of 1 to 19 characters. For routing policy configuration information, refer to Routing Policy commands in the IP Routing Volume.
tag tag: Specifies a tag value from 1 to 4294967295 for redistributed routes.
Description
Use the import-route isis level-2 into level-1 command to enable route leaking from Level-2 to Level-1.
Use the undo import-route isis level-2 into level-1 command to disable routing leaking.
No route leaking is configured by default.
Note that:
l You can specify a routing policy in the import-route isis level-2 into level-1 command to filter routes from Level-2 to Level-1. Other routing policies specified for route reception and redistribution does not affect the route leaking.
l If a filter policy is configured, only routes passing it can be advertised into the Level-1 area.
Related commands: import-route.
Examples
# Enable route leaking from Level-2 to Level-1.
<Sysname> system-view
[Sysname] isis
[Sysname-isis-1] import-route isis level-2 into level-1
import-route limit (IS-IS view)
Syntax
import-route limit number
undo import-route limit
View
IS-IS view
Default Level
2: System level
Parameters
number: Maximum number of redistributed Level 1/Level 2 IPv4 routes, in the range 1 to 128000.
Description
Use the import-route limit command to configure the maximum number of redistributed Level 1/Level 2 IPv4 routes.
Use the undo import-route limit command to restore the default.
By default, the maximum number of redistributed Level 1/Level 2 IPv4 routes is 128000.
Examples
# Configure IS-IS process 1 to redistribute up to 1000 Level 1/Level 2 IPv4 routes.
<Sysname> system-view
[Sysname] isis 1
[Sysname-isis-1] import-route limit 1000
isis
Syntax
isis [ process-id ] [ vpn-instance vpn-instance-name ]
undo isis [ process-id ]
View
System view
Default Level
2: System level
Parameters
process-id: Process ID, ranging from 1 to 65535. The default is 1.
vpn-instance-name: VPN instance name, a string of 1 to 31 characters.
Description
Use the isis command to enable an IS-IS process and specify an associated VPN instance and/or enter IS-IS view.
Use the undo isis command to disable an IS-IS process.
Related commands: isis enable, network-entity.
Examples
# Enable IS-IS routing process 1, with the system ID being 0000.0000.0002, and area ID being 01.0001.
<Sysname> system-view
[Sysname] isis
[Sysname-isis-1] network-entity 01.0001.0000.0000.0002.00
isis authentication-mode
Syntax
isis authentication-mode { simple | md5 } password [ level-1 | level-2 ] [ ip | osi ]
undo isis authentication-mode [ level-1 | level-2 ]
View
Interface view
Default Level
2: System level
Parameters
simple: Specifies the simple authentication mode.
md5: Specifies the MD5 authentication mode.
password: Specifies a password. For simple authentication mode, the password must be plain text. For md5 authentication mode, the password can be either plain text or ciphertext. A plain text password can be a string of up to 16 characters, such as user918. A cipher password must be a string of 24 characters, such as _(TT8F]Y\5SQ=^Q`MAF4<1!!.
level-1: Sets the password for Level-1.
level-2: Sets the password for Level-2.
ip: Checks IP related fields in LSPs and SNPs.
osi: Checks OSI related fields in LSPs and SNPs.
l This command is not available in loopback interface view.
l Whether a password should use ip or osi is not affected by the actual network environment.
Description
Use the isis authentication-mode command to set the IS-IS authentication mode and password for an interface.
Use the undo isis authentication-mode command to restore the default.
No neighbor relationship authentication is configured by default.
The password in the specified mode is inserted into all outgoing hello packets and is used for authenticating the incoming hello packets. Only the authentication succeeds can the neighbor relationship be formed.
Note that:
l For two routers to become neighbors, the same authentication mode and password must be specified at both ends.
l If you set a password without specifying a level, the password applies to both Level-1 and Level-2,
l If neither ip nor osi is specified, the OSI related fields in LSPs are checked.
l The level-1 and level-2 keywords are available only on the VLAN interfaces of switches after IS-IS is enabled on the interfaces with the isis enable command.
Related commands: area-authentication-mode, domain authentication-mode.
Examples
# Set the plain text password tangshi for VLAN-interface 10.
<Sysname> system-view
[Sysname] interface vlan-interface 10
[Sysname-Vlan-interface10] isis authentication-mode simple tangshi level-1
isis circuit-level
Syntax
isis circuit-level [ level-1 | level-1-2 | level-2 ]
undo isis circuit-level
View
Interface view
Default Level
2: System level
Parameters
level-1: Sets the circuit level to Level-1.
level-1-2: Sets the circuit level to Level-1-2.
level-2: Sets the circuit level to Level-2.
Description
Use the isis circuit-level command to set the circuit level for the interface.
Use the undo isis circuit-level command to restore the default.
An interface can establish either the Level-1 or Level-2 adjacency by default.
Note that:
For a Level-1 (Level-2) router, the circuit level can only be Level-1 (Level-2). For a Level-1-2 router, you need to specify a circuit level for a specific interface to form only the specified level neighbor relationship.
Related commands: is-level.
Examples
# VLAN-interface 10 is connected to a non backbone router in the same area. Configure the circuit level of VLAN-interface 10 as Level-1 to prevent sending and receiving Level-2 Hello packets.
<Sysname> system-view
[Sysname] interface vlan-interface 10
[Sysname-Vlan-interface10] isis enable
[Sysname-Vlan-interface10] isis circuit-level level-1
isis circuit-type p2p
Syntax
isis circuit-type p2p
undo isis circuit-type
View
Interface view
Default Level
2: System level
Parameters
None
Description
Use the isis circuit-type p2p command to configure the network type for an interface as P2P.
Use the undo isis circuit-type command to cancel the configuration.
By default, the network type of a switch’s VLAN interface is broadcast.
Interfaces with different network types operate differently. For example, broadcast interfaces on a network need to elect a DIS and flood CSNP packets to synchronize the LSDBs, while P2P interfaces on a network need not elect a DIS and have a different LSDP synchronization mechanism.
If there are only two routers on a broadcast network, you can configure the network type of attached interfaces as P2P to avoid DIS election and CSNP flooding, saving network bandwidth and speeding up network convergence.
You can perform this configuration only for a broadcast network with only two attached routers.
Examples
# Configure the network type of VLAN-interface 10 as P2P.
<Sysname> system-view
[Sysname] interface vlan-interface 10
[Sysname-Vlan-interface10] isis enable
[Sysname-Vlan-interface10] isis circuit-type p2p
isis cost
Syntax
isis cost value [ level-1 | level-2 ]
undo isis cost [ level-1 | level-2 ]
View
Interface view
Default Level
2: System level
Parameters
value: Specifies an IS-IS cost for the interface. The cost range differs with cost styles.
l For cost styles narrow, narrow-compatible and compatible, the cost ranges from 1 to 63.
l For cost styles wide and wide-compatible, the cost ranges from 1 to 16777215.
level-1: Applies the cost to Level-1.
level-2: Applies the cost to Level-2.
Description
Use the isis cost command to set the IS-IS cost of an interface.
Use the undo isis cost command to restore the default.
No cost is configured by default.
If neither level-1 nor level-2 is included, the cost applies to both level-1 and level-2.
You are recommended to configure a proper IS-IS cost for each interface to guarantee correct route calculation.
Relate command: circuit-cost.
Examples
# Configure the Level-2 IS-IS cost as 5 for VLAN-interface10.
<Sysname> system-view
[Sysname] interface vlan-interface 10
[Sysname-Vlan-interface10] isis cost 5 level-2
isis dis-name
Syntax
isis dis-name symbolic-name
undo isis dis-name
View
Interface view
Default Level
2: System level
Parameters
symbolic-name: Specifies a DIS name, a string of 1 to 64 characters.
Description
Use the isis dis-name command to configure a name for a DIS to represent the pseudo node on a broadcast network.
Use the undo isis dis-name command to remove the configuration.
No name is configured for the DIS by default.
Note that this command takes effect only on a router that must have dynamic system ID to host name mapping enabled. This command is not supported on a Point-to-Point interface.
This command is not available in loopback interface view.
Examples
# Configure the DIS name as LOCALAREA.
<Sysname> system-view
[Sysname] interface vlan-interface 10
[Sysname-Vlan-interface10] isis dis-name LOCALAREA
isis dis-priority
Syntax
isis dis-priority value [ level-1 | level-2 ]
undo isis dis-priority [ level-1 | level-2 ]
View
Interface view
Default Level
2: System level
Parameters
value: Specifies a DIS priority for the interface, ranging from 0 to 127.
level-1: Applies the DIS priority to Level-1.
level-2: Applies the DIS priority to level-2.
Description
Use the isis dis-priority command to specify a DIS priority at a specified level for an interface.
Use the undo isis dis-priority command to restore the default priority of 64 for Level-1 and Level-2.
If neither level-1 nor level-2 is specified in this command, the DIS priority applies to both Level-1 and Level-2.
On an IS-IS broadcast network, a router should be elected as the DIS at each routing level. You can specify a DIS priority at a level for an interface. The greater the interface’s priority is, the more likelihood it becomes the DIS. If multiple routers in the broadcast network have the same highest DIS priority, the router with the highest SNPA (Subnetwork Point of Attachment) address (SNPA addresses are MAC addresses on a broadcast network) becomes the DIS.
There is no backup DIS in IS-IS and the router with a priority of 0 can also participate in DIS election.
This command is not available in loopback interface view.
Examples
# Configure the level-2 DIS priority as 127 for VLAN-interface 10.
<Sysname> system-view
[Sysname] interface vlan-interface 10
[Sysname-Vlan-interface10] isis dis-priority 127 level-2
isis enable
Syntax
isis enable [ process-id ]
undo isis enable
View
Interface view
Default Level
2: System level
Parameters
process-id: Specifies a IS-IS process ID, ranging from 1 to 65535. The default is 1.
Description
Use the isis enable command to enable an IS-IS process on the interface.
Use the undo isis enable command to disable IS-IS.
No IS-IS routing process is enabled on an interface by default.
Related commands: isis, network-entity.
Examples
# Create IS-IS routing process 1, and enable the IS-IS routing process on VLAN-interface 10.
<Sysname> system-view
[Sysname] isis 1
[Sysname-isis-1] network-entity 10.0001.1010.1020.1030.00
[Sysname-isis-1] quit
[Sysname] interface vlan-interface 10
[Sysname-Vlan-interface10] isis enable 1
isis mesh-group
Syntax
isis mesh-group { mesh-group-number | mesh-blocked }
undo isis mesh-group
View
Interface view
Default Level
2: System level
Parameters
mesh-group-number: Mesh group number, ranging from 1 to 4294967295.
mesh-blocked: Blocks the interface, which sends LSPs only after receiving LSP requests.
Description
Use the undo isis mesh-group command to restore the default.
By default, an interface does not belong to any mesh group.
For an interface not in a mesh group, it follows the normal process to flood the received LSPs to other interfaces. For the NBMA network with high connectivity and multiple point-to-point links, this will cause repeated LSP flooding and bandwidth waste.
After an interface is added to a mesh group, it will only flood a received LSP or a generated LSP to interfaces not belonging to the same mesh group.
If you block an interface, the interface can send LSPs only after receiving LSP requests.
l The mesh-group feature is only available for a point-to-point link interface.
l This command is not available in loopback interface view.
Examples
# Add IS-IS enabled VLAN-interface 10 to the mesh-group 3.
<Sysname> system-view
[Sysname] interface vlan-interface 10
[Sysname-Vlan-interface10] isis mesh-group 3
isis silent
Syntax
isis silent
undo isis silent
View
Interface view
Default Level
2: System level
Parameters
None
Description
Use the isis silent command to disable the interface from sending and receiving IS-IS packets.
Use the undo isis silent command to restore the default.
By default, an interface is not disabled from sending and receiving IS-IS packets.
The feature is not supported on the loopback interface.
Examples
# Disable VLAN-interface 10 from sending and receiving IS-IS packets.
<Sysname> system-view
[Sysname] interface vlan-interface10
[Sysname-Vlan-interface10] isis silent
isis small-hello
Syntax
isis small-hello
undo isis small-hello
View
Interface view
Default Level
2: System level
Parameters
None
Description
Use the isis small-hello command to configure the interface to send small hello packets without CLVs.
Use the undo isis small-hello command to restore the default.
An interface sends standard hello packets by default.
This command is not available in loopback interface view.
Examples
# Configure VLAN-interface 10 to send small Hello packets.
<Sysname> system-view
[Sysname] interface vlan-interface10
[Sysname-Vlan-interface10] isis small-hello
isis timer csnp
Syntax
isis timer csnp seconds [ level-1 | level-2 ]
undo isis timer csnp [ level-1 | level-2 ]
View
Interface view
Default Level
2: System level
Parameters
seconds: Specifies on the DIS of a broadcast network the interval in seconds for sending CSNP packets, ranging from 1 to 600.
level-1: Applies the interval to Level-1.
level-2: Applies the interval to Level-2.
Description
Use the isis timer csnp command to specify on the DIS of a broadcast network the interval for sending CSNP packets.
Use the undo isis timer csnp command to restore the default.
The default CSNP interval is 10 seconds.
l If no level is specified, the CSNP interval applies to both Level-1 and Level-2.
l This command only applies to the DIS of a broadcast network, which sends CSNP packets periodically for LSDB synchronization.
Examples
# Configure Level-2 CSNP packets to be sent every 15 seconds over VLAN-interface 10.
<Sysname> system-view
[Sysname] interface vlan-interface 10
[Sysname-Vlan-interface10] isis timer csnp 15 level-2
isis timer hello
Syntax
isis timer hello seconds [ level-1 | level-2 ]
undo isis timer hello [ level-1 | level-2 ]
View
Interface view
Default Level
2: System level
Parameters
seconds: Specifies the interval in seconds for sending hello packets, ranging from 3 to 255.
level-1: Specifies the interval for sending Level-1 hello packets.
level-2: Specifies the interval for sending Level-2 hello packets.
Description
Use the isis timer hello command to specify the interval for sending hello packets.
Use the undo isis timer hello command to restore the default.
The default hello interval is 10 seconds.
l Level-1 and Level-2 hello packets are sent independently on a broadcast network, so you need to specify an interval for the two levels respectively. On a P2P link, Level-1 and Level-2 packets are both sent in P2P hello packets, and you need not specify an interval for two levels respectively.
l As the shorter the interval is, the more system resources will be occupied, you should configure a proper interval as needed.
l If no level is specified, the hello interval applies to both Level-1 and Level-2.
Related commands: isis timer holding-multiplier.
Examples
# Configure Level-2 Hello packets to be sent every 20 seconds over VLAN-interface 10.
<Sysname> system-view
[Sysname] interface vlan-interface 10
[Sysname-Vlan-interface10] isis timer hello 20 level-2
isis timer holding-multiplier
Syntax
isis timer holding-multiplier value [ level-1 | level-2 ]
undo isis timer holding-multiplier [ level-1 | level-2 ]
View
Interface view
Default Level
2: System level
Parameters
value: Number of hello intervals, in the range of 3 to 1000.
level-1: Applies the number to the Level-1 IS-IS neighbor.
level-2: Applies the number to the Level-2 IS-IS neighbor.
This command is not available in loopback interface view.
Description
Use the isis timer holding-multiplier command to specify the IS-IS hello multiplier.
Use the undo isis timer holding-multiplier command to restore the default.
The default IS-IS hello multiplier is 3.
If no level is specified, the hello multiplier applies to the current level.
With the IS-IS hello multiplier configured, a router can uses hello packets to notify its neighbor router of the adjacency hold time (hello multiplier times hello interval). If the neighbor router receives no hello packets from this router within the hold time, it declares the adjacency down. You can adjust the adjacency hold time by changing the hello multiplier or the hello interval on an interface.
Level-1 and Level-2 hello packets are sent independently on a broadcast network, so you need to specify a hello multiplier for the two levels respectively. On a P2P link, Level-1 and Level-2 packets are both sent in P2P hello packets, and you need not specify Level-1 or Level-2.
Related commands: isis timer hello.
Examples
# Configure the number of Level-2 Hello intervals as 6 for interface VLAN-interface, that is, if no Hello packet is received from the interface within 6 hello intervals, the IS-IS neighbor is considered dead.
<Sysname> system-view
[Sysname] interface vlan-interface 10
[Sysname-Vlan-interface10] isis timer holding-multiplier 6
isis timer lsp
Syntax
isis timer lsp time [ count count ]
undo isis timer lsp
View
Interface view
Default Level
2: System level
Parameters
time: Specifies the minimum interval in milliseconds for sending link-state packets, ranging from 1 to 1000.
count: Specifies the maximum number of link-state packets to be sent at one time, in the range of 1 to 1000. The default is 5.
Description
Use the isis timer lsp command to configure the minimum interval for sending LSPs on the interface and specify the maximum LSPs that can be sent per time.
Use the undo isis timer lsp command to restore the default of 33ms.
Related commands: isis timer retransmit.
This command is not available in loopback interface view.
Examples
# Configure the interval as 500 milliseconds for sending LSPs on interface VLAN-interface 10.
<Sysname> system-view
[Sysname] interface vlan-interface 10
[Sysname-Vlan-interface10] isis timer lsp 500
isis timer retransmit
Syntax
isis timer retransmit seconds
undo isis timer retransmit
View
Interface view
Default Level
2: System level
Parameters
seconds: Specifies the interval in seconds for retransmitting LSP packets, ranging from 1 to 300.
Description
Use the isis timer retransmit command to configure the interval for retransmitting LSP packets over a point-to-point link.
Use the undo isis timer retransmit command to restore the default.
By default, the retransmission interval is 5 seconds.
A P2P link requires a response to a sent LSP. If no response is received within the retransmission interval, the LSP is retransmitted.
You need not use this command over a broadcast link where CNSPs are broadcast periodically.
Related commands: isis timer lsp.
l This command is not available in loopback interface view.
l Configure a proper retransmission interval to avoid unnecessary retransmissions.
Examples
# Configure the LSP retransmission interval as 10 seconds for VLAN-interface 10.
<Sysname> system-view
[Sysname] interface vlan-interface 10
[Sysname-Vlan-interface10] isis timer retransmit 10
is-level
Syntax
is-level { level-1 | level-1-2 | level-2 }
undo is-level
View
IS-IS view
Default Level
2: System level
Parameters
level-1: Configures the router to work on Level-1, which means it only calculates routes within the area, and maintains the L1 LSDB.
level-1-2: Configures the router to work on Level-1-2, which means it calculates routes and maintains the LSDBs for both L1 and L2.
level-2: Configures the router to work on Level-2, which means it calculates routes and maintains the LSDB for L2 only.
Description
Use the is-level command to specify the IS level.
Use the undo is-level command to restore the default.
The default IS level is level-1-2.
Related commands: isis circuit-level.
Examples
# Configure the router to work in Level-1.
<Sysname> system-view
[Sysname] isis
[Sysname-isis-1] is-level level-1
is-name
Syntax
is-name sys-name
undo is-name
View
IS-IS view
Default Level
2: System level
Parameters
symbolic-name: Specifies a host name for the local IS, a string of 1 to 64 characters.
Description
Use the is-name command to specify a host name for the IS to enable dynamic system ID to hostname mapping.
Use the undo is-name command to disable dynamic system ID to hostname mapping.
Dynamic system ID to hostname mapping is not enabled by default.
Examples
# Configure a host name for the local IS.
<Sysname> system-view
[Sysname] isis
[Sysname-isis-1] is-name RUTA
is-name map
Syntax
is-name map sys-id map-sys-name
undo is-name map sys-id
View
IS-IS view
Default Level
2: System level
Parameters
sys-id: System ID or pseudonode ID of a remote IS.
map-sys-name: Specifies a host name for the remote IS, a string of 1 to 64 characters.
Description
Use the is-name map command to configure a system ID to host name mapping for a remote IS.
Use the undo is-name map command to remove the mapping.
Each remote IS system ID corresponds to only one name.
Examples
# Map the host name RUTB to the system ID 0000.0000.0041 of the remote IS.
<Sysname> system-view
[Sysname] isis
[Sysname-isis-1] is-name map 0000.0000.0041 RUTB
is-snmp-traps enable
Syntax
is-snmp-traps enable
undo is-snmp-traps
View
IS-IS view
Default Level
2: System level
Parameters
None
Description
Use the is-snmp-traps enable command to enable the SNMP Trap function of IS-IS.
Use the undo is-snmp-traps command to disable this function.
SNMP Trap is enabled by default.
Examples
# Enable SNMP Trap.
<Sysname> system-view
[Sysname] isis
[Sysname-isis-1] is-snmp-traps enable
log-peer-change (IS-IS view)
Syntax
log-peer-change
undo log-peer-change
View
IS-IS view
Default Level
2: System level
Parameters
None
Description
Use the log-peer-change command to enable the logging of IS-IS neighbor state changes.
Use the undo log-peer-change command to disable the logging.
The logging is enabled by default.
After the logging is enabled, information about IS-IS adjacency state changes is sent to the configuration terminal.
Examples
# Enable logging on the IS-IS adjacency state changes.
<Sysname> system-view
[Sysname] isis
[Sysname-isis-1] log-peer-change
lsp-fragments-extend
Syntax
lsp-fragments-extend [ [ level-1 | level-2 | level-1-2 ] | [ mode-1 | mode-2 ] ] *
undo lsp-fragments-extend
View
IS-IS view
Default Level
2: System level
Parameters
mode-1: Fragment extension mode 1, used on a network where some routers do not support LSP fragment extension.
mode-2: Fragment extension mode 2, used on a network where all routers support LSP fragment extension.
level-1: Applies the fragment extension mode to Level-1 LSPs.
level-2: Applies the fragment extension mode to Level-2 LSPs.
level-1-2: Applies the fragment extension mode to both Level-1 and Level-2 LSPs.
Description
Use the lsp-fragments–extend command to enable an LSP fragment extension mode for a level.
Use the undo lsp-fragments–extend command to disable LSP fragment extension for a level.
LSP fragment extension is disabled by default.
Note that:
l If no mode is specified, LSP fragment extension mode 1 is enabled.
l If no level is specified, the LSP fragment extension mode is enabled for both Level-1 and Level-2.
Examples
# Enable LSP fragment extension mode 1 for Level-2.
<Sysname> system-view
[Sysname] isis
[Sysname-isis-1] lsp-fragments-extend mode-1 level-2
lsp-length originate
Syntax
lsp-length originate size [ level-1 | level-2 ]
undo lsp-length originate [ level-1 | level-2 ]
View
IS-IS view
Default Level
2: System level
Parameters
size: Specifies the maximum size in bytes of LSP packets, ranging from 512 to 16384.
level-1: Applies the size to Level-1 LSP packets.
level-2: Applies the size to Level-2 LSP packets.
Description
Use the lsp-length originate command to configure the maximum size of generated Level-1 or Level-2 LSPs.
Use the undo lsp-length originate command to restore the default.
By default, the maximum size of generated Level-1 and Level-2 LSPs is 1497 bytes.
If neither Level-1 nor Level-2 is specified in the command, the configured maximum size applies to the current IS-IS level.
Examples
# Configure the maximum size of the generated Level-2 LSPs as 1024 bytes.
<Sysname> system-view
[Sysname] isis
[Sysname-isis-1] lsp-length originate 1024 level-2
lsp-length receive
Syntax
lsp-length receive size
undo lsp-length receive
View
IS-IS view
Default Level
2: System level
Parameters
size: Maximum size of received LSPs, in the range of 512 to 16384 bytes.
Description
Use the lsp-length receive command to configure the maximum size of received LSPs.
Use the undo lsp-length receive command to restore the default.
By default, the maximum size of received LSPs is 1497 bytes.
Examples
# Configure the maximum size of received LSPs.
<Sysname> system-view
[Sysname] isis
[Sysname-isis-1] lsp-length receive 1024
maximum load-balancing (IS-IS view)
Syntax
maximum load-balancing number
undo maximum load-balancing
View
IS-IS view
Default Level
2: System level
Parameters
number: Maximum number of equal-cost routes for load balancing, in the range 1 to 4..
Description
Use the maximum load-balancing command to configure the maximum number of equal-cost routes for load balancing.
Use the undo maximum load-balancing command to restore the default.
By default, the maximum number of equal-cost load balanced routes is 4.
Examples
# Configure the maximum number of equal-cost load-balanced routes as 2.
<Sysname> system-view
[Sysname] isis 100
[Sysname-isis-100] maximum load-balancing 2
# Restore the default.
[Sysname-isis-100] undo maximum load-balancing
network-entity
Syntax
network-entity net
undo network-entity net
View
IS-IS view
Default Level
2: System level
Parameters
Description
Use the network-entity command to configure the Network Entity Title for an IS-IS routing process.
Use the undo network-entity command to delete a NET.
No NET is configured by default.
Related commands: isis, isis enable.
Examples
# Specify the NET as 10.0001.1010.1020.1030.00, of which 10.0001 is the area ID and 1010.1020.1030 is the system ID.
<Sysname> system-view
[Sysname] isis
[Sysname-isis-1] network-entity 10.0001.1010.1020.1030.00
preference (IS-IS view)
Syntax
preference { route-policy route-policy-name | preference } *
undo preference
View
IS-IS view
Default Level
2: System level
Parameters
preference: Specifies the preference for IS-IS protocol, ranging from 1 to 255.
route-policy route-policy-name: Routing policy name, a string of 1 to 19 characters. The preference applies to routes passing the routing policy.
Description
Use the preference command to configure the preference for IS-IS.
Use the undo preference command to restore the default.
By default, IS-IS preference is 15.
If a routing policy is specified in this command, the preference (if any) set by the routing policy applies to those matched routes. Other routes use the preference set by the preference command.
When a router runs multiple routing protocols at the same time, the system will configure a preference to each routing protocol. If several protocols find routes to the same destination, the route of the routing protocol with the highest preference is selected.
Examples
# Configure the preference of IS-IS protocol as 25.
<Sysname> system-view
[Sysname] isis
[Sysname-isis-1] preference 25
reset isis all
Syntax
reset isis all [ process-id | vpn-instance vpn-instance-name ]
View
User view
Default Level
3: Manage level
Parameters
process-id: Clears the data structure information of an IS-IS process numbered from 1 to 65535.
vpn-instance-name: Clears the data structure information of a VPN instance named with a string of 1 to 31 characters.
Description
Use the reset isis all command to clear all IS-IS data structure information.
No data structure information is cleared by default.
Related commands: area-authentication-mode, domain authentication-mode.
Examples
# Clear all IS-IS data structure information.
<Sysname> reset isis all
reset isis peer
Syntax
reset isis peer system-id [ process-id | vpn-instance vpn-instance-name ]
View
User view
Default Level
3: Manage level
Parameters
system-id: Specifies the system ID of an IS-IS neighbor.
process-id: Clears the data structure information of an IS-IS process with an ID from 1 to 65535.
vpn-instance-name: Clears the data structure information of a VPN instance named with a string of 1 to 31 characters.
Description
Use the reset isis peer command to clear the data structure information of a specified IS-IS neighbor.
This command is used when you need to re-establish an IS-IS neighbor relationship.
Examples
# Clear the data structure information of the neighbor with the system ID 0000.0c11.1111.
<Sysname> reset isis peer 0000.0c11.1111
set-overload
Syntax
set-overload [ on-startup [ [ start-from-nbr system-id [ timeout1 [ nbr-timeout ] ] ] | timeout2 ] [ allow { interlevel | external } * ]
undo set-overload
View
IS-IS view
Default Level
2: System level
Parameters
on-startup: Sets the overload bit upon system startup.
start-from-nbr system-id: Starts the nbr-timeout timer when the router begins to establish the neighbor relationship with the neighbor. If the neighbor relationship is formed within the nbr-timeout interval, IS-IS keeps the overload bit set; if not, the bit is cleared. system-id specifies the neighbor.
timeout1: IS-IS keeps the overload bit set within the timeout1 interval after the neighbor relationship is formed within the nbr-timeout interval. The timeout1 interval is in the range 5 to 86400 seconds and defaults to 600 seconds.
nbr-timeout: The timer is started when the router begins to establish the neighbor relationship with the neighbor after system startup. The timer has an interval from 5 to 86400 seconds. The default is 1200 seconds.
timeout2: Sets the overload bit within the timeout2 interval after system startup. The interval is in the range 5 to 86400 seconds and defaults to 600 seconds.
allow: Allows advertising address prefixes. By default, no address prefixes are allowed to be advertised when the overload bit is set.
interlevel: Allows advertising IP address prefixes learnt from different IS-IS levels with the allow keyword specified.
external: Allows advertising IP address prefixes redistributed from other routing protocols with the allow keyword specified.
Description
Use the set-overload command to set the overload bit.
Use the undo set-overload command to clear the overload bit.
The overload bit is not set by default.
Note that:
l If the on-startup keyword is specified, IS-IS sets the overload bit upon system startup and keeps it set within the timeout2 interval.
l If both on-startup and start-from-nbr system-id are specified, IS-IS sets the overload bit from system startup to when the neighbor relationship with the specified neighbor is formed within the nbr-timeout interval, and from then on, IS-IS keeps the overload bit set within the timeout1 interval. If the neighbor relationship with the specified neighbor is not formed within the nbr-timeout interval, the overload bit is cleared.
Examples
# Set overload flag on the current router.
<Sysname> system-view
[Sysname] isis
[Sysname-isis-1] set-overload
summary (IS-IS view)
Syntax
summary ip-address { mask | mask-length } [ avoid-feedback | generate_null0_route | [ level-1 | level-1-2 | level-2 ] | tag tag ] *
undo summary ip-address { mask | mask-length } [ level-1 | level-1-2 | level-2 ]
View
IS-IS view
Default Level
2: System level
Parameters
ip-address: Destination IP address of the summary route.
mask: Mask of the destination IP address, in dotted decimal format.
mask-length: Mask length, in the range of 0 to 32.
avoid-feedback: Avoids learning summary routes by route calculation.
generate_null0_route: Generate the Null 0 route to avoid routing loops.
level-1: Summarize only the routes redistributed to Level-1.
level-1-2: Summarizes the routes redistributed to both Level-1 and Level-2.
level-2: Summarizes only the routes redistributed to Level-2.
tag tag: Specifies a management tag, in the range of 1 to 4294967295.
Description
Use the summary command to configure a summary route.
Use the undo summary command to remove a summary route.
No summarization is configured by default.
If no level is specified, only the level-2 routes will be summarized by default.
You can summarize multiple contiguous networks into a single network to reduce the size of the routing table, as well as that of LSP and LSDB generated by the router. It is allowed to summarize native IS-IS routes and redistributed routes. After summarization, the cost of the summary route is the smallest cost of those summarized routes.
Note that the router summarizes only routes in local LSPs.
Examples
# Configure a summary route of 202.0.0.0/8.
<Sysname> system-view
[Sysname] isis
[Sysname-isis-1] summary 202.0.0.0 255.0.0.0
timer lsp-generation
Syntax
timer lsp-generation maximum-interval [ initial-interval [ second-wait-interval ] ] [ level-1 | level-2 ]
undo timer lsp-generation [ level-1 | level-2 ]
View
IS-IS view
Default Level
2: System level
Parameters
maximum-interval: Maximum wait interval in seconds for generating IS-IS LSPs, in the range 1 to 120.
initial-interval: Initial wait interval in milliseconds before generating the first IS-IS LSP, in the range 10 to 60000. The default is 0.
second-wait-interval: Wait interval in milliseconds before generating the second LSP, in the range 10 to 60000. The default is 0.
level-1: Applies the intervals to Level-1.
level-2: Applies the intervals to Level-2 .If no level is specified, the specified intervals apply to both Level-1 and Level-2.
Description
Use the timer lsp-generation command to specify the wait interval before generating IS-IS LSPs.
Use the undo timer lsp-generation command to restore the default.
By default, the wait interval before LSP generation is 2 seconds.
Note that:
1) If only the maximum interval is specified, IS-IS waits the maximum interval before generating an LSP.
2) If both the maximum and initial intervals are specified:
l IS-IS waits the initial interval before generating the first LSP.
l If the network topology is unstable, that is, triggers occur at intervals shorter than the maximum interval, IS-IS waits the maximum interval before generating the first LSP until the network topology is stable.
3) If the maximum, initial, and second wait intervals are specified:
l IS-IS waits the initial interval before generating the first LSP.
l If the network topology is unstable, that is, triggers occur at intervals shorter than the maximum interval,, IS-IS waits the second-wait-interval before generating the second LSP and penalty is applied on the wait interval before generating the next LSP. That is, for each subsequent trigger, the wait interval before generating the LSP will be two times the previous wait interval until the maximum interval is reached.
l After the network topology is stable; that is, triggers occur at intervals greater than the maximum interval, the wait interval before generating LSPs is restored to the initial interval.
Examples
# Set the maximum, initial, and second wait intervals to 10 seconds, 100 milliseconds and 200 milliseconds respectively.
<Sysname> system-view
[Sysname] isis
[Sysname-isis-1]timer lsp-generation 10 100 200
# Set the LSP generation interval to 15 seconds.
<Sysname> system-view
[Sysname] isis
[Sysname-isis-1]timer lsp-generation 15
timer lsp-max-age
Syntax
timer lsp-max-age seconds
undo timer lsp-max-age
View
IS-IS view
Default Level
2: System level
Parameters
seconds: Specifies the LSP maximum aging time in seconds, ranging from 1 to 65535.
Description
Use the timer lsp-max-age command to set the LSP maximum age in the LSDB.
Use the undo timer lsp-max-age command to restore the default.
The default LSP maximum age is 1200 seconds.
Related commands: timer lsp-refresh.
Examples
# Set the maximum LSP age to 1500 seconds.
<Sysname> system-view
[Sysname] isis
[Sysname-isis-1] timer lsp-max-age 1500
timer lsp-refresh
Syntax
timer lsp-refresh seconds
undo timer lsp-refresh
View
IS-IS view
Default Level
2: System level
Parameters
seconds: LSP refresh interval in seconds, ranging from 1 to 65534.
Description
Use the timer lsp-refresh command to configure the LSP refresh interval.
Use the undo timer lsp-refresh to restore the default.
The default LSP refresh interval is 900 seconds.
Related commands: timer lsp-max-age.
To refresh LSPs before they are aged out, the interval configured by the timer lsp-refresh command must be smaller than that configured by the timer lsp-max-age command.
Examples
# Configure the LSP refresh interval as 1500 seconds.
<Sysname> system-view
[Sysname] isis
[Sysname-isis-1] timer lsp-refresh 1500
timer spf
Syntax
timer spf maximum-interval [initial-interval [second-interval ] ]
undo timer spf
View
IS-IS view
Default Level
2: System level
Parameters
maximum-interval: Maximum SPF calculation interval in seconds, ranging from 1 to 120.
initial-interval: Wait interval before the first SPF calculation, in milliseconds, ranging from 10 to 60000.
second-interval: Wait interval before the second SPF calculation, in milliseconds, ranging from 10 to 60000.
Description
Use the timer spf command to set the SPF calculation interval.
Use the undo timer spf command to restore the default.
The default IS-IS SPF calculation interval is 10 seconds.
Note that:
1) If only the maximum interval is specified, IS-IS waits the maximum interval before performing the SPF calculation.
2) If both the maximum and initial intervals are specified:
l IS-IS waits the initial interval before performing the first SPF calculation.
l When SPF calculation triggers occur at intervals shorter than the maximum interval, the topology is considered unstable and IS-IS waits the maximum interval before performing the SPF calculation unitl the topology is stable.
3) If maximum-interval, initial-interval, and second-interval are specified:
l IS-IS waits the initial interval before performing the first SPF calculation.
l When SPF calculation triggers occur at intervals shorter than the maximum interval, the topology is considered unstable, IS-IS will wait the second-interval before performing the second SPF calculation and penalty is applied on the wait interval for the next SPF calculation. That is, for each subsequent trigger, the wait interval before SPF calculation will be two times the previous wait interval until the maximum interval is reached.
l After the network topology becomes stable; that is, triggers occur at intervals greater than the maximum interval, the wait interval before SPF calculation is restored to the initial interval.
Examples
# Configure the maximum SPF calculation interval as 10 seconds, the wait interval before the first SPF calculation as 100 milliseconds, and the wait interval before the second SPF calculation as 200 milliseconds.
<Sysname> system-view
[Sysname] isis
[Sysname-isis-1]timer spf 10 100 200
# Configure the maximum SPF calculation interval as 15 seconds.
<Sysname> system-view
[Sysname] isis
[Sysname-isis-1]timer spf 15
virtual-system
Syntax
virtual-system virtual-system-id
undo virtual-system virtual-system-id
View
IS-IS view
Default Level
2: System level
Parameters
virtual-system-id: Virtual system ID of the IS-IS process.
Description
Use the virtual-system command to configure a virtual system ID for the IS-IS process. Use the undo virtual-system command to remove a virtual system ID.
Up to 50 virtual system IDs can be configured for the IS-IS process.
Examples
# Set a virtual system ID of 2222.2222.2222 for IS-IS process 1.
<Sysname> system-view
[Sysname] isis
[Sysname-isis-1] virtual-system 2222.2222.2222