202
(R9) (Interface loopback 0)#ip ospf area 0 (R9) (Interface loopback 0)#exit
12. Configure the OSPF settings for the router.
(R9) (Config)#router ospf
(R9) (Config-router)#router-id 9.9.9.9
(R9) (Config-router)#network 172.19.1.0 0.0.0.255 area 0
(R9) (Config-router)#network 172.18.1.0 0.0.0.255 area 0
(R9) (Config-router)#passive-interface 0/12
(R9) (Config-router)#timers spf 3 5
(R9) (Config-router)#max-metric router-lsa summary-lsa on-startup 90
(R9) (Config-router)#exit
13. Enable BGP and identify the autonomous system (AS) number of the router.
(R9) (Config-router)#router bgp 65001
14. Configure the BGP router ID.
(R9) (Config-router)#bgp router-id 9.9.9.9
15. Specify the maximum number of next hops BGP may include in an Equal Cost Multipath (ECMP) route
derived from paths received from neighbors outside the local autonomous system.
(R9) (Config-router)#maximum-paths 24
16. Set the maximum number of next hops BGP may include in an ECMP route derived from paths received
from neighbors within the local autonomous system.
(R9) (Config-router)#maximum-paths ibgp 24
17. Enable the logging of adjacency state changes.
(R9) (Config-router)#bgp log-neighbor-changes
18. Allow the aggregation of routes with different MED attributes.
(R9) (Config-router)#bgp aggregate-different-meds
19. Configure the keepalive and hold times that BGP uses for all of its neighbors.
(R9) (Config-router)#timers bgp 4 12
20. Configure the summary addresses for BGP.
(R9) (Config-router)#aggregate-address 172.16.1.0 255.255.255.0 summary-only
(R9) (Config-router)#aggregate-address 172.17.1.0 255.255.255.0 summary-only
(R9) (Config-router)#aggregate-address 172.18.1.0 255.255.255.0 summary-only
(R9) (Config-router)#aggregate-address 172.19.1.0 255.255.255.0 summary-only
21. Configure the networks that are attached to AS 65001.
(R9) (Config-router)#network 172.18.1.12 mask 255.255.255.252
(R9) (Config-router)#network 172.18.1.16 mask 255.255.255.252
(R9) (Config-router)#network 172.18.1.20 mask 255.255.255.252