Network Requirements
- Device1, Device2, Device3, and Device4 runs the RIPng protocol for the route interaction.
- Device1 has learnt two routes 2001:4:1:1::/64 and 2001:4:1:2::/64 from Device2. To reduce the size of the route table, Device2 needs to advertise the summary route of the two routes to Device1.
Network Topology
Figure 6-5 Networking for configuring RIPng route summary
Configuration Steps
Step 1: Create VLANs, and add ports to the required VLANs. (Omitted)
Step 2: Configure the IPv6 address of an interface (omitted).
Step 3: Configure RIPng.
#Configure Device1.
Device1#configure terminal
Device1(config)#ipv6 router rip 100
Device1(config-ripng)#exit
Device1(config)#interface vlan2
Device1(config-if-vlan2)#ipv6 rip enable 100
Device1(config-if-vlan2)#exit
|
#Configure Device2.
Device2#configure terminal
Device2(config)#ipv6 router rip 100
Device2(config-ripng)#exit
Device2(config)#interface vlan2
Device2(config-if-vlan2)#ipv6 rip enable 100
Device2(config-if-vlan2)#exit
Device2(config)#interface vlan3
Device2(config-if-vlan3)#ipv6 rip enable 100
Device2(config-if-vlan3)#exit
Device2(config)#interface vlan4
Device2(config-if-vlan4)#ipv6 rip enable 100
Device2(config-if-vlan4)#exit
|
#Configure Device3.
Device3#configure terminal
Device3(config)#ipv6 router rip 100
Device3(config-ripng)#exit
Device3(config)#interface vlan2
Device3(config-if-vlan2)#ipv6 rip enable 100
Device3(config-if-vlan2)#exit
Device3(config)#interface vlan3
Device3(config-if-vlan3)#ipv6 rip enable 100
Device3(config-if-vlan3)#exit
|
#Configure Device4.
Device4#configure terminal
Device4(config)#ipv6 router rip 100
Device4(config-ripng)#exit
Device4(config)#interface vlan2
Device4(config-if-vlan2)#ipv6 rip enable 100
Device4(config-if-vlan2)#exit
Device4(config)#interface vlan3
Device4(config-if-vlan3)#ipv6 rip enable 100
Device4(config-if-vlan3)#exit
|
#View the IPv6 route table of Device1.
Device1#show ipv6 route
Codes: C - Connected, L - Local, S - static, R - RIP, B - BGP, i-ISIS
U - Per-user Static route
O - OSPF, OE-OSPF External, M - Management
L ::1/128 [0/0]
via ::, 2w5d:02:27:40, lo0
C 2001:1::/64 [0/0]
via ::, 00:36:29, vlan2
L 2001:1::1/128 [0/0]
via ::, 00:36:28, lo0
R 2001:2::/64 [120/2]
via fe80::201:7aff:fec3:38a4, 00:07:06, vlan2
R 2001:3::/64 [120/2]
via fe80::201:7aff:fec3:38a4, 00:07:06, vlan2
R 2001:4:1:1::/64 [120/3]
via fe80::201:7aff:fec3:38a4, 00:07:06, vlan2
R 2001:4:1:2::/64 [120/3]
via fe80::201:7aff:fec3:38a4, 00:06:55, vlan2
Step 4: Configure the route summary of the interface.
#On Device2, configure the summary route 2001:4:1::/48.
Device2(config)#interface vlan2
Device2(config-if-vlan2)#ipv6 rip summary-address 2001:4:1::/48
Device2(config-if-vlan2)#exit
|
Step 5: Check the result.
#View the IPv6 route table of Device1.
Device1#show ipv6 route
Codes: C - Connected, L - Local, S - static, R - RIP, B - BGP, i-ISIS
U - Per-user Static route
O - OSPF, OE-OSPF External, M - Management
L ::1/128 [0/0]
via ::, 2w5d:02:35:44, lo0
C 2001:1::/64 [0/0]
via ::, 00:44:33, vlan2
L 2001:1::1/128 [0/0]
via ::, 00:44:32, lo0
R 2001:2::/64 [120/2]
via fe80::201:7aff:fec3:38a4, 00:15:10, vlan2
R 2001:3::/64 [120/2]
via fe80::201:7aff:fec3:38a4, 00:15:10, vlan2
R 2001:4:1::/48 [120/3]
via fe80::201:7aff:fec3:38a4, 00:05:19, vlan2
You can see that Device1 has learnt the summary route 2001:4:1::/48 advertised by Device2, but the two detailed routes can be deleted from the route table only after timeout.