Configuring Basic IPv6 IS-IS Functions
This section describes how to configure basic IPv6 IS-IS functions for communication between nodes on an IPv6 IS-IS network.
Usage Scenario
To deploy IS-IS on an IPv6 network, configure basic IS-IS functions to implement communication between different nodes on the network.
Other IS-IS functions can be configured only after basic IS-IS functions are configured.
Create IPv6 IS-IS processes.
Configure IPv6 IS-IS interfaces.
- Creating an IPv6 IS-IS Process
Before configuring basic IPv6 IS-IS features, create an IPv6 IS-IS process and then enable IPv6 IS-IS interfaces. - Configuring IPv6 IS-IS Interfaces
To configure an interface on an IS-IS device to send Hello packets or flood LSPs, IS-IS must be enabled on this interface. - (Optional) Configuring the costs for IPv6 IS-IS Interfaces
Configuring the IS-IS interface costs can control IS-IS route selection. - (Optional) Configuring IPv6 IS-IS Attributes for Interfaces
on Networks of Different Types
Different IS-IS attributes can be configured for different types of network interfaces. - (Optional) Enabling LSP fragment extension on an IPv6 IS-IS
device
If the LSP capacity is insufficient, newly imported routes and new TLVs fail to be added to LSP fragments. In this case, you can use LSP fragment extension to increase the LSP capacity, restoring the LSP space. When the LSP space is restored, the system automatically attempts to re-add these routes and TLVs to LSP fragments. - Verifying the Basic IPv6 IS-IS Configuration
After configuring basic IPv6 IS-IS features, check information about IS-IS neighbors, interfaces, and routes.
Creating an IPv6 IS-IS Process
Before configuring basic IPv6 IS-IS features, create an IPv6 IS-IS process and then enable IPv6 IS-IS interfaces.
Context
(Optional) Configure the level of a device.
Configure the device level based on the network planning. If no device level is configured, IS-IS establishes separate neighbor relationships for Level-1 and Level-2 devices and maintains two identical LSDBs, consuming excessive system resources.
(Optional) Configure IS-IS host name mapping.
After IS-IS host name mapping is configured, a host name rather than the system ID of a device is displayed when you run a display command. This configuration improves the maintainability on an IS-IS network.
(Optional) Enable IS-IS adjacency strict-check.
If both IPv4 and IPv6 run on a network, and the IPv6 topology type of this network is standard or compatible, enable IS-IS adjacency strict-check to ensure that an IS-IS adjacency is established only when both IPv4 and IPv6 go Up. IS-IS adjacency strict-check improves network reliability and prevents traffic losses.
Configuring IPv6 IS-IS Interfaces
To configure an interface on an IS-IS device to send Hello packets or flood LSPs, IS-IS must be enabled on this interface.
Context
The level of an IS-IS device and level of an interface determine the level of a neighbor relationship. By default, Level-1 and Level-2 neighbor relationships will be established between two Level-1-2 devices. If only one level of neighbor relationships is required, you can configure the level of an interface to prevent the establishment of neighbor relationships of the other level.
After IS-IS is enabled on an interface, the interface will automatically send Hello packets, attempting to establish neighbor relationships. If a peer device is not an IS-IS device or if an interface is not expected to send Hello packets, suppress the interface. Then this interface advertises routes of the network segment where the interface resides but does not send Hello packets. This suppression improves the link bandwidth usage.
(Optional) Configuring the costs for IPv6 IS-IS Interfaces
Configuring the IS-IS interface costs can control IS-IS route selection.
Context
The link cost of an IPv6 IS-IS interface can be an interface cost, global cost, or automatically calculated cost which take effect in descending order.
The interface cost takes effect only on a specified interface.
The global cost takes effect only on all interfaces.
The automatically calculated cost is a cost automatically calculated based on the interface bandwidth.
The default cost of an IPv6 IS-IS interface is 10, and the default cost style is narrow.
(Optional) Configuring IPv6 IS-IS Attributes for Interfaces on Networks of Different Types
Different IS-IS attributes can be configured for different types of network interfaces.
Context
The establishment mode of IS-IS neighbor relationships on a broadcast network is different from that on a P2P network. Different IS-IS attributes can be configured for interfaces on different types of networks.
IS-IS is required to select a Designated Intermediate System (DIS) on a broadcast network. Configure the DIS priorities of IS-IS interfaces so that the interface with the highest priority is selected as the DIS.
The network types of the IS-IS interfaces on both ends of a link must be the same, otherwise, the IS-IS neighbor relationship cannot be established between the two interfaces. If the type of an interface on the neighbor is P2P, you can configure the interface type on the local device to P2P so that an IS-IS neighbor relationship can be established between the two devices.
IS-IS on a P2P network is not required to select a DIS. Therefore, you do not need to configure DIS priorities. To ensure the reliability of P2P links, configure IS-IS to use the three-way handshake mode for IS-IS neighbor relationship establishment so that faults on a unidirectional link can be detected.
Procedure
- Configure the DIS priority of an IS-IS interface.
- Configure the network type of an IS-IS interface.
- Set the negotiation mode for the establishment of neighbor
relationships.
- Configure OSICP negotiation check on PPP interfaces.
- Prevent IS-IS from checking whether the IPv6 addresses
of received Hello packets are on the same network segment.
(Optional) Enabling LSP fragment extension on an IPv6 IS-IS device
If the LSP capacity is insufficient, newly imported routes and new TLVs fail to be added to LSP fragments. In this case, you can use LSP fragment extension to increase the LSP capacity, restoring the LSP space. When the LSP space is restored, the system automatically attempts to re-add these routes and TLVs to LSP fragments.
Context
The lsp-fragments-extend command enables LSP fragment extension on an IS-IS device in a specified mode and at a specified level. One LSP fragment occupies only one byte and therefore a maximum of 256 fragments are supported. If there are a great number of LSPs and the number of fragments exceeds 256, some information is lost. LSP fragment extension is introduced to address such a problem. You can run the virtual-system command to configure one or more virtual systems to support more than 256 LSP fragments.
Procedure
- Run system-view
The system view is displayed.
- Run isis [ process-id ]
An IS-IS process is created, and the IS-IS process view is displayed.
- Run lsp-fragments-extend [ [ level-1 | level-2 | level-1-2 ] | [ mode-1 | mode-2 ] ] *
Enable LSP fragment extension on an IS-IS device in a specified mode and at a specified level.
Verifying the Basic IPv6 IS-IS Configuration
After configuring basic IPv6 IS-IS features, check information about IS-IS neighbors, interfaces, and routes.
Procedure
- Run the display isis name-table [ process-id | vpn-instance vpn-instance-name ] command to check the mapping from the name of the local device to the system ID.
- Run the display isis peer [ verbose ] [ process-id | vpn-instance vpn-instance-name ] command to check information about IS-IS neighbors.
- Run the display isis interface [ [ verbose | traffic-eng ] * | te-tunnel ] [ process-id | vpn-instance vpn-instance-name ] command to check information about IS-IS interfaces.
- Run the display isis route [ process-id | vpn-instance vpn-instance-name ] ipv6 [ topology topology-name ] [ verbose | [ level-1 | level-2 ] | ipv6-address [ prefix-length ] ] * [ | count ] command to check information about IS-IS routes.
Example
Run the display isis name-table command to view the mappings between host names and system IDs.
<HUAWEI> display isis name-table Name table information for ISIS(1) Level-1 System ID Hostname Type ------------------------------------------------------------------------------- 1111.1111.1111 DeviceA DYNAMIC 2222.2222.2222 DeviceB DYNAMIC
Run the display isis peer command. The command output shows the status of an IS-IS neighbor, DeviceB. System Id is displayed as DeviceB.
<HUAWEI> display isis peer
Run the display isis interface verbose command to view information about IS-IS interfaces. The command output shows that the DIS status of a broadcast interface is Yes, the priority of the DIS is 20, and that the cost of the interface is 30.
<HUAWEI> display isis interface verbose GE0/1/0 001 Down Up 1497 L1/L2 Yes/No Circuit MT State : Standard Description : HUAWEI, Quidway Series, GigabitEthernet0/1/0 Interface SNPA Address : 00e0-870b-8100 IP Address : IPV6 Link Local Address : FE80::2E0:87FF:FE0B:8100 IPV6 Global Address(es) : 10:1::1/64 Csnp Timer Value : L1 10 L2 10 Hello Timer Value : L1 10 L2 10 Hello Multiplier Value : L1 3 L2 3 LSP-Throttle Timer : L12 50 Cost : L1 10 L2 10 Ipv6 Cost : L1 30 L2 30 Priority : L1 20 L2 20 Retransmit Timer Value : L12 5 Bandwidth-Value : Low 1000000000 High 0 Fast-Sense Rpr : NO Suppress Base : NO IPv6 Suppress Base : NO
Run the display isis route command to view information about IS-IS IPv6 routes. The command output shows a route with destination network segment 30:1::/64 and next hop address 10:1::/64.
<HUAWEI> display isis route Route information for ISIS(1) ----------------------------- ISIS(1) Level-2 Forwarding Table -------------------------------- IPV6 Dest. ExitInterface NextHop Cost Flags ------------------------------------------------------------------------------- 30:1::/64 GE0/1/2 Direct 10 D/L/- 10:1::/64 GE0/1/2 FE80::2002:0:7A20:2 20 A/-/- Flags: D-Direct, A-Added to URT, L-Advertised in LSPs, S-IGP Shortcut, U-Up/Down Bit Set