- 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 |
---|---|---|
15-IS-IS Configuration Examples | 90.92 KB |
|
H3C S12500R Switch Router Series |
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.
Contents
Introduction
This document provides 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 IS-IS.
Example: Configuring IS-IS
Network configuration
As shown in Figure 1, the company's headquarters and the branch run IS-IS. The partner runs OSPF.
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.
· When the IS-IS process on Router C restarts, the communication is not interrupted.
Analysis
To allow communication between the marketing department and the finance department, configure Router A and Router B in Area 10 as Level-1 routers.
To allow communication between the marketing department and the partner, configure route redistribution between IS-IS and OSPF on Router D.
To ensure that the branch does not have a route to the finance department, configure Router C to use a prefix list to advertise only network 10.100.1.0/24 to Level-2.
To ensure that the communication is not interrupted when the IS-IS process on Router C restarts, enable IS-IS Graceful Restart (GR) on Router C.
Software versions used
This configuration example was created and verified on Release 3606.
Restrictions and guidelines
To avoid blackhole routes, do not change the network topology during the IS-IS GR process.
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 IP address for HundredGigE 1/0/1.
<RouterA> system-view
[RouterA] interface hundredgige 1/0/1
[RouterA-HundredGigE1/0/1] ip address 192.168.1.1 24
[RouterA-HundredGigE1/0/1] undo shutdown
[RouterA-HundredGigE1/0/1] quit
# Configure IP addresses for other interfaces, as shown in Figure 1. (Details not shown.)
# Configure IS-IS.
[RouterA] isis 1
[RouterA-isis-1] is-level level-1
[RouterA-isis-1] network-entity 10.1921.6800.1001.00
[RouterA-isis-1] quit
[RouterA] interface hundredgige 1/0/1
[RouterA–HundredGigE1/0/1] isis enable 1
[RouterA–HundredGigE1/0/1] quit
[RouterA] interface hundredgige 1/0/2
[RouterA–HundredGigE1/0/2] isis enable 1
[RouterA–HundredGigE1/0/2] quit
Configuring Router B
# Configure an IP address for VLAN-interface 12.
<RouterB> system-view
[RouterB] interface hundredgige 1/0/1
[RouterB-HundredGigE1/0/1] ip address 192.168.2.1 24
[RouterB-HundredGigE1/0/1] undo shutdown
[RouterB-HundredGigE1/0/1] quit
# Configure IP addresses for other interfaces, as shown in Figure 1. (Details not shown.)
# Configure IS-IS.
[RouterB] isis 1
[RouterB-isis-1] is-level level-1
[RouterB-isis-1] network-entity 10.1921.6800.2001.00
[RouterB-isis-1] quit
[RouterB] interface hundredgige 1/0/1
[RouterB–HundredGigE1/0/1] isis enable 1
[RouterB–HundredGigE1/0/1] quit
[RouterB] interface hundredgige 1/0/2
[RouterB–HundredGigE1/0/2] isis enable 1
[RouterB–HundredGigE1/0/2] quit
Configuring Router C
# Configure an IP address for HundredGigE 1/0/1.
<RouterC> system-view
[RouterC] interface hundredgige 1/0/1
[RouterC-HundredGigE1/0/1] ip address 192.168.1.2 24
[RouterC-HundredGigE1/0/1] undo shutdown
[RouterC-HundredGigE1/0/1] quit
# Configure IP addresses for other interfaces, as shown in Figure 1. (Details not shown.)
# Configure IS-IS.
[RouterC] isis 1
[RouterC-isis-1] network-entity 10.1921.6801.0001.00
[RouterC-isis-1] quit
[RouterC] interface hundredgige 1/0/1
[RouterC–HundredGigE1/0/1] isis enable 1
[RouterC–HundredGigE1/0/1] quit
[RouterC] interface hundredgige 1/0/2
[RouterC–HundredGigE1/0/2] isis enable 1
[RouterC–HundredGigE1/0/2] quit
[RouterC] interface hundredgige 1/0/3
[RouterC–HundredGigE1/0/3] isis 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 10.100.1.0/24 to Level-2.
[RouterC] ip prefix-list 1 permit 10.100.1.0 24
[RouterC] isis 1
[RouterC] address-family ipv4
[RouterC-isis-1-ipv4] import-route isis level-1 into level-2 filter-policy prefix-list 1
[RouterC-isis-1-ipv4] quit
# Enable IS-IS GR.
[RouterC-isis-1] graceful-restart
[RouterC-isis-1] quit
Configuring Router D
# Configure an IP address for HundredGigE 1/0/1.
[RouterD] isis 1
[RouterD-isis-1] is-level level-2
[RouterD-isis-1] network-entity 20.1921.6802.0001.00
[RouterD-isis-1] quit
[RouterD] interface hundredgige 1/0/1
[RouterD–HundredGigE1/0/1] isis enable 1
[RouterD–HundredGigE1/0/1] quit
[RouterD] interface hundredgige 1/0/2
[RouterD–HundredGigE1/0/2] isis enable 1
[RouterD–HundredGigE1/0/2] quit
# Configure IP addresses for other interfaces, as shown in Figure 1. (Details not shown.)
# Configure IS-IS.
[RouterD] isis 1
[RouterD-isis-1] is-level level-2
[RouterD-isis-1] network-entity 10.1921.6802.0001.00
[RouterD-isis-1] quit
[RouterD] interface vlan-interface 10
[RouterD–Vlan-interface10] isis enable 1
[RouterD–Vlan-interface10] quit
[RouterD] interface vlan-interface 20
[RouterD–Vlan-interface20] isis enable 1
[RouterD–Vlan-interface20] quit
# Configure OSPF.
[RouterD] ospf
[RouterD-ospf-1] area 0
[RouterD-ospf-1-area-0.0.0.0] network 192.168.20.0 0.0.0.255
[RouterD-ospf-1-area-0.0.0.0] quit
[RouterD-ospf-1] quit
# Redistribute OSPF and direct routes into IS-IS
[RouterD] isis 1
[RouterD] address-family ipv4
[RouterD-isis-1-ipv4] import-route ospf
[RouterD-isis-1-ipv4] import-route direct
[RouterD-isis-1-ipv4] quit
[RouterD-isis-1] quit
# Redistribute IS-IS and direct routes into OSPF.
[RouterD] ospf 1
[RouterD-ospf-1] import-route isis 1
[RouterD-ospf-1] import-route direct
Configuring Router E
# Configure an IP address for HundredGigE 1/0/1.
<RouterE> system-view
[RouterE] interface hundredgige 1/0/1
[RouterE-HundredGigE1/0/1] ip address 192.168.20.2 24
[RouterE-HundredGigE1/0/1] undo shutdown
[RouterE-HundredGigE1/0/1] quit
# Configure IP addresses for other interfaces, as shown in Figure 1. (Details not shown.)
# Configure OSPF.
[RouterE] ospf
[RouterE-ospf-1] area 0
[RouterE-ospf-1-area-0.0.0.0] network 192.168.20.0 0.0.0.255
[RouterE-ospf-1-area-0.0.0.0] network 10.200.1.0 0.0.0.255
[RouterE-ospf-1-area-0.0.0.0] quit
[RouterE-ospf-1] quit
Verifying the configuration
# Verify that the branch can reach the marketing department, but cannot reach the finance department.
[RouterD] display isis route
Route information for IS-IS(1)
------------------------------
Level-2 IPv4 Forwarding Table
-----------------------------
IPv4 Destination IntCost ExtCost ExitInterface NextHop Flags
-------------------------------------------------------------------------------
192.168.10.0/24 10 NULL HGE1/0/1 Direct D/L/-
192.168.1.0/24 20 NULL HGE1/0/1 192.168.10.1 R/-/-
10.100.1.0/24 30 NULL HGE1/0/1 192.168.10.1 R/-/-
192.168.2.0/24 20 NULL HGE1/0/1 192.168.10.1 R/-/-
Flags: D-Direct, R-Added to Rib, L-Advertised in LSPs, U-Up/Down Bit Set
# Verify that the marketing department can communicate with the partner.
· Display the IS-IS routing table on Router C.
[RouterC] display isis route
Route information for IS-IS(1)
------------------------------
Level-1 IPv4 Forwarding Table
-----------------------------
IPv4 Destination IntCost ExtCost ExitInterface NextHop Flags
-------------------------------------------------------------------------------
192.168.10.0/24 10 NULL HGE1/0/3 Direct D/L/-
192.168.1.0/24 10 NULL HGE1/0/1 Direct D/L/-
10.100.1.0/24 20 NULL HGE1/0/1 192.168.1.1 R/L/-
10.100.2.0/24 20 NULL HGE1/0/2 192.168.2.1 R/-/-
192.168.2.0/24 10 NULL HGE1/0/2 Direct D/L/-
Flags: D-Direct, R-Added to Rib, L-Advertised in LSPs, U-Up/Down Bit Set
Level-2 IPv4 Forwarding Table
-----------------------------
IPv4 Destination IntCost ExtCost ExitInterface NextHop Flags
-------------------------------------------------------------------------------
192.168.10.0/24 10 NULL HGE1/0/3 Direct D/L/-
10.200.1.0/24 10 0 HGE1/0/3 192.168.10.2 R/-/-
192.168.20.0/24 10 0 HGE1/0/3 192.168.10.2 R/-/-
192.168.1.0/24 10 NULL HGE1/0/1 Direct D/L/-
192.168.2.0/24 10 NULL HGE1/0/2 Direct D/L/-
Flags: D-Direct, R-Added to Rib, L-Advertised in LSPs, U-Up/Down Bit Set
· Ping 10.200.1.1 from Router A.
[RouterA] ping 10.200.1.1
Ping 10.200.1.1 (10.200.1.1): 56 data bytes, press CTRL+C to break
56 bytes from 10.200.1.1: icmp_seq=0 ttl=254 time=1.862 ms
56 bytes from 10.200.1.1: icmp_seq=1 ttl=254 time=2.969 ms
56 bytes from 10.200.1.1: icmp_seq=2 ttl=254 time=1.402 ms
56 bytes from 10.200.1.1: icmp_seq=3 ttl=254 time=1.324 ms
56 bytes from 10.200.1.1: icmp_seq=4 ttl=254 time=1.510 ms
--- Ping statistics for 10.200.1.1 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 1.324/1.813/2.969/0.606 ms
# Verify that the communication is not interrupted when the IS-IS process restarts.
· Ping Router B from Router A.
[RouterA] ping -c 10000 10.100.2.1
Ping 10.100.2.1 (10.100.2.1): 56 data bytes, press CTRL+C to break
56 bytes from 10.100.2.1: icmp_seq=0 ttl=254 time=1.185 ms
56 bytes from 10.100.2.1: icmp_seq=1 ttl=254 time=1.087 ms
…
· Restart the IS-IS process on Router C.
[RouterC] reset isis all graceful-restart
Reset IS-IS process? [Y/N] :y
# Ping Router B from Router A.
[RouterA] ping -c 10000 10.100.2.1
Ping 10.100.2.1 (10.100.2.1): 56 data bytes, press CTRL+C to break
56 bytes from 10.100.2.1: icmp_seq=0 ttl=254 time=1.185 ms
56 bytes from 10.100.2.1: icmp_seq=1 ttl=254 time=1.087 ms
56 bytes from 13.13.13.3: icmp_seq=2 ttl=254 time=1.672 ms
56 bytes from 13.13.13.3: icmp_seq=3 ttl=254 time=1.751 ms
56 bytes from 13.13.13.3: icmp_seq=4 ttl=254 time=1.816 ms
56 bytes from 13.13.13.3: icmp_seq=5 ttl=254 time=1.814 ms
# Check the IS-IS GR state on Router C.
[RouterC] display isis graceful-restart status
Restart information for IS-IS(1)
--------------------------------
Restart status: COMPLETE
Restart phase: Finish
Restart t1: 3, count 10; Restart t2: 60; Restart t3: 300
SA Bit: supported
Level-1 restart information
---------------------------
Total number of interfaces: 3
Number of waiting LSPs: 0
Level-2 restart information
---------------------------
Total number of interfaces: 3
Number of waiting LSPs: 0
Configuration files
· Router A:
#
isis 1
is-level level-1
network-entity 10.1921.6800.1001.00
#
vlan 11
#
vlan 100
#
interface HundredGigE1/0/1
ip address 192.168.1.1 255.255.255.0
isis enable 1
#
interface HundredGigE1/0/2
ip address 10.100.1.1 255.255.255.0
isis enable 1
#
· Router B:
#
isis 1
is-level level-1
network-entity 10.1921.6800.2001.00
#
vlan 12
#
vlan 200
#
interface HundredGigE1/0/1
ip address 192.168.2.1 255.255.255.0
isis enable 1
#
interface HundredGigE1/0/2
ip address 10.100.2.1 255.255.255.0
isis enable 1
#
· Router C:
#
isis 1
graceful-restart
network-entity 10.1921.6801.0001.00
#
address-family ipv4 unicast
import-route isis level-1 into level-2 filter-policy prefix-list 1
#
vlan 11 to 13
#
interface HundredGigE1/0/1
ip address 192.168.1.2 255.255.255.0
isis enable 1
#
interface HundredGigE1/0/2
ip address 192.168.2.2 255.255.255.0
isis enable 1
#
interface HundredGigE1/0/3
ip address 192.168.10.1 255.255.255.0
isis enable 1
#
ip prefix-list 1 index 10 permit 10.100.1.0 24
#
· Router D:
#
isis 1
is-level level-2
network-entity 20.1921.6802.0001.00
#
address-family ipv4 unicast
import-route direct
import-route ospf 1
#
ospf 1
import-route direct
import-route isis 1
area 0.0.0.0
network 192.168.20.0 0.0.0.255
#
vlan 10
#
vlan 20
#
interface HundredGigE1/0/1
ip address 192.168.10.2 255.255.255.0
isis enable 1
#
interface HundredGigE1/0/2
ip address 192.168.20.1 255.255.255.0
#
· Router E:
#
ospf 1
area 0.0.0.0
network 10.200.1.0 0.0.0.255
network 192.168.20.0 0.0.0.255
#
vlan 20
#
vlan 300
#
interface HundredGigE1/0/1
ip address 192.168.20.2 255.255.255.0
#
interface HundredGigE1/0/2
ip address 10.200.1.1 255.255.255.0
#
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