- Table of Contents
-
- 07-Layer 3 - IP Routing Command Reference
- 00-Preface
- 01-Basic IP Routing Commands
- 02-Static Routing Commands
- 03-RIP Commands
- 04-OSPF Commands
- 05-IS-IS Commands
- 06-BGP Commands
- 07-Policy-Based Routing Commands
- 08-Guard Route Commands
- 09-IPv6 Static Routing Commands
- 10-RIPng Commands
- 11-OSPFv3 Commands
- 12-IPv6 IS-IS Commands
- 13-IPv6 BGP Commands
- 14-IPv6 Policy-Based Routing Commands
- 15-Routing Policy Commands
- Related Documents
-
Title | Size | Download |
---|---|---|
05-IS-IS Commands | 349.3 KB |
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)
area-authentication-mode
Syntax
area-authentication-mode { md5 | simple } password [ ip | osi ]
View
IS-IS view
Default level
2: System level
Parameters
md5: Specifies the MD5 authentication mode.
simple: Specifies the simple 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.
|
NOTE: 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.
Routers in a common area must have the same authentication mode and password.
If neither ip nor osi is specified, OSI related fields are checked.
Related commands: reset isis all, domain-authentication-mode, and isis authentication-mode.
Examples
# Set the area authentication password to ivg, and the authentication mode to simple.
<Sysname> system-view
[Sysname] isis 1
[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. When the cost style is of another type: if the interface bandwidth does not exceed 10 Mbps, the interface cost equals 60; if the interface bandwidth does not exceed 100 Mbps, the interface cost equals 50; if the interface bandwidth does not exceed 155 Mbps, the interface cost equals 40; if the interface bandwidth does not exceed 622 Mbps, the interface cost equals 30; if the interface bandwidth does not exceed 2500 Mbps, the interface cost equals 20; if the interface bandwidth exceeds 2500 Mbps, the interface cost equals 10.
Related commands: bandwidth-reference and cost-style.
Examples
# Enable automatic link cost calculation.
<Sysname> system-view
[Sysname] isis 1
[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 1
[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.
· For styles narrow, narrow-compatible and compatible, the cost value ranges from 0 to 63.
· 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 and cost-style.
Examples
# Set the global Level-1 link cost of IS-IS process 1 to 11.
<Sysname> system-view
[Sysname] isis 1
[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 and 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 1
[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-1-2 | level-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 case-sensitive string of 1 to 63 characters.
level-1: Advertises a Level-1 default route.
level-1-2: Advertises both Level-1 and Level-2 default routes.
level-2: Advertises a Level-2 default route.
Description
Use the default-route-advertise command to advertise a default route.
Use the undo default-route-advertise command to disable default route advertisement.
Default route advertisement is disabled by default.
If no level is specified, a Level-2 default route is advertised.
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.
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 1
[Sysname-isis-1] default-route-advertise
display isis brief
Syntax
display isis brief [ process-id | vpn-instance vpn-instance-name ] [ | { begin | exclude | include } regular-expression ]
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 of 1 to 65535.
vpn-instance vpn-instance-name: Displays IS-IS brief configuration information for the MPLS L3VPN. vpn-instance-name is a case-sensitive string of 1 to 31 characters. If no VPN is specified, the IS-IS brief configuration information of the public network is displayed.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 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 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 } [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
process-id: IS-IS process ID, in the range of 1 to 65535.
vpn-instance vpn-instance-name: Displays the IS-IS debugging switch state for the MPLS L3VPN. vpn-instance-name is a case-sensitive string of 1 to 31 characters. If no VPN is specified, the IS-IS debugging switch state for the public network is displayed.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 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 ] [ | { begin | exclude | include } regular-expression ]
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 of 1 to 65535.
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN. vpn-instance-name is a case-sensitive string of 1 to 31 characters. If no VPN is specified, the IS-IS Graceful Restart status for the public network is displayed.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 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 2 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 ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
statistics: Displays IS-IS interface statistics.
interface-type interface-number: IS-IS interface whose statistics 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 vpn-instance-name: Displays the IS-IS interface information of the MPLS L3VPN. vpn-instance-name is a case-sensitive string of 1 to 31 characters. If no VPN is specified, the IS-IS interface information of the public network is displayed.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 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-interface 12
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
Lsp Transmit-Throttle Count : L12 5
Cost : L1 10 L2 10
Priority : L1 64 L2 64
BFD : Disabled
MPLS TE Status : ON
INTF L1 TE Status : OFF
INTF L2 TE Status : ON
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
Lsp Timer Value : L12 33
Lsp Transmit-Throttle Count : L12 5
Cost : L1 10 L2 10
Priority : L1 64 L2 64
Retransmit Timer Value : L12 5
BFD : Disabled
Tunnel L1 State : OFF
Tunnel L2 State : ON
Tunnel Type : AA
Tunnel Metric : 0
Destination Router ID : 5.5.5.5
Table 3 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 |
Lsp Transmit-Throttle Count |
Number of LSP packets sent each time |
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 interface |
# Display IS-IS interface statistics.
<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 4 Output description
Field |
Description |
Type |
Network type of the interface: · LAN for broadcast network. · 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. "-" means IPv6 is not enabled. |
IPv6 DOWN |
Number of IS-ISv6 interfaces in down state. "-" means IPv6 is not enabled. |
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 ] [ | { begin | exclude | include } regular-expression ]
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 vpn-instance-name: Displays the LSDB of the MPLS L3VPN. vpn-instance-name is a case-sensitive string of 1 to 31 characters. If no VPN is specified, the LSDB of the public network is displayed.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 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 5 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 ] [ | { begin | exclude | include } regular-expression ]
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 vpn-instance-name: Displays IS-IS mesh-group configuration information for the MPLS L3VPN. vpn-instance-name is a case-sensitive string of 1 to 31 characters. If no VPN is specified, the IS-IS mesh-group configuration information for the public network is displayed.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 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 6 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 ] [ | { begin | exclude | include } regular-expression ]
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 vpn-instance-name: Displays the host name-to-system ID mapping table for the MPLS L3VPN. vpn-instance-name is a case-sensitive string of 1 to 31 characters. If no VPN is specified, the host name-to-system ID mapping table for the public network is displayed.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 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 1
[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 7 Output description
Field |
Description |
System ID |
System ID |
Hostname |
Hostname name |
Type |
Mapping type (static or dynamic) |
display isis peer
Syntax
display isis peer [ statistics | verbose ] [ process-id | vpn-instance vpn-instance-name ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
statistics: Displays IS-IS neighbor statistics.
verbose: Displays detailed IS-IS neighbor information. Without the keyword, the command displays brief IS-IS neighbor 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 vpn-instance-name: Displays the IS-IS neighbor information of the MPLS L3VPN. vpn-instance-name is a case-sensitive string of 1 to 31 characters. If no VPN is specified, the IS-IS neighbor information of the public network is displayed.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 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-interface11 Circuit Id: 1111.1111.1112.01
State: Up HoldTime: 23s Type: L1(L1L2) PRI: 64
System Id: 1111.1111.1111
Interface: Vlan-interface11 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-interface11 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-interface11 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 8 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.
<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 9 Output description
Field |
Description |
Type |
Neighbor type: · LAN Level-1—Number of Level-1 neighbors whose network type is broadcast · LAN Level-2—Number of Level-2 neighbors whose network type is broadcast · 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 ] [ | { begin | exclude | include } regular-expression ]
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 vpn-instance-name: Displays the IS-IS IPv4 routing information of the MPLS L3VPN. vpn-instance-name is a case-sensitive string of 1 to 31 characters. If no VPN is specified, the IS-IS IPv4 routing information of the public network is displayed.
level-1: Displays Level-1 IS-IS routes.
level-2: Displays Level-2 IS-IS routes.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
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 Vlan11 1.2.1.1 R/L/-
1.2.0.0/16 10 NULL Vlan11 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 Vlan11 1.2.1.1 R/L/-
1.2.0.0/16 10 NULL Vlan11 Direct D/L/-
Flags: D-Direct, R-Added to RM, L-Advertised in LSPs, U-Up/Down Bit Set
Table 10 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 Vlan11 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 Vlan11 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 Vlan11 0x00000000
Flags: D-Direct, R-Added to RM, L-Advertised in LSPs, U-Up/Down Bit Set
Table 11 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 ] [ | { begin | exclude | include } regular-expression ]
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 vpn-instance-name: Displays IS-IS SPF log information for the MPLS L3VPN. vpn-instance-name is a case-sensitive string of 1 to 31 characters. If no VPN is specified, the IS-IS SPF log information for the public network is displayed.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 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 12 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-1-2 | level-2 ] [ process-id | vpn-instance vpn-instance-name ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
level-1: Displays IS-IS Level-1 statistics.
level-1-2: Displays IS-IS Level-1-2 statistics.
level-2: Displays IS-IS Level-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 vpn-instance-name: Displays IS-IS statistics for the MPLS L3VPN. vpn-instance-name is a case-sensitive string of 1 to 31 characters. If no VPN is specified, the IS-IS statistics for the public network is displayed.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 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
Level-2 Statistics
------------------
Learnt routes information:
Total IPv4 Learnt Routes in IPv4 Routing Table: 0
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 13 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 |
Numbers of learnt IPv4 and IPv6 routes |
|
Imported routes information |
IPv4 Imported Routes |
Redistributed IPv4 routes, including: · Static · Direct · IS-IS · BGP · RIP · OSPF |
IPv6 Imported Routes |
Redistributed IPv6 routes, including: · Static · Direct · IS-ISv6 · BGP4+ · RIPng · OSPFv3 |
|
Lsp information |
LSP information: · LSP Source ID—ID of the source system · No. of used LSPs—number of used LSPs |
domain-authentication-mode
Syntax
domain-authentication-mode { md5 | simple } password [ ip | osi ]
undo domain-authentication-mode
View
IS-IS view
Default level
2: System level
Parameters
md5: Specifies the MD5 authentication mode.
simple: Specifies the simple 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.
|
NOTE: 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.
All the backbone routers must have the same authentication mode and password.
If neither ip nor osi is specified, the OSI related fields in LSPs are checked.
Related commands: area-authentication-mode and isis authentication-mode.
Examples
# Specify the routing domain authentication mode as simple and password as 123456.
<Sysname> system-view
[Sysname] isis 1
[Sysname-isis-1] domain-authentication-mode simple 123456
fast-reroute
Syntax
fast-reroute { auto | route-policy route-policy-name }
undo fast-reroute
View
IS-IS view
Default level
2: System level
Parameters
auto: Calculates a backup next hop automatically for all routes.
route-policy route-policy-name: References a routing policy to designate a next hop. The route-policy-name argument is a case-sensitive string of 1 to 63 characters. You can specify the backup next hop in the routing policy.
Description
Use the fast-reroute command to configure IS-IS fast reroute (FRR).
Use the undo fast-reroute command to restore the default.
By default, IS-IS FRR is disabled.
|
NOTE: · Do not use IS-IS FRR and BFD (for IS-IS) at the same time; otherwise, IS-IS FRR may fail to take effect. · The automatic backup next hop calculation of IS-IS FRR and that of MPLS TE are mutually exclusive. |
Example
# Enable IS-IS FRR to automatically calculate a backup next hop for all routes.
<Sysname> system-view
[Sysname] bfd echo-source-ip 1.1.1.1
[Sysname] isis
[Sysname-isis-1] fast-reroute auto
# Enable IS-IS FRR to designate a backup next hop by using a routing policy named frr.
<Sysname> system-view
[Sysname] bfd echo-source-ip 1.1.1.1
[Sysname] ip ip-prefix abc index 10 permit 100.1.1.0 24
[Sysname] route-policy frr permit node 10
[Sysname-route-policy] if-match ip-prefix abc
[Sysname-route-policy] apply fast-reroute backup-interface Vlan-interface 1000 backup-nexthop 193.1.1.8
[Sysname-route-policy] quit
[Sysname] isis 100
[Sysname-isis-100] fast-reroute route-policy frr
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, see ACL and QoS Command Reference.
ip-prefix ip-prefix-name: Specifies the name of an IP prefix list that is used to filter redistributed routes, a case-sensitive string of 1 to 19 characters. For IP prefix list configuration information, see the chapter “Routing policy configuration commands.”
route-policy route-policy-name: Specifies the name of a routing policy that is used to filter redistributed routes, a case-sensitive string of 1 to 63 characters. For routing policy configuration information, see the chapter “Routing policy configuration commands.”
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.
If you want to reference an advanced ACL (with a number from 3000 to 3999) in the command or in the routing policy, the ACL should be configured with the rule [ rule-id ] { deny | permit } ip source sour-addr sour-wildcard command to deny/permit a route with the specified destination, or with the rule [ rule-id ] { deny | permit } ip source sour-addr sour-wildcard destination dest-addr dest-wildcard command to deny/permit a route with the specified destination and mask. The source keyword specifies the destination address of a route while the destination keyword specifies the subnet mask of the route (the subnet mask must be valid; otherwise, the configuration is ineffective).
Related commands: filter-policy import.
Examples
# Reference ACL 2000 to filter redistributed routes.
<Sysname> system-view
[Sysname] acl number 2000
[Sysname-acl-basic-2000] rule deny ip source 192.168.10.0 0.0.0.255
[Sysname-acl-basic-2000] quit
[Sysname] isis 1
[Sysname-isis-1] filter-policy 2000 export
# Configure ACL 3000 to permit only route 113.0.0.0/16 to pass, and reference ACL 3000 to filter the redistributed routes.
<Sysname> system-view
[Sysname] acl number 3000
[Sysname-acl-adv-3000] rule 10 permit ip source 113.0.0.0 0 destination 255.255.0.0 0
[Sysname-acl-adv-3000] rule 100 deny ip
[Sysname-acl-adv-3000] quit
[Sysname] isis 1
[Sysname-isis 1] filter-policy 3000 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, see ACL and QoS Command Reference.
ip-prefix ip-prefix-name: Specifies the name of an IP prefix list that is used to filter routes calculated from received LSPs, a case-sensitive string of 1 to 19 characters. For IP prefix list configuration information, see the chapter “Routing policy configuration commands.”
route-policy route-policy-name: Specifies the name of a routing policy that is used to filter routes calculated from received LSPs, a case-sensitive string of 1 to 63 characters. For routing policy configuration information, see the chapter “Routing policy configuration commands.”
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.
If you want to reference an advanced ACL (with a number from 3000 to 3999) in the command or in the routing policy, the ACL should be configured with the rule [ rule-id ] { deny | permit } ip source sour-addr sour-wildcard command to deny/permit a route with the specified destination, or with the rule [ rule-id ] { deny | permit } ip source sour-addr sour-wildcard destination dest-addr dest-wildcard command to deny/permit a route with the specified destination and mask. The source keyword specifies the destination address of a route while the destination keyword specifies the subnet mask of the route (the subnet mask must be valid; otherwise, the configuration is ineffective).
Related commands: filter-policy export.
Examples
# Reference ACL 2000 to filter routes calculated from received LSPs.
<Sysname> system-view
[Sysname] acl number 2000
[Sysname-acl-basic-2000] rule deny ip source 192.168.10.0 0.0.0.255
[Sysname-acl-basic-2000] quit
[Sysname] isis 1
[Sysname-isis-1] filter-policy 2000 import
# Configure ACL 3000 to permit only route 113.0.0.0/16 to pass, and reference ACL 3000 to filter the routes calculated from received LSPs.
<Sysname> system-view
[Sysname] acl number 3000
[Sysname-acl-adv-3000] rule 10 permit ip source 113.0.0.0 0 destination 255.255.0.0 0
[Sysname-acl-adv-3000] rule 100 deny ip
[Sysname-acl-adv-3000] quit
[Sysname] isis 1
[Sysname-isis 1] filter-policy 3000 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, in the range of 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 specify the maximum LSPs to be sent as 10 and the delay time as 100 milliseconds.
<Sysname> system-view
[Sysname] isis 1
[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.
|
NOTE: The IS-IS GR and IS-IS non-stop routing (NSR) features are mutually exclusive. That is, the graceful-restart and non-stop-routing commands cannot be configured at the same time. |
|
CAUTION: Before performing a master/backup switchover between IRF member switches, you need to configure the irf mac-address persistent always command to prevent bridge MAC address changes that can cause IS-IS GR failure after the switchover. |
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 of 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 routing. If a router starts or reboots without keeping the local forwarding table, the router will discard incoming packets, causing black hole routing. To avoid this, you can set the SA bit of hello packets sent by the GR Restarter to 1. Upon receiving such hello packets, the GR Helpers will not advertise the GR Restarter through LSPs.
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
[ ipv4-unicast topology-name ] 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 [ ipv4-unicast topology-name ] import-route protocol [ process-id | all-processes ]
View
IS-IS view
Default level
2: System level
Parameters
ipv4-unicast: Specifies an IPv4 unicast topology.
topology-name: Topology name, a case-sensitive character string of 1 to 31 characters.
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:
· For the styles of narrow, narrow-compatible and compatible, the cost ranges from 0 to 63.
· For the styles of wide, wide-compatible, the cost ranges from 0 to 4261412864.
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-1-2: Redistributes routes into both Level-1 and Level-2 routing tables.
level-2: Redistributes routes into the Level-2 routing table. If no level is specified, routes will be redistributed into the Level-2 routing table by default.
route-policy route-policy-name: Redistributes only routes satisfying the matching criteria of a routing policy, the name of which is a case-sensitive string of 1 to 63 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.
|
CAUTION: · 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; thus, be cautious when using this command. · Only active routes can be redistributed. You can use the display ip routing-table protocol command to display route state information. · The undo import-route protocol all-processes command removes only the configuration made by the import-route protocol all-processes command, instead of the configuration made by the import-route protocol process-id command. |
Examples
# Redistribute static routes and set the cost to 15.
<Sysname> system-view
[Sysname] isis 1
[Sysname-isis-1] import-route static cost 15
import-route isis level-2 into level-1
Syntax
[ ipv4-unicast topology-name ] 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 [ ipv4-unicast topology-name ] import-route isis level-2 into level-1
View
IS-IS view
Default level
2: System level
Parameters
ipv4-unicast: Specifies an IPv4 unicast topology.
topology-name: Topology name, a case-sensitive character string of 1 to 31 characters.
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, see ACL and QoS Command Reference.
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 case-sensitive string of 1 to 19 characters. For IP prefix list configuration information, see the chapter “Routing policy configuration commands.”
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 case-sensitive string of 1 to 63 characters. For routing policy configuration information, see the chapter “Routing policy configuration commands.”
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.
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.
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 1
[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, ranging from 1 to 262144.
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.
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 vpn-instance-name: Specifies an MPLS L3VPN. vpn-instance-name is a case-sensitive string of 1 to 31 characters. If no VPN is specified, the IS-IS process belongs to the public network.
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 and 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 1
[Sysname-isis-1] network-entity 01.0001.0000.0000.0002.00
isis authentication-mode
Syntax
isis authentication-mode { md5 | simple } password [ level-1 | level-2 ] [ ip | osi ]
undo isis authentication-mode { md5 | simple } password [ level-1 | level-2 ]
View
Interface view
Default level
2: System level
Parameters
md5: Specifies the MD5 authentication mode.
simple: Specifies the simple 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: Configures the password for Level-1.
level-2: Configures the password for Level-2.
ip: Checks IP related fields in LSPs and SNPs.
osi: Checks OSI related fields in LSPs and SNPs.
|
NOTE: · This command is not available in loopback interface view. · 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.
For two routers to become neighbors, the same authentication mode and password must be specified at both ends.
If you configure a password without specifying a level, the password applies to both Level-1 and Level-2,
If neither ip nor osi is specified, the OSI related fields in LSPs are checked.
The level-1 and level-2 keywords are available only on the Ethernet interfaces with IS-IS enabled with the isis enable command.
Related commands: area-authentication-mode and domain authentication-mode.
Examples
# Configure 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 bfd enable
Syntax
isis bfd enable
undo isis bfd enable
View
Interface view
Default level
2: System level
Parameters
None
Description
Use the isis bfd enable command to enable BFD on an IS-IS interface for link failure detection.
Use the undo isis bfd enable command to disable BFD on an IS-IS interface.
By default, an IS-IS interface is not enabled with BFD.
Examples
# Enable BFD for IS-IS on VLAN-interface 11.
<Sysname> system-view
[Sysname] interface vlan-interface 11
[Sysname-Vlan-interface11] isis enable
[Sysname-Vlan-interface11] isis bfd enable
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.
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 an interface depends on the physical media. (The network type of a 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.
|
NOTE: · You can perform this configuration only for a broadcast network with only two attached routers. · This command is not available in loopback interface view. |
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 [ ipv4-unicast topology-name | ipv6-unicast ] cost value [ level-1 | level-2 ]
undo isis cost [ value ] [ level-1 | level-2 ]
View
Interface view
Default level
2: System level
Parameters
ipv4-unicast: Specifies an IPv4 unicast topology.
topology-name: Topology name, a string of 1 to 31 case-sensitive characters.
ipv6-unicast: Specifies an IPv6 unicast topology.
value: Specifies an IS-IS cost for the interface. The cost range differs with cost styles:
· For cost styles narrow, narrow-compatible and compatible, the cost ranges from 1 to 63.
· 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-interface 10.
<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.
This command takes effect only on a switch that must have dynamic system ID to host name mapping enabled. This command is not supported on a Point-to-Point interface.
|
NOTE: 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 [ value ] [ 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.
|
NOTE: 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 and 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 isis mesh-group command to add the interface into a specified mesh group or block the interface.
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.
|
NOTE: · The mesh-group feature is only available for a point-to-point link interface. · This command is not available in loopback interface view. |
Examples
# Add interface VLAN-interface 1000 to mesh-group 3.
<Sysname> system-view
[Sysname] interface Vlan-interface 1000
[Sysname-Vlan-interface1000] isis mesh-group 3
isis mib-binding
Syntax
isis mib-binding process-id
undo isis mib-binding
View
System view
Default level
2: System level
Parameters
process-id: IS-IS process ID, in the range of 1 to 65535.
Description
Use the isis mib-binding command to bind MIBs with an IS-IS process.
Use the undo isis mib-binding command to restore the default.
By default, MIBs are bound with IS-IS process 1.
Examples
# Bind MIBs with IS-IS process 100.
<Sysname> system-view
[Sysname] isis mib-binding 100
isis peer-ip-ignore
Syntax
isis peer-ip-ignore
undo isis peer-ip-ignore
View
Default level
2: System level
Parameters
None
Description
Use the isis peer-ip-ignore command to configure the PPP interface not to check the peer’s IP address in received hello packets.
Use the undo isis peer-ip-ignore command to restore the default.
By default, the PPP interface checks the peer’s IP address upon receiving a hello packet.
An IS-IS PPP interface requires the sender of a hello packet must be on the same network segment as it. Otherwise, it discards the hello packet. You can use the isis peer-ip-ignore command to disable this restriction.
Examples
# Configure POS 2/1/2 not to check the peer’s IP address in the received Hello packets.
<Sysname> system-view
[Sysname] interface Pos 2/1/2
[Sysname-Pos2/1/2] isis peer-ip-ignore
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.
|
NOTE: 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-interface 10
[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.
|
NOTE: 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-interface 10
[Sysname-Vlan-interface10] isis small-hello
isis timer csnp
Syntax
isis timer csnp seconds [ level-1 | level-2 ]
undo isis timer csnp [ seconds ] [ 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.
|
NOTE: · If no level is specified, the CSNP interval applies to both Level-1 and Level-2. · This command only applies to the DIS of a broadcast network, which sends CSNP packets periodically for LSDB synchronization. · This command is not available in loopback interface view. |
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 [ seconds ] [ 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.
|
NOTE: · Level-1 and Level-2 hello packets are sent independently on a broadcast network, so you must 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. · You can configure keywords level-1 and level-2 only on broadcast interfaces. Before doing that, you must enable IS-IS on the interface. · As the shorter the interval is, the more system resources will be occupied, configure a proper interval as needed. · If no level is specified, the hello interval applies to both Level-1 and Level-2. · This command is not supported in loopback interface view. |
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 [ value ] [ 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.
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.
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.
|
NOTE: · This command is not available in loopback interface view. · 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. · You can configure keywords level-1 and level-2 only on broadcast interfaces. Before doing that, you must enable IS-IS on the interface. · If no level is specified, the hello multiplier applies to the current level. |
Related commands: isis timer hello.
Examples
# Configure the hello multiplier as 6 for VLAN-interface 10.
<Sysname> system-view
[Sysname] interface vlan-interface 10
[Sysname-Vlan-interface10] isis timer holding-multiplier 6 level-2
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 33 ms.
Related commands: isis timer retransmit.
|
NOTE: 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.
|
NOTE: · This command is not available in loopback interface view. · Configure a proper retransmission interval to avoid unnecessary retransmissions. · Perform this configuration only when the link layer protocol is PPP. |
Examples
# Configure the LSP retransmission interval as 10 seconds for VLAN-interface 1000.
<Sysname> system-view
[Sysname] interface Vlan-interface 1000
[Sysname-Vlan-interface1000] 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 1
[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
sys-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 1
[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 1
[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 1
[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 1
[Sysname-isis-1] log-peer-change
lsp-fragments-extend
Syntax
lsp-fragments-extend [ [ level-1 | level-1-2 | level-2 ] | [ mode-1 | mode-2 ] ] *
undo lsp-fragments-extend
View
IS-IS view
Default level
2: System level
Parameters
level-1: Applies the fragment extension mode to Level-1 LSPs.
level-1-2: Applies the fragment extension mode to both Level-1 and Level-2 LSPs.
level-2: Applies the fragment extension mode to Level-2 LSPs.
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.
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.
If no mode is specified, LSP fragment extension mode 1 is enabled.
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 1
[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.
|
NOTE: 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 1
[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 1
[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, in the range of 1 to 16.
Description
Use the maximum load-balancing command to configure the maximum number of equal-cost routes.
Use the undo maximum load-balancing command to restore the default.
By default, the maximum number of equal-cost routes is16.
Examples
# Configure the maximum number of equal-cost 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
net: Network Entity Title (NET) in the format of X…X.XXXX....XXXX.00 in hexadecimal notation, with the first part X…X being the area address, the middle part XXXX....XXXX (a total of 12 “X”) being the router’s system ID and the last part 00 being SEL.
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.
A NET is a special NSAP address with the SEL being 0. The length of the NET is in the range of 8 bytes to 20 bytes.
A NET comprises the following parts:
· Area ID—Its length is in the range of 1 to 13 bytes.
· System ID—A system ID uniquely identifies a host or router in the area and has a fixed 6-byte length.
· SEL—It has a value of 0 and a fixed 1-byte length.
For example, a NET is ab.cdef.1234.5678.9abc.00, where area ID is ab.cdef, system ID is 1234.5678.9abc, and SEL is 00.
Related commands: isis and 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 1
[Sysname-isis-1] network-entity 10.0001.1010.1020.1030.00
non-stop-routing
Syntax
non-stop-routing
undo non-stop-routing
View
IS-IS view
Default level
2: System level
Parameters
None
Description
Use the non-stop-routing command to enable IS-IS NSR.
Use the undo non-stop-routing command to disable IS-IS NSR.
By default, IS-IS NSR is disabled.
|
NOTE: The IS-IS GR and IS-IS NSR features are mutual exclusive. That is, the non-stop-routing and graceful-restart commands cannot be configured at the same time. |
|
CAUTION: Before performing a master/backup switchover between IRF member switches, you need to configure the irf mac-address persistent always command to prevent bridge MAC address changes that can cause IS-IS NSR failure after the switchover. |
Examples
# Enable NSR for IS-IS process 1.
<Sysname> system-view
[Sysname] isis 1
[Sysname-isis-1] non-stop-routing
non-stop-routing interval
Syntax
non-stop-routing interval interval-value
undo non-stop-routing interval
View
IS-IS view
Default level
2: System view
Parameters
interval-value: NSR interval, in the range of 30 to 1800 seconds. The NSR interval refers to the expected interval of an active/standby main board switchover on a distributed switch.
Description
Use the non-stop-routing interval command to set the NSR interval.
Use the undo non-stop-routing interval command to restore the default.
By default, the NSR interval is 0 seconds, that is, no NSR interval is set.
If an NSR interval is set on a switch, a neighbor of the switch uses the larger value of the NSR interval and hold time of the switch as the hold time to ensure the neighbor relationship does not time out during an active/standby switchover on the switch.
If no NSR interval is configured on the switch, the hold time configured on a specific interface is used by the corresponding neighbor.
Examples
# Set the NSR interval to 40 seconds for IS-IS process 1.
<Sysname> system-view
[Sysname] isis 1
[Sysname-isis-1] non-stop-routing
[Sysname-isis-1] non-stop-routing interval 40
preference (IS-IS view)
Syntax
preference { preference | route-policy route-policy-name } *
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 case-sensitive string of 1 to 63 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 set 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
priority high
Syntax
priority high { ip-prefix prefix-name | tag tag-value }
undo priority high [ ip-prefix | tag ]
View
IS-IS view
Default level
2: System level
Parameters
ip-prefix ip-prefix-name: Specifies the name of an IP prefix list, a case-sensitive string of 1 to 19 characters.
tag tag-value: Specifies a tag value, in the range of 1 to 4294967295.
Description
Use the priority high command to assign a high priority to specific routes for faster network convergence.
Use the undo priority high command to restore the default.
By default, no IS-IS route is assigned a high priority.
If no IS-IS route is assigned a high priority, IS-IS host routes are processed first in network convergence because they have higher priority than other types of IS-IS routes.
Examples
# Assign a high priority to the IS-IS routes matching IP prefix list standtest.
<Sysname> system-view
[Sysname] isis 1
[Sysname-isis-1] priority high ip-prefix standtest
reset isis all
Syntax
reset isis all [ process-id | vpn-instance vpn-instance-name ]
View
User view
Default level
2: System level
Parameters
process-id: Clears the data structure information of an IS-IS process numbered from 1 to 65535.
vpn-instance vpn-instance-name: Clears the data structure information of the MPLS L3VPN. vpn-instance-name is a case-sensitive string of 1 to 31 characters. If no VPN is specified, the data structure information of the public network is cleared.
Description
Use the reset isis all command to clear all IS-IS data structure information.
No data structure information is cleared by default.
This command is used when the LSP needs to be updated immediately. For example, after performing the area-authentication-mode and domain-authentication-mode commands, you can use this command to clear old LSPs.
Related commands: area-authentication-mode and 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
2: System 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 vpn-instance-name: Clears the data structure information of the MPLS L3VPN. vpn-instance-name is a case-sensitive string of 1 to 31 characters. If no VPN is specified, the data structure information of the public network is cleared.
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 { external | interlevel } * ]
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 [ timeout1 [ nbr-timeout ] ]: Starts the nbr-timeout timer when the router begins to establish the neighbor relationship with the neighbor after system startup. If the neighbor relationship is formed within the nbr-timeout interval, IS-IS keeps the overload bit set; if not, the bit is cleared. IS-IS keeps the overload bit set within the timeout1 interval after the neighbor relationship is formed within the nbr-timeout interval.
· system-id: Specifies the neighbor.
· timeout1: The timeout1 interval is in the range of 5 to 86400 seconds and defaults to 600 seconds.
· nbr-timeout: 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 of 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.
external: Allows advertising IP address prefixes redistributed from other routing protocols with the allow keyword specified.
interlevel: Allows advertising IP address prefixes learnt from different IS-IS levels with the allow keyword specified.
Description
Use the set-overload command to configure the overload bit.
Use the undo set-overload command to clear the overload bit.
No overload bit is configured by default.
If the on-startup keyword is not specified, the command sets the overload bit immediately until the undo set-overload command is executed.
If the on-startup keyword is specified, IS-IS sets the overload bit upon system startup and keeps it set within the timeout2 interval.
Examples
# Configure overload bit on the current router.
<Sysname> system-view
[Sysname] isis 1
[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: Generates the Null 0 route to avoid routing loops.
level-1: Summarizes 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.
The router summarizes only routes in local LSPs.
Examples
# Configure a summary route of 202.0.0.0/8.
<Sysname> system-view
[Sysname] isis 1
[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 of 1 to 120.
initial-interval: Initial wait interval in milliseconds before generating the first IS-IS LSP, in the range of 10 to 60000. The default is 0.
second-wait-interval: Wait interval in milliseconds before generating the second LSP, in the range of 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.
If only the maximum interval is specified, IS-IS waits the maximum interval before generating an LSP.
If both the maximum and initial intervals are specified, the following happens:
· IS-IS waits the initial interval before generating the first LSP.
· 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.
If the maximum, initial, and second wait intervals are specified, the following happens:
· IS-IS waits the initial interval before generating the first LSP.
· 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 twice the previous wait interval until the maximum interval is reached.
· 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 1
[Sysname-isis-1]timer lsp-generation 10 100 200
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 1
[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 set 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.
|
NOTE: To refresh LSPs before they are aged out, the interval set by the timer lsp-refresh command must be smaller than that set by the timer lsp-max-age command. |
Examples
# Set the LSP refresh interval to 1500 seconds.
<Sysname> system-view
[Sysname] isis 1
[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. The default is 0.
second-interval: Wait interval before the second SPF calculation, in milliseconds, ranging from 10 to 60000. The default is 0.
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.
If only the maximum interval is specified, IS-IS waits the maximum interval before performing the SPF calculation.
If both the maximum and initial intervals are specified, the following happens:
· IS-IS waits the initial interval before performing the first SPF calculation.
· 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 until the topology is stable.
If maximum-interval, initial-interval, and second-interval are specified, the following happens:
· IS-IS waits the initial interval before performing the first SPF calculation.
· 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 twice the previous wait interval until the maximum interval is reached.
· 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
# Set the maximum SPF calculation interval to 10 seconds, the wait interval before the first SPF calculation to 100 milliseconds, and the wait interval before the second SPF calculation to 200 milliseconds.
<Sysname> system-view
[Sysname] isis 1
[Sysname-isis-1] timer spf 10 100 200
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
# Configure a virtual system ID of 2222.2222.2222 for IS-IS process 1.
<Sysname> system-view
[Sysname] isis 1
[Sysname-isis-1] virtual-system 2222.2222.2222