- Table of Contents
-
- 06-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-IPv6 static routing commands
- 09-RIPng commands
- 10-OSPFv3 commands
- 11-IPv6 IS-IS commands
- 12-IPv6 policy-based routing commands
- 13-Routing policy commands
- Related Documents
-
Title | Size | Download |
---|---|---|
11-IPv6 IS-IS commands | 97.92 KB |
IPv6 IS-IS configuration commands
display isis redistribute ipv6
ipv6 import-route isisv6 level-1 into level-2
ipv6 import-route isisv6 level-2 into level-1
IPv6 IS-IS configuration commands
IPv6 IS-IS supports all the features of IPv4 IS-IS except that it advertises IPv6 routing information. This chapter describes only IPv6 IS-IS exclusive commands. For other IS-IS configuration commands, see "IS-IS configuration commands."
address-family ipv6
Use address-family ipv6 to create the IS-IS IPv6 address family and enter its view.
Use undo address-family ipv6 to remove the IS-IS IPv6 address family view.
Syntax
address-family ipv6 [ unicast ]
undo address-family ipv6 [ unicast ]
Default
The IS-IS IPv6 address family is not created.
Views
IS-IS view
Predefined user roles
network-admin
Parameters
unicast: Specifies the unicast address family (the default).
Usage guidelines
This command enables IPv6 for an IS-IS process.
Examples
# Create the IS-IS IPv6 address family and enter its view.
<Sysname> system-view
[Sysname] isis 100
[Sysname-isis-100] address-family ipv6
[Sysname-isis-100-ipv6]
display isis redistribute ipv6
Use display isis redistribute ipv6 to display information about redistributed IPv6 IS-IS routes.
Syntax
display isis redistribute ipv6 [ ipv6-address mask-length ] [ level-1 | level-2 ] [ process-id ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
ipv6-address mask-length: Displays redistributed routes for the specified IPv6 address and mask length.
process-id: Specifies an IPv6 IS-IS process by its ID in the range of 1 to 65535.
level-1: Displays IPv6 IS-IS Level-1 route information.
level-2: Displays IPv6 IS-IS Level-2 route information.
Usage guidelines
If no IPv6 IS-IS level is specified, this command displays both Level-1 and Level-2 route information.
Examples
# Display information about redistributed IPv6 IS-IS routes.
<Sysname> display isis redistribute ipv6 1
Route information for IS-IS(1)
------------------------------
Level-1 IPv6 Redistribute Table
--------------------------------
Type : direct Destination: 12:1::/64
IntCost : 0 Tag :
State : Active
Level-2 IPv6 Redistribute Table
--------------------------------
Type : direct Destination: 12:1::/64
IntCost : 0 Tag :
State : Active
Table 1 Command output
Field |
Description |
Route information for IS-IS(1) |
Redistributed route information for IS-IS process 1. |
Level-1 IPv6 Redistribute Table |
Redistributed route information of IS-IS Level-1. |
Level-2 IPv6 Redistribute Table |
Redistributed route information of IS-IS Level-2. |
Type |
Redistributed route types: · Direct. · IS-ISv6. · Static. · OSPFv3. · BGP4+. · RIPng. |
Destination |
IPv6 destination address. |
IntCost |
Internal route cost. |
ExtCost |
External route cost. |
Tag |
Tag value. |
State |
Indicates whether the redistributed route is valid. |
display isis route ipv6
Use display isis route ipv6 to display IPv6 IS-IS route information.
Syntax
display isis route ipv6 [ ipv6-address ] [ [ level-1 | level-2 ] | verbose ] * [ process-id ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
ipv6-address: Displays IPv6 IS-IS route information with the specified IPv6 destination address.
level-1: Displays Level-1 IPv6 IS-IS route information.
level-2: Displays Level-2 IPv6 IS-IS route information.
verbose: Displays detailed IPv6 IS-IS routing information.
process-id: Specifies an IPv6 IS-IS process by its ID in the range of 1 to 65535.
Usage guidelines
If no level is specified, this command displays both Level-1 and Level-2 route information.
Examples
# Display IPv6 IS-IS route information.
<Sysname> display isis route ipv6
Route information for IS-IS(1)
------------------------------
Level-1 IPv6 Forwarding Table
-----------------------------
Destination: 2001:1:: PrefixLen: 64
Flag : R/L/- Cost : 20
Next Hop : FE80::200:5EFF:FE64:8905 Interface: XGE1/1/1
Destination: 2001:2:: PrefixLen: 64
Flag : D/L/- Cost : 10
Next Hop : Direct Interface: XGE1/1/1
Flags: D-Direct, R-Added to Rib, L-Advertised in LSPs, U-Up/Down Bit Set
Level-2 IPv6 Forwarding Table
-----------------------------
Destination: 2001:1:: PrefixLen: 64
Flag : -/-/- Cost : 20
Destination: 2001:2:: PrefixLen: 64
Flag : D/L/- Cost : 10
Flags: D-Direct, R-Added to Rib, L-Advertised in LSPs, U-Up/Down Bit Set
Table 2 Command output
Field |
Description |
Destination |
IPv6 destination prefix. |
PrefixLen |
Length of the prefix. |
Flag/Flags |
Route flag: · D—This is a direct route. · R—The route has been added into the routing table. · L—The route has been advertised in an LSP. · U—Route leaking flag, indicating that the Level-1 route is from Level-2. U means the route will not be returned to Level-2. |
Cost |
Route cost. |
Next Hop |
Next hop. |
Interface |
Outbound interface. |
# Display detailed IPv6 IS-IS routing information.
<Sysname> display isis route ipv6 verbose
Route information for IS-IS(1)
------------------------------
Level-1 IPv6 Forwarding Table
-----------------------------
IPv6 Dest : 2::/64
Flag : R/L/- Cost : 10
Admin Tag : - Src Count : 1
NextHop : Interface :
FE80::EDA:41FF:FEB1:D1C4 Vlan57
IPv6 Dest : 1::/64
Flag : D/L/- Cost : 10
Admin Tag : - Src Count : 2
NextHop : Interface :
Direct Vlan57
Flags: D-Direct, R-Added to Rib, L-Advertised in LSPs, U-Up/Down Bit Set
Level-2 IPv6 Forwarding Table
-----------------------------
IPv6 Dest : 2::/64
Flag : -/-/- Cost : 10
Admin Tag : - Src Count : 1
IPv6 Dest : 1::/64
Flag : D/L/- Cost : 10
Admin Tag : - Src Count : 2
NextHop : Interface :
Direct Vlan57
Flags: D-Direct, R-Added to Rib, L-Advertised in LSPs, U-Up/Down Bit Set
Table 3 Command output
Field |
Description |
IPv6 Dest |
IPv6 destination address and prefix. |
Cost |
Route cost. |
Flag/Flags |
Route flag: · D—This is a direct route. · R—The route has been added into the routing table. · L—The route has been advertised in an LSP. · U—Route leaking flag, indicating the Level-1 route is from Level-2. U means the route will not be returned to Level-2. |
Admin Tag |
Administrative tag. |
Src Count |
Number of advertisement sources. |
Next Hop |
Next hop. |
Interface |
Outbound interface. |
display isis spf-tree ipv6
Use display isis spf-tree ipv6 to display IPv6 IS-IS topology information.
Syntax
display isis spf-tree ipv6 [ [ level-1 | level-2 ] | verbose ] * [ process-id ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
level-1: Displays Level 1 IPv6 IS-IS topology information. If no level is specified, the command displays both Level-1 and Level-2 topology information.
level-2: Displays Level 2 IPv6 IS-IS topology information. If no level is specified, the command displays both Level-1 and Level-2 topology information.
verbose: Displays detailed IPv6 IS-IS topology information. Without this keyword, the command displays brief IPv6 IS-IS topology information.
process-id: Specifies an IPv6 IS-IS process by its ID in the range of 1 to 65535. Without this argument, the command displays topology information about all IPv6 IS-IS processes.
Examples
# Displays brief IPv6 IS-IS topology information.
<Sysname> display isis spf-tree ipv6
Shortest Path Tree for IS-IS(1)
-------------------------------
Flags: S-Node is on SPF tree T-Node is on tent list
O-Node is overload R-Node is directly reachable
I-Node or Link is isolated D-Node or Link is to be deleted
C-Neighbor is child P-Neighbor is parent
V-Link is involved N-Link is a new path
L-Link is on change list U-Protocol usage is changed
H-Nexthop is changed
Level-1 Shortest Path Tree
----------------------------------
SpfNode NodeFlag SpfLink LinkCost LinkFlag
-------------------------------------------------------------------------------
0000.0000.0032.00 S/-/-/-/-/-
-->0000.0000.0032.01 10 -/-/C/-/-/-/-/-/-
-->0000.0000.0064.00 10 -/-/C/-/-/-/-/-/-
0000.0000.0032.01 S/-/-/R/-/-
-->0000.0000.0064.00 0 -/-/C/-/-/-/-/-/-
-->0000.0000.0032.00 0 -/-/-/P/-/-/-/-/-
0000.0000.0064.00 S/-/-/R/-/-
-->0000.0000.0032.00 10 -/-/-/P/-/-/-/-/-
-->0000.0000.0032.01 10 -/-/-/P/-/-/-/-/-
Level-2 Shortest Path Tree
----------------------------------
SpfNode NodeFlag SpfLink LinkCost LinkFlag
-------------------------------------------------------------------------------
0000.0000.0032.00 S/-/-/-/-/-
-->0000.0000.0032.01 10 -/-/C/-/-/-/-/-/-
-->0000.0000.0064.00 10 -/-/C/-/-/-/-/-/-
0000.0000.0032.01 S/-/-/R/-/-
-->0000.0000.0064.00 0 -/-/C/-/-/-/-/-/-
-->0000.0000.0032.00 0 -/-/-/P/-/-/-/-/-
0000.0000.0064.00 S/-/-/R/-/-
-->0000.0000.0032.00 10 -/-/-/P/-/-/-/-/-
-->0000.0000.0032.01 10 -/-/-/P/-/-/-/-/-
# Displays detailed Level 1 IPv6 IS-IS topology information.
<Sysname> display isis spf-tree ipv6 level-1 verbose
Shortest Path Tree for IS-IS(1)
-------------------------------
Flags: S-Node is on SPF tree T-Node is on tent list
O-Node is overload R-Node is directly reachable
I-Node or Link is isolated D-Node or Link is to be deleted
C-Neighbor is child P-Neighbor is parent
V-Link is involved N-Link is a new path
L-Link is on change list U-Protocol usage is changed
H-Nexthop is changed
Level-1 Shortest Path Tree
--------------------------
SpfNode : 0000.0000.0032.00
Distance : 0
TE distance : 0
NodeFlag : S/-/-/-/-/-
TE tunnel count: 0
Nexthop count : 0
SpfLink count : 2
-->0000.0000.0032.01
LinkCost : 10
LinkNewCost : 10
LinkFlag : -/-/C/-/-/-/-/-/-
LinkSrcCnt : 1
Type : Adjacent Interface: N/A
Cost : 10 Nexthop : N/A
-->0000.0000.0064.00
LinkCost : 10
LinkNewCost : 10
LinkFlag : -/-/C/-/-/-/-/-/-
LinkSrcCnt : 1
Type : Adjacent Interface: Tun1
Cost : 10 Nexthop : FE80::A0A:A40
SpfNode : 0000.0000.0032.01
Distance : 10
TE distance : 10
NodeFlag : S/-/-/R/-/-
TE tunnel count: 0
Nexthop count : 0
SpfLink count : 2
-->0000.0000.0064.00
LinkCost : 0
LinkNewCost : 0
LinkFlag : -/-/C/-/-/-/-/-/-
LinkSrcCnt : 1
Type : Adjacent Interface: Vlan2
Cost : 10 Nexthop : FE80::200:12FF:FE34:1
-->0000.0000.0032.00
LinkCost : 0
LinkNewCost : 0
LinkFlag : -/-/-/P/-/-/-/-/-
LinkSrcCnt : 1
Type : Adjacent Interface: N/A
Cost : 0 Nexthop : N/A
SpfNode : 0000.0000.0064.00
Distance : 10
TE distance : 10
NodeFlag : S/-/-/R/-/-
TE tunnel count: 0
Nexthop count : 2
Neighbor : 0000.0000.0064.00 Interface : Vlan2
NextHop : FE80::200:12FF:FE34:1
BkNeighbor: N/A BkInterface: N/A
BkNextHop : N/A
Neighbor : 0000.0000.0064.00 Interface : Tun1
NextHop : FE80::A0A:A40
BkNeighbor: N/A BkInterface: N/A
BkNextHop : N/A
SpfLink count : 2
-->0000.0000.0032.00
LinkCost : 10
LinkNewCost : 10
LinkFlag : -/-/-/P/-/-/-/-/-
LinkSrcCnt : 1
Type : Remote Interface: N/A
Cost : 10 Nexthop : N/A
AdvMtID : 0
-->0000.0000.0064.00
LinkCost : 10
LinkNewCost : 10
LinkFlag : -/-/C/-/-/-/-/-/-
LinkSrcCnt : 1
Type : Remote Interface: Tun1
Cost : 10 Nexthop : FE80::A0A:A40
AdvMtID : 0
Table 4 Command output
Field |
Description |
SpfNode |
ID of the topology node. |
Distance |
Shortest distance from the root node to the current node. |
Shortest distance from the root node to the current node (including tunnel links). If no tunnels are configured, TE distance equals Distance. |
|
NodeFlag |
Node flag: · S—The node is on the SPF tree. · T—The node is on the tent list. · O—The node is overloaded. · R—The node is directly connected. · I—The node is isolated. · D—The node is to be deleted. |
Number of tunnels destined for this node. |
|
Nexthop count |
Number of next hops. |
NextHop |
Primary next hop of the node or the link advertising source. |
Topology from which the routing information is learned: · 0—Base topology. · 6-4094—Other topologies. |
|
Interface |
Primary output interface of the node or the link advertising source. |
BkNextHop |
Backup next hop. |
BkInterface |
Backup output interface. |
Neighbor |
ID of the primary next hop neighbor. |
BkNeighbor |
ID of the backup next hop neighbor. |
SpfLink |
Topology link. |
SpfLink count |
Number of topology links. |
LinkCost |
Link cost. |
LinkNewCost |
New link cost. |
LinkFlag |
Link flag: · I—The link is isolated. · D—The link is to be deleted. · C—The neighbor is a child node. · P—The neighbor is the parent node. · V—The link is involved. · N—The link is a new path. · L—The link is on the change list. · U—The protocol usage of the link is changed. · H—The next hop of the link is changed. |
LinkSrcCnt |
Number of link advertising sources. |
Type |
Type of the link advertising source: · Adjacent—The link advertising source is a local neighbor. · Remote—The link advertising source is advertised by a remote node in an LSP. |
Cost |
Cost of the link advertising source. |
ipv6 default-route-advertise
Use ipv6 default-route-advertise to generate a Level-1 or Level-2 IPv6 IS-IS default route.
Use undo ipv6 default-route-advertise to disable generating a default route.
Syntax
ipv6 default-route-advertise [ [ level-1 | level-1-2 | level-2 ] | route-policy route-policy-name ] *
undo ipv6 default-route-advertise
Default
No IPv6 IS-IS default route is generated.
Views
IS-IS view
Predefined user roles
network-admin
Parameters
level-1: Generates a default route for Level-1.
level-1-2: Generates a default route for Level-1-2.
level-2: Generates a default route for Level-2.
route-policy route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters.
Usage guidelines
If no level is specified, this command generates a Level-2 default route.
You can use a routing policy to specify a level for the default route. The default route can be generated only when the routing policy is matched by a route entry in the routing table. The apply isis level-1 command in routing policy view specifies Level-1. The apply isis level-2 command in routing policy view specifies Level-2. The apply isis level-1-2 command in routing policy view specifies both Level-1 and Level-2.
Examples
# Configure the router to generate a default route in a Level-2 LSP.
<Sysname> system-view
[Sysname] isis 1
[Sysname-isis-1] ipv6 default-route-advertise
Related commands
apply isis
ipv6 enable
Use ipv6 enable to enable IPv6 for an IS-IS process.
Use undo ipv6 enable to disable IPv6.
Syntax
ipv6 enable
undo ipv6 enable
Default
IPv6 is disabled for an IS-IS process.
Views
IS-IS view
Predefined user roles
network-admin
Examples
# Create IS-IS process 1, and enable IPv6 for the process.
<Sysname> system-view
[Sysname] isis 1
[Sysname-isis-1] network-entity 10.0001.1010.1020.1030.00
[Sysname-isis-1] ipv6 enable
ipv6 filter-policy export
Use ipv6 filter-policy export to configure IPv6 IS-IS to filter redistributed routes.
Use undo ipv6 filter-policy export to remove the configuration.
Syntax
ipv6 filter-policy { acl6-number | prefix-list prefix-list-name | route-policy route-policy-name } export [ protocol [ process-id ] ]
undo ipv6 filter-policy export [ protocol [ process-id ] ]
Default
IPv6 IS-IS does not filter redistributed routes.
Views
IS-IS view
Predefined user roles
network-admin
Parameters
acl6-number: Specifies an IPv6 ACL by its number in the range of 2000 to 3999 to filter redistributed routes.
prefix-list prefix-list-name: Specifies an IPv6 prefix list by its name, a case-sensitive string of 1 to 63 characters, to filter the redistributed routes.
route-policy route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters, to filter redistributed routes.
protocol: Filters routes redistributed from the specified routing protocol, which can be bgp4+, direct, isisv6, ospfv3, ripng, or static. If no protocol is specified, the command filters routes redistributed from all routing protocols.
process-id: Specifies a process by its ID in the range of 1 to 65535. This argument is available only when the protocol is isisv6, ospfv3, or ripng.
Usage guidelines
This command filters routes redistributed by the ipv6 import-route command. Only routes that have not been filtered can be redistributed.
If no protocol is specified, the command filters routes redistributed from all routing protocols.
If a protocol is specified, the command filters routes redistributed from the specified routing protocol.
To reference an advanced ACL (with a number from 3000 to 3999) in the command or in the routing policy, configure the ACL using one of the following methods:
· To deny/permit a route with the specified destination, use the rule [ rule-id ] { deny | permit } ipv6 source sour sour-prefix command.
· To deny/permit a route with the specified destination and prefix, use the rule [ rule-id ] { deny | permit } ipv6 source sour sour-prefix destination dest dest-prefix command.
The source keyword specifies the destination address of a route and the destination keyword specifies the prefix of the route. The specified prefix must be valid. Otherwise, the configuration does not take effect.
Examples
# Use IPv6 ACL 2006 to filter redistributed routes.
<Sysname> system-view
[Sysname] isis 1
[Sysname-isis-1] ipv6 filter-policy 2006 export
# Configure IPv6 ACL 3000 to permit only route 2001::1/128 to pass. Use the ACL to filter redistributed routes.
<Sysname> system-view
[Sysname] acl ipv6 number 3000
[Sysname-acl6-adv-3000] rule 10 permit ipv6 source 2001::1 128 destination ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 128
[Sysname-acl6-adv-3000] rule 100 deny ipv6
[Sysname-acl6-adv-3000] quit
[Sysname] isis 1
[Sysname-isis-1] ipv6 filter-policy 3000 export
Related commands
ipv6 filter-policy import
ipv6 filter-policy import
Use ipv6 filter-policy import to configure IPv6 IS-IS to filter received routes.
Use undo ipv6 filter-policy import to remove the configuration.
Syntax
ipv6 filter-policy { acl6-number | prefix-list prefix-list-name | route-policy route-policy-name } import
undo ipv6 filter-policy import
Default
IPv6 IS-IS does not filter received routes.
Views
IS-IS view
Predefined user roles
network-admin
Parameters
acl6-number: Specifies an IPv6 ACL by its number in the range of 2000 to 3999 to filter received routes.
ipv6-prefix-name: Specifies an IPv6 prefix list by its name, a case-sensitive string of 1 to 63 characters, to filter received routes.
route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters, to filter received routes.
Usage guidelines
This command filters received routes. Only routes that have not been filtered can be added into the routing table.
To reference an advanced ACL (with a number from 3000 to 3999) in the command or in the routing policy, configure the ACL using one of the following methods:
· To deny/permit a route with the specified destination, use the rule [ rule-id ] { deny | permit } ipv6 source sour sour-prefix command
· To deny/permit a route with the specified destination and prefix, use the rule [ rule-id ] { deny | permit } ipv6 source sour sour-prefix destination dest dest-prefix command.
The source keyword specifies the destination address of a route and the destination keyword specifies the prefix of the route. The specified prefix must be valid. Otherwise, the configuration does not take effect.
Examples
# Use IPv6 ACL 2003 to filter received routes.
<Sysname> system-view
[Sysname] isis 1
[Sysname-isis-1] ipv6 filter-policy 2003 import
# Configure IPv6 ACL 3000 to permit only route 2001::1/128 to pass. Use the ACL to filter received routes.
<Sysname> system-view
[Sysname] acl ipv6 number 3000
[Sysname-acl6-adv-3000] rule 10 permit ipv6 source 2001::1 128 destination ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 128
[Sysname-acl6-adv-3000] rule 100 deny ipv6
[Sysname-acl6-adv-3000] quit
[Sysname] isis 1
[Sysname-isis-1] ipv6 filter-policy 3000 import
Related commands
ipv6 filter-policy export
ipv6 import-route
Use ipv6 import-route to enable IPv6 IS-IS to redistribute routes from another routing protocol.
Use undo ipv6 import-route to disable route redistribution.
Syntax
ipv6 import-route protocol [ process-id ] [ allow-ibgp ] [ cost cost | [ level-1 | level-1-2 | level-2 ] | route-policy route-policy-name | tag tag ] *
undo ipv6 import-route protocol [ process-id ]
Default
IPv6 does not redistribute routes from any other routing protocol.
Views
IS-IS view
Predefined user roles
network-admin
Parameters
protocol: Redistributes routes from the specified routing protocol, which can be direct, static, ripng, isisv6, bgp4+, or ospfv3.
process-id: Specifies a process by its ID in the range of 1 to 65535. It is available only when the protocol is ripng, isisv6, or ospfv3.
cost cost: Specifies a cost for redistributed routes, in the range of 0 to 4261412864.
level-1: Redistributes routes into the Level-1 routing table.
level-1-2: Redistributes routes into Level-1 and Level-2 routing tables.
level-2: Redistributes routes into the Level-2 routing table.
route-policy route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters, to filter redistributed routes.
tag tag: Specifies an administrative tag for marking redistributed routes, in the range of 1 to 4294967295.
allow-ibgp: Allows redistribution of IBGP routes. This keyword is available only when the protocol is bgp4+.
Usage guidelines
IPv6 IS-IS considers redistributed routes as AS-external routes.
You can specify a cost and a level for redistributed routes.
The import-route bgp4+ command redistributes only EBGP routes. The import-route bgp4+ allow-ibgp command redistributes both EBGP and IBGP routes, and might cause routing loops. Therefore, use it with caution.
Examples
# Configure IPv6 IS-IS to redistribute static routes and set the cost for redistributed routes to 15.
<Sysname> system-view
[Sysname] isis 1
[Sysname-isis-1] ipv6 import-route static cost 15
ipv6 import-route isisv6 level-1 into level-2
Use ipv6 import-route isisv6 level-1 into level-2 to enable route advertisement from Level-1 to Level-2.
Use undo ipv6 import-route isisv6 level-1 into level-2 to disable route advertisement from Level-1 to Level-2.
Syntax
ipv6 import-route isisv6 level-1 into level-2 [ filter-policy { acl6-number | prefix-list prefix-list-name | route-policy route-policy-name } | tag tag ] *
undo ipv6 import-route isisv6 level-1 into level-2
Default
Route advertisement from Level-1 to Level-2 is enabled.
Views
IS-IS view
Predefined user roles
network-admin
Parameters
filter-policy: Specifies a filtering policy.
acl6-number: Specifies an IPv6 ACL by its number in the range of 2000 to 3999.
prefix-list prefix-list-name: Specifies an IPv6 prefix list by its name, a case-sensitive string of 1 to 63 characters.
route-policy route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters.
tag tag: Specifies an administrative tag for marking redistributed routes, in the range of 1 to 4294967295.
Usage guidelines
This command enables a Level-1-2 router to redistribute Level-1 routes to Level-2 routers and Level-1-2 routers in the local area.
Examples
# Enable route advertisement from Level-1 to Level-2.
<Sysname> system-view
[Sysname] isis 1
[Sysname-isis-1] ipv6 import-route isisv6 level-1 into level-2
ipv6 import-route isisv6 level-2 into level-1
Use ipv6 import-route isisv6 level-2 into level-1 to enable IPv6 IS-IS route advertisement from Level-2 to Level-1.
Use undo ipv6 import-route isisv6 level-2 into level-1 to restore the default.
Syntax
ipv6 import-route isisv6 level-2 into level-1 [ filter-policy { acl6-number | prefix-list prefix-list-name | route-policy route-policy-name } | tag tag ] *
undo ipv6 import-route isisv6 level-2 into level-1
Default
Route advertisement from Level-2 to Level-1 is disabled.
Views
IS-IS view
Predefined user roles
network-admin
Parameters
filter-policy: Specifies a filtering policy.
acl6-number: Specifies an IPv6 ACL by its number in the range of 2000 to 3999.
prefix-list prefix-list-name: Specifies an IPv6 prefix list by its name, a case-sensitive string of 1 to 63 characters.
route-policy route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters.
tag: Specifies an administrative tag for marking redistributed routes, in the range of 1 to 4294967295.
Usage guidelines
This command enables a Level-1-2 router to redistribute Level-2 routes to the Level-1 and Level-1-2 routers in the local area.
Examples
# Enable IPv6 IS-IS route advertisement from Level-2 to Level-1.
<Sysname> system-view
[Sysname] isis 1
[Sysname-isis-1] ipv6 import-route isisv6 level-2 into level-1
ipv6 import-route limit
Use ipv6 import-route limit to configure the maximum number of redistributed Level 1/Level 2 IPv6 routes.
Use undo ipv6 import-route limit to restore the default.
Syntax
ipv6 import-route limit number
undo ipv6 import-route limit
Default
The maximum number of redistributed Level 1/Level 2 IPv6 routes is 8192.
Views
IS-IS view
Predefined user roles
network-admin
Parameters
number: Specifies the maximum number of redistributed Level 1/Level 2 IPv6 routes, in the range of 1 to 8192.
Examples
# Configure IS-IS process 1 to redistribute up to 1000 Level 1/Level 2 IPv6 routes.
<Sysname> system-view
[Sysname] isis 1
[Sysname-isis-1] ipv6 import-route limit 1000
ipv6 maximum load-balancing
Use ipv6 maximum load-balancing to configure the maximum number of equal-cost multi-path (ECMP) routes for load balancing.
Use undo ipv6 maximum load-balancing to restore the default.
Syntax
ipv6 maximum load-balancing number
undo ipv6 maximum load-balancing
Default
The maximum number of IPv6 IS-IS ECMP routes equals the maximum number of ECMP routes supported by the system.
Views
IS-IS view
Predefined user roles
network-admin
Parameters
number: Specifies the maximum number of ECMP routes.
Usage guidelines
If you use the max-ecmp-num command to configure the maximum number of ECMP routes supported by the system as m:
· The default setting for the ipv6 maximum load-balancing command is m.
· The value range for the number argument of the ipv6 maximum load-balancing command is 1 to m.
Examples
# Configure the maximum number of ECMP routes as 2.
<Sysname> system-view
[Sysname] isis 100
[Sysname-isis-100] ipv6 maximum load-balancing 2
ipv6 preference
Use ipv6 preference to configure the preference for IPv6 IS-IS.
Use undo ipv6 preference to restore the default.
Syntax
ipv6 preference { preference | route-policy route-policy-name } *
undo ipv6 preference
Default
The preference for IPv6 IS-IS is 15.
Views
IS-IS view
Predefined user roles
network-admin
Parameters
preference: Specifies a preference for IPv6 IS-IS, in the range of 1 to 255.
route-policy route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters.
Usage guidelines
If multiple dynamic routing protocols find routes to the same destination, the route found by the protocol with the highest preference is selected as the optimal route.
Examples
# Configure the preference for IPv6 IS-IS as 20.
<Sysname> system-view
[Sysname] isis 1
[Sysname-isis-1] ipv6 preference 20
ipv6 priority
Use ipv6 priority to assign a convergence priority to specific IPv6 IS-IS routes.
Use undo ipv6 priority to remove the configuration.
Syntax
ipv6 priority { critical | high | medium } { prefix-list prefix-list-name | tag tag-value }
undo ipv6 priority { critical | high | medium } [ prefix-list | tag ]
Default
IPv6 IS-IS routes have the low convergence priority.
Views
IS-IS view
Predefined user roles
network-admin
Parameters
critical: Specifies the highest convergence priority.
high: Specifies the high convergence priority.
medium: Specifies the medium convergence priority.
prefix-list prefix-list-name: Specifies an IPv6 prefix list by its name, a case-sensitive string of 1 to 63 characters.
tag tag-value: Specifies a tag value in the range of 1 to 4294967295.
Usage guidelines
The higher the convergence priority, the faster the convergence speed.
IPv6 IS-IS host routes have a medium convergence priority.
Examples
# Assign the high convergence priority to IS-IS routes permitted by IPv6 prefix list standtest.
<Sysname> system-view
[Sysname] isis 1
[Sysname-isis-1] ipv6 priority high prefix-list standtest
ipv6 summary
Use ipv6 summary to configure an IPv6 IS-IS summary route.
Use undo ipv6 summary to remove the summary route.
Syntax
ipv6 summary ipv6-prefix prefix-length [ avoid-feedback | generate_null0_route | [ level-1 | level-1-2 | level-2 ] | tag tag ] *
undo ipv6 summary ipv6-prefix prefix-length [ level-1 | level-1-2 | level-2 ]
Default
No summary route is configured.
IS-IS view
Predefined user roles
network-admin
Parameters
ipv6-prefix: Specifies an IPv6 prefix for the summary route.
prefix-length: Specifies the length of the IPv6 prefix, in the range of 0 to 128.
avoid-feedback: Avoids learning the summary route by route calculation.
generate_null0_route: Generates a NULL 0 route to avoid routing loops.
level-1: Summarizes only the routes redistributed to Level-1.
level-1-2: Summarizes all the routes redistributed to both Level-1 and Level-2.
level-2: Summarize only the routes redistributed to Level-2.
tag: Specifies an administrative tag in the range of 1 to 4294967295.
Usage guidelines
If no level is specified, the command applies to Level-2.
You can summarize routes with the same next hop into a single route to reduce the size of the routing table, as well as the size of the LSDB. This command can summarize both learned and redistributed IPv6 IS-IS routes. The cost of the summary route is the smallest cost of those summarized routes.
Examples
# Configure a summary route of 2002::/32.
<Sysname> system-view
[Sysname] isis
[Sysname-isis-1] ipv6 summary 2002:: 32
isis ipv6 bfd enable
Use isis ipv6 bfd enable to enable BFD for IPv6 IS-IS.
Use undo isis ipv6 bfd enable to disable BFD for IPv6 IS-IS.
Syntax
isis ipv6 bfd enable
undo isis ipv6 bfd enable
Default
BFD for IPv6 IS-IS is disabled.
Views
Interface view
Predefined user roles
network-admin
Examples
# Enable BFD for IPv6 IS-IS on VLAN-interface 11.
<Sysname> system-view
[Sysname] interface vlan-interface 11
[Sysname-Vlan-interface11] isis ipv6 bfd enable
isis ipv6 cost
Use isis ipv6 cost to set the IPv6 IS-IS cost for an interface.
Use undo isis ipv6 cost to remove the configuration.
Syntax
isis ipv6 cost value [ level-1 | level-2 ]
undo isis ipv6 cost [ level-1 | level-2 ]
Default
No IPv6 IS-IS cost is configured for an interface.
Views
Interface view
Predefined user roles
network-admin
Parameters
value: Specifies an IPv6 IS-IS cost in the range of 1 to 16777215.
level-1: Applies the cost to Level-1 routes.
level-2: Applies the cost to Level-2 routes.
Usage guidelines
This command applies to interfaces that are enabled with IPv6 IS-IS.
This command takes effect only when the standard MTR mode is enabled.
Examples
# Configure the IPv6 IS-IS cost as 10 for VLAN-interface 11.
[Sysname] isis 100
[Sysname-isis-100] address-family ipv6 unicast
[Sysname-isis-100-ipv6] quit
[Sysname-isis-100] quit
[Sysname] interface vlan-interface 11
[Sysname-Vlan-interface11] isis ipv6 enable 100
[Sysname-Vlan-interface11] isis ipv6 cost 10
isis ipv6 enable
Use isis ipv6 enable to enable IPv6 for an IS-IS process on an interface.
Use undo isis ipv6 enable to disable the configuration.
Syntax
isis ipv6 enable [ process-id ]
undo isis ipv6 enable
Default
IPv6 is disabled for an IS-IS process.
Views
Interface view
Predefined user roles
network-admin
Parameters
process-id: Specifies an IS-IS process by its ID in the range of 1 to 65535. The default is 1.
Examples
# Enable global IPv6, create IS-IS routing process 1, enable IPv6 for the process, and enable IPv6 for the process on VLAN-interface 100.
<Sysname> system-view
[Sysname] isis 1
[Sysname-isis-1] network-entity 10.0001.1010.1020.1030.00
[Sysname-isis-1] ipv6 enable
[Sysname-isis-1] quit
[Sysname] interface vlan-interface 100
[Sysname--Vlan-interface100] ipv6 address 2002::1/64
[Sysname--Vlan-interface100] isis ipv6 enable 1
multi-topology
Use multi-topology to enable IPv6 IS-IS MTR.
Use undo multiple-topology to disable IPv6 IS-IS MTR.
Syntax
multi-topology [ compatible ]
undo multi-topology
Default
IPv6 IS-IS MTR is disabled.
Views
IS-IS IPv6 address family view
Predefined user roles
network-admin
Parameters
compatible: Specifies the compatible mode to advertise IPv6 prefixes to both IPv4 and IPv6 topologies. If you do not specify this keyword, the command advertises IPv6 prefixes only to the IPv6 topology.
Usage guidelines
This command enables separate route calculation in IPv4 and IPv6 topologies.
This command is available when the link cost style is wide, compatible, or wide-compatible.
Examples
# Enable IPv6 IS-IS MTR.
<Sysname> system-view
[Sysname] isis 1
[Sysname-isis-1] address-family ipv6
[Sysname-isis-1-ipv6] multi-topology
Related commands
cost-style