Courseiva
RIPRouter Config

no auto-summary

Disables automatic summarization of routes at classful boundaries in RIP, allowing subnets to be advertised with their actual subnet masks.

Definition: no auto-summary is a Cisco IOS router config command. Disables automatic summarization of routes at classful boundaries in RIP, allowing subnets to be advertised with their actual subnet masks.

Overview

The `no auto-summary` command in RIP (Routing Information Protocol) disables the automatic summarization of routes at classful network boundaries. By default, RIP version 1 and RIP version 2 (when auto-summary is enabled) summarize subnets to their classful network prefix when advertising routes across different major networks. For example, if a router has subnets 10.1.1.0/24 and 10.1.2.0/24, it would advertise only 10.0.0.0/8 to neighbors on a different major network.

This behavior can cause routing problems in discontiguous networks or when variable-length subnet masks (VLSM) are used. Disabling auto-summary ensures that each subnet is advertised with its exact subnet mask, allowing for more precise routing and supporting VLSM. This command is critical in modern networks where subnets are not aligned with classful boundaries.

It is typically used in enterprise environments with complex IP addressing schemes, such as those using RFC 1918 private addresses with VLSM. Without disabling auto-summary, routers might incorrectly summarize routes, leading to suboptimal routing or black holes. The command is entered in router configuration mode for RIP (router rip).

It affects the running configuration immediately and is saved to the startup configuration. There is no privilege level requirement beyond standard user EXEC (enable) access. The command does not produce buffered output; it simply changes the router's behavior.

Alternatives include using route filtering with distribute-lists or configuring manual summarization with the `ip summary-address rip` command, but `no auto-summary` is the simplest and most common approach to disable automatic summarization. This command fits into the broader workflow of configuring RIP for networks that require classless routing. It is often one of the first commands applied after enabling RIP, along with network statements.

In troubleshooting, verifying that auto-summary is disabled is essential when experiencing routing issues across major network boundaries. The command is available in all IOS versions that support RIP, including IOS 12.x, 15.x, and IOS-XE. In NX-OS, the equivalent is `no auto-summary` under router rip, but NX-OS RIP is rarely used.

The command is not available in IOS-XR, which uses a different routing protocol suite. Overall, `no auto-summary` is a fundamental command for ensuring RIP operates correctly in modern, classless IP environments.

Syntax·Router Config
no auto-summary

When to Use This Command

  • When you have a discontiguous network (e.g., 10.1.0.0/16 and 10.2.0.0/16 separated by another network) and need RIP to advertise the specific subnets rather than summarizing to 10.0.0.0/8.
  • When using Variable Length Subnet Masking (VLSM) and need to propagate all subnet routes without losing visibility of smaller subnets.
  • When connecting to a non-Cisco device that does not support classful routing and expects classless advertisements.
  • When troubleshooting routing issues caused by automatic summarization hiding more specific routes.

Command Examples

Disabling auto-summary on a RIP-enabled router

Router(config)# router rip Router(config-router)# no auto-summary
Router(config-router)#

The command is entered in router configuration mode. No output confirms the command was accepted. After this, RIP will advertise subnets with their actual masks.

Verifying auto-summary is disabled

Router# show ip protocols | include auto-summary
  Automatic network summarization is not in effect

The output confirms that auto-summary is disabled. If it were enabled, it would say 'Automatic network summarization is in effect'.

Understanding the Output

The 'no auto-summary' command itself produces no output when entered correctly. To verify its effect, use 'show ip protocols' and look for the line 'Automatic network summarization is not in effect'. This indicates that RIP will advertise routes with their original subnet masks rather than summarizing to the classful network boundary.

In a real network, this is critical when using VLSM or discontiguous subnets; without it, routes may be incorrectly summarized, causing reachability issues. A good configuration shows 'not in effect' when classless routing is needed; a bad configuration shows 'in effect' when subnets are being hidden.

Configuration Scenarios

Disabling Auto-Summary in a Discontiguous Network

A company has two subnets of the same classful network (172.16.0.0/16) separated by a different major network (192.168.1.0/24). Without disabling auto-summary, RIP would summarize both subnets to 172.16.0.0/16, causing routing ambiguity.

Topology

R1(Gi0/0)---172.16.1.0/24---(Gi0/0)SW1---(Gi0/1)SW1---192.168.1.0/30---(Gi0/0)R2---(Gi0/1)R2---172.16.2.0/24

Steps

  1. 1.Step 1: Enter global configuration mode: R1# configure terminal
  2. 2.Step 2: Enter RIP configuration mode: R1(config)# router rip
  3. 3.Step 3: Disable auto-summary: R1(config-router)# no auto-summary
  4. 4.Step 4: Advertise the directly connected networks: R1(config-router)# network 172.16.0.0
  5. 5.Step 5: Exit configuration mode: R1(config-router)# end
  6. 6.Step 6: Repeat similar configuration on R2, ensuring no auto-summary is configured.
Configuration
!
R1(config)# router rip
R1(config-router)# version 2
R1(config-router)# no auto-summary
R1(config-router)# network 172.16.0.0
R1(config-router)# end

Verify: Use `show ip route rip` on R1 and R2. Expected output: both 172.16.1.0/24 and 172.16.2.0/24 appear as separate routes with correct subnet masks, not summarized to 172.16.0.0/16.

Watch out: If RIP version 1 is used, `no auto-summary` has no effect because RIPv1 always summarizes. Ensure RIP version 2 is enabled with `version 2`.

Enabling VLSM Support in a Multi-Subnet Environment

An organization uses VLSM with subnets of 10.0.0.0/8, including 10.1.1.0/24, 10.1.2.0/25, and 10.2.0.0/16. Without disabling auto-summary, all subnets would be advertised as 10.0.0.0/8, losing VLSM granularity.

Topology

R1(Gi0/0)---10.1.1.0/24---(Gi0/0)SW1---(Gi0/1)SW1---10.1.2.0/25---(Gi0/0)R2---(Gi0/1)R2---10.2.0.0/16

Steps

  1. 1.Step 1: Enter global configuration mode: R1# configure terminal
  2. 2.Step 2: Enter RIP configuration mode: R1(config)# router rip
  3. 3.Step 3: Enable RIP version 2: R1(config-router)# version 2
  4. 4.Step 4: Disable auto-summary: R1(config-router)# no auto-summary
  5. 5.Step 5: Advertise the classful network: R1(config-router)# network 10.0.0.0
  6. 6.Step 6: Exit and save: R1(config-router)# end; R1# copy running-config startup-config
Configuration
!
R1(config)# router rip
R1(config-router)# version 2
R1(config-router)# no auto-summary
R1(config-router)# network 10.0.0.0
R1(config-router)# end

Verify: On R2, use `show ip route rip`. Expected output: routes like 10.1.1.0/24, 10.1.2.0/25, and 10.2.0.0/16 appear with their specific masks. Use `show ip protocols` to confirm auto-summary is disabled.

Watch out: If you forget to include `network 10.0.0.0`, the router will not advertise any subnets of 10.0.0.0/8. Also, ensure that all routers in the RIP domain have `no auto-summary` configured to avoid inconsistent routing.

Troubleshooting with This Command

When troubleshooting RIP routing issues, verifying the auto-summary status is a crucial step. The primary command to check is `show ip protocols`. In the output, look for the line 'Automatic network summarization is in effect' or 'Automatic network summarization is not in effect'.

If summarization is enabled, you may see that routes are being advertised as classful networks rather than with their actual subnet masks. This can lead to routing loops or suboptimal paths, especially in discontiguous networks. Another useful command is `show ip route rip`, which displays the RIP-learned routes.

If you see only classful network entries (e.g., 10.0.0.0/8) instead of specific subnets (e.g., 10.1.1.0/24), auto-summary is likely enabled. Additionally, `debug ip rip` can be used to see actual route advertisements. In the debug output, you will see the prefixes being sent.

If they appear as classful summaries, auto-summary is active. A step-by-step diagnostic flow: 1) Check `show ip protocols` to see if auto-summary is enabled. 2) If enabled, enter router configuration mode and issue `no auto-summary`. 3) Verify with `show ip protocols` again. 4) Check `show ip route rip` to confirm that specific subnets appear. 5) If routes still appear summarized, ensure RIP version 2 is configured (RIPv1 always summarizes). 6) Also verify that all routers in the path have consistent auto-summary settings. Common symptoms that this command helps diagnose include: missing routes to specific subnets, routing loops when traffic is sent to a summarized network, and inconsistent routing tables across routers.

Correlating `show ip protocols` with `show ip route` and `debug ip rip` provides a complete picture. For example, if `show ip route` shows a summary route but `debug ip rip` shows the specific subnet being received, the issue might be that the receiving router is summarizing before installing the route. In such cases, disabling auto-summary on the receiving router resolves the issue.

Remember that `no auto-summary` only affects RIP updates sent out; it does not affect how the router installs received routes. Therefore, if a neighbor router still summarizes, you may need to disable auto-summary there as well. Another common pitfall is that `no auto-summary` is a per-process command; if you have multiple RIP processes, you must configure it under each.

In summary, `no auto-summary` is a simple but powerful troubleshooting tool for classless routing issues in RIP environments.

CCNA Exam Tips

1.

CCNA exam tip: Remember that 'no auto-summary' is required for RIP to support VLSM and discontiguous networks; without it, RIP will summarize to classful boundaries.

2.

CCNA exam tip: The exam may ask you to identify why a route is missing; if auto-summary is enabled, a more specific subnet may be hidden by a summary route.

3.

CCNA exam tip: 'no auto-summary' is configured under router rip mode, not interface mode.

4.

CCNA exam tip: EIGRP also uses 'no auto-summary' but it is enabled by default in older IOS versions; in newer versions, it is disabled by default.

Common Mistakes

Mistake 1: Forgetting to disable auto-summary when using VLSM, causing subnets to be summarized and some networks becoming unreachable.

Mistake 2: Applying 'no auto-summary' in global configuration mode instead of router rip mode, resulting in an error.

Mistake 3: Assuming auto-summary is off by default; in older IOS versions, it is on by default for RIP.

no auto-summary vs router rip

The commands 'no auto-summary' and 'router rip' are often mentioned together in RIP configuration discussions, but they serve entirely different purposes: one is a subcommand that modifies RIP behavior, while the other is the global command that enters RIP configuration mode. Understanding their distinct roles is essential for proper RIP tuning.

Aspectno auto-summaryrouter rip
ScopeSubcommand within RIP configGlobal entry command for RIP
Configuration modeRouter(config-router)#Router(config)#
PersistencePersists until explicitly changed with 'auto-summary'Enters mode; config is saved when exit is applied
PrecedenceModifies RIP behavior after RIP is enabledMust be issued before any RIP subcommands
Typical useDisable automatic summarization for variable-length subnet masksEnable RIP and configure its parameters

Use no auto-summary when you need to advertise subnets with their actual masks in a discontiguous network.

Use router rip when you need to start or enter RIP configuration mode to enable or modify RIP settings.

Platform Notes

In Cisco IOS (including IOS 12.x, 15.x, and IOS-XE 16.x), the `no auto-summary` command is available under router rip configuration mode. The syntax and behavior are consistent across these versions. However, in IOS-XE, the command is identical.

For NX-OS, RIP is supported but rarely used; the equivalent command is also `no auto-summary` under router rip. Note that NX-OS RIP does not support auto-summary by default, so the command may not be necessary. In IOS-XR, RIP is not supported; instead, use OSPF or IS-IS.

On ASA devices, RIP is not supported; use OSPF or EIGRP. There are no differences in output format between IOS versions for this command. The command is saved in the running configuration and can be verified with `show running-config | section router rip`.

In some older IOS versions (pre-12.0), the command might not exist, but those versions are obsolete. Always ensure that RIP version 2 is enabled when using `no auto-summary`, as RIPv1 ignores this command. The command does not affect the router's own routing table summarization; it only controls what is advertised.

For manual summarization, use `ip summary-address rip` under interface configuration. In summary, `no auto-summary` is a straightforward command with consistent behavior across modern IOS platforms.

Related Commands

Practice for the CCNA 200-301

Test your knowledge with practice questions covering all CCNA 200-301 exam domains.

Practice CCNA 200-301 Questions