Pcornel
H3 · Practical network exams · Cisco IOS / IOS XE

Route Summarization · Finals

Configuration first, verification second, theory third. Reference templates require task-specific adaptation.

Content version 1.1-draft

Keyboard shortcuts

/ Finals search · Ctrl K global command palette · Alt E Exam Mode · Alt G Golden Scripts · Alt T Exam Topics · Alt V Verify · Esc close dialog.

Case Skills Exam

Quick explanation

Summarization advertises or installs an aggregate prefix covering multiple contiguous, aligned networks. It reduces route count but may attract traffic for unused addresses within the aggregate.

Configuration

Replace highlighted placeholders. Configure only the variants required by the task.

Prerequisites and dependency links
  • Calculate the common leading bits and confirm the aggregate boundary.
  • Check return routing and whether a discard route is appropriate.
IPv4 summary route Recommended / essential starting point
Start in privileged EXEC; block enters and exits configuration mode. Section link
enable
configure terminal
ip route [SUMMARY-NETWORK] [SUMMARY-MASK] [NEXT-HOP]
end
Command parameters
[SUMMARY-NETWORK]
Aligned IPv4 aggregate network address.
[SUMMARY-MASK]
IPv4 aggregate subnet mask.
[NEXT-HOP]
IPv4 next-hop address.
IPv6 summary route Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link
enable
configure terminal
ipv6 route [SUMMARY-IPV6-PREFIX]/[SUMMARY-PREFIX-LENGTH] [NEXT-HOP-IPV6]
end
Command parameters
[SUMMARY-IPV6-PREFIX]
Aligned IPv6 aggregate prefix without slash length.
[SUMMARY-PREFIX-LENGTH]
IPv6 aggregate prefix length without slash.
[NEXT-HOP-IPV6]
IPv6 next-hop address; a link-local next hop needs an exit interface.
OSPFv2 ABR summary Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link
enable
configure terminal
router ospf [PROCESS-ID]
 area [AREA-ID] range [SUMMARY-NETWORK] [SUMMARY-MASK]
 exit
end
Command parameters
[PROCESS-ID]
Local routing process identifier.
[AREA-ID]
OSPF area number or dotted area ID.
[SUMMARY-NETWORK]
Aligned IPv4 aggregate network address.
[SUMMARY-MASK]
IPv4 aggregate subnet mask.
Legacy OSPFv3 ABR summary Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link
enable
configure terminal
ipv6 router ospf [PROCESS-ID]
 area [AREA-ID] range [SUMMARY-IPV6-PREFIX]/[SUMMARY-PREFIX-LENGTH]
 exit
end
Command parameters
[PROCESS-ID]
Local routing process identifier.
[AREA-ID]
OSPF area number or dotted area ID.
[SUMMARY-IPV6-PREFIX]
Aligned IPv6 aggregate prefix without slash length.
[SUMMARY-PREFIX-LENGTH]
IPv6 aggregate prefix length without slash.
OSPFv2 ASBR external summary Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link
enable
configure terminal
router ospf [PROCESS-ID]
 summary-address [SUMMARY-NETWORK] [SUMMARY-MASK]
 exit
end
Command parameters
[PROCESS-ID]
Local routing process identifier.
[SUMMARY-NETWORK]
Aligned IPv4 aggregate network address.
[SUMMARY-MASK]
IPv4 aggregate subnet mask.
BGP IPv4 aggregate Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link
  • Requires contributing more-specific BGP routes. summary-only suppresses their advertisement.
enable
configure terminal
router bgp [LOCAL-AS]
 address-family ipv4 unicast
  aggregate-address [SUMMARY-NETWORK] [SUMMARY-MASK] summary-only
 exit-address-family
 exit
end
Command parameters
[LOCAL-AS]
Local BGP autonomous system number.
[SUMMARY-NETWORK]
Aligned IPv4 aggregate network address.
[SUMMARY-MASK]
IPv4 aggregate subnet mask.
Traditional OSPFv3 ASBR external summary Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link
  • Use on the ASBR for redistributed external routes, not inter-area summarization.
enable
configure terminal
ipv6 router ospf [PROCESS-ID]
 summary-prefix [SUMMARY-IPV6-PREFIX]/[SUMMARY-PREFIX-LENGTH]
 exit
end
Command parameters
[PROCESS-ID]
Local routing process identifier.
[SUMMARY-IPV6-PREFIX]
Aligned IPv6 aggregate prefix without slash length.
[SUMMARY-PREFIX-LENGTH]
IPv6 aggregate prefix length without slash.
BGP IPv6 aggregate Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link
  • Requires contributing more-specific BGP routes; summary-only suppresses their advertisement.
enable
configure terminal
router bgp [LOCAL-AS]
 address-family ipv6 unicast
  aggregate-address [SUMMARY-IPV6-PREFIX]/[SUMMARY-PREFIX-LENGTH] summary-only
 exit-address-family
 exit
end
Command parameters
[LOCAL-AS]
Local BGP autonomous system number.
[SUMMARY-IPV6-PREFIX]
Aligned IPv6 aggregate prefix without slash length.
[SUMMARY-PREFIX-LENGTH]
IPv6 aggregate prefix length without slash.

Show / Verify

Primary verification Section link
show ip route [SUMMARY-NETWORK]
Example output
Routing entry for 10.0.0.0/16

Check the aggregate prefix and next hop.

Detailed verification Section link
show ipv6 route [SUMMARY-IPV6-PREFIX]/[SUMMARY-PREFIX-LENGTH]
Example output
Routing entry for 2001:DB8::/48

Check the aggregate boundary.

Detailed verification Section link
show ip ospf database summary
Example output
Summary Net Link States (Area 0)

Inspect inter-area summaries on the receiving side.

Detailed verification Section link
show ipv6 ospf summary-prefix
Example output
Summary-prefix 2001:DB8::/48

Inspect configured external summary prefixes on the ASBR.

Detailed verification Section link
show bgp ipv6 unicast
Example output
*> 2001:DB8::/48  ::

Check that the aggregate exists and inspect advertisements on the intended peer.

Detailed verification Section link
show bgp ipv4 unicast
Example output
*> 10.0.0.0/16  0.0.0.0

Check the IPv4 aggregate and whether more-specific advertisements are suppressed as required.

Connectivity verification

IPv4 reachability

Check success rate; use source or VRF context if required.

ping [DESTINATION-IP]
IPv6 reachability

Check IPv6 path and return routing.

ping ipv6 [DESTINATION-IPV6]
IPv4 path

Inspect hop sequence; missing responses alone do not prove forwarding failure.

traceroute [DESTINATION-IP]
IPv6 path

Inspect IPv6 hop sequence.

traceroute ipv6 [DESTINATION-IPV6]

Common mistakes

  • Summary includes unintended networks.
  • Using ABR area range for redistributed external routes.
  • Expecting a BGP aggregate without contributing BGP routes.

Quick reference and default values

IPv4 prefix reference
PrefixSubnet maskWildcard
/00.0.0.0255.255.255.255
/1128.0.0.0127.255.255.255
/2192.0.0.063.255.255.255
/3224.0.0.031.255.255.255
/4240.0.0.015.255.255.255
/5248.0.0.07.255.255.255
/6252.0.0.03.255.255.255
/7254.0.0.01.255.255.255
/8255.0.0.00.255.255.255
/9255.128.0.00.127.255.255
/10255.192.0.00.63.255.255
/11255.224.0.00.31.255.255
/12255.240.0.00.15.255.255
/13255.248.0.00.7.255.255
/14255.252.0.00.3.255.255
/15255.254.0.00.1.255.255
/16255.255.0.00.0.255.255
/17255.255.128.00.0.127.255
/18255.255.192.00.0.63.255
/19255.255.224.00.0.31.255
/20255.255.240.00.0.15.255
/21255.255.248.00.0.7.255
/22255.255.252.00.0.3.255
/23255.255.254.00.0.1.255
/24255.255.255.00.0.0.255
/25255.255.255.1280.0.0.127
/26255.255.255.1920.0.0.63
/27255.255.255.2240.0.0.31
/28255.255.255.2400.0.0.15
/29255.255.255.2480.0.0.7
/30255.255.255.2520.0.0.3
/31255.255.255.2540.0.0.1
/32255.255.255.2550.0.0.0
Remove configuration — separate, potentially disruptive actions

Remove OSPFv2 area summary

Changes inter-area advertisements.

enable
configure terminal
router ospf [PROCESS-ID]
 no area [AREA-ID] range [SUMMARY-NETWORK] [SUMMARY-MASK]
 exit
end

Related reference

Networking technical reference · Interface types · Connectivity verification
Documentation references consulted

Reset checklist?

Command block

Back to Top

Confirmation

Confirm action

Continue?