05-Layer 3—IP Routing Command Reference

HomeSupportSwitchesS6800 SeriesReference GuidesCommand ReferencesH3C S6800 Switch Series Command References-Release 26xx-6W10705-Layer 3—IP Routing Command Reference
11-IPv6 IS-IS commands
Title Size Download
11-IPv6 IS-IS commands 212.34 KB

IPv6 IS-IS 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 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 and all configurations in the view.

Syntax

address-family ipv6 [ unicast ]

undo address-family ipv6 [ unicast ]

Default

No IS-IS IPv6 address family exists.

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]

auto-cost enable

Use auto-cost enable to enable automatic link cost calculation.

Use undo auto-cost enable to disable automatic link cost calculation.

Syntax

auto-cost enable

undo auto-cost enable

Default

Automatic link cost calculation is disabled.

Views

IS-IS IPv6 unicast address family view

Predefined user roles

network-admin

Usage guidelines

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 following formula: Cost = (Reference bandwidth value / Link bandwidth) × 10. For other cost styles, Table 1 applies.

Table 1 Automatic cost calculation scheme for cost styles other than wide and wide-compatible

Interface bandwidth

Cost

≤10 Mbps

60

≤100 Mbps

50

≤155 Mbps

40

≤622 Mbps

30

≤2500 Mbps

20

>2500 Mbps

10

 

Examples

# Enable automatic link cost calculation for IS-IS process 1.

<Sysname> system-view

[Sysname] isis 1

[Sysname-isis-1] address-family ipv6

[Sysname-isis-1-ipv6] auto-cost enable

Related commands

bandwidth-reference

cost-style

isis ipv6 cost

bandwidth-reference

Use bandwidth-reference to set the bandwidth reference value for automatic link cost calculation.

Use undo bandwidth-reference to restore the default.

Syntax

bandwidth-reference value

undo bandwidth-reference

Default

The bandwidth reference value is 100 Mbps.

Views

IS-IS IPv6 unicast address family view

Predefined user roles

network-admin

Parameters

value: Specifies the bandwidth reference value in the range of 1 to 2147483648 Mbps.

Examples

# Set the IPv6 bandwidth reference to 200 Mbps for IS-IS process 1.

<Sysname> system-view

[Sysname-isis-1] address-family ipv6

[Sysname-isis-1-ipv6] bandwidth-reference 200

Related commands

auto-cost enable

isis cost

circuit-cost

Use circuit-cost to set a global IPv6 IS-IS link cost.

Use undo circuit-cost to remove the configuration.

Syntax

circuit-cost value [ level-1 | level-2 ]

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

Default

No global link cost is configured.

Views

IS-IS IPv6 unicast address family view

Predefined user roles

network-admin

Parameters

value: Specifies the link cost value. The value range varies by cost style.

·     For styles narrow, narrow-compatible, and compatible, the cost value is in the range of 0 to 63.

·     For styles wide and wide-compatible, the cost value is in the range of 0 to 16777215.

level-1: Applies the link cost to Level-1.

level-2: Applies the link cost to Level-2.

Usage guidelines

If no level is specified, the specified cost applies to both Level-1 and Level-2.

Examples

# Set the global Level-1 IPv6 link cost of IS-IS process 1 to 11.

<Sysname> system-view

[Sysname] isis 1

[Sysname-isis-1] address-family ipv6

[Sysname-isis-1-ipv6] circuit-cost 11 level-1

Related commands

cost-style

isis cost

default-route-advertise

Use default-route-advertise to configure IPv6 IS-IS to advertise a Level-1 or Level-2 default route.

Use undo default-route-advertise to restore the default.

Syntax

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

undo default-route-advertise

Default

IPv6 IS-IS does not advertise Level-1 and Level-2 default routes.

Views

IS-IS IPv6 unicast address family view

Predefined user roles

network-admin

Parameters

avoid-learning: Avoids learning the default route received in LSPs or generated by using the ATT bit to prevent routing loops.

level-1: Advertises a Level-1 default route.

level-1-2: Advertises a Level-1-2 default route.

level-2: Advertises a Level-2 default route.

route-policy route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters.

tag tag: Specifies a tag value for the default route, in the range of 1 to 4294967295.

Usage guidelines

If no level is specified, this command advertises a Level-2 default route.

A Level-1 default route is advertised to the routers of the local area. A Level-2 route is advertised to all Level-2 and Level-1-2 routers.

You can use a routing policy to specify a level for the default route. The default route can be generated only when a route entry in the routing table matches the routing policy. Use the following commands in routing policy node view to specify different default route levels:

·     Use the apply isis level-1 command to specify Level-1.

·     Use the apply isis level-2 command to specify Level-2.

·     Use the apply isis level-1-2 command to specify both Level-1 and Level-2.

The tag value specified in the routing policy takes precedence over the tag value specified in this command.

Examples

# Configure IS-IS process 1 to advertise a Level-2 IPv6 default route.

<Sysname> system-view

[Sysname] isis 1

[Sysname-isis-1] address-family ipv6

[Sysname-isis-1-ipv6] default-route-advertise

Related commands

apply isis

display isis event-log spf ipv6

Use display isis event-log spf ipv6 to display IPv6 IS-IS route calculation log information.

Syntax

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

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

level-1: Displays Level-1 route calculation log information.

level-2: Displays Level-2 route calculation log information.

process-id: Specifies a process by its ID in the range of 1 to 65535. If you do not specify this argument, the command displays route calculation log information for all IPv6 IS-IS processes.

Usage guidelines

If you do not specify a level, the command displays both Level-1 and Level-2 route calculation log information.

Examples

# Display brief IPv6 IS-IS route calculation log information.

<Sysname> display isis event-log spf ipv6

 

                              SPF Log for IS-IS(1)

                              --------------------

 

                                Level-1 SPF Log

                                ---------------

 

Date       Time     Duration   Count      Trigger event

-------------------------------------------------------------------------------

2015-09-07 11:10:45 0          4          Interface metric changed

2015-09-07 09:26:40 0          4          LSP updated

2015-09-07 09:26:28 0          2          DIS changed

2015-09-07 09:26:21 0.001     2          LSP updated

2015-09-07 09:26:07 0.001     3          Direct route changed

 

                                Level-2 SPF Log

                                ---------------

 

Date       Time     Duration   Count      Trigger event

-------------------------------------------------------------------------------

2015-09-07 11:10:45 0          4          Interface metric changed

2015-09-07 09:26:40 0          4          LSP updated

2015-09-07 09:26:28 0          2          DIS changed

2015-09-07 09:26:21 0          2          LSP updated

2015-09-07 09:26:07 0          3          Direct route changed

# Display detailed IPv6 IS-IS route calculation log information.

<Sysname> display isis event-log spf ipv6 verbose

 

                              SPF Log for IS-IS(1)

                              --------------------

 

                                Level-1 SPF Log

                                ---------------

 

 Log date      : 2015-09-07 02:18:09

 Log key       : 10

 Trigger count : 2

 Trigger event : LSP updated

 SPF details   :

   Phase          Duration     Description

   TE tunnel ADJ  0            TE SPF nodes: 0

   Topology       0            SPF nodes: 0

   BSPF           0            Candidate NBRs: 0

   LFA            0            LFA SPF nodes: 0

   Area           0            Area addresses: 0

   PRC            0            Add: 0 modify: 0 delete: 0

   Route summary  0            Summary route nodes: 0

   Total          0

 

 Log date      : 2015-09-07 02:18:09

 Log key       : 9

 Trigger count : 2

 Trigger event : NextHop changed

 SPF details   :

   Phase          Duration     Description

   TE tunnel ADJ  0            TE SPF nodes: 0

   Topology       0.003        SPF nodes: 3

   BSPF           0            Candidate NBRs: 0

   LFA            0            LFA SPF nodes: 0

   Area           0            Area addresses: 1

   PRC            0            Add: 0 modify: 0 delete: 0

   Route summary  0            Summary route nodes: 0

   Total          0.003

 

 Log date      : 2011-01-01 02:17:40

 Log key       : 8

 Trigger count : 2

 Trigger event : Logic interface changed

 SPF details   :

   Phase          Duration     Description

   TE tunnel ADJ  0            TE SPF nodes: 0

   Topology       0            SPF nodes: 0

   BSPF           0            Candidate NBRs: 0

   LFA            0            LFA SPF nodes: 0

   Area           0            Area addresses: 0

   PRC            0.005        Add: 1 modify: 0 delete: 0

                               Last 10 routes:

                               10::/64

   Route summary  0            Summary route nodes: 0

   Total          0.005

 

 Log date      : 2015-09-07 02:17:38

 Log key       : 7

 Trigger count : 1

 Trigger event : Logic interface changed

 SPF details   :

   Phase          Duration     Description

   TE tunnel ADJ  0            TE SPF nodes: 0

   Topology       0            SPF nodes: 0

   BSPF           0            Candidate NBRs: 0

   LFA            0            LFA SPF nodes: 0

   Area           0            Area addresses: 0

   PRC            0            Add: 0 modify: 0 delete: 0

   Route summary  0            Summary route nodes: 0

   Total          0

 

 Log date      : 2015-09-07 02:17:33

 Log key       : 6

 Trigger count : 5

 Trigger event : NextHop changed

 SPF details   :

   Phase          Duration     Description

   TE tunnel ADJ  0            TE SPF nodes: 0

   Topology       0            SPF links changed: 1

   BSPF           0            Candidate NBRs: 0

   LFA            0            LFA SPF nodes: 0

   Area           0            Area addresses: 0

   PRC            0.003        Add: 0 modify: 0 delete: 1

                               Last 10 routes:

                               3::/24

   Route summary  0            Summary route nodes: 0

   Total          0.003

 

 Log date      : 2015-09-07 02:17:21

 Log key       : 5

 Trigger count : 1

 Trigger event : Direct route changed

 SPF details   :

   Phase          Duration     Description

   TE tunnel ADJ  0            TE SPF nodes: 0

   Topology       0            SPF nodes: 0

   BSPF           0            Candidate NBRs: 0

   LFA            0            LFA SPF nodes: 0

   Area           0            Area addresses: 0

   PRC            0.006        Add: 1 modify: 0 delete: 0

                               Last 10 routes:

                               3::/24

   Route summary  0            Summary route nodes: 0

   Total          0.006

 

 Log date      : 2015-09-07 02:17:11

 Log key       : 4

 Trigger count : 1

 Trigger event : IPv6 mode changed

 SPF details   :

   Phase          Duration     Description

   TE tunnel ADJ  0            TE SPF nodes: 0

   Topology       0            SPF nodes: 3

   BSPF           0            Candidate NBRs: 0

   LFA            0            LFA SPF nodes: 0

   Area           0            Area addresses: 1

   PRC            0            Add: 0 modify: 0 delete: 0

   Route summary  0            Summary route nodes: 0

   Total          0

 

 Log date      : 2015-09-07 01:09:33

 Log key       : 3

 Trigger count : 2

 Trigger event : DIS changed

 SPF details   :

   Phase          Duration     Description

   TE tunnel ADJ  0            TE SPF nodes: 0

   Topology       0.001        SPF nodes: 3

   BSPF           0            Candidate NBRs: 0

   LFA            0            LFA SPF nodes: 0

   Area           0            Area addresses: 1

   PRC            0            Add: 0 modify: 0 delete: 0

   Route summary  0            Summary route nodes: 0

   Total          0.001

 

 Log date      : 2015-09-07 01:09:25

 Log key       : 2

 Trigger count : 2

 Trigger event : LSP updated

 SPF details   :

   Phase          Duration     Description

   TE tunnel ADJ  0            TE SPF nodes: 0

   Topology       0            SPF links changed: 1

   BSPF           0            Candidate NBRs: 0

   LFA            0            LFA SPF nodes: 0

   Area           0            Area addresses: 1

   PRC            0            Add: 0 modify: 0 delete: 0

   Route summary  0            Summary route nodes: 0

   Total          0

 

 Log date      : 2015-09-07 01:08:49

 Log key       : 1

 Trigger count : 1

 Trigger event : Area address changed

 SPF details   :

   Phase          Duration     Description

   TE tunnel ADJ  0            TE SPF nodes: 0

   Topology       0            SPF nodes: 0

   BSPF           0            Candidate NBRs: 0

   LFA            0            LFA SPF nodes: 0

   Area           0            Area addresses: 1

   PRC            0            Add: 0 modify: 0 delete: 0

   Route summary  0            Summary route nodes: 0

   Total          0

 

                                Level-2 SPF Log

                                ---------------

 

 Log date      : 2015-09-07 02:18:09

 Log key       : 10

 Trigger count : 2

 Trigger event : LSP updated

 SPF details   :

   Phase          Duration     Description

   TE tunnel ADJ  0            TE SPF nodes: 0

   Topology       0            SPF nodes: 0

   BSPF           0            Candidate NBRs: 0

   LFA            0            LFA SPF nodes: 0

   Area           0            Area addresses: 0

   PRC            0            Add: 0 modify: 0 delete: 0

   Route summary  0            Summary route nodes: 0

   Total          0

 

 Log date      : 2015-09-07 02:18:09

 Log key       : 9

 Trigger count : 2

 Trigger event : NextHop changed

 SPF details   :

   Phase          Duration     Description

   TE tunnel ADJ  0            TE SPF nodes: 0

   Topology       0.002        SPF nodes: 3

   BSPF           0            Candidate NBRs: 0

   LFA            0            LFA SPF nodes: 0

   Area           0            Area addresses: 1

   PRC            0            Add: 0 modify: 0 delete: 0

   Route summary  0.001        Summary route nodes: 0

   Total          0.003

 

 Log date      : 2015-09-07 02:17:40

 Log key       : 8

 Trigger count : 2

 Trigger event : Logic interface changed

 SPF details   :

   Phase          Duration     Description

   TE tunnel ADJ  0            TE SPF nodes: 0

   Topology       0            SPF nodes: 0

   BSPF           0            Candidate NBRs: 0

   LFA            0            LFA SPF nodes: 0

   Area           0            Area addresses: 0

   PRC            0            Add: 0 modify: 0 delete: 0

   Route summary  0            Summary route nodes: 0

   Total          0

 

 Log date      : 2015-09-07 02:17:38

 Log key       : 7

 Trigger count : 1

 Trigger event : Logic interface changed

 SPF details   :

   Phase          Duration     Description

   TE tunnel ADJ  0            TE SPF nodes: 0

   Topology       0            SPF nodes: 0

   BSPF           0            Candidate NBRs: 0

   LFA            0            LFA SPF nodes: 0

   Area           0            Area addresses: 0

   PRC            0            Add: 0 modify: 0 delete: 0

   Route summary  0            Summary route nodes: 0

   Total          0

 

 Log date      : 2015-09-07 02:17:33

 Log key       : 6

 Trigger count : 5

 Trigger event : NextHop changed

 SPF details   :

   Phase          Duration     Description

   TE tunnel ADJ  0            TE SPF nodes: 0

   Topology       0            SPF links changed: 1

   BSPF           0            Candidate NBRs: 0

   LFA            0            LFA SPF nodes: 0

   Area           0            Area addresses: 0

   PRC            0.001        Add: 0 modify: 0 delete: 0

   Route summary  0            Summary route nodes: 0

   Total          0.001

 

 Log date      : 2015-09-07 02:17:21

 Log key       : 5

 Trigger count : 1

 Trigger event : Direct route changed

 SPF details   :

   Phase          Duration     Description

   TE tunnel ADJ  0            TE SPF nodes: 0

   Topology       0            SPF nodes: 0

   BSPF           0            Candidate NBRs: 0

   LFA            0            LFA SPF nodes: 0

   Area           0            Area addresses: 0

   PRC            0            Add: 0 modify: 0 delete: 0

   Route summary  0            Summary route nodes: 0

   Total          0

 

 Log date      : 2015-09-07 02:17:11

 Log key       : 4

 Trigger count : 1

 Trigger event : IPv6 mode changed

 SPF details   :

   Phase          Duration     Description

   TE tunnel ADJ  0            TE SPF nodes: 0

   Topology       0.001        SPF nodes: 3

   BSPF           0            Candidate NBRs: 0

   LFA            0            LFA SPF nodes: 0

   Area           0            Area addresses: 1

   PRC            0            Add: 0 modify: 0 delete: 0

   Route summary  0            Summary route nodes: 0

   Total          0.001

 

 Log date      : 2015-09-07 01:09:33

 Log key       : 3

 Trigger count : 2

 Trigger event : DIS changed

 SPF details   :

   Phase          Duration     Description

   TE tunnel ADJ  0            TE SPF nodes: 0

   Topology       0            SPF nodes: 3

   BSPF           0            Candidate NBRs: 0

   LFA            0            LFA SPF nodes: 0

   Area           0            Area addresses: 1

   PRC            0            Add: 0 modify: 0 delete: 0

   Route summary  0            Summary route nodes: 0

   Total          0

 

 Log date      : 2015-09-07 01:09:25

 Log key       : 2

 Trigger count : 2

 Trigger event : LSP updated

 SPF details   :

   Phase          Duration     Description

   TE tunnel ADJ  0            TE SPF nodes: 0

   Topology       0            SPF links changed: 1

   BSPF           0            Candidate NBRs: 0

   LFA            0            LFA SPF nodes: 0

   Area           0            Area addresses: 1

   PRC            0            Add: 0 modify: 0 delete: 0

   Route summary  0            Summary route nodes: 0

   Total          0

 

 Log date      : 2015-09-07 01:08:49

 Log key       : 1

 Trigger count : 1

 Trigger event : Area address changed

 SPF details   :

   Phase          Duration     Description

   TE tunnel ADJ  0            TE SPF nodes: 0

   Topology       0            SPF nodes: 0

   BSPF           0            Candidate NBRs: 0

   LFA            0            LFA SPF nodes: 0

   Area           0            Area addresses: 1

   PRC            0            Add: 0 modify: 0 delete: 0

   Route summary  0            Summary route nodes: 0

   Total          0

Table 2 Command output

Field

Description

Date

Start date of route calculation.

Time

Start time of route calculation.

Duration

Route calculation duration in seconds. The value is accurate to six decimal places.

Count

Number of events that trigger the current route calculation.

Trigger event

Type of the most recent event that triggers route calculation:

·     NextHop changed.

·     DIS changed.

·     Interface metric changed.

·     SPF link changed.

·     Default route changed.

·     Summary route changed.

·     TE tunnel updated.

·     TE tunnel metric changed.

·     IPv6 mode changed.

·     FRR configuration changed.

·     Prefix priority configuration changed.

·     Route preference changed.

·     ISPF configuration changed.

·     Import filter policy changed.

·     ECMP configuration changed.

·     PIC configuration changed.

·     Interface LFA exclude changed.

·     ATT configuration changed.

·     GR/NSR first SPF.

·     GR over.

·     T3 timeout.

·     Direct route changed.

·     Logic interface changed.

·     Route leakage configuration changed.

·     NSR over.

·     Entered overload state.

·     Exited overload state.

·     Area address changed.

·     Route policy changed.

·     Redistributed route updated.

·     LSP updated.

·     MT disabled.

·     MT enabled.

·     TE tunnel configuration changed.

·     TE tunnel destination changed.

·     RIB smooth.

Log date

Generation time of the route calculation logs.

Log key

Route calculation log key.

Trigger count

Number of events that trigger the current route calculation.

SPF details

Detailed information about the route calculation phases.

Phase

Route calculation phase:

·     TE tunnel ADJ—TE tunnel adjacency calculation.

·     Topology—Topology calculation.

·     BSPF—Backup SPF calculation.

·     LFA—LFA calculation.

·     Area—Area calculation.

·     PRC—Prefix calculation.

·     Route summary—Route summarization calculation.

Description

Route calculation phase description:

·     TE SPF nodes—Number of SPF nodes for TE tunnel adjacency calculation.

·     SPF nodes—Number of SPF nodes for topology calculation.

·     Candidate NBRs—Number of candidate neighbors.

·     LFA SPF nodes—Number of SPF nodes for LFA calculation.

·     Area addresses—Number of area addresses.

·     Add, modify, and delete—Prefix calculation summary.

·     Last 10 routes—10 routes that are most recently calculated.

·     Summary route nodes—Number of summarized routes.

Total

Total duration time of all route calculation phases.

 

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 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 3 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.

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 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: Vlan100

 

 Destination: 2001:2::                                PrefixLen: 64

 Flag       : D/L/-                                   Cost     : 10

 Next hop   : Direct                                  Interface: Vlan100

 

       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 4 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

Output 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 : 2001:1::/64

 Flag      : D/L/-                       Cost      : 10

 Admin tag : -                           Src count : 2

 Nexthop   : Direct

 Interface : Vlan101

 Nib ID    : 0x0

 

 IPv6 dest : 2001:2::/64

 Flag      : R/-/-                       Cost      : 20

 Admin tag : -                           Src count : 2

 Nexthop   : FE80::200:5EFF:FE64:8905

 Interface : Vlan101

 BkNexthop   : FE80::200:5EFF:FE64:8905

 BkInterface : Vlan101

 Nib ID    : 0x24000002

 

      Flags: D-Direct, R-Added to Rib, L-Advertised in LSPs, U-Up/Down bit set

 

                         Level-2 IPv6 Forwarding Table

                         -----------------------------

 

 IPv6 dest : 2001:1::/64

 Flag      : D/L/-                       Cost      : 10

 Admin tag : -                           Src count : 2

 Nexthop   : -

 Interface : -

 Nib ID    : -

 

 IPv6 dest : 2001:2::/64

 Flag      : D/L/-                       Cost      : 10

 Admin tag : -                           Src count : 2

 Nexthop   : -

 Interface : -

 Nib ID    : -

 

      Flags: D-Direct, R-Added to Rib, L-Advertised in LSPs, U-Up/Down bit set

Table 5 Command output

Field

Description

IPv6 dest

IPv6 destination address and 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 the Level-1 route is from Level-2. U means the route will not be returned to Level-2.

Cost

Route cost.

Admin tag

Administrative tag.

Src count

Number of advertisement sources.

Nexthop

Next hop.

Interface

Output interface.

BkNexthop

Backup next hop.

BkInterface

Backup output interface.

Nib ID

Next hop index assigned by the routing management module.

 

display isis spf-tree ipv6

Use display isis spf-tree ipv6 to display IPv6 IS-IS SPF tree 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 SPF tree information. If you do not specify this keyword, the command displays both Level-1 and Level-2 SPF tree information.

level-2: Displays Level-2 IPv6 IS-IS SPF tree information. If you do not specify this keyword, the command displays both Level-1 and Level-2 SPF tree information.

verbose: Displays detailed IPv6 IS-IS SPF tree information. If you do not specify this keyword, the command displays brief IPv6 IS-IS SPF tree information.

process-id: Specifies an IS-IS process by its ID in the range of 1 to 65535. If you do not specify this argument, the command displays IPv6 SPF tree information about all IS-IS processes.

Examples

# Display brief IPv6 IS-IS SPF tree 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/-/-/-/-/-

# Display detailed Level-1 IPv6 IS-IS SPF tree 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/-/-/-/-/-

 RelayNibID     : 0x0

 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/-/-

 RelayNibID     : 0x0

 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/-/-

 RelayNibID     : 0x0

 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 6 Command output

Field

Description

SpfNode

ID of the topology node.

Distance

Shortest distance from the root node to the current node.

TE distance

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.

TE tunnel count

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.

AdvMtID

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 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.

 

display isis statistics ipv6

Use display isis statistics ipv6 to display IPv6 IS-IS statistics.

Syntax

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

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

level-1: Displays IPv6 IS-IS Level-1 statistics.

level-1-2: Displays IPv6 IS-IS Level-1-2 statistics.

level-2: Displays IPv6 IS-IS Level-2 statistics.

process-id: Displays statistics for an IS-IS process specified by its ID in the range of 1 to 65535. If you do not specify an IS-IS process, this command displays the statistics for all IS-IS processes.

Usage guidelines

If you do not specify a level, this command displays both Level-1 and Level-2 statistics.

Examples

# Display IPv6 IS-IS statistics.

<Sysname> display isis statistics ipv6

 

                      Statistics information for IS-IS(1)

                      -----------------------------------

 

                               Level-1 Statistics

                               ------------------

 

MTR(base)

 

Learnt routes information:

         Total IPv6 Learnt Routes in IPv6 Routing Table: 0

 

Imported routes information:

         IPv6 Imported Routes:

                         Static: 0       Direct: 0

                         ISISv6: 0       BGP4+:  0

                         RIPng:  0       OSPFv3: 0

                         Total Number:   0

 

                               Level-2 Statistics

                               ------------------

 

MTR(base)

 

Learnt routes information:

         Total IPv6 Learnt Routes in IPv6 Routing Table: 0

 

Imported routes information:

         IPv6 Imported Routes:

                         Static: 0       Direct: 0

                         ISISv6: 0       BGP4+:  0

                         RIPng:  0       OSPFv3: 0

                         Total Number:   0

Table 7 Command output

Field

Description

Statistics information for IS-IS(processid)

Statistics for the IPv6 IS-IS process.

MTR(topo-name)

MTR topology. base represents the base topology.

Learnt routes information

Total IPv6 Learnt Routes in IPv6 Routing Table means the number of learned IPv6 routes.

IPv6 Imported Routes

Numbers of different types of redistributed IPv6 routes, including static, direct, IS-ISv6, BGP4+, RIPng, and OSPFv3 routes.

Lsp information

LSP information:

·     LSP Source ID—ID of the source system.

·     No. of used LSPs—Number of used LSPs.

 

fast-reroute

Use fast-reroute to configure IPv6 IS-IS FRR.

Use undo fast-reroute to disable IPv6 IS-IS FRR.

Syntax

fast-reroute { lfa | route-policy route-policy-name }

undo fast-reroute

Default

IPv6 IS-IS FRR is disabled.

Views

IS-IS IPv6 unicast address family view

Predefined user roles

network-admin

Parameters

lfa: Calculates a backup next hop through Loop Free Alternate (LFA) calculation for all routes.

route-policy route-policy-name: Uses the specified routing policy to designate a backup next hop. The route-policy-name argument is a case-sensitive string of 1 to 63 characters.

Usage guidelines

ECMP routes do not support FRR.

Examples

# Enable IPv6 IS-IS FRR to calculate a backup next hop through LFA calculation for all routes.

<Sysname> system-view

[Sysname] isis 1

[Sysname-isis-1] address-family ipv6

[Sysname-isis-1-ipv6] fast-reroute lfa

Related commands

display isis route ipv6

filter-policy export

Use filter-policy export to configure IPv6 IS-IS to filter redistributed routes.

Use undo filter-policy export to remove the configuration.

Syntax

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

undo filter-policy export [ protocol [ process-id ] ]

Default

IPv6 IS-IS does not filter redistributed routes.

Views

IS-IS IPv6 unicast address family view

Predefined user roles

network-admin

Parameters

ipv6-acl-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. If you do not specify this argument, 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 import-route command. Only routes that have not been filtered can be advertised.

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. For the configuration to take effect, specify a valid prefix.

Examples

# Use IPv6 basic ACL 2006 to filter redistributed routes.

<Sysname> system-view

[Sysname] isis 1

[Sysname-isis-1] address-family ipv6

[Sysname-isis-1-ipv6] filter-policy 2006 export

# Configure IPv6 advanced ACL 3000 to permit only route 2001::1/128 to pass. Use the ACL to filter redistributed routes.

<Sysname> system-view

[Sysname] acl ipv6 advanced 3000

[Sysname-acl-ipv6-adv-3000] rule 10 permit ipv6 source 2001::1 128 destination ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 128

[Sysname-acl-ipv6-adv-3000] rule 100 deny ipv6

[Sysname-acl-ipv6-adv-3000] quit

[Sysname] isis 1

[Sysname-isis-1] address-family ipv6

[Sysname-isis-1-ipv6] filter-policy 3000 export

Related commands

filter-policy import

filter-policy import

Use filter-policy import to configure IPv6 IS-IS to filter received routes.

Use undo filter-policy import to restore the default.

Syntax

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

undo filter-policy import

Default

IPv6 IS-IS does not filter received routes.

Views

IS-IS IPv6 unicast address family view

Predefined user roles

network-admin

Parameters

ipv6-acl-number: Specifies an IPv6 ACL by its number in the range of 2000 to 3999 to filter received routes.

prefix-list 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 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. For the configuration to take effect, specify a valid prefix.

Examples

# Use IPv6 basic ACL 2003 to filter received routes.

<Sysname> system-view

[Sysname] isis 1

[Sysname-isis-1] address-family ipv6

[Sysname-isis-1-ipv6] filter-policy 2003 import

# Configure IPv6 advanced ACL 3000 to permit only route 2001::1/128 to pass. Use the ACL to filter received routes.

<Sysname> system-view

[Sysname] acl ipv6 advanced 3000

[Sysname-acl-ipv6-adv-3000] rule 10 permit ipv6 source 2001::1 128 destination ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 128

[Sysname-acl-ipv6-adv-3000] rule 100 deny ipv6

[Sysname-acl-ipv6-adv-3000] quit

[Sysname] isis 1

[Sysname-isis-1] address-family ipv6

[Sysname-isis-1-ipv6] filter-policy 3000 import

Related commands

filter-policy export

import-route

Use import-route to enable IPv6 IS-IS to redistribute routes from another routing protocol.

Use undo import-route to remove the configuration.

Syntax

import-route protocol [ as-number | process-id ] [ allow-ibgp ] [ allow-direct | [ cost cost-value | inherit-cost ] | [ level-1 | level-1-2 | level-2 ] | route-policy route-policy-name | tag tag ] *

undo import-route protocol [ process-id ]

Default

IPv6 does not redistribute routes from any other routing protocol.

Views

IS-IS IPv6 unicast address family view

Predefined user roles

network-admin

Parameters

protocol: Redistributes routes from the specified routing protocol.

as-number: Specifies an AS by its number in the range of 1 to 4294967295. This argument applies only to the bgp4+ protocol. If you do not specify this argument, the command redistributes all IPv6 EBGP routes. As a best practice, specify an AS to prevent the system from redistributing excessive routes.

process-id: Specifies a process by its ID in the range of 1 to 65535. The default value is 1. This argument is available only when the protocol is ripng, isisv6, or ospfv3.

allow-direct: Redistributes the networks of the local interfaces enabled with the specified routing protocol. By default, the networks of the local interfaces are not redistributed. If you specify both the allow-direct keyword and the route-policy route-policy-name option, make sure the if-match rule defined in the routing policy does not conflict with the allow-direct keyword. For example, if you specify the allow-direct keyword, do not configure the if-match route-type rule for the routing policy. Otherwise, the allow-direct keyword does not take effect.

cost cost-value: Specifies a cost for redistributed routes, in the range of 0 to 4261412864.

inherit-cost: Specifies to use the original cost of redistributed routes. This keyword is available in R2612 and later versions.

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. If you do not specify a level, the routes are redistributed 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.

If you specify neither the cost nor inherit-cost keyword, the cost of a redistributed route is 0.

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] address-family ipv6

[Sysname-isis-1-ipv6] import-route static cost 15

import-route isisv6 level-1 into level-2

Use import-route isisv6 level-1 into level-2 to enable route advertisement from Level-1 to Level-2.

Use undo import-route isisv6 level-1 into level-2 to disable route advertisement from Level-1 to Level-2.

Syntax

import-route isisv6 level-1 into level-2 [ filter-policy { ipv6-acl-number | prefix-list prefix-list-name | route-policy route-policy-name } | tag tag ] *

undo import-route isisv6 level-1 into level-2

Default

Route advertisement from Level-1 to Level-2 is enabled.

Views

IS-IS IPv6 unicast address family view

Predefined user roles

network-admin

Parameters

filter-policy: Specifies a filtering policy.

ipv6-acl-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] address-family ipv6

[Sysname-isis-1-ipv6] import-route isisv6 level-1 into level-2

import-route isisv6 level-2 into level-1

Use import-route isisv6 level-2 into level-1 to enable IPv6 IS-IS route advertisement from Level-2 to Level-1.

Use undo import-route isisv6 level-2 into level-1 to restore the default.

Syntax

import-route isisv6 level-2 into level-1 [ filter-policy { ipv6-acl-number | prefix-list prefix-list-name | route-policy route-policy-name } | tag tag ] *

undo import-route isisv6 level-2 into level-1

Default

Route advertisement from Level-2 to Level-1 is disabled.

Views

IS-IS IPv6 unicast address family view

Predefined user roles

network-admin

Parameters

filter-policy: Specifies a filtering policy.

ipv6-acl-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] address-family ipv6

[Sysname-isis-1-ipv6] import-route isisv6 level-2 into level-1

import-route limit

Use import-route limit to configure the maximum number of redistributed Level-1/Level-2 IPv6 routes.

Use undo import-route limit to restore the default.

Syntax

import-route limit number

undo import-route limit

Default

The maximum number of redistributed Level-1/Level-2 IPv6 routes is not configured.

Views

IS-IS IPv6 unicast address family view

Predefined user roles

network-admin

Parameters

number: Specifies the maximum number of redistributed Level-1/Level-2 IPv6 routes. The value range for this argument is 1 to 8192.

Examples

# Configure IS-IS process 1 to redistribute a maximum of 1000 Level-1/Level-2 IPv6 routes.

<Sysname> system-view

[Sysname] isis 1

[Sysname-isis-1] address-family ipv6

[Sysname-isis-1-ipv6] import-route limit 1000

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 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

cost-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

# Set the IPv6 IS-IS cost to 10 for VLAN-interface 11.

<Sysname> system-view

[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 IS-IS on an interface.

Use undo isis ipv6 enable to disable IPv6 for IS-IS on an interface.

Syntax

isis ipv6 enable [ process-id ]

undo isis ipv6 enable

Default

IPv6 is disabled for IS-IS on an interface.

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 IPv6 for IS-IS on VLAN-interface 100.

<Sysname> system-view

[Sysname] isis 1

[Sysname-isis-1] network-entity 10.0001.1010.1020.1030.00

[Sysname-isis-1] address-family ipv6 unicast

[Sysname-isis-1-ipv6] quit

[Sysname-isis-1] quit

[Sysname] interface vlan-interface 100

[Sysname-Vlan-interface100] ipv6 address 2002::1/64

[Sysname-Vlan-interface100] isis ipv6 enable 1

isis ipv6 fast-reroute lfa-backup exclude

Use isis ipv6 fast-reroute lfa-backup exclude to disable LFA calculation on an interface.

Use undo isis ipv6 fast-reroute lfa-backup exclude to restore the default.

Syntax

isis ipv6 fast-reroute lfa-backup exclude

undo isis ipv6 fast-reroute lfa-backup exclude

Default

LFA calculation is enabled on an interface.

Views

Interface view

Predefined user roles

network-admin

Examples

# Disable LFA calculation 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 ipv6 enable 1

[Sysname-Vlan-interface10] isis ipv6 fast-reroute lfa-backup exclude

Related commands

fast-reroute

isis ipv6 prefix-suppression

Use isis ipv6 prefix-suppression to enable prefix suppression on an interface.

Use undo isis ipv6 prefix-suppression to disable prefix suppression on an interface.

Syntax

isis ipv6 prefix-suppression

undo isis ipv6 prefix-suppression

Default

Prefix suppression is disabled on an interface.

Views

Interface view

Predefined user roles

network-admin

Usage guidelines

By default, IS-IS interfaces advertise their IPv6 prefixes in LSPs. Use this command to disable an interface from advertising its IPv6 prefix in LSPs. This enhances network security by preventing IP routing to the internal nodes and speeds up network convergence.

Examples

# Enable prefix suppression on VLAN-interface 10.

<Sysname> system-view

[Sysname] interface vlan-interface 10

[Sysname-Vlan-interface10] isis ipv6 prefix-suppression

isis ipv6 primary-path-detect bfd

Use isis ipv6 primary-path-detect bfd to enable BFD for IPv6 IS-IS.

Use undo isis ipv6 primary-path-detect bfd to disable BFD for IPv6 IS-IS.

Syntax

isis ipv6 primary-path-detect bfd { ctrl | echo }

undo isis ipv6 primary-path-detect bfd

Default

BFD is disabled for IPv6 IS-IS.

Views

Interface view

Predefined user roles

network-admin

Parameters

ctrl: Enables BFD control packet mode.

echo: Enables BFD echo packet mode.

Usage guidelines

This command enables IPv6 IS-IS FRR or IPv6 IS-IS PIC to use BFD to detect primary link failures.

Examples

# Enable BFD control packet mode for IPv6 IS-IS FRR on VLAN-interface 10.

<Sysname> system-view

[Sysname] isis 1

[Sysname-isis-1] address-family ipv6

[Sysname-isis-1-ipv6] fast-reroute lfa

[Sysname-isis-1-ipv6] quit

[Sysname-isis-1] quit

[Sysname] interface vlan-interface 10

[Sysname-Vlan-interface10] isis ipv6 primary-path-detect bfd ctrl

# Enable BFD echo packet mode for IPv6 IS-IS PIC on VLAN-interface 11.

<Sysname> system-view

[Sysname] isis 1

[Sysname-isis-1] pic additional-path-always

[Sysname-isis-1] quit

[Sysname] bfd echo-source-ipv6 1::1

[Sysname] interface vlan-interface 11

[Sysname-Vlan-interface11] isis ipv6 primary-path-detect bfd echo

isis ipv6 tag

Use isis ipv6 tag to configure the tag value on an interface.

Use undo isis ipv6 tag to restore the default.

Syntax

isis ipv6 tag tag

undo isis ipv6 tag

Default

No tag value is configured on an interface.

Views

Interface view

Predefined user roles

network-admin

Parameters

tag: Specifies a tag value in the range of 1 to 4294967295.

Usage guidelines

When IS-IS advertises an IPv6 prefix with a tag value, it adds the tag to the IPv6 reachability information TLV, regardless of the link cost style.

Examples

# Set the tag value on VLAN-interface 10.

<Sysname> system-view

[Sysname] interface vlan-interface 10

[Sysname-Vlan-interface10] isis ipv6 tag 4294967295

ispf enable

Use ispf enable to enable IPv6 IS-IS incremental SPF (ISPF).

Use undo ispf enable to disable IPv6 IS-IS ISPF.

Syntax

ispf enable

undo ispf enable

Default

IPv6 IS-IS ISPF is enabled.

Views

IS-IS IPv6 unicast address family view

Predefined user roles

network-admin

Usage guidelines

ISPF recomputes only the affected part of the shortest path tree (SPT) instead of the entire SPT when a network topology is changed.

Examples

# Enable IPv6 IS-IS ISPF.

<Sysname> system-view

[Sysname] isis 1

[Sysname-isis-1] address-family ipv6

[Sysname-isis-1-ipv6] ispf enable

maximum load-balancing

Use maximum load-balancing to configure the maximum number of equal-cost multi-path (ECMP) routes for load balancing.

Use undo maximum load-balancing to restore the default.

Syntax

maximum load-balancing number

undo 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 IPv6 unicast address family view

Predefined user roles

network-admin

Parameters

number: Specifies the maximum number of ECMP routes. The value of 1 indicates that IPv6 IS-IS does not perform load balancing. The value range for the number argument depends on the max-ecmp-num command. If you use the max-ecmp-num command to configure the maximum number of ECMP routes supported by the system as m and reboot the device, the value range for the number argument becomes 1 to m.

Examples

# Set the maximum number of ECMP routes to 2.

<Sysname> system-view

[Sysname] isis 1

[Sysname-isis-1] address-family ipv6

[Sysname-isis-1-ipv6] maximum load-balancing 2

Related commands

max-ecmp-num

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

preference

Use preference to configure the preference for IPv6 IS-IS.

Use undo preference to restore the default.

Syntax

preference { preference | route-policy route-policy-name } *

undo preference

Default

The preference for IPv6 IS-IS is 15.

Views

IS-IS IPv6 unicast address family 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

# Set the preference for IPv6 IS-IS to 20.

<Sysname> system-view

[Sysname] isis 1

[Sysname-isis-1] address-family ipv6

[Sysname-isis-1-ipv6] preference 20

prefix-priority

Use prefix-priority to assign a convergence priority to the specified IPv6 IS-IS routes.

Use undo prefix-priority to remove the configuration.

Syntax

prefix-priority { critical | high | medium } { prefix-list prefix-list-name | tag tag-value }

prefix-priority route-policy route-policy-name

undo prefix-priority { critical | high | medium } [ prefix-list | tag ]

undo prefix-priority route-policy

Default

IPv6 IS-IS routes have the low convergence priority.

Views

IS-IS IPv6 unicast address family 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.

route-policy route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters.

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] address-family ipv6

[Sysname-isis-1-ipv6] prefix-priority high prefix-list standtest

set-att

Use set-att to set the ATT bit of Level-1 LSPs.

Use undo set-att to restore the default.

Syntax

set-att { always | never }

undo set-att

Default

The Level-1-2 router sets the ATT bit for Level-1 LSPs in accordance with the default ATT bit setting rule.

Views

IS-IS view

Predefined user roles

network-admin

Parameters

always: Sets the ATT bit of Level-1 LSPs.

never: Keeps the ATT bit of Level-1 LSPs not set.

Usage guidelines

The ATT bit is used to identify the connection status between a Level-1 area and other areas. By default, a Level-1-2 router sets the ATT bit for Level-1 LSPs as follows:

·     The Level-1-2 router sets the ATT bit in Level-1 LSPs to inform the Level-1 routers that it can reach other areas. After a Level-1 router receives a Level-1 LSP with the ATT bit set, it generates a default route destined for the Level-1-2 router.

·     The Level-1-2 router does not set the ATT bit in Level-1 LSPs if it can reach only one area.

To edit the default ATT bit setting rule for a Level-1-2 router, perform the following tasks as needed:

·     To enable ATT bit setting for all Level-1 LSPs, execute the set-att always command on the Level-1-2 router.

·     To disable a Level-1 router from generating a default route upon receiving an ATT-bit-set Level-1 LSP from the Level-1-2 router, you can perform one of the following tasks:

¡     Execute the ignore-att command on the Level-1 router.

¡     Execute the set-att never command on the Level-1-2 router.

The set-att command is applicable to only Level-1-2 routers.

Examples

# Set the ATT bit of Level-1 LSPs.

<Sysname> system-view

[Sysname] isis 1

[Sysname-isis-1] address-family ipv6

[Sysname-isis-1-ipv6] set-att always

set-overload

Use set-overload to set the overload bit.

Use undo set-overload to restore the default.

Syntax

set-overload [ on-startup [ [ start-from-nbr system-id [ timeout1 [ nbr-timeout ] ] ] | timeout2 | wait-for-bgp4+ [ timeout3 ] ] ] [ allow { external | interlevel } * ]

undo set-overload

Default

The overload bit is not set.

Views

IS-IS IPv6 unicast address family view

Predefined user roles

network-admin

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 value range for the timeout1 interval is 5 to 86400 seconds, and the default is 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 value range for the interval is 5 to 86400 seconds, and the default is 600 seconds.

wait-for-bgp4+ [ timeout3 ]: Starts the timeout3 timer for IPv6 BGP convergence after system startup. If IPv6 BGP is not converged within the timeout3 interval, IPv6 IS-IS clears the overload bit. The value range for the timeout3 argument is 5 to 86400 seconds, and the default is 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 learned from different IS-IS levels with the allow keyword specified.

Usage guidelines

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

# Set the overload bit on the current router.

<Sysname> system-view

[Sysname] isis 1

[Sysname-isis-1] address-family ipv6

[Sysname-isis-1-ipv6] set-overload

summary

Use summary to configure an IPv6 IS-IS summary route.

Use undo summary to remove an IPv6 IS-IS summary route.

Syntax

summary ipv6-prefix prefix-length [ avoid-feedback | generate_null0_route | [ level-1 | level-1-2 | level-2 ] | tag tag ] *

undo summary ipv6-prefix prefix-length [ level-1 | level-1-2 | level-2 ]

Default

No summary route is configured.

Views

IS-IS IPv6 unicast address family 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

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 the summarized routes.

If no level is specified, the command applies to Level-2.

Examples

# Configure summary route 2002::/32.

<Sysname> system-view

[Sysname] isis

[Sysname-isis-1] address-family ipv6

[Sysname-isis-1-ipv6] summary 2002:: 32

timer spf

Use timer spf to set the SPF calculation interval.

Use undo timer spf to restore the default.

Syntax

timer spf maximum-interval [ minimum-interval [ incremental-interval ] ]

undo timer spf

Default

The maximum interval is 5 seconds, the minimum interval is 50 milliseconds, and the incremental interval is 200 milliseconds.

Views

IS-IS IPv6 unicast address family view

Predefined user roles

network-admin

Parameters

maximum-interval: Specifies the maximum SPF calculation interval in the range of 1 to 120 seconds.

minimum-interval: Specifies the minimum SPF calculation interval in the range of 10 to 60000 milliseconds.

incremental-interval: Specifies the incremental SPF calculation interval in the range of 10 to 60000 milliseconds.

Usage guidelines

Based on the LSDB, an IS-IS router uses the SPF algorithm to calculate an SPT with itself being the root. The router uses the SPT to determine the next hop to a destination network. By adjusting the SPF calculation interval, you can prevent bandwidth and router resources from being overused due to frequent topology changes.

For a stable network, the minimum interval is used. If network changes become frequent, the SPF calculation interval increases by the incremental interval for each calculation until the maximum interval is reached.

The minimum interval and the incremental interval cannot be greater than the maximum interval.

Examples

# Set the maximum, minimum, and incremental SPF calculation interval to 10 seconds, 100 milliseconds, and 300 milliseconds, respectively.

<Sysname> system-view

[Sysname] isis 1

[Sysname-isis-1] address-family ipv6

[Sysname-isis-1-ipv6] timer spf 10 100 300

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网