- Table of Contents
-
- 02-Configuration Examples
- 01-H3C_AAA_Configuration_Examples
- 02-H3C_ACL_Configuration_Examples
- 03-H3C_ATM_Configuration_Examples
- 04-H3C_IGMP_Configuration_Examples
- 05-H3C_IP_Source_Guard_Configuration_Examples
- 06-H3C_Ethernet_OAM_Configuration_Examples
- 07-H3C_NQA_Configuration_Examples
- 08-H3C_QinQ_Configuration_Examples
- 09-H3C_OSPF_Configuration_Examples
- 10-H3C_MPLS_TE_Configuration_Examples
- 11-H3C_OpenFlow_Configuration_Examples
- 12-H3C_NAT_Configuration_Examples
- 13-H3C_RBAC_Configuration_Examples
- 14-H3C_IRF_Configuration_Examples
- 15-H3C_POS_Interface_Configuration_Examples
- 16-H3C_CPOS_Interface_Configuration_Examples
- 17-H3C_DHCP_Relay_Redundancy_Configuration_Examples
- 18-H3C_DLDP_Configuration_Examples
- 19-H3C_IS-IS_Configuration_Examples
- 20-H3C_MPLS_L3VPN_Configuration_Examples
- 21-H3C_SSH_Configuration_Examples
- 22-H3C_Login_Management_Configuration_Examples
- 23-H3C_SNMP_Configuration_Examples
- 24-H3C_Priority_Marking_and_Queue_Scheduling_Configuration_Examples
- 25-H3C_Multicast_VPN_Configuration_Examples
- 26-H3C_BGP_Configuration_Examples
- 27-H3C_HoVPN_Configuration_Examples
- 28-H3C_L2TP_Configuration_Examples
- 29-H3C_VRRP_Configuration_Examples
- 30-H3C_Traffic_Filtering_Configuration_Examples
- 31-H3C_Samplers_and_IPv4_NetStream_Configuration_Examples
- 32-H3C_Software_Upgrade_Examples
- 33-H3C_MPLS_L2VPN_Configuration_Examples
- 34-H3C_NetStream_Configuration_Examples
- 35-H3C_Policy-Based_Routing_Configuration_Examples
- 36-H3C_Traffic_Policing_Configuration_Examples
- 37-H3C_BFD_Configuration_Examples
- 38-H3C_OSPFv3_Configuration_Examples
- 39-H3C_VPLS_Configuration_Examples
- 40-H3C_GTS_and_Rate_Limiting_Configuration_Examples
- 41-H3C_IPv6_IS-IS_Configuration_Examples
- 42-H3C_MPLS OAM_Configuration_Examples
- 43-H3C_BGP_Route_Selection_Configuration_Examples
- 44-H3C_IS-IS_Route_Summarization_Configuration_Examples
- 45-H3C_SRv6 Configuration Examples
- 46-H3C_Attack_Protection_Configuration_Examples
- 47-H3C_OSPF_Multi-Process_Configuration_Examples
- 48-H3C_OSPF_with_Multi-Instance_Configuration_Examples
- 49-H3C_ARP_Attack_Protection_Configuration_Examples
- 50-H3C_DHCPv6_Server_and_DHCPv6_Prefix_Client_Configuration_Examples
- 51-CE1 Interface Connection Configuration Examples
- 52-GRE Tunnel Establishment Using OSPF Configuration Examples
- 53-GRE Tunnel Establishment Using Static Routes Configuration Examples
- 54-OSPF over IPsec for Overseas Branch Access Configuration Examples
- 55-General QoS Configuration Examples
- 56-QoS Configuration Examples for the Financial Industry
- Related Documents
-
Title | Size | Download |
---|---|---|
41-H3C_IPv6_IS-IS_Configuration_Examples | 107.49 KB |
Introduction
This document provides IPv6 IS-IS configuration examples.
Prerequisites
The configuration examples in this document were created and verified in a lab environment, and all the devices were started with the factory default configuration. When you are working on a live network, make sure you understand the potential impact of every command on your network.
This document assumes that you have basic knowledge of IPv6 IS-IS.
Example: Configuring IPv6 IS-IS
Network configuration
As shown in Figure 1, the company's headquarters and the branch run IPv6 IS-IS. The partner runs OSPFv3.
Configure the routers to meet the following requirements:
· Reduce traffic for Router A and Router B because they have relative low performance.
· The Marketing department can reach the Finance department, the branch, and the partner.
· The Finance department and the branch cannot reach each other, and the branch does not have a route to the Finance department.
Analysis
To meet the network requirements, you must perform the following tasks:
· To reduce traffic for Router A and Router B, configure them as Level-1 routers to allow communication only between the Marketing department and the Finance department.
· Configure route redistribution between IPv6 IS-IS and OSPFv3 on Router D to allow communication between the Marketing department and the partner.
· Configure Router C to use a prefix list to advertise only network 3001:1::/64 to Level-2, so that the branch does not have a route to the Finance department.
Procedures
Configuring Router A
# Configure an IPv6 address for Ten-GigabitEthernet 3/1/1.
<RouterA> system-view
[RouterA] interface ten-gigabitethernet 3/1/1
[RouterA-Ten-GigabitEthernet3/1/1] ipv6 address 2001:1::1 64
[RouterA-Ten-GigabitEthernet3/1/1] quit
# Configure IPv6 addresses for other interfaces, as shown in Figure 1. (Details not shown.)
# Configure IPv6 IS-IS.
[RouterA] isis 1
[RouterA-isis-1] is-level level-1
[RouterA-isis-1] network-entity 10.3001.0001.0001.00
[RouterA-isis-1] address-family ipv6 unicast
[RouterA-isis-1-ipv6] quit
[RouterA-isis-1] quit
[RouterA] interface ten-gigabitethernet 3/1/1
[RouterA–Ten-GigabitEthernet3/1/1] isis ipv6 enable 1
[RouterA–Ten-GigabitEthernet3/1/1] quit
[RouterA] interface ten-gigabitethernet 3/1/2
[RouterA–Ten-GigabitEthernet3/1/2] isis ipv6 enable 1
[RouterA–Ten-GigabitEthernet3/1/2] quit
Configuring Router B
# Configure an IPv6 address for Ten-GigabitEthernet 3/1/1.
<RouterB> system-view
[RouterB] interface ten-gigabitethernet 3/1/1
[RouterB-Ten-GigabitEthernet3/1/1] ipv6 address 2001:2::1 64
[RouterB-Ten-GigabitEthernet3/1/1] quit
# Configure IPv6 addresses for other interfaces, as shown in Figure 1. (Details not shown.)
# Configure IPv6 IS-IS.
[RouterB] isis 1
[RouterB-isis-1] is-level level-1
[RouterB-isis-1] network-entity 10.3001.0002.0001.00
[RouterB-isis-1] address-family ipv6 unicast
[RouterB-isis-1-ipv6] quit
[RouterB-isis-1] quit
[RouterB] interface ten-gigabitethernet 3/1/1
[RouterB–Ten-GigabitEthernet3/1/1] isis ipv6 enable 1
[RouterB–Ten-GigabitEthernet3/1/1] quit
[RouterB] interface ten-gigabitethernet 3/1/2
[RouterB–Ten-GigabitEthernet3/1/2] isis ipv6 enable 1
[RouterB–Ten-GigabitEthernet3/1/2] quit
Configuring Router C
# Configure an IPv6 address for Ten-GigabitEthernet 3/1/1.
<RouterC> system-view
[RouterC] interface ten-gigabitethernet 3/1/1
[RouterC-Ten-GigabitEthernet3/1/1] ipv6 address 2001:1::2 64
[RouterC-Ten-GigabitEthernet3/1/1] quit
# Configure IPv6 addresses for other interfaces, as shown in Figure 1. (Details not shown.)
# Configure IPv6 IS-IS.
[RouterC-isis-1] network-entity 10.2001.0010.0001.00
[RouterC-isis-1] address-family ipv6 unicast
[RouterC-isis-1-ipv6] quit
[RouterC-isis-1] quit
[RouterC] interface ten-gigabitethernet 3/1/1
[RouterC–Ten-GigabitEthernet3/1/1] isis ipv6 enable 1
[RouterC–Ten-GigabitEthernet3/1/1] quit
[RouterC] interface ten-gigabitethernet 3/1/2
[RouterC–Ten-GigabitEthernet3/1/2] isis ipv6 enable 1
[RouterC–Ten-GigabitEthernet3/1/2] quit
[RouterC] interface ten-gigabitethernet 3/1/3
[RouterC–Ten-GigabitEthernet3/1/3] isis ipv6 enable 1
[RouterC–Ten-GigabitEthernet3/1/3] quit
# Configure route leaking from Level-1 to Level-2, and use prefix list 1 to advertise only network 3001:1::/64 to Level-2.
[RouterC] ipv6 prefix-list 1 permit 3001:1:: 64
[RouterC] isis 1
[RouterC-isis-1] address-family ipv6
[RouterC-isis-1-ipv6] import-route isisv6 level-1 into level-2 filter-policy prefix-list 1
[RouterC-isis-1-ipv6] quit
[RouterC-isis-1] quit
Configuring Router D
# Configure an IPv6 address for Ten-GigabitEthernet 3/1/1.
<RouterD> system-view
[RouterD] interface ten-gigabitethernet 3/1/1
[RouterD-Ten-GigabitEthernet3/1/1] ipv6 address 2001:10::2 64
[RouterD-Ten-GigabitEthernet3/1/1] quit
# Configure IPv6 addresses for other interfaces, as shown in Figure 1. (Details not shown.)
# Configure IPv6 IS-IS.
[RouterD] isis 1
[RouterD-isis-1] is-level level-2
[RouterD-isis-1] network-entity 20.2001.0020.0001.00
[RouterD-isis-1] address-family ipv6 unicast
[RouterD-isis-1-ipv6] quit
[RouterD-isis-1] quit
[RouterD] interface ten-gigabitethernet 3/1/1
[RouterD–Ten-GigabitEthernet3/1/1] isis ipv6 enable 1
[RouterD–Ten-GigabitEthernet3/1/1] quit
[RouterD] interface ten-gigabitethernet 3/1/2
[RouterD–Ten-GigabitEthernet3/1/2] isis ipv6 enable 1
[RouterD–Ten-GigabitEthernet3/1/2] quit
# Configure OSPFv3.
[RouterD] ospfv3
[RouterD-ospfv3-1] router-id 4.4.4.4
[RouterD-ospfv3-1] quit
[RouterD] interface ten-gigabitethernet 3/1/2
[RouterD–Ten-GigabitEthernet3/1/2] ospfv3 1 area 0
[RouterD–Ten-GigabitEthernet3/1/2] quit
# Redistribute OSPFv3 and direct routes into IPv6 IS-IS.
[RouterD] isis 1
[RouterD-isis-1] address-family ipv6
[RouterD-isis-1-ipv6] import-route ospfv3
[RouterD-isis-1-ipv6] import-route direct
[RouterD-isis-1-ipv6] quit
[RouterD-isis-1] quit
# Redistribute IPv6 IS-IS and direct routes into OSPFv3.
[RouterD] ospfv3 1
[RouterD-ospfv3-1] import-route isisv6 1
[RouterD-ospfv3-1] import-route direct
Configuring Router E
# Configure an IPv6 address for Ten-GigabitEthernet 3/1/1.
<RouterE> system-view
[RouterE] interface ten-gigabitethernet 3/1/1
[RouterE-Ten-GigabitEthernet3/1/1] ipv6 address 2001:20::2 64
[RouterE-Ten-GigabitEthernet3/1/1] quit
# Configure IPv6 addresses for other interfaces, as shown in Figure 1. (Details not shown.)
# Configure OSPFv3.
[RouterE] ospfv3
[RouterE-ospfv3-1] router-id 5.5.5.5
[RouterE-ospfv3-1] quit
[RouterE] interface ten-gigabitethernet 3/1/1
[RouterE–Ten-GigabitEthernet3/1/1] ospfv3 1 area 0
[RouterE–Ten-GigabitEthernet3/1/1] quit
[RouterE] interface ten-gigabitethernet 3/1/2
[RouterE–Ten-GigabitEthernet3/1/2] ospfv3 1 area 0
[RouterE–Ten-GigabitEthernet3/1/2] quit
Verifying the configuration
# Verify that the branch can reach the Marketing department, but cannot reach the Finance department.
[RouterD] display isis route ipv6
Route information for IS-IS(1)
------------------------------
Level-2 IPv6 Forwarding Table
-----------------------------
Destination : 2001:10:: PrefixLen: 64
Flag : D/L/- Cost : 10
Next hop : Direct Interface: XGE3/1/1
Destination : 2001:1:: PrefixLen: 64
Flag : R/-/- Cost : 20
Next hop : FE80::7625:8AFF:FE02:4D13 Interface: XGE3/1/1
Destination : 2001:2:: PrefixLen: 64
Flag : R/-/- Cost : 20
Next hop : FE80::7625:8AFF:FE02:4D13 Interface: XGE3/1/1
Destination : 3001:1:: PrefixLen: 64
Flag : R/-/- Cost : 30
Next hop : FE80::7625:8AFF:FE02:4D13 Interface: XGE3/1/1
Flags: D-Direct, R-Added to Rib, L-Advertised in LSPs, U-Up/Down Bit Set
# Verify that the company can communicate with the partner.
· Display the IPv6 IS-IS routing table on Router C.
[RouterC] display isis route ipv6 level-2
Route information for IS-IS(1)
------------------------------
Level-2 IPv6 Forwarding Table
-----------------------------
Destination : 2001:10:: PrefixLen: 64
Flag : D/L/- Cost : 10
Next hop : Direct Interface: XGE3/1/3
Destination : 2001:1:: PrefixLen: 64
Flag : D/L/- Cost : 10
Next hop : Direct Interface: XGE3/1/1
Destination : 2001:2:: PrefixLen: 64
Flag : D/L/- Cost : 10
Next hop : Direct Interface: XGE3/1/2
Destination : 2001:20:: PrefixLen: 64
Flag : R/L/- Cost : 20
Next hop : FE80::BAAF:67FF:FE30:3304 Interface: XGE3/1/3
Destination : 3001:200:: PrefixLen: 64
Flag : R/-/- Cost : 20
Next hop : FE80::BAAF:67FF:FE30:3304 Interface: XGE3/1/3
Flags: D-Direct, R-Added to Rib, L-Advertised in LSPs, U-Up/Down Bit Set
· Ping 3001:200::1 from interface XGE3/1/2 on Router A.
[RouterA] ping ipv6 –a 3001:1::1 3001:200::1
Ping6(56 data bytes) 3001:1::1 --> 3001:200::1, press CTRL_C to break
56 bytes from 3001:200::1, icmp_seq=0 hlim=61 time=7.230 ms
56 bytes from 3001:200::1, icmp_seq=1 hlim=61 time=3.449 ms
56 bytes from 3001:200::1, icmp_seq=2 hlim=61 time=2.779 ms
56 bytes from 3001:200::1, icmp_seq=3 hlim=61 time=2.652 ms
56 bytes from 3001:200::1, icmp_seq=4 hlim=61 time=2.558 ms
--- Ping6 statistics for 3001:200::1 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 2.558/3.734/7.230/1.776 ms
Configuration files
Router A
#
isis 1
is-level level-1
network-entity 10.3001.0001.0001.00
#
address-family ipv6 unicast
#
interface ten-gigabitethernet 3/1/1
isis ipv6 enable 1
ipv6 address 2001:1::1/64
#
interface ten-gigabitethernet 3/1/2
isis ipv6 enable 1
ipv6 address 3001:1::1/64
#
Router B
#
isis 1
is-level level-1
network-entity 10.3001.0002.0001.00
#
address-family ipv6 unicast
#
interface ten-gigabitethernet 3/1/1
isis ipv6 enable 1
ipv6 address 2001:2::1/64
#
interface ten-gigabitethernet 3/1/2
isis ipv6 enable 1
ipv6 address 3001:2::1/64
#
Router C
isis 1
network-entity 10.2001.0010.0001.00
#
address-family ipv6 unicast
import-route isisv6 level-1 into level-2 filter-policy prefix-list 1
#
interface ten-gigabitethernet 3/1/1
isis ipv6 enable 1
ipv6 address 2001:1::2/64
#
interface ten-gigabitethernet 3/1/2
isis ipv6 enable 1
ipv6 address 2001:2::2/64
#
interface ten-gigabitethernet 3/1/3
isis ipv6 enable 1
ipv6 address 2001:10::1/64
#
ipv6 prefix-list 1 index 10 permit 3001:1:: 64
#
Router D
#
isis 1
is-level level-2
network-entity 20.2001.0020.0001.00
#
address-family ipv6 unicast
import-route direct
import-route ospfv3 1
#
ospfv3 1
router-id 4.4.4.4
area 0.0.0.0
import-route direct
import-route isisv6 1
#
interface ten-gigabitethernet 3/1/1
isis ipv6 enable 1
ipv6 address 2001:10::2/64
#
interface ten-gigabitethernet 3/1/2
ospfv3 1 area 0.0.0.0
ipv6 address 2001:20::1/64
#
Router E
#
ospfv3 1
router-id 5.5.5.5
area 0.0.0.0
#
interface ten-gigabitethernet 3/1/1
ospfv3 1 area 0
ipv6 address 2001:20::2/64
#
interface ten-gigabitethernet 3/1/2
ospfv3 1 area 0
ipv6 address 3001:200::1/64
#
Related documentation
· H3C SR8800-X Routers Layer—3 IP Routing Configuration Guide
· H3C SR8800-X Routers Layer—3 IP Routing Command Reference