03-IP Routing Volume

HomeSupportSwitchesH3C S7500E Switch SeriesReference GuidesCommand ReferencesH3C S7500E Series Ethernet Switches Command Manual(Release 6300 series V1.03)03-IP Routing Volume
10-IPv6 IS-IS Commands
Title Size Download
10-IPv6 IS-IS Commands 75.09 KB

IPv6 IS-IS Configuration Commands

 

l          The term “router” in this document refers to a router in a generic sense or a Layer 3 switch.

l          IPv6 IS-IS supports all the features of IPv4 IS-IS except that it advertises IPv6 routing information instead. This document describes only IPv6 IS-IS exclusive commands. Refer to IS-IS Commands in the IP Routing Volume for other IS-IS configuration commands.

l          EA boards (such as LSQ1GP12EA and LSQ1TGX1EA) do not support IPv6 features.

 

display isis route ipv6

Syntax

display isis route ipv6 [ [ level-1 | level-2 ] | verbose ] * [ process-id ]

View

Any view

Default Level

1: Monitor level

Parameters

verbose: Displays detailed IPv6 IS-IS routing information.

process-id: IS-IS process ID, in the range 1 to 65535.

level-1: Display Level-1 IPv6 IS-IS routes only.

level-2: Displays Level-2 IPv6 IS-IS routes only.

 

If no level is specified, both Level-1 and Level-2 (namely Level-1-2) routing information will be displayed.

 

Description

Use the display isis route ipv6 command to display IPv6 IS-IS routing information.

Examples

# Display IPv6 IS-IS routing information.

<Sysname> display isis route ipv6

 

                         Route information for ISIS(1)

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

 

                     ISIS(1) IPv6 Level-1 Forwarding Table

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

 Destination: 2001:2::                              PrefixLen: 64

 Flag       : D/L/-                                   Cost     : 10

 Next Hop   : Direct                                 Interface: Vlan200

 

      Flags: D-Direct, R-Added to RM, L-Advertised in LSPs, U-Up/Down Bit Set

Table 1-1  display isis route ipv6 command output description

Field

Description

Destination

IPv6 destination address prefix

PrefixLen

Length of the prefix

Flag/Flags

Flag of routing information status

D: This is a direct route.

R: The route has been added into the routing table.

L: The route has been advertised in a 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

Value of cost

Next Hop

Next hop

Interface

Outbound interface

 

# Display detailed IPv6 IS-IS routing information.

<Sysname> display isis route ipv6 verbose

                         Route information for ISIS(1)

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

 

                     ISIS(1) IPv6 Level-1 Forwarding Table

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

 IPV6 Dest  : 2001:1::/64                   Cost : 20            Flag : R/-/-

 Admin Tag  : -                         Src Count : 2

 NextHop    :                           Interface :          ExitIndex :

    FE80::200:FCFF:FE00:7507                Vlan200              0x00000003

 

 IPV6 Dest  : 2001:2::/64                    Cost : 10            Flag : D/L/-

 Admin Tag  : -                         Src Count : 2

 NextHop    :                           Interface :          ExitIndex :

    Direct                                  Vlan200              0x00000000

 

      Flags: D-Direct, R-Added to RM, L-Advertised in LSPs, U-Up/Down Bit Set

Table 1-2  display isis route ipv6 verbose command output description

Field

Description

IPV6 Dest

IPv6 destination

Cost

Value of cost

Flag/Flags

Flag of routing information status

D: This is a direct route.

R: The route has been added into the routing table.

L: The route has been advertised in a 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

ExitIndex

Outbound interface index

 

ipv6 default-route-advertise

Syntax

ipv6 default-route-advertise [ [ level-1 | level-2 | level-1-2 ] | route-policy route-policy-name ] *

undo ipv6 default-route-advertise [ route-policy route-policy-name ]

View

IS-IS view

Default Level

2: System level

Parameters

route-policy-name: Specifies the name of a routing policy with a string of 1 to 19 characters.

level-1: Specifies the default route as Level-1.

level-2: Specifies the default route as Level-2.

level-1-2: Specifies the default route as Level-1-2.

 

If no level is specified, the default route belongs to Level-2.

 

Description

Use the ipv6 default-route-advertise command to generate a Level-1 or Level-2 IPv6 IS-IS default route.

Use the undo ipv6 default-route-advertise command to disable generating a default route.

No IPv6 IS-IS default route is generated by default.

With a routing policy, you can configure IPv6 IS-IS to generate the default route that must match the routing policy. You can use the apply isis level-1 command in routing policy view to generate a default route in L1 LSPs, or use the apply isis level-2 command in routing policy view to generate a default route in L2 LSPs, and use the apply isis level-1-2 in routing policy view to generate a default route in L1 and L2 LSPs respectively.

Refer to Routing Policy Commands in the IP Routing Volume for information about the apply isis command.

Examples

# Configure the router to generate a default route in Level-2 LSPs.

<Sysname> system-view

[Sysname] isis

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

ipv6 enable

Syntax

ipv6 enable

undo ipv6 enable

View

IS-IS view

Default Level

2: System level

Parameters

None

Description

Use the ipv6 enable command to enable IPv6 for the IPv6 IS-IS process.

Use the undo ipv6 enable command to disable IPv6.

IPv6 is disabled by default.  

Examples

# Create IS-IS routing process 1, and enable IPv6 for the process.

<Sysname> system-view

[Sysname] ipv6

[Sysname] isis 1

[Sysname-isis-1] network-entity 10.0001.1010.1020.1030.00

[Sysname-isis-1] ipv6 enable

ipv6 filter-policy export

Syntax

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

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

View

IS-IS view

Default Level

2: System level

Parameters

acl6-number: Number of a basic or advanced IPv6 ACL used to filter redistributed routes before advertisement, ranging from 2000 to 3999. Refer to ACL Configuration in the Security Volume for ACL information.

ipv6-prefix-name: Name of an IPv6 prefix list used to filter the redistributed routes before advertisement, a string of 1 to 19 characters. Refer to Routing Policy Configuration in the IP Routing Volume for IPv6 prefix list information.

route-policy-name: Name of a routing policy used to filter the redistributed routes before advertisement, a string of 1 to 19 characters. Refer to Routing Policy Configuration in the IP Routing Volume for routing policy information.

protocol: Filter routes redistributed from the specified routing protocol before advertisement. The routing protocol can be bgp4+, direct, isisv6, ospfv3, ripng or static at present. If no protocol is specified, routes redistributed from all protocols are filtered before advertisement.

process-id: Process ID of the routing protocol, ranging from 1 to 65535. This argument is available when the protocol is isisv6, ospfv3 or ripng.

Description

Use the ipv6 filter-policy export command to configure IPv6 IS-IS to filter redistributed routes before advertisement.

Use the undo ipv6 filter-policy export command to disable the filtering.

The filtering is disabled by default.

In some cases, only routes satisfying certain conditions will be advertised. You can configure the filtering conditions using the ipv6 filter-policy command.

You can use the ipv6 filter-policy export command, which filters redistributed routes only when they are advertised to other routers, in combination with the ipv6 import-route command.

l          If no protocol is specified, routes redistributed from all protocols are filtered before advertisement.

l          If a protocol is specified, only routes redistributed from the protocol are filtered before advertisement.

Related commands: ipv6 filter-policy import.

Examples

# Reference the ACL6 2006 to filter all the redistributed routes before advertisement.

<Sysname> system-view

[Sysname] isis

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

ipv6 filter-policy import

Syntax

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

undo ipv6 filter-policy import

View

IS-IS view

Default Level

2: System level

Parameters

acl6-number: Number of a basic or advanced IPv6 ACL used to filter incoming routes, ranging from 2000 to 3999.

ipv6-prefix-name: Name of an IPv6 prefix list used to filter incoming routes, a string of 1 to 19 characters.

route-policy-name: Name of a routing policy used to filter incoming routes, a string of 1 to 19 characters.

Description

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

Use the undo ipv6 filter-policy import command to disable the filtering.

The filtering is disabled by default.

In some cases, only the routing information satisfying certain conditions will be received. You can configure the filtering conditions using the ipv6 filter-policy command.

Related commands: ipv6 filter-policy export.

Examples

# Reference the IPv6 ACL 2003 to filter the received routes.

<Sysname> system-view

[Sysname] isis

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

ipv6 import-route

Syntax

ipv6 import-route protocol [ process-id ] [ allow-ibgp ] [ cost cost | [ level-1 | level-2 | level-1-2 ] | route-policy route-policy-name | tag tag ] *

undo ipv6 import-route protocol [ process-id ]

View

IS-IS view

Default Level

2: System level

Parameters

protocol: Redistributes routes from a specified routing protocol, which can be direct, static, ripng, isisv6, bgp4+ or ospfv3.

process-id: Process ID of the routing protocol of ripng, isisv6 or ospfv3, in the range of 1 to 65535. The default is 1.

cost: Cost for redistributed routes, ranging from 0 to 4261412864.

level-1: Redistributes routes into Level-1 routing table.

level-2: Redistributes routes into Level-2 routing table.

level-1-2: Redistributes routes into Level-1 and Level-2 routing tables.

route-policy-name: Name of a routing policy used to filter routes when they are being redistributed, a string of 1 to 19 characters.

tag: Specifies a administrative tag number for the redistributed routes, in the range of 1 to 4294967295.

allow-ibgp: Allows to redistribute IBGP routes. This keyword is optional when the protocol is bgp4+.

Description

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

Use the undo ipv6 import-route command to disable route redistribution.

Route redistribution is disabled by default.

If no level is specified, the routes are imported to Level-2 routing table by default.

IPv6 IS-IS considers redistributed routes as routes to destinations outside the local routing domain.

You can specify a cost and a level for redistributed routes.

 

Using the import-route bgp4+ allow-ibgp command will redistribute both EBGP and IBGP routes. The redistributed IBGP routes may cause routing loops. Therefore, be cautious with this command.

 

Examples

# Configure IPv6–IS-IS to redistribute static routes and set the cost 15 for them.

<Sysname> system-view

[Sysname] isis

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

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

Syntax

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

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

View

IS-IS view

Default Level

2: System level

Parameters

acl6-number: Number of a basic or advanced ACL6 used to filter routes when they are leaking from Level-2 to Level-1, ranging from 2000 to 3999.

ipv6-prefix-name: Name of an IPv6 prefix list used to filter routes when they are leaking from Level-2 to Level-1, a string of 1 to 19 characters.

route-policy-name: Name of a routing policy used to filter routes when they are leaking from Level-2 to Level-1, a string of 1 to 19 characters.

tag: Specifies a administrative tag number for the leaked routes, in the range of 1 to 4294967295.

Description

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

Use the undo ipv6 import-route isisv6 level-2 into level-1 command to disable the leaking.

The leaking is disabled by default.

The route leaking feature enables a Level-1-2 router to advertise routes destined to the Level-2 area and other Level-1 areas to the Level-1 and Level-1-2 routers in the local area.

Examples

#  Enable IPv6 IS-IS route leaking 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

Syntax

ipv6 import-route limit number

undo ipv6 import-route limit

View

IS-IS view

Default Level

2: System level

Parameters

number: Maximum number of redistributed Level 1/Level 2 IPv6 routes. The default varies with devices.

Description

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

Use the undo ipv6 import-route limit command to restore the default.

The default varies with devices.

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

Syntax

ipv6 maximum load-balancing number

undo ipv6 maximum load-balancing

View

IS-IS view

Default Level

2: System level

Parameters

number: Maximum number of equal-cost routes for load balancing. Its value is in the range 1 to 4 and defaults to 4.

Description

Use the ipv6 maximum load-balancing command to configure the maximum number of equal-cost routes for load balancing.

Use the undo ipv6 maximum load-balancing command to restore the default.

 

Configure the maximum number of equivalent load-balanced routes according to the memory capacity.

 

Examples

# Configure the maximum number of equivalent load-balanced routing as 2.

<Sysname> system-view

[Sysname] isis 100

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

ipv6 preference

Syntax

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

undo ipv6 preference

View

IS-IS view

Default Level

2: System level

Parameters

preference: Preference for IPv6 IS-IS, ranging from 1 to 255.

route-policy-name: Name of a routing policy, a string of 1 to 19 characters.

Description

Use the ipv6 preference command to configure the preference for IPv6 IS-IS protocol.

Use the undo ipv6 preference command to configure the default preference for IPv6 IS-IS protocol.

The default preference is 15.

When a router runs multiple dynamic routing protocols at the same time, the system will assign a preference to each routing protocol. If several protocols find routes to the same destination, the route found by the protocol with the highest preference is selected.

Examples

# Configure the preference of IPv6 IS-IS protocol as 20.

<Sysname> system-view

[Sysname] isis

[Sysname-isis-1] ipv6 preference 20

ipv6 summary

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 ]

View

IS-IS view

Default Level

2: System level

Parameters

ipv6-prefix: IPv6 prefix of the summary route.

prefix-length: Length of the IPv6 prefix, in the range of 0 to 128.

avoid-feedback: Specifies to avoid learning summary routes via routing calculation.

generate_null0_route: Generates the NULL 0 route to avoid routing loops.

level-1: Specifies to summarize only the routes redistributed to Level-1 area.

level-1-2: Specifies to summarize all the routes redistributed to Level-1 and Level-2 areas.

level-2: Specifies to summarize only the routes redistributed to Level-2 area.

tag: Value of a administrative tag, in the range of 1 to 4294967295.

 

If no level is specified in the command, the default is level-2.

 

Description

Use the ipv6 summary command to configure an IPv6 IS-IS summary route.

Use the undo ipv6 summary command to remove the summary route.

Route summarization is disabled by default.

Configuring summary routes can reduce the size of the route table, LSPs and LSDB. Routes to be summarized can be IS-IS routes or redistributed routes. The cost of a summary route is the smallest cost among all summarized routes.

Examples

# Configure a summary route of 2002::/32.

<Sysname> system-view

[Sysname] isis

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

isis ipv6 enable

Syntax

isis ipv6 enable [ process-id ]

undo isis ipv6 enable

View

Interface view

Default Level

2: System level

Parameters

process-id: IS-IS process ID, ranging from 1 to 65535. The default is 1.

Description

Use the isis ipv6 enable command to enable IPv6 for the specified IS-IS process on the interface.

Use the undo isis ipv6 enable command to disable the configuration.

IPv6 is disabled on the interface by default.

Examples

# Enable global IPv6, create IS-IS routing process 1, enable IPv6 for the process, and enable IPv6 for the process on VLAN-interface100.

<Sysname> system-view

[Sysname] ipv6

[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

  • 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
新华三官网