RIP summary route advertisement configuration example

Network requirements

As shown in Figure 10, Switch A, Switch B, Switch C, and Switch D all run RIP..

Figure 10: Network diagram

Configuration procedure

  1. Configure IP addresses for interfaces. (Details not shown.)

  2. Configure basic RIP:

    # Configure Switch A.

    [SwitchA] rip 200
    [SwitchA-rip-200] version 2
    [SwitchA-rip-200] undo summary
    [SwitchA-rip-200] network 10.2.1.0
    [SwitchA-rip-200] network 10.5.1.0
    

    # Configure Switch B.

    [SwitchB] rip 200
    [SwitchB-rip-200] version 2
    [SwitchB-rip-200] undo summary
    [SwitchB-rip-200] network 10.1.1.0
    [SwitchB-rip-200] network 10.6.1.0
    

    # Configure Switch C.

    [SwitchC] rip 100
    [SwitchC-rip-100] version 2
    [SwitchC-rip-100] undo summary
    [SwitchC-rip-100] network 11.3.1.0
     [SwitchC-rip-100] quit
    [SwitchC] rip 200
    [SwitchC-rip-200] version 2
    [SwitchC-rip-200] undo summary
    [SwitchC-rip-200] network 10.2.1.0
     [SwitchC-rip-200] quit
    

    # Configure Switch D.

    [SwitchD] rip 100
    [SwitchD-rip-100] version 2
    [SwitchD-rip-100] undo summary
    [SwitchD-rip-100] network 11.3.1.0
    [SwitchD-rip-100] network 11.4.1.0
    [SwitchD-rip-100] quit
    

    # Configure Switch C to redistribute routes from RIP process 200 and direct routes for RIP process 100.

    [SwitchC] rip 100
    [SwitchC-rip-100] import-route direct
    [SwitchC-rip-100] import-route rip 200
    [SwitchC-rip-100] quit
    

    # Display the IP routing table on Switch D.

    [SwitchD] display ip routing-table
    
    Destinations : 15        Routes : 15
    
    Destination/Mask    Proto  Pre  Cost         NextHop         Interface
    0.0.0.0/32          Direct 0    0            127.0.0.1       InLoop0
    10.1.1.0/24         RIP    100  1            11.3.1.1        Vlan300
    10.2.1.0/24         RIP    100  1            11.3.1.1        Vlan300
    10.5.1.0/24         RIP    100  1            11.3.1.1        Vlan300
    10.6.1.0/24         RIP    100  1            11.3.1.1        Vlan300
    11.3.1.0/24         Direct 0    0            11.3.1.2        Vlan300
    11.3.1.0/32         Direct 0    0            11.3.1.2        Vlan300
    11.3.1.2/32         Direct 0    0            127.0.0.1       InLoop0
    11.4.1.0/24         Direct 0    0            11.4.1.2        Vlan400
    11.4.1.0/32         Direct 0    0            11.4.1.2        Vlan400
    11.4.1.2/32         Direct 0    0            127.0.0.1       InLoop0
    127.0.0.0/8         Direct 0    0            127.0.0.1       InLoop0
    127.0.0.0/32        Direct 0    0            127.0.0.1       InLoop0
    127.0.0.1/32        Direct 0    0            127.0.0.1       InLoop0
    127.255.255.255/32  Direct 0    0            127.0.0.1       InLoop0
    
  3. Configure route summarization:

    # Configure route summarization on Switch C and advertise only the summary route 10.0.0.0/8.

    [SwitchC] interface vlan-interface 300
    [SwitchC-Vlan-interface300] rip summary-address 10.0.0.0 8
    

    # Display the IP routing table on Switch D.

    [SwitchD] display ip routing-table
    
    Destinations : 12        Routes : 12
    
    Destination/Mask    Proto  Pre  Cost         NextHop         Interface
    0.0.0.0/32          Direct 0    0            127.0.0.1       InLoop0
    10.0.0.0/8          RIP    100  1            11.3.1.1        Vlan300
    11.3.1.0/24         Direct 0    0            11.3.1.2        Vlan300
    11.3.1.0/32         Direct 0    0            11.3.1.2        Vlan300
    11.3.1.2/32         Direct 0    0            127.0.0.1       InLoop0
    11.4.1.0/24         Direct 0    0            11.4.1.2        Vlan400
    11.4.1.0/32         Direct 0    0            11.4.1.2        Vlan400
    11.4.1.2/32         Direct 0    0            127.0.0.1       InLoop0
    127.0.0.0/8         Direct 0    0            127.0.0.1       InLoop0
    127.0.0.0/32        Direct 0    0            127.0.0.1       InLoop0
    127.0.0.1/32        Direct 0    0            127.0.0.1       InLoop0
    127.255.255.255/32  Direct 0    0            127.0.0.1       InLoop0