- Table of Contents
- Related Documents
-
Title | Size | Download |
---|---|---|
04-ISIS Commands | 152.09 KB |
Table of Contents
Chapter 1 IS-IS Configuration Commands
1.1 IS-IS Configuration Commands
1.1.1 area-authentication-mode
1.1.5 display isis graceful-restart status
1.1.12 domain-authentication-mode
1.1.16 graceful-restart interval
1.1.17 graceful-restart suppress-sa
1.1.18 ignore-lsp-checksum-error
1.1.20 import-route isis level-2 into level-1
1.1.22 isis authentication-mode
1.1.30 isis timer hello minimal
1.1.31 isis timer holding-multiplier
Chapter 1 IS-IS Configuration Commands
& Note:
When a switch runs a routing protocol, it can perform the router functions. The term “router” or the router icon in this document refers to a router in a generic sense or an S9500 switch running routing protocols.
1.1 IS-IS Configuration Commands
1.1.1 area-authentication-mode
Syntax
area-authentication-mode { simple | md5 } password [ ip | osi ]
undo area-authentication-mode { simple | md5 } [ ip | osi ]
View
IS-IS view
Parameters
simple: Configures to transmit the password in simple text.
md5: Configures to transmit the password encrypted with MD5 algorithm.
password: Configures a password. If simple authentication is used, the password must be a simple-text password. If MD5 authentication is used, the password can be a simple-text or a cipher-text password. A simple-text password can be a character string with no more than 16 characters, for example, test918. Note that the simple-text password defined for MD5 authentication is displayed in cipher text. A cipher-text password must have 24 characters in cipher text, for example, (TT8F]Y\5SQ=^Q`MAF4<1!!.
ip: If this argument is configured, the system checks the corresponding IP field in LSP.
osi: If this argument is configured, the system checks the corresponding OSI field in LSP.
The configuration of ip or osi authentication password is independent of the actual network environment.
Description
Use the area-authentication-mode command to configure IS-IS to authenticate the received Level-1 routing information packets (LSP, CSNP and PSNP), according to the predefined mode and password.
Use the undo area-authentication-mode command to configure IS-IS not to authenticate the said packets.
With default configuration, the system will not authenticate the received Level-1 routing packets, and there is no password. As the result of this command, no Level-1 routing packets whose area authentication passwords are not consistent with the one set via this command will be received. At the same time, this command will let IS-IS insert the area authentication password into all the level-1 routing packets sent by this node, in a certain mode.
Related commands: domain-authentication-mode, isis authentication-mode.
Examples
# Set the area authentication password as hello and the authentication type as simple.
[H3C] isis
[H3C-isis] area-authentication-mode simple hello
1.1.2 cost-style
Syntax
cost-style { narrow | wide | wide-compatible | { compatible | narrow-compatible } [ relax-spf-limit ] }
undo cost-style
View
Parameters
narrow: Only receives/sends packets whose cost type is narrow
wide: Only receives/sends packets whose cost type is wide.
compatible: Receives/sends packets whose cost type is narrow or wide.
narrow-compatible: Receives packets whose cost type is narrow or wide, but only sends packets whose cost type is narrow
wide-compatible: Receives packets whose cost type is narrow or wide, but only sends packets whose cost type is wide.
relax-spf-metric: Allow receiving routes whose cost value is greater than 1024. If it is not set, routes whose metrics values are greater than 1024 will be discarded. This setting is only valid for compatible, narrow-compatible and wide-compatible.
Description
Use the cost-style command to set the cost type of an IS-IS packet received/sent by the router.
Use the undo cost-style command to restore the default settings.
By default, IS-IS only receives/sends packets whose cost type is narrow.
Related commands: isis cost.
Examples
# Set IS-IS to receive packets whose cost type is narrow or wide, but only send packets whose cost type is narrow.
[H3C] isis
[H3C-isis] cost-style narrow-compatible
1.1.3 debugging isis
Syntax
debugging isis { adjacency | all | authentication-error | checksum-error | circuit-information | configuration-error | datalink-receiving-packet | datalink-sending-packet | general-error | interface-information | memory-allocating | receiving-packet-content | restart-events | self-originate-update | sending-packet-content | snp-packet | spf-event | spf-summary | spf-timer | task-error | timer | update-packet }
undo debugging isis { adjacency | all | authentication-error | checksum-error | circuit-information | configuration-error | datalink-receiving-packet | datalink-sending-packet | general-error | interface-information | memory-allocating | receiving-packet-content | restart-events | self-originate-update | sending-packet-content | snp-packet | spf-event | spf-summary | spf-timer | task-error | timer | update-packet }
View
User view
Parameters
adjacency: IS-IS adjacency related packets.
all: All IS-IS related debugging information.
authentication-error: IS-IS authentication errors.
checksum-error: IS-IS checksum errors.
circuit-information: Information about IS-IS enabled interface.
configuration-error: IS-IS configuration errors.
datalink-receiving-packet: Data link layer's packets-receiving status.
datalink-sending-packet: Data link layer's packets-sending status.
general-error: IS-IS error information.
interface-information: Information about IS-IS enabled data link layer.
memory-allocating: IS-IS memory allocating status.
receiving-packet-content: Packets received through IS-IS protocol.
restart-events: IS-IS restart events.
self-originate-update: Packets locally updated through IS-IS protocol.
sending-packet-content: Packets sent through IS-IS protocol.
snp-packet: CSNP/PSNP packet of IS-IS.
spf-event: IS-IS SPF events.
spf-summary: Statistics about IS-IS performing SPF calculation.
spf-timer: IS-IS SPF trigger events.
task-error: IS-IS events status.
timer: IS-IS timer.
update-packet: Updated packets through IS-IS protocol.
Description
Use the debugging isis command to enable IS-IS debugging.
Use the undo debugging isis command to disable the function.
Examples
# Enable all the information debugging of IS-IS.
<H3C> debugging isis all
1.1.4 default-route-advertise
Syntax
default-route-advertise [ route-policy route-policy-name ]
undo default-route-advertise [ route-policy route-policy-name ]
View
IS-IS view
Parameters
route-policy-name: Name of a route-policy.
Description
Use the default-route-advertise command to create the default route of L1, L2 router. Use the undo default-route-advertise command to cancel this configuration.
By default, this command uses the L2 router to create the default route. There is another mechanism for L1 routers. Namely, the system discovers the default route by searching the nearest L1/L2 router. The nearest L1/L2 router can be found by searching the ATT bit in the L1 LSP.
This command can be set on L1 router or L2 router. By default, the route is generated on L2 LSP. If the apply isis level-1 command is executed in route-policy view, the default route will be generated on L1 LSP. If the apply isis level-2 command is executed in Route-policy view, the default route will be generated on L2 LSP. If the apply isis level-1-2 command is executed in route-policy view, the default route will be generated on both L1 LSP and L2 LSP.
Examples
# Set the router to create the default route in the LSP of correspond level.
[H3C-isis] default-route-advertise
1.1.5 display isis graceful-restart status
Syntax
display isis graceful-restart status [ l1 | l2 | level-1 | level-2 ]
View
Any view
Parameters
l1 and level-1: Level-1 GR status.
l2 and level-2: Level-2 GR status.
Description
Use the display isis graceful-restart status command to display the IS-IS graceful restart status.
Examples
# Display the IS-IS graceful restart status.
<H3C> display isis graceful-restart status
Restart Information for ISIS
----------------------------
IS-IS Level-1 Restart Status
Restart interval: 100s
SA bit supported
Total Number of Interfaces: 6
Restart Status: RESTART COMPLETED
IS-IS Level-2 Restart Status
Restart interval: 100s
SA bit supported
Total Number of Interfaces: 7
Restart Status: RESTART COMPLETED
1.1.6 display isis interface
Syntax
display isis interface [ interface-type interface-number ] [ verbose ]
View
Any view
Parameters
interface-type interface-number: Interface type and interface number.
verbose: Displays detailed information about interface.
Description
Use the display isis interface command to display information about IS-IS-enabled interfaces.
The display isis interface command displays the following information about IS-IS-enabled interfaces: interface name, interface IP address, link state of the interface, and so on. Besides these information, the display isis interface verbose command also displays IS-IS parameter settings on interface, such as CSNP broadcast interval, Hello broadcast interval and number of invalid Hello packets.
Use the display isis interface interface-type interface-number command to display IS-IS information about a specified interface.
Examples
# Display IS-IS information about VLAN-interface 1.
<H3C> display isis interface vlan-interface 1
Interface IP Address Id Link.Sta IP.Sta MTU Type DIS
Vlan-interface1 172.16.1.2 001 Down Down 1497 L12 No/No
# Display detailed IS-IS information about VLAN-interface 1.
<H3C> display isis interface Vlan-interface 1 verbose
Interface IP Address Id Link.Sta IP.Sta MTU Type DIS
Vlan-interface1 172.16.1.2 001 Down Down 1497 L12 No/No
Secondary IP Address :
SNPA Address : 00e0.fc44.5f71
Csnp Interval : L1 10 L2 10
Hello Interval : L1 10 L2 10
Hold Time : L1 30 L2 30
Lsp Interval : 33
Cost : L1 10 L2 10
Priority : L1 64 L2 64
1.1.7 display isis lsdb
Syntax
display isis lsdb [ [ l1 | l2 | level-1 | level-2 ] | [ [ LSPID | local ] | verbose ]* ]*
View
Any view
Parameters
l1 and level-1: Both refer to the link state database of Level-1.
l2 and level-2: Both refer to the link state database of Level-2.
LSPID: Specifies the LSPID of the Network-entity-title.
local: Displays the LSP information generated locally.
verbose: Configures to display the verbose information of the link state database.
Description
Use the display isis lsdb command to display the link state database of IS-IS.
Examples
# Display the information of an LSP.
<H3C> display isis lsdb 0050.0500.5005.00-00
IS-IS Level-1 Link State Database
Lsp ID Sequence Holdtime A_P_O Checksum
>0050.0500.5005.00-00 0x00000328 780 0_0_0 0xf211
1.1.8 display isis mesh-group
Syntax
display isis mesh-group
View
Any view
Parameters
None
Description
Use the display isis mesh-group command to display the IS-IS mesh group.
This command is used for displaying the configurations of the mesh-group of the current router interface.
Examples
# Add VLAN-interface 10 and VLAN-interface 20 running IS-IS into mesh group 100.
[H3C-Vlan-interface10] isis mesh-group 100
[H3C] interface Vlan-interface 20
[H3C-Vlan-interface20] isis mesh-group 100
# Display the information of IS-IS mesh-group.
[H3C-Vlan-interface20] display isis mesh-group
Interface Mesh-group/Blocked
Vlan-interface 10 100
Vlan-interface 20 100
1.1.9 display isis peer
Syntax
display isis peer [ verbose ]
View
Any view
Parameters
verbose: When this parameter is configured, the area address carried in the Hello packet from the neighbor will be displayed. Otherwise, only the universal information will be displayed.
Description
Use the display isis peer command to display IS-IS peer information.
Examples
# Display detailed information about IS-IS neighbors.
<H3C> display isis peer verbose
System ID Interface Circuit ID State HoldTime Type Pri
0002.0000.0000 Vlan-interface251 0002.0000.0000.0a Up 6s L1 64
Area Address: 00.0001
IP Address: 192.3.1.3 192.4.1.3 192.5.1.3 192.6.1.3 192.7.1.3 192.8.1.3
192.9.1.3 192.10.1.3 192.11.1.3
Period: 22:27:42
System ID Interface Circuit ID State HoldTime Type Pri
0003.0000.0000 Vlan-interface251 0002.0000.0000.0a Up 22s L1 64
Area Address: 00.0001
IP Address: 192.3.1.2
Period: 22:31:18
# View IS-IS peer Information.
<H3C> display isis peer
System ID Interface Circuit ID State HoldTime Type Pri
0002.0000.0000 Vlan-interface251 0002.0000.0000.0a Up 6s L1 64
0003.0000.0000 Vlan-interface251 0002.0000.0000.0a Up 22s L1 64
1.1.10 display isis route
Syntax
display isis route
View
Any view
Parameters
None
Description
Use the display isis route command to display IS-IS route information. .
Examples
# View IS-IS route information.
ISIS Level - 1 Forwarding Table :
Type - D -Direct, C -Connected, I -ISIS, S -Static, O -OSPF
B -BGP, R -RIP
Flags: R-Added to RM, L-Advertised in LSPs, U-Up/Down Bit Set
Destination/Mask In.Met Ex.Met NextHop Interface Flags
--------------------------------------------------------------------------
I 3.3.3.0/24 20 7.7.7.7 Vlan-interface1000 R/-/-
6.6.6.6 Vlan-interface1001
I 0.0.0.0/0 10 7.7.7.7 Vlan-interface1000 R/-/-
6.6.6.6 Vlan-interface1001
D 7.7.7.0/25 10 Direct Vlan-interface1000 R/L/-
D 6.6.6.0/24 10 Direct Vlan-interface1001 R/L/-
I 10.1.1.0/24 10 7.7.7.7 Vlan-interface1000 R/-/-
6.6.6.6 Vlan-interface1001
1.1.11 display isis spf-log
Syntax
display isis spf-log
View
Any view
Parameters
None
Description
Use the display isis spf-log command to display the SPF calculation log information of IS-IS. .
Examples
# View the SPF calculation log of IS-IS.
<H3C> display isis spf-log
-------------------------------------------------------------------------
Trig.Event No.Of Nodes Duration(ms) StartTime
IS_SPFTRIG_LSPCHANGE 2 19 1:12:1
IS_SPFTRIG_LSPCHANGE 2 19 1:11:58
IS_SPFTRIG_LSPCHANGE 2 18 1:11:53
IS_SPFTRIG_CIRC_DOWN 2 19 1:11:46
IS_SPFTRIG_NEWADJ 2 20 1:11:39
IS_SPFTRIG_LSPCHANGE 2 19 1:11:35
IS_SPFTRIG_PERIODIC 3 18 1:3:25
IS_SPFTRIG_LSPCHANGE 2 22 0:55:51
IS_SPFTRIG_LSPCHANGE 2 18 0:55:46
IS_SPFTRIG_ADJDOWN 2 19 0:55:23
IS_SPFTRIG_NEWADJ 2 18 0:54:16
IS_SPFTRIG_LSPCHANGE 2 20 0:54:12
IS_SPFTRIG_LSPCHANGE 3 19 0:54:7
IS_SPFTRIG_PERIODIC 3 21 0:48:25
IS_SPFTRIG_LSPEXPIRED 3 19 0:34:10
IS_SPFTRIG_PERIODIC 3 19 0:33:25
IS_SPFTRIG_PERIODIC 3 18 0:18:25
IS_SPFTRIG_LSPCHANGE 3 19 0:13:26
IS_SPFTRIG_PERIODIC 3 19 0:3:25
IS_SPFTRIG_LSPCHANGE 2 19 1:12:7
1.1.12 domain-authentication-mode
Syntax
domain-authentication-mode { simple | md5 } password [ ip | osi ]
undo domain-authentication-mode { simple | md5 } [ ip | osi ]
View
IS-IS view
Parameters
simple: Configures to transmit the password in plain text.
md5: Configures to transmit the password encrypted with MD5 algorithm.
password: Configures a password. If simple authentication is used, the password must be a simple-text password. If MD5 authentication is used, the password can be a simple-text or a cipher-text password. A simple-text password can be a character string with no more than 16 characters, for example, test918. Note that the simple-text password defined for MD5 authentication is displayed in cipher text. A cipher-text password must have 24 characters in cipher text, for example, (TT8F]Y\5SQ=^Q`MAF4<1!!.
password: Specifies the authentication password which can be a character string with 1 to 16 characters. If md5 is specified, the password will be displayed in a cipher text form with 24 characters when the display current-configuration command is executed. Inputting password in a cipher text form with 24 characters is also supported.
ip: If this item is configured, the system checks the configuration of the corresponded field of the IP in LSP.
osi: If this item is configured, the system checks the configuration of the corresponded field of the OSI in LSP.
The configuration of ip or osi is independent of the real network environment.
Description
Use the domain-authentication-mode command to configure the IS-IS routing domain to authenticate the received Level-2 routing packets (LSP, CSNP, PSNP), according to the pre-defined mode and password.
Use the undo domain-authentication-mode command to configure IS-IS not to authenticate the said packets.
By default, the system will not authenticate the received level-2 routing packets, and there is no password. By using this command, all the level-2 routing packets, whose domain authentication passwords do not consist with the one set via this command will not be received. At the same time, this command will let IS-IS insert the domain authentication password into all the level-2 routing packets sent by this node, in a certain mode.
Related commands: area-authentication-mode, isis authentication-mode.
Examples
# When you need to authenticate the level-2 routing packets, you can select the simple mode, and the password is test.
[H3C] isis
[H3C-isis] domain-authentication-mode simple test
1.1.13 filter-policy export
Syntax
filter-policy acl-number export [ routing-protocol ]
undo filter-policy acl-number export [ routing-protocol ]
View
IS-IS view
Parameters
acl-number: Specifies the number of the access control list, ranging from 2000 to 3999.
routing-protocol: Specifies the protocols that distribute routing information, including direct, static, rip, bgp, ospf, ospf-nssa, ospf-ase, and nat. If it does not specify any protocol, the distributed routes of all the protocols will be filtered.
Description
Use the filter-policy export command to configure to filter the routes distributed by IS-IS.
Use the undo filter-policy export command to cancel the filtering for the exporting routes.
By default, IS-IS does not filter any distributed routing information.
In some cases, only the routing information meeting the specified conditions will be distributed. You can configure the filter-policy to specify the filter conditions so as to distribute the desired routing information only.
Related commands: filter-policy import.
& Note:
If no rule is specified in the filter-policy command, all routes are denied by default.
Examples
# Use ACL 2000 to filter all the routes advertised by IS-IS.
[H3C-isis] filter-policy 2000 export
1.1.14 filter-policy import
Syntax
filter-policy acl-number import
undo filter-policy acl-number import
View
IS-IS view
Parameters
acl-number: Specifies the number of the access control list, ranging from 2000 to 3999.
Description
Use the filter-policy import command to configure to filter the routes received by IS-IS. Use the undo filter-policy import command to configure not to filter the received routes.
By default, IS-IS does not filter the received routing information.
In some cases, only the routing information meeting the specified conditions will be accepted. You can configure the filter-policy to specify the filter conditions so as to accept the desired routing information only.
Related commands: filter-policy export.
& Note:
If no rule is specified in the filter-policy command, all routes are denied by default.
Examples
# Filter the received routes by using ACL 2000.
[H3C-isis] filter-policy 2000 import
1.1.15 graceful-restart
Syntax
graceful-restart
undo graceful-restart
View
IS-IS view
Parameters
None
Description
Use the graceful-restart command to enable the IS-IS restart signaling process of an IS-IS process.
Use the undo graceful-restart command to disable the restart process.
IS-IS restart signals are disabled by default
Examples
# Enable the restart signaling processes of IS-IS process 1.
<H3C> system-view
[H3C] isis 1
[H3C-isis-1] graceful-restart
1.1.16 graceful-restart interval
Syntax
graceful-restart interval interval-value
undo graceful-restart interval
View
IS-IS view
Parameters
interval-value: Interval of restart (expected restart time) in seconds, in the range of 30 to 1800. It is 300 seconds by default.
Description
Use the graceful-restart interval command to specify the restart interval.
Use the undo graceful-restart interval command to restore the restart interval to the default value.
The restart interval is 300 seconds by default.
Examples
# Set the restart interval of the IS-IS process 1 to two minutes.
<H3C> system-view
[H3C] isis 1
[H3C-isis-1] graceful-restart interval 120
1.1.17 graceful-restart suppress-sa
Syntax
graceful-restart suppress-sa
undo graceful-restart suppress-sa
View
IS-IS view
Parameters
None
Description
Use the graceful-restart suppress-sa command to suppress the suppress-advertisement (SA) bit of the restart TLV.
Use the undo graceful-restart suppress-sa command to disable the suppression on the SA bit.
& Note:
l Routers that are started for the first time (excluding routers being restarted) do not maintain the forwarding status. If this router is not started for the first time, the LSP generated during the last run may still exist in the LSP database of other routers in the network.
l Because LSP fragment sequence numbers are initialized when a router is reset, the LSP copy stored in the other routers in the network seems newer than the new LSPs generated after this router is restarted. This will cause temporary blackholes in the network until the router generates its own LSPs in normal update process and delivers these LSPs in the highest sequence number.
l When this router is restarted, if neighbors of this router suppress sending adjacency relations to this router until this router delivers the updated LSP, black-holes can be avoided.
By default, the SA bit is not suppressed.
Examples
# Suppress the SA bit in the restart TLV of the IS-IS process 1.
<H3C> system-view
[H3C] isis 1
[H3C-isis-1] graceful-restart suppress-sa
1.1.18 ignore-lsp-checksum-error
Syntax
ignore-lsp-checksum-error
undo ignore-lsp-checksum-error
View
IS-IS view
Parameters
None
Description
Use the ignore-lsp-checksum-error command to configure IS-IS to discard LSPs with checksum errors.
Use the undo ignore-lsp-checksum-error command to configure IS-IS to ignore the checksum error of LSP.
By default, the checksum error of LSP is ignored.
After receiving an LSP packet, the local IS-IS will calculate its checksum and compares the result with the checksum in the LSP packet. This process is the checksum authentication over the received LSP. By default, even if the checksum in the packet is found not in consistent with the calculated result, the LSP is processed as normal. However, after you configure not to ignore LSP checksum error with the ignore-lsp-checksum-error command, the LSP packet will be discarded silently if the checksum error is found.
Examples
# Discard the LSPs with checksum errors.
[H3C-isis] ignore-lsp-checksum-error
1.1.19 import-route
Syntax
import-route protocol [ cost value | type { external | internal } | [ level-1 | level-1-2 | level-2 ] | route-policy route-policy-name ]*
undo import-route protocol [ cost value | type { external | internal } | [ level-1 | level-1-2 | level-2 ] | route-policy route-policy-name ]*
View
IS-IS view
Parameters
protocol: Redistributes routes from the specified routing protocol, which can be direct, static, rip, bgp, ospf, nat, ospf-ase, ospf-nssa, or isis. When routes are redistributed from BGP, the allow-ibgp keyword can be specified to redistribute IBGP routes.
value: Specifies the metric for redistributed routes, ranging from 0 to 63.
type: Type of routing cost: internal indicates the routing cost in the same area; external indicates the routing cost among areas. By default, the routing cost is internal.
level-1: Redistributes the routes into the Level-1 routing table.
level-2: Redistributes the routes into the Level-2 routing table. If no level is specified, it the routes are redistributed into level-2.
level-1-2: Redistributes the routes into both Level-1 and Level-2.
route-policy route-policy-name: Redistributes the routes matching the specified route-policy only.
Description
Use the import-route command to configure IS-IS to redistribute routing information from another routing protocol.
Using the undo import-route command to disable IS-IS from redistributing routing information from another routing protocol.
By default, IS-IS does not redistribute the routing information of other protocols.
IS-IS regards all the routes redistributed into the routing domain as the external routes, which describe the way of routing outside the routing domain.
Note that, if you reference routing policies for IS-IS to redistribute routes from OSPF and OSPF-ASE, the switch will apply only one route policy, namely, the last configured routing policy.
To apply different route polices for redistributing routes from OSPF and OSPF-ASE, refer to the following example:
isis 10
network-entity 47.0000.1720.1600.4001.00
import-route direct
import-route ospf-ase route-policy 3
import-route ospf route-policy 3
is-level Level-2
silent-interface LoopBack1
route-policy 3 deny node 10
if-match ip-prefix 1
route-policy 3 deny node 20
if-match ip-prefix 2
As shown in the display above, to apply different routing polices for OSPF and OSPF-ASE, we can configure an if-match clause for Node 10 to match OSPF-ASE routes and configure the other if-match clause for Node 20 to match OSPF routes.
Related commands: import-route isis level-2 into level-1.
Examples
# Redistribute static routes. The cost value is 15.
[H3C-isis] import-route static ip cost 15
# Redistribute BGP routes, including IBGP routes.
[H3C-isis] import-route bgp allow-ibgp
1.1.20 import-route isis level-2 into level-1
Syntax
import-route isis level-2 into level-1 [ acl acl-number ]
undo import-route isis level-2 into level-1 [ acl acl-number ]
View
IS-IS view
Parameters
acl-number: ACL number. It is in the range of 2000 to 3999, which means basic ACLs and advanced ACLs can be used.
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 the function.
If an ACL is specified in the command, only the routes that are permitted by the ACL can be injected to the Level-1 area.
By default, routing information in a Level-2 area is not redistributed to a Level-1 area.
Related commands: import-route.
Examples
# Inject the routes from Level-2 to Level-1 permitted by the ACL.
[H3C] isis
[H3C-isis] import-route isis level2 into level1 acl 2100
1.1.21 isis
Syntax
isis [ tag ]
undo isis [ tag ]
View
System view
Parameters
tag: Name given to the IS-IS process. The name length should be no longer than 128 characters, and it can be 0, which means null.
Description
Use the isis command to start the corresponding IS-IS routing process and enter the IS-IS view.
Use the undo isis command to delete the specified IS-IS routing process.
By default, IS-IS routing process is not started
For the normal operation of the IS-IS protocol, the isis command must be used to enable the IS-IS process. Then the network-entity command is used to set a Network Entity Title (NET) for the router. And, at last, the isis enable command is used to enable each interface which needs to run an IS-IS process. The IS-IS protocol is actually enabled upon the completion of these configurations.
& Note:
Only one IS-IS routing process can be started on one router.
Related commands: isis enable, network-entity.
Examples
# Start an IS-IS routing process, in which the system ID is 0000.0000.0002 and the area ID is 01.0001.
[H3C] isis
[H3C-isis] network-entity 01.0001.0000.0000.0002.00
1.1.22 isis authentication-mode
Syntax
isis authentication-mode { simple | md5 } password [ { level-1 | level-2 } [ ip | osi ] ]
undo isis authentication-mode { simple | md5 }
View
VLAN interface view
Parameters
simple: Configures to transmit the password in plain text.
md5: Configures to transmit the password encrypted with MD5 algorithm.
password: Configures a password. If simple authentication is used, the password must be a simple-text password. If MD5 authentication is used, the password can be a simple-text or a cipher-text password. A simple-text password can be a character string with no more than 16 characters, for example, test918. Note that the simple-text password defined for MD5 authentication is displayed in cipher text. A cipher-text password must have 24 characters in cipher text, for example, (TT8F]Y\5SQ=^Q`MAF4<1!!.
level-1: Configures authentication password for L1.
level-2: Configures authentication password for L2.
ip: If this item is configured, the system checks the configuration of the corresponded field of the IP in LSP.
osi: If this item is configured, the system checks the configuration of the corresponded field of the OSI in LSP.
The configuration of ip or osi is independent of the real network environment.
Description
Use the isis authentication-mode command to configure IS-IS to authenticate the Hello packets of the corresponding level, in the specified mode and with the specified password on the IS-IS interface.
Use the undo isis authentication-mode command to cancel the authentication.
By default, the password is not set and no authentication is executed.
If a password is set but no other parameter is specified, the settings Level-1, Level-2, and osi are used by default.
Related commands: area-authentication-mode, domain-authentication-mode.
Examples
[H3C] interface Vlan-interface 10
[H3C-Vlan-interface10] isis authentication-mode simple tangshi level-1
1.1.23 isis circuit-level
Syntax
isis circuit-level [ level-1 | level-1-2 | level-2 ]
undo isis circuit-level
View
Interface view
Parameters
level-1: Configures Level-1, instead of Level-2, adjacency on the current interface only.
level-1-2: Configures Level-1-2 adjacency on the current interface.
level-2: Configures Level-2 adjacency on the current interface only.
Description
Use the isis circuit-level command to have the Level-1-2 router set up link adjacency with the peer router.
Use the undo isis circuit-level command to restore the default setting of the link adjacency on the Level-1-2 router.
By default, the value is level-1-2.
This command is only applicable to Level-1-2 routers. If the local router is a Level-1-2 router and it is required to establish correlation with the peer router on a certain level (Level-1 or Level-2), this command can specify the interface to send and receive Hello packets of this level. Certainly, only one type of Hello packet is sent and received on the point-to-point link. In this way, excessive processing is avoided, and the bandwidth is saved.
Related commands: is-level.
Examples
# When interface VLAN-interface 10 is connected with a non-backbone router in the same area, you can set this interface to level-1, prohibiting the sending and receiving of Level-2 Hello packets.
[H3C] interface Vlan-interface 10
[H3C-Vlan-interface10] isis enable
[H3C-Vlan-interface10] isis circuit-level level-1
1.1.24 isis cost
Syntax
isis cost value [ level-1 | level-2 ]
undo isis cost [ level-1 | level-2 ]
View
Interface view
Parameters
value: Specifies the link cost used in the SPF calculation of corresponding level. Its range is 1 to 63. By default, the value is 10.
level-1: Indicates that the link cost corresponds to Level-1.
level-2: Indicates that the link cost corresponds to Level-2
Description
Use the isis cost command to configure the link cost of this interface when performing SPF calculation.
Use the undo isis cost command to restore the default link cost.
If neither Level 1 nor Level 2 is specified in the configuration, Level-1 will be the default value.
You are recommended to configure the appropriate link cost for all the interfaces. Otherwise, the link cost in the calculation of IS-IS routes cannot reflect the link cost.
Examples
# Set the link cost of the Level-2 link on VLAN-interface 10 to 5.
[H3C] interface Vlan-interface 10
[H3C-Vlan-interface10] isis cost 5 level-2
1.1.25 isis dis-priority
Syntax
isis dis-priority value [ level-1 | level-2 ]
undo isis dis-priority [ level-1 | level-2 ]
View
Interface view
Parameters
value: The priority when selecting DIS. Its value ranges 0 to 127, and the default priority is 64.
level-1: Specifies the priority when selecting Level-1 DIS.
level-2: Specifies the priority when selecting Level-2 DIS.
If no level is specified, the priority is set for both Level-1 and Level-2.
Description
Use the isis dis-priority command to configure the priority of an interface for the DIS election.
Use the undo isis dis-priority command to restore the default priority.
The IS-IS protocol does not involve the concept of backup DIS. The router with the priority 0 can also run for the DIS, which is different from the DR election of OSPF.
Related commands: area-authentication-mode, domain-authentication-mode.
Examples
# Set the priority of VLAN-interface 10 to 127.
[H3C] interface Vlan-interface 10
[H3C-Vlan-interface10] isis dis-priority 127 level-2
1.1.26 isis enable
Syntax
isis enable [ tag ]
undo isis enable [ tag ]
View
Interface view
Parameters
tag: The name given to an IS-IS routing process, when executing the isis command in the system view. If not specified, it is null.
Description
Use the isis enable command to configure the interface to activate the corresponding IS-IS routing process.
Use the undo isis enable command to cancel this designation.
By default, the IS-IS routing process is not enabled on an interface.
For the normal operation of the IS-IS protocol, the isis command must be used to enable the IS-IS process. Then the network-entity command is used to set a Network Entity Title (NET) for the router. And, at last, the isis enable command is used to enable each interface which needs to run the IS-IS process. The IS-IS protocol is actually enabled upon the completion of these configurations.
Related commands: debugging isis, network-entity.
Examples
# Create an IS-IS routing process named test, and activate this routing process on VLAN-interface 10.
[H3C] isis test
[H3C-isis] network-entity 10.0001.1010.1020.1030.00
[H3C] interface Vlan-interface 10
[H3C-Vlan-interface10] isis enable test
1.1.27 isis mesh-group
Syntax
isis mesh-group { mesh-group-number | mesh-blocked }
undo isis mesh-group
View
Interface view
Parameters
mesh-group-number: Specifies the mesh group number, ranging from 1 to 4294967295.
mesh-blocked: Configures to block a specified interface so that it will not flood the received LSP to other interfaces.
Description
Use the isis mesh-group command to add an interface to a specified mesh group.
Use the undo isis mesh-group command to delete this interface from the mesh group.
By default, the interface does not belong to any mesh group and floods LSP normally.
The interface beyond the mesh group floods the received LSP to other interfaces, following the normal procedure. This processing method applied to an NBMA network with higher connectivity and several point-to-point links will cause repeated LSP flooding and waste bandwidth.
The interface joining a mesh group only floods the received LSP to the interfaces beyond the local mesh group.
Make sure some redundancy is provided when adding an interface to a mesh group or blocking it, avoiding the affect to the normal flooding of the LSP due to link failure.
Examples
# Add VLAN-interface 20 running IS-IS to mesh group 3.
[H3C-Vlan-interface20] isis mesh-group 3
1.1.28 isis timer csnp
Syntax
isis timer csnp seconds [ level-1 | level-2 ]
undo isis timer csnp [ level-1 | level-2 ]
View
Interface view
Parameters
seconds: Specifies the CSNP packet interval on the broadcast network, ranging from 1 to 65535 and measured in seconds. By default, the value is 10 seconds.
level-1: Specifies the Level-1 CSNP packet interval.
level-2: Specifies the Level-2 CSNP packet interval.
Description
Use the isis timer csnp command to configure the interval of sending CSNP packets on the broadcast network.
Use the undo isis timer csnp command to restore the default value, that is, 10 seconds.
Only DIS can periodically send CSNP packets, therefore, this command is valid only for the router that is selected as the DIS. Furthermore, DIS is divided into level-1 and level-2, and their intervals of sending CSNP packets must be set respectively.
Examples
# Configured the CSNP packets of Level-2 to be transmitted every 15 seconds on the VLAN-interface 10.
[H3C] interface Vlan-interface 10
[H3C-Vlan-interface10] isis timer csnp 15 level-2
1.1.29 isis timer hello
Syntax
isis timer hello seconds [ level-1 | level-2 ]
undo isis timer hello [ level-1 | level-2 ]
View
Interface view
Parameters
seconds: Specifies the Hello interval, ranging from 3 to 255 and measured in seconds. The default value is 10 seconds.
level-1: Specifies the Level-1 Hello interval.
level-2: Specifies the Level-2 Hello interval.
If no level is specified, the Hello interval is set to Level-1-2, that is, both Level-1 and Level-2 take effect.
Description
Use the isis timer hello command to configure the interval of sending Hello packet of the corresponding level.
Use the undo isis timer hello command to restore the default value.
On a broadcast link, level-1 and level-2 Hello packets will be sent respectively and their intervals should also be set respectively. Such settings are unnecessary on point-to-point links. The shorter the sending interval is, the more system resources are occupied to send Hello packets. Therefore, the interval should not be too short and should be set according to actual conditions.
Related commands: isis timer holding-multiplier.
Examples
# Set the Hello packet of Level-2 to be transmitted every 20 seconds on VLAN-interface 10.
[H3C] interface Vlan-interface 10
[H3C-Vlan-interface10] isis timer hello 20 level-2
1.1.30 isis timer hello minimal
Syntax
isis timer hello minimal [ level-1 | level-2 ]
undo isis timer hello minimal [ level-1 | level-2 ]
View
Interface view
Parameters
minimal: Sets the sending interval to the minimum value. In this case, the hold time is 1 second.
level-1: Specifies that the sending interval resulting from this command is for level-1 Hello packets.
level-2: Specifies that the sending interval resulting from this command is for level-2 Hello packets.
If neither level-1 nor level-2 is specified, the sending interval is set for both Level-1 and Level-2 Hello packets by default, that is, this command takes effect on both Level-1 and Level-2 Hello packets.
Description
Use the isis timer hello minimal command to configure the IS-IS system to send the Hello packets at the corresponding level(s) in Fast Hello Mode. If the number of consecutively sent Hello packets is not specified, the system sends three Hello packets per second.
Use the undo isis timer hello minimal command to restore the default setting, that is, 10 seconds.
Related commands: isis timer holding-multiplier.
Examples
# Specify to enable the Fast Hello function on interface pos 1/0/0 so that the system sends level-2 Hello packets in Fast Hello mode.
[H3C] interface pos1/0/0
[H3C-Pos1/0/0] isis timer hello minimal level-2
1.1.31 isis timer holding-multiplier
Syntax
isis timer holding-multiplier value [ level-1 | level-2 ]
undo isis timer holding-multiplier [ level-1 | level-2 ]
View
Interface view
Parameters
value: Number of consecutive Hello packets that have not been received from the IS-IS neighbor for it to be considered dead. It ranges from 3 to 1000.
level-1: Level-1 IS-IS neighbor.
level-2: Level-2 IS-IS neighbor.
If you do not specify Level-1 or Level-2, the command applies to both Level-1 and Level-2 IS-IS neighbors.
Description
Use the isis timer holding-multiplier command to set the number of consecutive Hello packets that the IS-IS neighbor has to miss before considering the router is down.
Use the undo isis timer holding-multiplier command to restore the default setting.
By default, the multiplier value is 3.
Given a broadcast network, you may configure this command specific to Level-1 or Level-2 neighbors by specifying the keyword level-1 or level-2.
Given a PPP link, you do not need to specify Level-1 or Level-2, because only one type of Hello packets are available.
This command virtually specifies a hold-down time. If the neighbor on the interface does not receive any Hello packet from the local router within this time, the router is considered dead.
The hold-down time is configured on a per-interface basis. Within one area, routers may have different holddown time settings.
To tune the hold-down time on a router, you can change the Hello timer or change the multiplier.
Related commands: isis timer hello.
Examples
# On VLAN-interface 10, configure the IS-IS neighbor to be considered dead if five consecutive Hello packets have not been received from it.
[H3C] interface Vlan-interface 10
[H3C-Vlan-interface10] isis timer holding-multiplier 5
1.1.32 isis timer lsp
Syntax
isis timer lsp time
undo isis timer lsp
View
Interface view
Parameters
time: Specifies the LSP interval, ranging from 1 to 1000 and measured in milliseconds. The default value is 33 milliseconds.
Description
Use the isis timer lsp command to configure the interval at which IS-IS sends link-state packets on the interface.
Use the undo isis timer lsp command to restore the default setting.
Related commands: isis timer retransmit.
Examples
# Set the LSP interval on VLAN-interface 10 to 500 milliseconds.
[H3C] interface Vlan-interface 10
[H3C-Vlan-interface10] isis timer lsp 500
1.1.33 timer lsp-generation
Syntax
timer lsp-generation x y z [ level-1 | level-2 ]
undo timer lsp-generation [ level-1 | level-2 ]
View
IS-IS view
Parameters
x: Maximum interval (in seconds) for generating LSP. It ranges from 1 to 120 and defaults to 5.
y: Interval (in milliseconds) between each trigger operation and each LSP generation operation. It ranges from 1 to 120000 and defaults to 5000.
z: Interval (in milliseconds) between two successive LSP generation operations. It ranges from 1 to 120000 and defaults to 5000.
level-1: Sets interval for Level-1 LSP only.
level-2: Sets interval for Level-2 LSP only.
If neither level-1 nor level-2 is specified in this command, this command takes effect on both levels by default.
Description
Use the timer lsp-generation command to set the time interval to generate LSPs (link state packets).
Use the undo timer lsp-generation command to restore the default setting.
When an event occurs, a new LSP needs to be generated for the IS-IS protocol. But the frequent generation of LSPs will result in the occupancy of huge resources and thus decrease the performance of the routing switch. To avoid the great decrease of the performance, an exponent decrement method is adopted for the generation of LSPs. You can set the intervals to generate LSPs as required.
Examples
# Set the intervals to generate LSPs to 10, 500, and 2500.
[H3C-isis] timer lsp-generation 10 500 2500
1.1.34 isis timer retransmit
Syntax
isis timer retransmit seconds
undo isis timer retransmit
View
Interface view
Parameters
seconds: Specifies the retransmission interval of LSP packets, in seconds, in the range from 1 to 300 and the default value is five seconds.
Description
Use the isis timer retransmit command to configure the LSP retransmission interval over the point-to-point link.
Use the undo isis timer retransmit command to restore the default setting.
Take caution when setting this parameter to avoid unnecessary retransmission.
The response is required when sending LSP packets on the point-to-point link, not the broadcast link, and therefore this command is unnecessary for the broadcast link.
Related commands: isis timer lsp.
Examples
# Set the LSP retransmission interval to 10 seconds on VLAN-interface 10.
[H3C] interface Vlan-interface 10
[H3C-Vlan-interface10] isis timer retransmit 10
1.1.35 is-level
Syntax
is-level { level-1 | level-1-2 | level-2 }
undo is-level
View
IS-IS view
Parameters
level-1: Configures the router to operate at Level-1, only calculate the intra-area routes and maintain the LSDB of L1.
level-1-2: Configures the router to operate at Level-2, calculate both the L1 and L2 routes and maintain the LSDB of L1 and L2.
level-2: Configures the router to operate at Level-2, only switch L2 LSP and calculate the L2 routes and maintain the LSDB of L2.
Description
Use the is-level command to configure the level of the IS-IS router.
Use the undo is-level command to restore the default value.
By default, the value is level-1-2.
We recommend setting the system Level, when you configure IS-IS.
Related commands: isis circuit-level.
Examples
# Configure the current router to operate at Level-1.
[H3C] isis
[H3C-isis] is-level level-1
1.1.36 log-peer-change
Syntax
log-peer-change
undo log-peer-change
View
IS-IS view
Parameters
None
Description
Use the log-peer-change command to log the peer changes.
Use the undo log-peer-change command to configure not to log the peer changes.
By default, peer changes log is disabled.
After peer changes log is enabled, the IS-IS peer changes will be output on the configuration terminal until the log is disabled.
Examples
# Configure to output the IS-IS peer changes on the current router.
[H3C-isis] log-peer-change
1.1.37 md5-compatible
Syntax
md5-compatible
undo md5-compatible
View
IS-IS view
Parameters
None
Description
Use the md5-compatible command to set IS-IS to use the MD5 algorithm which is compatible with that of the other vendors.
Use the undo md5-compatible command to return to the defaults.
By default, the system uses the MD5 algorithm in IS-IS which is compatible with that of H3C.
To authenticate the devices of the vendors other than H3C using MD5 algorithm in IS-IS, configure this command.
& Note:
You can use this command if the switch cannot interoperate with the peer switch or router through MD5 authentication. You have to execute the reset isis command after enabling or disabling this command.
Examples
# Configure IS-IS to use the MD5 algorithm compatible with that of the other vendors.
[H3C] isis
[H3C-isis] md5-compatible
1.1.38 network-entity
Syntax
network-entity network-entity-title
undo network-entity network-entity-title
View
IS-IS view
Parameters
network-entity-title: Specify the network entity title in the X…X.XXXX....XXXX.00 format, where the first “X…X” is the area address, the twelve Xs in the middle is the System ID of the router, and the 00 at the end is SEL.
Description
Use the network-entity command to configure the name of Network Entity Title (NET) of the IS-IS routing process.
Use the undo network-entity command to delete a NET.
By default, no NET is defined.
NET means the Network Service Access Point (NSAP). An IS-IS NET is 8 to 20 bytes long.
It consists of three parts. Part one is area ID, which is variable (1 to 13 bytes), and the area IDs of the routers in the same area are identical. Part two is system ID (6 bytes) of this router, which must be unique in the whole area and backbone area. Part three, the last byte “SEL”, whose value must be “00”. Usually, one router can be configured with one NET. When the area is redesigned by combination or separation, after reconfiguration, the correctness and continuity of the routes must be ensured.
Related commands: debugging isis, isis enable.
Examples
# Specify NET as 10.0001.1010.1020.1030.00, in which the system ID is 1010.1020.1030, area ID is 10.0001.
[H3C] isis
[H3C-isis] network-entity 10.0001.1010.1020.1030.00
1.1.39 preference
Syntax
preference value
undo preference
View
IS-IS view
Parameters
value: Specifies the preference, ranging from 1 to 255. By default, the value is 15.
Description
Use the preference command to configure the preference of IS-IS protocol.
Use the undo preference command to restore the default value.
Several dynamic routing protocols could run simultaneously on a router. In this case, there is an issue of sharing and selecting the routing information among all the routing protocols. The system sets a preference for each routing protocol. When various routing protocols find the route to the same destination, the protocol with the higher preference will take effect.
Examples
# Configure the preference of IS-IS as 25.
[H3C-isis] preference 25
1.1.40 reset isis all
Syntax
reset isis all
View
User view
Parameters
None
Description
Use the reset isis all command to reset all the IS-IS data structures.
By default, IS-IS data structure will not be cleared.
Related commands: area-authentication-mode, domain-authentication-mode.
Examples
# Reset all the IS-IS data structures.
<H3C> reset isis all
1.1.41 reset isis peer
Syntax
reset isis peer system-id
View
User view
Parameters
system-id: Specifies the system ID of IS-IS neighbor.
Description
Use the reset isis peer command to reset the specified IS-IS peer.
By default, the IS-IS neighbor will not be cleared.
This command is used when you want to reconfigure a certain neighbor.
Examples
# Clear the IS-IS neighbor whose system ID is 0000.0c11.1111.
<H3C> reset isis peer 0000.0c11.1111
1.1.42 set-overload
Syntax
set-overload
undo set-overload
View
IS-IS view
Parameters
None
Description
Use the set-overload command to set overload flag for the current router.
Use the undo set-overload command to cancel the overload flag.
By default, no overload flag is set.
If a router is configured with the overload flag, the routes it calculates will be ignored by other routers in SPF calculation. (However the directly connected routes will not be ignored.) And other routers should not send this router the packets which should be forwarded by it.
Examples
# Set overload flag on the current router.
[H3C-isis] set-overload
1.1.43 silent-interface
Syntax
silent-interface silent-interface-type silent-interface-number
undo silent-interface silent-interface-type silent-interface-number
View
IS-IS view
Parameters
silent-interface-type: Specifies the interface type.
silent-interface-number: Specifies the interface number.
Description
Use the silent-interface command to disable a specified interface to transmit IS-IS packet.
Use the undo silent-interface command to enable the interface to transmit IS-IS packet.
By default, all the interface are allowed to transmit/receive IS-IS packets.
Examples
# Prohibit the IS-IS packets from being transmitted through VLAN-interface 3.
[H3C-isis] silent-interface Vlan-interface 3
1.1.44 spf-delay-interval
Syntax
spf-delay-interval number
undo spf-delay-interval
View
IS-IS view
Parameters
number: Specifies number of routes to process before releasing CPU. It is in unit of piece with the range from 1000 to 50000. By default, the value is 2500 pieces.
Description
Use the spf-delay-interval command to configure the number of routes to process before releasing CPU in the SPF calculation.
Use the undo spf-delay-interval command to restore the default setting.
When there are a large number of routes in the routing table, this command can be used to set that CPU resources are released automatically after a certain number of routes are processed. The unprocessed routes will be processed in one second. In this way, SPF calculation will not occupy the system resources for a long time, which has impact on the responding speed of the console.
The value of the number argument can be adjusted according to the capacity of the routing table. If the spf-slice-size command is also configured, the SPF calculation will be paused when any setting item is met.
By default, CPU is released once when every 2500 pieces of routes are processed.
Related commands: spf-slice-size.
Examples
# Configure IS-IS to release CPU once after processing every 3000 pieces of routes.
[H3C-isis] spf-delay-interval 3000
1.1.45 spf-slice-size
Syntax
spf-slice-size seconds
undo spf-slice-size
View
IS-IS view
Parameters
seconds: Duration of one cycle in seconds of SPF calculation in the range from 0 to 120. When the calculation duration time reaches or exceeds the set value, the calculation of this time ends. If seconds is set to 0, it indicates that SPF calculation is not divided into slices and it will operate until the end. By default, the value is 0.
Description
Use the spf-slice-size command to enable IS-IS to calculate SPF routes in slices and configure the duration of each calculation.
Use the undo spf-slice-size command to restore the default setting.
When there are a large number of routes in the routing table, this command can be used to enable the SPF calculation in slices to prevent it from occupying the system resources for a long time.
The user is recommended to use the command when the number of routes reaches 150000 or 200000 and the value of seconds is recommended as 1. In other cases, the default setting should be used, that is, SPF runs to the end with no slice.
If the spf-delay-interval command is also configured, when SPF calculation is run, the SPF calculation will be paused if any setting item is met.
Related commands: spf-delay-interval.
Examples
# Set the SPF duration time to one second.
[H3C-isis] spf-slice-size 1
1.1.46 summary
Syntax
summary ip-address mask [ level-1 | level-1-2 | level-2 ]
undo summary ip-address mask [ level-1 | level-1-2 | level-2 ]
View
IS-IS view
Parameters
ip-address: Summarized network segment address.
mask: Summarized network mask.
level-1: Summarizes the routes imported into Level-1.
level-1-2: Summarizes the routes imported into Level-1 and backbone area.
level-2: Summarizes the routes imported into backbone area.
Description
Use the summary command to configure to summarize IS-IS routes.
Use the undo summary command to cancel the summarization.
By default, no routes will be summarized.
Similarly, the routes with the same next hops can be summarized into one route. In this way, the sizes of the routing table, LSP packets and LSDB are reduced. Among them, the summarized route can be either a route found by IS-IS protocol, or an imported route. Furthermore, the cost value of the summarized route adopts the smallest cost among all the routes summarized.
Examples
# Set a summary route of 202.0.0.0/8.
[H3C-isis] summary 202.0.0.0 255.0.0.0
1.1.47 timer lsp-max-age
Syntax
timer lsp-max-age seconds
undo timer lsp-max-age
View
IS-IS view
Parameters
seconds: Specifies the maximum lifetime of LSP, measured in seconds. The range is 1 to 65535. The default value is 1200 seconds.
Description
Use the timer lsp-max-age command to configure the maximum lifetime of an LSP generated by the current router.
Use the undo timer lsp-max-age command to restore the default value.
When the router generates an LSP for the system, it adds the maximum lifetime to it. When other routers receive this LSP, the lifetime of the LSP decreases continuously as time goes by. When this value reaches zero, the LSP times out. If no update is received before that, the timeout LSP will be deleted from the LSDB.
Related commands: timer lsp-refresh.
Examples
# Set the lifetime of an LSP generated by the current system to 25 minutes, namely, 1500 seconds.
[H3C-isis] timer lsp-max-age 1500
1.1.48 timer lsp-refresh
Syntax
timer lsp-refresh seconds
undo timer lsp-refresh
View
IS-IS view
Parameters
seconds: Specifies the LSP refreshment interval, measured in seconds. The range is 1 to 65535. The default value is 900 seconds.
Description
Use the timer lsp-refresh command to configure the refreshment interval of LSP.
Use the undo timer lsp-refresh command to restore the default value, that is, 900 seconds.
By this mechanism, the latest synchronization of the LSP within the entire area can be maintained.
Related commands: timer lsp-max-age.
Examples
# Set the LSP refresh interval of the current system to 1500 seconds.
[H3C-isis] timer lsp-refresh 1500
1.1.49 timer spf
Syntax
timer spf x y z [ level-1 | level-2 ]
undo timer [ level-1 | level-2 ]
View
IS-IS view
Parameters
x: Maximum interval (in seconds) for SPF calculation. It ranges from 1 to 120 and defaults to 10.
y: Interval (in milliseconds) between a trigger operation and an SPF calculation operation. It ranges from 1 to 120000 and defaults to 5500.
z: Interval (in milliseconds) between two successive SPF calculation operations. It ranges from 1 to 120000 and defaults to 5500.
level-1: Sets Level-1 SPF calculation interval only.
level-2: Sets Level-2 SPF calculation interval only.
If the level is not specified, it defaults to setting Level-1 SPF calculation interval.
Description
Use the timer spf command to configure the interval for the SPF calculation of corresponding level.
Use the undo timer spf command to restore the system default value.
In IS-IS, when the LSDB of the corresponding level is changed, SPF calculation is required. However, if the SPF calculation is performed too frequently, the system efficiency will be lowered. By setting a proper interval for performing SPF calculation, you can avoid the above situation. This setting can be made according to actual conditions.
Examples
# Set the SPF calculation interval of the router to 3, 100 and 500 seconds.
[H3C-isis] timer spf 3 100 500