24.8.2 Configuring route summarization and summarized route advertisement
Configure summarization of directly connected routes and RIPng routes as summarization source routes. Also, configure the switch to re-advertise the summarized routes and directly connected routes by BGP4+ without re-advertising the directly connected routes and RIPng routes that have become summarization source routes.
|
- Points to note
-
To generate a summarized route, use the ipv6 summary-address command. Use the redistribute summary command to configure BGP4+ to advertise the summarized route.
Command examples
-
(config)# interface vlan 10
(config-if)# ipv6 address 2001:db8:1:fe01::1/64
Sets the IPv6 address 2001:db8:1:fe01::1/64 for interface vlan 10.
-
(config-if)# exit
(config)# interface vlan 20
(config-if)# ipv6 address 2001:db8:1:ff01::1/64
Sets the IPv6 address 2001:db8:1:ff01::1/64 for interface vlan 20.
-
(config-if)# ipv6 rip enable
Enables RIPng packet transmission and reception on interface vlan 20.
-
(config-if)# exit
(config)# ipv6 summary-address 2001:db8:1:ff00::/56 summary-only
Configures the switch to generate the summarized route 2001:db8:1:ff00::/56. By specifying summary-only, you suppress re-advertisement of the summarization source routes.
-
(config)# router bgp 100
(config-router-af)# neighbor 2001:db8:3:ffff::2 remote-as 200
Establishes a BGP4 connection with neighboring router 2001:db8:3:ffff::2.
-
(config-router)# address-family ipv6
(config-router-af)# redistribute summary
Uses BGP4+ to re-advertise the summarized route.
-
(config-router-af)# redistribute connected
Uses BGP4+ to re-advertise the directly connected route.
-
(config-router-af)# redistribute rip
Uses BGP4+ to re-advertise the RIPng route.
-
(config-router-af)# neighbor 2001:db8:3:ffff::2 activate
Enables exchanging routes with the neighboring router 2001:db8:3:ffff::2.