- Table of Contents
-
- H3C S12500R Ethernet Switch Router Series Config Examples-Release 36xx-6W100
- 01-Login Management Configuration Examples
- 02-RBAC Configuration Examples
- 03-Software Upgrade Examples
- 04-Ethernet Link Aggregation Configuration Examples
- 05-Port Isolation Configuration Examples
- 06-Spanning Tree Configuration Examples
- 07-VLAN Configuration Examples
- 08-VLAN Tagging Configuration Examples
- 09-DHCP Snooping Configuration Examples
- 10-Cross-Subnet Dynamic IP Address Allocation Configuration Examples
- 11-IPv6 over IPv4 Tunneling with OSPFv3 Configuration Examples
- 12-GRE Tunnel Configuration Examples
- 13-GRE with OSPF Configuration Examples
- 14-OSPF Configuration Examples
- 15-IS-IS Configuration Examples
- 16-BGP Configuration Examples
- 17-Policy-Based Routing Configuration Examples
- 18-OSPFv3 Configuration Examples
- 19-IPv6 IS-IS Configuration Examples
- 20-Routing Policy Configuration Examples
- 21-IGMP Snooping Configuration Examples
- 22-IGMP Configuration Examples
- 23-MLD Snooping Configuration Examples
- 24-Basic MPLS Configuration Examples
- 25-MPLS L3VPN Configuration Examples
- 26-ACL Configuration Examples
- 27-Control Plane-Based QoS Policy Configuration Examples
- 28-Traffic Policing Configuration Examples
- 29-GTS and Rate Limiting Configuration Examples
- 30-Priority Mapping and Queue Scheduling Configuration Examples
- 31-Traffic Filtering Configuration Examples
- 32-AAA Configuration Examples
- 33-SSH Configuration Examples
- 34-IP Source Guard Configuration Examples
- 35-Ethernet OAM Configuration Examples
- 36-CFD Configuration Examples
- 37-DLDP Configuration Examples
- 38-VRRP Configuration Examples
- 39-BFD Configuration Examples
- 40-NTP Configuration Examples
- 41-SNMP Configuration Examples
- 42-NQA Configuration Examples
- 43-Mirroring Configuration Examples
- 44-sFlow Configuration Examples
- 45-OpenFlow Configuration Examples
- 46-MAC Address Table Configuration Examples
- 47-Static Multicast MAC Address Entry Configuration Examples
- 48-IP Unnumbered Configuration Examples
- 49-Congestion Avoidance and Queue Scheduling Configuration Examples
- 50-Attack Protection Configuration Examples
- 51-Smart Link Configuration Examples
- 52-RRPP Configuration Examples
- 53-BGP Route Selection Configuration Examples
- 54-IS-IS Route Summarization Configuration Examples
- 55-MPLS OAM Configuration Examples
- 56-MPLS TE Configuration Examples
- 57-VXLAN Configuration Examples
- 58-NetStream Configuration Examples
- 59-EVPN-DCI over an MPLS L3VPN Network Configuration Examples
- 60-PTP Configuration Examples
- 61-S-MLAG Configuration Examples
- 62-MPLS SR Configuration Examples
- 63-Puppet Configuration Examples
- Related Documents
-
Title | Size | Download |
---|---|---|
19-IPv6 IS-IS Configuration Examples | 89.32 KB |
|
H3C S12500R Switch Router Series |
IPv6 IS-IS Configuration Examples |
|
Copyright © 2021 New H3C Technologies Co., Ltd. All rights reserved.
No part of this manual may be reproduced or transmitted in any form or by any means without prior written consent of New H3C Technologies Co., Ltd.
Except for the trademarks of New H3C Technologies Co., Ltd., any trademarks that may be mentioned in this document are the property of their respective owners.
The information in this document is subject to change without notice.
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 switches to meet the following requirements:
· 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:
· Configure Router A and Router B in Area 10 as Level-1 routers to allow communication 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.
Software versions used
This configuration example was created and verified on Release 3606.
Restrictions and guidelines
By default, interfaces on the device are disabled (in ADM or Administratively Down state). To have an interface operate, you must use the undo shutdown command to enable that interface.
Procedures
Configuring Router A
# Configure an IPv6 address for HundredGigE 1/0/1.
<RouterA> system-view
[RouterA] interface hundredgige 1/0/1
[RouterA-HundredGigE1/0/1] ipv6 address 2001:1::1 64
[RouterA-HundredGigE1/0/1] undo shutdown
[RouterA-HundredGigE1/0/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
[RouterA-isis-1-ipv6] quit
[RouterA-isis-1] quit
[RouterA] interface hundredgige 1/0/1
[RouterA–HundredGigE1/0/1] isis ipv6 enable 1
[RouterA–HundredGigE1/0/1] quit
[RouterA] interface hundredgige 1/0/2
[RouterA–HundredGigE1/0/2] isis ipv6 enable 1
[RouterA–HundredGigE1/0/2] quit
Configuring Router B
# Configure an IPv6 address for HundredGigE 1/0/1.
<RouterB> system-view
[RouterB] interface hundredgige 1/0/1
[RouterB-HundredGigE1/0/1] ipv6 address 2001:2::1 64
[RouterB-HundredGigE1/0/1] undo shutdown
[RouterB-HundredGigE1/0/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
[RouterB-isis-1-ipv6] quit
[RouterB-isis-1] quit
[RouterB] interface hundredgige 1/0/1
[RouterB–HundredGigE1/0/1] isis ipv6 enable 1
[RouterB–HundredGigE1/0/1] quit
[RouterB] interface hundredgige 1/0/2
[RouterB–HundredGigE1/0/2] isis ipv6 enable 1
[RouterB–HundredGigE1/0/2] quit
Configuring Router C
# Configure an IPv6 address for HundredGigE1/0/1.
<RouterC> system-view
[RouterC] interface hundredgige 1/0/1
[RouterC-HundredGigE1/0/1] ipv6 address 2001:1::2 64
[RouterC-HundredGigE1/0/1] undo shutdown
[RouterC-HundredGigE1/0/1] quit
# Configure IPv6 addresses for other interfaces, as shown in Figure 1. (Details not shown.)
# Configure IPv6 IS-IS.
[RouterC] isis 1
[RouterC-isis-1] is-level level-1
[RouterC-isis-1] network-entity 10.2001.0010.0001.00
[RouterC-isis-1] address-family ipv6
[RouterC-isis-1-ipv6] quit
[RouterC-isis-1] quit
[RouterC] interface hundredgige 1/0/1
[RouterC–HundredGigE1/0/1] isis ipv6 enable 1
[RouterC–HundredGigE1/0/1] quit
[RouterC] interface hundredgige 1/0/2
[RouterC–HundredGigE1/0/2] isis ipv6 enable 1
[RouterC–HundredGigE1/0/2] quit
[RouterC] interface hundredgige 1/0/3
[RouterC–HundredGigE1/0/3] isis ipv6 enable 1
[RouterC–HundredGigE1/0/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] 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 HundredGigE 1/0/1.
<RouterD> system-view
[RouterD] interface hundredgige 1/0/1
[RouterD-HundredGigE1/0/1] ipv6 address 2001:10::2 64
[RouterD-HundredGigE1/0/1] undo shutdown
[RouterD-HundredGigE1/0/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
[RouterD-isis-1-ipv6] quit
[RouterD-isis-1] quit
[RouterD] interface hundredgige 1/0/1
[RouterD–HundredGigE1/0/1] isis ipv6 enable 1
[RouterD–HundredGigE1/0/1] quit
[RouterD] interface hundredgige 1/0/2
[RouterD–HundredGigE1/0/2] isis ipv6 enable 1
[RouterD–HundredGigE1/0/2] quit
# Configure OSPFv3.
[RouterD] ospfv3
[RouterD-ospfv3-1] router-id 4.4.4.4
[RouterD-ospfv3-1] quit
[RouterD] interface hundredgige 1/0/2
[RouterD–HundredGigE1/0/2] ospfv3 1 area 0
[RouterD–HundredGigE1/0/2] quit
# Redistribute OSPFv3 and direct routes into IPv6 IS-IS.
[RouterD] isis 1
[RouterD] 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 HundredGigE 1/0/1.
<RouterE> system-view
[RouterE] interface hundredgige 1/0/1
[RouterE-HundredGigE1/0/1] ipv6 address 2001:20::2 64
[RouterE-HundredGigE1/0/1] undo shutdown
[RouterE-HundredGigE1/0/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 hundredgige 1/0/1
[RouterE–HundredGigE1/0/1] ospfv3 1 area 0
[RouterE–HundredGigE1/0/1] quit
[RouterE] interface hundredgige 1/0/2
[RouterE–HundredGigE1/0/2] ospfv3 1 area 0
[RouterE–HundredGigE1/0/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: HGE1/0/1
Destination : 2001:1:: PrefixLen: 64
Flag : R/-/- Cost : 20
Next Hop : FE80::7625:8AFF:FE02:4D13 Interface: HGE1/0/1
Destination : 2001:2:: PrefixLen: 64
Flag : R/-/- Cost : 20
Next Hop : FE80::7625:8AFF:FE02:4D13 Interface: HGE1/0/1
Destination : 3001:1:: PrefixLen: 64
Flag : R/-/- Cost : 30
Next Hop : FE80::7625:8AFF:FE02:4D13 Interface: HGE1/0/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: HGE1/0/3
Destination : 2001:1:: PrefixLen: 64
Flag : D/L/- Cost : 10
Next Hop : Direct Interface: HGE1/0/1
Destination : 2001:2:: PrefixLen: 64
Flag : D/L/- Cost : 10
Next Hop : Direct Interface: HGE1/0/2
Destination : 2001:20:: PrefixLen: 64
Flag : R/L/- Cost : 20
Next Hop : FE80::BAAF:67FF:FE30:3304 Interface: HGE1/0/3
Destination : 3001:200:: PrefixLen: 64
Flag : R/-/- Cost : 20
Next Hop : FE80::BAAF:67FF:FE30:3304 Interface: HGE1/0/3
Flags: D-Direct, R-Added to Rib, L-Advertised in LSPs, U-Up/Down Bit Set
· Ping 3001:200::1 from 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=63 time=7.230 ms
56 bytes from 3001:200::1, icmp_seq=1 hlim=63 time=3.449 ms
56 bytes from 3001:200::1, icmp_seq=2 hlim=63 time=2.779 ms
56 bytes from 3001:200::1, icmp_seq=3 hlim=63 time=2.652 ms
56 bytes from 3001:200::1, icmp_seq=4 hlim=63 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 hundredgige 1/0/1
isis ipv6 enable 1
ipv6 address 2001:1::1/64
#
interface hundredgige 1/0/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 hundredgige 1/0/1
isis ipv6 enable 1
ipv6 address 2001:2::1/64
#
interface hundredgige 1/0/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 hundredgige 1/0/1
isis ipv6 enable 1
ipv6 address 2001:1::2/64
#
interface hundredgige 1/0/2
isis ipv6 enable 1
ipv6 address 2001:2::2/64
#
interface hundredgige 1/0/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 hundredgige 1/0/1
isis ipv6 enable 1
ipv6 address 2001:10::2/64
#
interface hundredgige 1/0/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 hundredgige 1/0/1
ospfv3 1 area 0
ipv6 address 2001:20::2/64
#
interface hundredgige 1/0/2
ospfv3 1 area 0
ipv6 address 3001:200::1/64
#
Related documentation
· H3C S12500R Switch Router Series Layer 3—IP Routing Command Reference-R3606
· H3C S12500R Switch Router Series Layer 3—IP Routing Configuration Guide-R3606