H3C S9500 Command Manual-Release2132[V2.03]-03 IP Routing Volume

HomeSupportSwitchesH3C S9500 Series SwitchesReference GuidesCommand ReferencesH3C S9500 Command Manual-Release2132[V2.03]-03 IP Routing Volume
09-IPv6 IS-IS Commands
Title Size Download
09-IPv6 IS-IS Commands 58.53 KB

Chapter 1  IPv6 IS-IS Configuration Commands

1.1  IPv6 IS-IS Configuration Commands

 

&  Note:

 

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

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

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

 

&  Note:

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.

With the verbose keyword included, preferences and tags of routing information are also displayed.

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::                                 PrefixLen: 64

 Flag        : R/L/-                                   Cost     : 10

 Next Hop   : Direct                                 Interface: vlan12

 

 Destination: 2002::                                 PrefixLen: 64

 Flag        : R/L/-                                   Cost     : 10

 Next Hop   : Direct                                 Interface: vlan14

 

 Destination: ::                                      PrefixLen: 0

 Flag        : R/-/-                                   Cost     : 10

 Next Hop   : FE80::200:5EFF:FE01:3D04            Interface: vlan12

 

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

Table 1-1  Description on the fields of the display isis route ipv6 command

Field

Description

Destination

IPv6 destination address prefix

PrefixLen

Length of the prefix

Flag

Flag of routing information status

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. “UP” 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::/64                   Cost : 10            Flag : R/L/-

 Preference : 15                     Admin Tag : -

 Interface  : vlan12                  Next Hop : Direct

 

 IPV6 Dest  : 2002::/64                   Cost : 10            Flag : R/L/-

 Preference : 15                     Admin Tag : -

 Interface  : vlan14                  Next Hop : Direct

 

 IPV6 Dest  : ::/0                         Cost : 10            Flag : R/-/-

 Preference : 15                     Admin Tag : -

 Interface  : vlan12                  Next Hop : FE80::200:5EFF:FE01:3D04

 

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

Table 1-2  Description on the fields of the display isis route ipv6 verbose command

Field

Description

IPV6 Dest

IPv6 destination address prefix

Cost

Value of cost

Flag

Flag of routing information status

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. “UP” means the route will not be returned to Level-2.

Preference

Protocol Preference

Admin Tag

Administrative tag

Interface

Outbound interface

Next Hop

Next hop

 

1.1.2  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: Name of a routing policy.

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.

 

&  Note:

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.

Examples

# Configure the device to generate a default route.

<Sysname> system-view

[Sysname] isis

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

1.1.3  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

1.1.4  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 { acl6-number | ipv6-prefix ipv6-prefix-name | route-policy route-policy-name } 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.

ipv6-prefix-name: Name of an IPv6 prefix list used to filter the redistributed routes before advertisement.

route-policy-name: Name of a routing policy used to filter the redistributed routes before advertisement.

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. 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 outgoing redistributed routes.

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

The filtering is not configured 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 outgoing redistributed routes.

<Sysname> system-view

[Sysname] isis

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

1.1.5  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 { acl6-number | ipv6-prefix ipv6-prefix-name | route-policy route-policy-name } 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.

ipv6-prefix-name: Name of an IPv6 prefix list used to filter incoming routes.

route-policy-name: Name of a routing policy used to filter incoming routes.

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

1.1.6  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. The default is 1.

cost: Cost for redistributed routes.

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.

tag: Specifies an administrative tag number for the redistributed routes.

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.

 

  Caution:

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 sets the cost 15 for them.

<Sysname> system-view

[Sysname] isis

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

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

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

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

tag: Specifies an administrative tag number for the leaked routes.

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

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

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.

 

&  Note:

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

1.1.9  ipv6 preference

Syntax

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

undo ipv6 preference

View

IS-IS view

Default Level

2: System level

Parameters

preference: Preference for IPv6 IS-IS. The default is 15.

route-policy-name: Name of a routing policy in the format of 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.

When a device 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

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

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 an administrative tag.

 

&  Note:

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

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

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

<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 Policy & Program
  • Global Learning
  • Partner Sales Resources
  • Partner Business Management
  • Service Business
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网