Route Summarization
Route summarization makes the routing table smaller, but still allows complete IP connectivity.
The following example consists of a three-router topology, in which R2 is doing the summarization. In this example, R1 is the L1 router, R2 is the L1/L2 router doing the summarization, and R3 is the L2 router. The following configuration is given only for R2, assuming that the adjacencies with R1 and R3 are already up, and the route tables with the appropriate routes are already populated.
Topology
Figure 7-58: Route Summarization Topology
Configuration
R1
h
#configure terminal | Enter configure mode. |
(config)#interface eth1 | Enter interface mode. |
(config-if)#ipv6 router isis ABC | Enable IS-ISv6 routing on an interface for area 49(ABC). |
(config-if)#ipv6 address 1000 ::1/64 | Configure IPv6 address on interface. |
(config-if)#isis circuit-type level-1 | Set the circuit type as level-1 for the interface. |
(config-if)#exit | Exit interface mode. |
(config)#router isis ABC | Create an IS-IS routing instance for area 49 (ABC). |
(config-if)#ipv6 address 1000 ::1/64 | Configure IPv6 address on interface. |
(config-router)#is-type level-1 | Configure instance as level-1 routing. |
(config-router)#net 49.0001.0000.0000.0001.00 | Set a Network Entity Title for this instance, specifying the area address and the system ID. |
R2
#configure terminal | Enter configure mode. |
(config)#interface eth1 | Enter interface mode. |
(config-if)#ipv6 router isis ABC | Enable IS-ISv6 routing on an interface for area 49(ABC). |
(config-if)#ipv6 address 1000 ::2/64 | Configure IPv6 address on interface. |
(config-if)#isis circuit-type level-1 | Set the circuit type as level-1 for the interface. |
(config-if)#exit | Exit interface mode. |
(config)#interface eth2 | Enter interface mode. |
(config-if)#ipv6 router isis ABC | Enable IS-ISv6 routing on an interface for area 49(ABC). |
(config-if)#ipv6 address 2000 ::1/64 | Configure IPv6 address on interface. |
(config-if)#isis circuit-type level-2-only | Set the circuit type as level-2-only for the interface. |
(config-if)#exit | Exit interface mode. |
(config)#router isis ABC | Create an IS-IS routing instance for area 49 (ABC). |
(config-router)#net 49.0001.0000.0000.0002.00 | Set a Network Entity Title for this instance, specifying the area address and the system ID. |
(config-router)#address-family ipv6 | Enter 'address-family ipv6' mode, where users can configure IPv6 routing specific configuration. |
(config-router-af)#redistribute isis level-2 into level-1 | Enable redistribution of isis routes from level-2 into level-1 |
(config-router-af)#summary-prefix 11:1:1:1::/64 level-1 metric 58 | Configure the summary prefix to summarize IPv6 reachability information. |
(config-router-af)#exit-address-family | Exit address family mode. |
(config-router)#exit | Exit router mode. |
R3
#configure terminal | Enter configure mode. |
(config)#ipv6 route 11:1:1:1:1:1::/96 eth2 | Configure ipv6 static route. |
(config)#ipv6 route 11:1:1:1:2:1::/96 eth2 | Configure ipv6 static route. |
(config)#ipv6 route 11:1:1:1:3:1::/96 eth2 | Configure ipv6 static route. |
(config)#interface ethh2 | Enter interface mode. |
(config-if)#ipv6 router isis ABC | Enable IS-ISv6 routing on an interface for area 49(ABC). |
(config-if)#ipv6 address 2000 ::2/64 | Configure IPv6 address on interface. |
(config-if)#isis circuit-type level-2-only | Set the circuit type as level-2-only for the interface. |
(config-if)#exit | Exit interface mode. |
(config)#router isis ABC | Create an IS-IS routing instance for area 49 (ABC). |
(config-router)#net 49.0001.0000.0000.0003.00 | Set a Network Entity Title for this instance, specifying the area address and the system ID. |
(config-router)#is-type level-2-only | Configure instance as level-2 -onlyrouting. |
(config-router)#address-family ipv6 | Enter 'address-family ipv6' mode, where users can configure IPv6 routing specific configuration. |
(config-router-af)#redistribute static | Enable redistribution of static routes into ISIS instance. |
(config-router-af)#end | Exit the current mode and enter privilege mode. |
Validation
R1#show clns neighbors
Total number of L1 adjacencies: 1
Total number of L2 adjacencies: 0
Total number of adjacencies: 1
Tag ABC: VRF : default
System Id Interface SNPA State Holdtime Type Protocol
0000.0000.0002 eth1 b86a.97c4.31c5 Up 21 L1 IS-IS
R1#
R2#show clns neighbors
Total number of L1 adjacencies: 1
Total number of L2 adjacencies: 1
Total number of adjacencies: 2
Tag ABC: VRF : default
System Id Interface SNPA State Holdtime Type Protocol
0000.0000.0003 eth2 b86a.97c7.32c5 Up 8 L2 IS-IS
0000.0000.0001 eth1 b86a.97cb.3ec5 Up 8 L1 IS-IS
R2#
R3#show clns neighbors
Total number of L1 adjacencies: 0
Total number of L2 adjacencies: 1
Total number of adjacencies: 1
Tag ABC: VRF : default
System Id Interface SNPA State Holdtime Type Protocol
0000.0000.0002 eth2 b86a.97c4.31c5 Up 20 L2 IS-IS
R3#
R1#show ipv6 route isis
IP Route Table for VRF "default"
i ia 11:1:1:1::/64 [115/68] via fe80::ba6a:97ff:fec4:31c5, eth1, 00:02:29
R1#
R2#show ipv6 route isis
IP Route Table for VRF "default"
i 11:1:1:1::/64 [115/0] via ::, Null, 00:02:30
i L2 11:1:1:1:1:1::/96 [115/10] via fe80::ba6a:97ff:fec7:32c5, eth2, 00:04:54
i L2 11:1:1:1:2:1::/96 [115/10] via fe80::ba6a:97ff:fec7:32c5, eth2, 00:04:54
i L2 11:1:1:1:3:1::/96 [115/10] via fe80::ba6a:97ff:fec7:32c5, eth2, 00:04:54
R2#
R3#show ipv6 route isis
IP Route Table for VRF "default"
R3#
R1#show ipv6 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
Tag ABC: VRF : default
ia 11:1:1:1::/64 [68]
via fe80::ba6a:97ff:fec4:31c5, eth1
R1#
R2#show ipv6 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
Tag ABC: VRF : default
D 11:1:1:1::/64 [0]
via ::
L2 11:1:1:1:1:1::/96 [10]
via fe80::ba6a:97ff:fec7:32c5, eth2
L2 11:1:1:1:2:1::/96 [10]
via fe80::ba6a:97ff:fec7:32c5, eth2
L2 11:1:1:1:3:1::/96 [10]
via fe80::ba6a:97ff:fec7:32c5, eth2
R2#
R3#show ipv6 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
Tag ABC: VRF : default
E 11:1:1:1:1:1::/96 [0]
via ::
E 11:1:1:1:2:1::/96 [0]
via ::
E 11:1:1:1:3:1::/96 [0]
via ::
R3#
R1#show isis database verbose
Tag ABC: VRF : default
IS-IS Level-1 Link State Database:
LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL
0000.0000.0001.00-00* 0x00000002 0xA557 497 0/0/0
Area Address: 49.0001
NLPID: 0x8E
Metric: 10 IS 0000.0000.0001.01
0000.0000.0001.01-00* 0x00000001 0x1FBD 497 0/0/0
Metric: 0 IS 0000.0000.0001.00
Metric: 0 IS 0000.0000.0002.00
0000.0000.0002.00-00 0x00000004 0x4DA0 909 0/0/0
Area Address: 49.0001
NLPID: 0x8E
Metric: 10 IS 0000.0000.0001.01
Metric: 58 IPv6-Interarea 11:1:1:1::/64
R1#
R2#show isis database verbose
Tag ABC: VRF : default
IS-IS Level-1 Link State Database:
LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL
0000.0000.0001.00-00 0x00000002 0xA557 496 0/0/0
Area Address: 49.0001
NLPID: 0x8E
Metric: 10 IS 0000.0000.0001.01
0000.0000.0001.01-00 0x00000001 0x1FBD 496 0/0/0
Metric: 0 IS 0000.0000.0001.00
Metric: 0 IS 0000.0000.0002.00
0000.0000.0002.00-00* 0x00000004 0x4DA0 910 0/0/0
Area Address: 49.0001
NLPID: 0x8E
Metric: 10 IS 0000.0000.0001.01
Metric: 58 IPv6-Interarea 11:1:1:1::/64
IS-IS Level-2 Link State Database:
LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL
0000.0000.0002.00-00* 0x00000002 0xCD2A 506 0/0/0
Area Address: 49.0001
NLPID: 0x8E
Metric: 10 IS 0000.0000.0003.01
0000.0000.0003.00-00 0x00000003 0x89E2 765 0/0/0
Area Address: 49.0001
NLPID: 0x8E
Metric: 10 IS 0000.0000.0003.01
Metric: 0 IPv6 11:1:1:1:1:1::/96
Metric: 0 IPv6 11:1:1:1:2:1::/96
Metric: 0 IPv6 11:1:1:1:3:1::/96
0000.0000.0003.01-00 0x00000001 0x2DA9 505 0/0/0
Metric: 0 IS 0000.0000.0003.00
Metric: 0 IS 0000.0000.0002.00
R2#