- Table of Contents
-
- 01-Typical configuration example
- 01-AAA_Configuration_Examples
- 02-ACL_Configuration_Examples
- 03-ATM_Configuration_Examples
- 04-IGMP_Configuration_Examples
- 05-IP_Source_Guard_Configuration_Examples
- 06-Ethernet_OAM_Configuration_Examples
- 07-NQA_Configuration_Examples
- 08-QinQ_Configuration_Examples
- 09-OSPF_Configuration_Examples
- 10-MPLS_TE_Configuration_Examples
- 11-OpenFlow_Configuration_Examples
- 12-NAT_Configuration_Examples
- 13-RBAC_Configuration_Examples
- 14-IRF_Configuration_Examples
- 15-POS_Interface_Configuration_Examples
- 16-CPOS_Interface_Configuration_Examples
- 17-DLDP_Configuration_Examples
- 18-IS-IS_Configuration_Examples
- 19-MPLS_L3VPN_Configuration_Examples
- 20-SSH_Configuration_Examples
- 21-Login_Management_Configuration_Examples
- 22-SNMP_Configuration_Examples
- 23-Priority_Marking_and_Queue_Scheduling_Configuration_Examples
- 24-Multicast_VPN_Configuration_Examples
- 25-BGP_Configuration_Examples
- 26-HoVPN_Configuration_Examples
- 27-L2TP_Configuration_Examples
- 28-VRRP_Configuration_Examples
- 29-Traffic_Filtering_Configuration_Examples
- 30-Samplers_and_IPv4_NetStream_Configuration_Examples
- 31-Software_Upgrade_Examples
- 32-MPLS_L2VPN_Configuration_Examples
- 33-NetStream_Configuration_Examples
- 34-Policy-Based_Routing_Configuration_Examples
- 35-Traffic_Policing_Configuration_Examples
- 36-BFD_Configuration_Examples
- 37-OSPFv3_Configuration_Examples
- 38-VPLS_Configuration_Examples
- 39-GTS_and_Rate_Limiting_Configuration_Examples
- 40-IPv6_IS-IS_Configuration_Examples
- 41-MPLS OAM_Configuration_Examples
- 42-BGP_Route_Selection_Configuration_Examples
- 43-IS-IS_Route_Summarization_Configuration_Examples
- 44-Attack_Protection_Configuration_Examples
- Related Documents
-
Title | Size | Download |
---|---|---|
18-IS-IS_Configuration_Examples | 92.19 KB |
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 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.
· When the IS-IS process on Router C restarts, the communication is not interrupted.
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 IS-IS and OSPF 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 10.100.1.0/24 to Level-2 to ensure that the branch does not have a route to the Finance department.
· Enable IS-IS Graceful Restart (GR) on Router C to ensure that the communication is not interrupted when the IS-IS process on Router C restarts.
Restrictions and guidelines
To avoid blackhole routes, do not change the network topology during the IS-IS GR process.
Procedures
Configuring Router A
# Configure an IP address for Ten-GigabitEthernet3/1/1.
<RouterA> system-view
[RouterA] interface Ten-GigabitEthernet 3/1/1
[RouterA-Ten-GigabitEthernet3/1/1] ip address 192.168.1.1 24
[RouterA-Ten-GigabitEthernet3/1/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 Ten-GigabitEthernet 3/1/1
[RouterA–Ten-GigabitEthernet3/1/1] isis enable 1
[RouterA–Ten-GigabitEthernet3/1/1] quit
[RouterA] interface Ten-GigabitEthernet 3/1/2
[RouterA–Ten-GigabitEthernet3/1/2] isis enable 1
[RouterA–Ten-GigabitEthernet3/1/2] quit
Configuring Router B
# Configure an IP address for Ten-GigabitEthernet3/1/1.
<RouterB> system-view
[RouterB] interface Ten-GigabitEthernet 3/1/1
[RouterB-Ten-GigabitEthernet3/1/1] ip address 192.168.2.1 24
[RouterB-Ten-GigabitEthernet3/1/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 Ten-GigabitEthernet 3/1/1
[RouterB–Ten-GigabitEthernet3/1/1] isis enable 1
[RouterB–Ten-GigabitEthernet3/1/1] quit
[RouterB] interface Ten-GigabitEthernet 3/1/2
[RouterB–Ten-GigabitEthernet3/1/2] isis enable 1
[RouterB–Ten-GigabitEthernet3/1/2] quit
Configuring Router C
# Configure an IP address for Ten-GigabitEthernet3/1/1.
<RouterC> system-view
[RouterC] interface Ten-GigabitEthernet 3/1/1
[RouterC-Ten-GigabitEthernet3/1/1] ip address 192.168.1.2 24
[RouterC-Ten-GigabitEthernet3/1/1] quit
# Configure IP addresses for other interfaces, as shown in Figure 1. (Details not shown.)
# Configure IS-IS.
[RouterC-isis-1] network-entity 10.1921.6801.0001.00
[RouterC-isis-1] quit
[RouterC] interface Ten-GigabitEthernet 3/1/1
[RouterC–Ten-GigabitEthernet3/1/1] isis enable 1
[RouterC–Ten-GigabitEthernet3/1/1] quit
[RouterC] interface Ten-GigabitEthernet 3/1/2
[RouterC–Ten-GigabitEthernet3/1/2] isis enable 1
[RouterC–Ten-GigabitEthernet3/1/2] quit
[RouterC] interface Ten-GigabitEthernet 3/1/3
[RouterC–Ten-GigabitEthernet3/1/3] isis 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 10.100.1.0/24 to Level-2.
[RouterC] ip prefix-list 1 permit 10.100.1.0 24
[RouterC] isis 1
[RouterC-isis-1] 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 Ten-GigabitEthernet3/1/1.
<RouterD> system-view
[RouterD] interface Ten-GigabitEthernet 3/1/1
[RouterD-Ten-GigabitEthernet3/1/1] ip address 192.168.10.2 24
[RouterD-Ten-GigabitEthernet3/1/1] 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 20.1921.6802.0001.00
[RouterD-isis-1] quit
[RouterD] interface Ten-GigabitEthernet 3/1/1
[RouterD–Ten-GigabitEthernet3/1/1] isis enable 1
[RouterD–Ten-GigabitEthernet3/1/1] quit
[RouterD] interface Ten-GigabitEthernet 3/1/2
[RouterD–Ten-GigabitEthernet3/1/2] isis enable 1
[RouterD–Ten-GigabitEthernet3/1/2] 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-isis-1] 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 Ten-GigabitEthernet3/1/1.
<RouterE> system-view
[RouterE] interface Ten-GigabitEthernet 3/1/1
[RouterE-Ten-GigabitEthernet3/1/1] ip address 192.168.20.2 24
[RouterE-Ten-GigabitEthernet3/1/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 XGE3/1/1 Direct D/L/-
192.168.1.0/24 20 NULL XGE3/1/1 192.168.10.1 R/-/-
10.100.1.0/24 30 NULL XGE3/1/1 192.168.10.1 R/-/-
192.168.2.0/24 20 NULL XGE3/1/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 company 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 XGE3/1/3 Direct D/L/-
192.168.1.0/24 10 NULL XGE3/1/1 Direct D/L/-
10.100.1.0/24 20 NULL XGE3/1/1 192.168.1.1 R/L/-
10.100.2.0/24 20 NULL XGE3/1/2 192.168.2.1 R/-/-
192.168.2.0/24 10 NULL XGE3/1/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 XGE3/1/3 Direct D/L/-
10.200.1.0/24 10 0 XGE3/1/3 192.168.10.2 R/-/-
192.168.20.0/24 10 0 XGE3/1/3 192.168.10.2 R/-/-
192.168.1.0/24 10 NULL XGE3/1/1 Direct D/L/-
192.168.2.0/24 10 NULL XGE3/1/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 XGE3/1/2 on Router A.
[RouterA] ping –a 10.100.1.1 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=252 time=1.862 ms
56 bytes from 10.200.1.1: icmp_seq=1 ttl=252 time=2.969 ms
56 bytes from 10.200.1.1: icmp_seq=2 ttl=252 time=1.402 ms
56 bytes from 10.200.1.1: icmp_seq=3 ttl=252 time=1.324 ms
56 bytes from 10.200.1.1: icmp_seq=4 ttl=252 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 10.100.2.1: icmp_seq=2 ttl=254 time=1.672 ms
56 bytes from 10.100.2.1: icmp_seq=3 ttl=254 time=1.751 ms
56 bytes from 10.100.2.1: icmp_seq=4 ttl=254 time=1.816 ms
56 bytes from 10.100.2.1: 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
#
interface Ten-GigabitEthernet3/1/1
ip address 192.168.1.1 255.255.255.0
isis enable 1
#
interface Ten-GigabitEthernet3/1/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
#
interface Ten-GigabitEthernet3/1/1
ip address 192.168.2.1 255.255.255.0
isis enable 1
#
interface Ten-GigabitEthernet3/1/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
#
interface Ten-GigabitEthernet3/1/1
ip address 192.168.1.2 255.255.255.0
isis enable 1
#
interface Ten-GigabitEthernet3/1/2
ip address 192.168.2.2 255.255.255.0
isis enable 1
#
interface Ten-GigabitEthernet3/1/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
#
interface Ten-GigabitEthernet3/1/1
ip address 192.168.10.2 255.255.255.0
isis enable 1
#
interface Ten-GigabitEthernet3/1/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
#
interface Ten-GigabitEthernet3/1/1
ip address 192.168.20.2 255.255.255.0
#
interface Ten-GigabitEthernet3/1/2
ip address 10.200.1.1 255.255.255.0
#
Related documentation
· H3C SR8800-X Routers Layer—3 IP Routing Configuration Guide-R8380
· H3C SR8800-X Routers Layer—3 IP Routing Command Reference-R8380
·