L1-L2 Area Routing with Multiple Instances
IS-IS supports a two-level hierarchy for handling and scaling the functionality of large networks. The Level-1 (L1) area is mainly for Leaf networks, and the Level-2 (L2) area is the backbone area connecting Level-1 areas. In this example, R3 and R4 are configured as Level-1 routers, and reside in the Level-1 area. R1 and R2 are configured as Level-1-2 routers, and connect these two Level-1 areas with a backbone Level-2 area. You can configure Level-1-2 routers with single or multiple instances: This configuration shows the multiple-instance version of the Level-1-2 router.
Topology
Figure 13-107: Multiple-Instance L1-L2 Area Routing
Configuration
R1
#configure terminal | Enter configure mode. |
---|
(config)#interface eth1 | Enter interface mode. |
(config-if)#ip address 20.20.20.1/24 | Configure IP address on interface. |
(config-if)#ip router isis aaa | Enable IS-IS routing on interface eth1 for area aaa. |
(config-if)#commit | Commit candidate configuration to the running configuration |
(config-if)#exit | Exit interface mode. |
(config)#router isis aaa | Create an IS-IS routing instance for area aaa. |
(config-router)#is-type level-2-only | Set the IS level for this area (aaa) as level-2-only. |
(config-router)#net bb.0000.0000.0001.00 | Set a Network Entity Title for this instance, specifying the area address and the system ID. |
(config-if)#commit | Commit candidate configuration to the running configuration |
(config-router)#exit | Exit Router mode, and return to Configure mode. |
(config)#interface eth2 | Enter interface mode. |
(config-if)#ip address 30.30.30.1/24 | Configure IP address on interface. |
(config-if)#ip router isis ccc | Enable IS-IS routing on interface eth2 for area ccc. |
(config-if)#commit | Commit candidate configuration to the running configuration |
(config-if)#exit | Exit interface mode. |
(config)#router isis ccc | Create an IS-IS routing instance for area ccc. |
(config-router)#is-type level-1 | Set the IS level for this area (ccc) as level-1. |
(config-router)#net cc.0000.0000.0002.00 | Set a Network Entity Title for this instance, specifying the area address and the system ID. |
(config-if)#commit | Commit candidate configuration to the running configuration |
R2
(config)#interface eth1 | Enter interface mode. |
(config-if)#ip address 20.20.20.2/24 | Configure IP address on interface. |
(config-if)#ip router isis bb | Enable IS-IS routing on interface eth1 for area bb. |
(config-if)#commit | Commit candidate configuration to the running configuration |
(config-if)#exit | Exit interface mode. |
(config)#router isis bb | Create an IS-IS routing instance for area bb. |
(config-router)#is-type level-2-only | Set the IS level for this area (bb) as level-2-only. |
(config-router)#net bb.0000.0000.0002.00 | Set a Network Entity Title for this instance, specifying the area address and the system ID. |
(config-if)#commit | Commit candidate configuration to the running configuration |
(config-router)#exit | Exit Router mode, and return to Configure mode. |
(config)#interface eth2 | Enter interface mode. |
(config-if)#ip address 40.40.40.1/24 | Configure IP address on interface. |
(config-if)#ip router isis ABC | Enable IS-IS routing on interface eth2 for area ABC. |
(config-if)#commit | Commit candidate configuration to the running configuration |
(config-if)#exit | Exit interface mode. |
(config)#router isis ABC | Create an IS-IS routing instance for area ABC. |
(config-router)#is-type level-1 | Set the IS level for this area (ABC) as level-1. |
(config-router)#net cc.0000.0000.0003.00 | Set a Network Entity Title for this instance, specifying the area address and the system ID. |
(config-if)#commit | Commit candidate configuration to the running configuration |
R3
(config)#interface eth2 | Enter interface mode. |
(config-if)#ip address 30.30.30.2/24 | Configure IP address on interface. |
(config-if)#ip router isis xyz | Enable IS-IS routing on interface eth2 for area xyz. |
(config-if)#exit | Exit interface mode. |
(config)#router isis xyz | Create an IS-IS routing instance for area xyz. |
(config-router)#is-type level-1 | Set the IS level for this area (xyz) as level-1. |
(config-router)#net 52.0000.0000.0003.00 | Set a Network Entity Title for this instance, specifying the area address and the system ID. |
R4
(config)#interface eth2 | Enter interface mode. |
(config-if)#ip address 40.40.40.2/24 | Configure IP address on interface. |
(config-if)#ip router isis aa | Enable IS-IS routing on interface eth2 for area aa. |
(config-if)#exit | Exit interface mode. |
(config)#router isis aa | Create an IS-IS routing instance for area aa. |
(config-router)#is-type level-1 | Set the IS level for this area (aa) as level-1. |
(config-router)#net 52.0000.0000.0004.00 | Set a Network Entity Title for this instance, specifying the area address and the system ID. |
Validation
R1#show clns neighbors
Total number of L1 adjacencies: 0
Total number of L2 adjacencies: 1
Total number of adjacencies: 1
Tag aaa: VRF : default
System Id Interface SNPA State Holdtime Type Protocol
0000.0000.0002 eth1 5254.002a.230a Up 25 L2 IS-IS
Total number of L1 adjacencies: 0
Total number of L2 adjacencies: 0
Total number of adjacencies: 0
Tag ccc: VRF : default
System Id Interface SNPA State Holdtime Type Protocol
R2#show clns neighbors
Total number of L1 adjacencies: 0
Total number of L2 adjacencies: 0
Total number of adjacencies: 0
Tag ABC: VRF : default
System Id Interface SNPA State Holdtime Type Protocol
Total number of L1 adjacencies: 0
Total number of L2 adjacencies: 1
Total number of adjacencies: 1
Tag bb: VRF : default
System Id Interface SNPA State Holdtime Type Protocol
0000.0000.0001 eth1 5254.00dc.0b76 Up 6 L2 IS-IS
R1#show clns is-neighbors
Tag aaa: VRF : default
System Id Interface State Type Priority Circuit Id
0000.0000.0002 eth1 Up L2 64 0000.0000.0001.01
Tag ccc: VRF : default
System Id Interface State Type Priority Circuit Id
R2#show clns is-neighbors
Tag ABC: VRF : default
System Id Interface State Type Priority Circuit Id
Tag bb: VRF : default
System Id Interface State Type Priority Circuit Id
0000.0000.0001 eth1 Up L2 64 0000.0000.0001.01
R1#show ip isis route
Codes: C - connected, E - external, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, D - discard, e - external metric
** - invalid
Tag aaa: VRF : default
Destination Metric Next-Hop Interface Tag
C 20.20.20.0/24 10 -- eth1 0
Codes: C - connected, E - external, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, D - discard, e - external metric
** - invalid
Tag ccc: VRF : default
Destination Metric Next-Hop Interface Tag
C 30.30.30.0/24 10 -- eth2 0
R2#show ip isis route
Codes: C - connected, E - external, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, D - discard, e - external metric
** - invalid
Tag ABC: VRF : default
Destination Metric Next-Hop Interface Tag
C 40.40.40.0/24 10 -- eth2 0
Codes: C - connected, E - external, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, D - discard, e - external metric
** - invalid
Tag bb: VRF : default
Destination Metric Next-Hop Interface Tag
C 20.20.20.0/24 10 -- eth1 0
R1#show isis topology
Tag aaa: VRF : default
IS-IS paths to level-2 routers
System Id Metric Next-Hop Interface SNPA
0000.0000.0001 --
0000.0000.0002 10 0000.0000.0002 eth1 5254.002a.230a
Tag ccc: VRF : default
IS-IS paths to level-1 routers
System Id Metric Next-Hop Interface SNPA
0000.0000.0002 --
R2#show isis topology
Tag ABC: VRF : default
IS-IS paths to level-1 routers
System Id Metric Next-Hop Interface SNPA
0000.0000.0003 --
Tag bb: VRF : default
IS-IS paths to level-2 routers
System Id Metric Next-Hop Interface SNPA
0000.0000.0001 10 0000.0000.0001 eth1 5254.00dc.0b76
0000.0000.0002 --
R1#show isis database
Tag aaa: VRF : default
IS-IS Level-2 Link State Database:
LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL
0000.0000.0001.00-00* 0x00000002 0x181D 1003 0/0/0
0000.0000.0001.01-00* 0x00000001 0x21B9 1003 0/0/0
0000.0000.0002.00-00 0x00000005 0x1818 1080 0/0/0
Tag ccc: VRF : default
IS-IS Level-1 Link State Database:
LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL
0000.0000.0002.00-00* 0x00000001 0xDFA5 685 0/0/0
R2#show isis database
Tag ABC: VRF : default
IS-IS Level-1 Link State Database:
LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL
0000.0000.0003.00-00* 0x00000002 0xD571 696 0/0/0
Tag bb: VRF : default
IS-IS Level-2 Link State Database:
LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL
0000.0000.0001.00-00 0x00000002 0x181D 938 0/0/0
0000.0000.0001.01-00 0x00000001 0x21B9 938 0/0/0
0000.0000.0002.00-00* 0x00000005 0x1818 1017 0/0/0
R1#show ip route
Codes: K - kernel, C - connected, S - static, R - RIP, B - BGP
O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2,
ia - IS-IS inter area, E - EVPN,
v - vrf leaked
* - candidate default
IP Route Table for VRF "default"
C 10.12.30.0/24 is directly connected, eth0, 01:37:50
C 20.20.20.0/24 is directly connected, eth1, 00:10:13
C 30.30.30.0/24 is directly connected, eth2, 00:10:13
C 127.0.0.0/8 is directly connected, lo, 01:37:50
Gateway of last resort is not set
R2#show ip route
Codes: K - kernel, C - connected, S - static, R - RIP, B - BGP
O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2,
ia - IS-IS inter area, E - EVPN,
v - vrf leaked
* - candidate default
IP Route Table for VRF "default"
C 10.12.30.0/24 is directly connected, eth0, 01:37:26
C 20.20.20.0/24 is directly connected, eth1, 00:05:03
C 40.40.40.0/24 is directly connected, eth2, 00:08:52
C 127.0.0.0/8 is directly connected, lo, 01:37:26
Gateway of last resort is not set