Configuring Redistribution

Refer to the Section 3.1 for Configuration Guidelines and Figure Topology 1 for Testing iS5Com RIP for the Setup. The prerequisite configuration needs to be done in the switches (ISS 1 and ISS 2) before configuring RIP.

To configure Redistribution, execute the following commands in the switch ISS 1.

Type the following:

  • Enter the Global Configuration Mode in ISS 1.
iS5comm# configure terminal
  • Enable RIP globally in the switch ISS 1.
iS5comm(config)# router rip
  • Enable RIP over the interface VLAN 1 (IP address 10.0.0.1/16).
iS5comm(config-router)# network 10.0.0.1
  • Configure the redistribution of static routes into RIP domain.
iS5comm(config-router)# redistribute static
  • Exit from the Router Configuration Mode.
iS5comm(config-router)# end

Sample Configuration for Testing Redistribution

Refer to the Section 3.1 for Configuration Guidelines and Figure Topology 1 for Testing iS5Com RIP for the Setup. The prerequisite configuration needs to be done in the switches (ISS 1 and ISS 2) before configuring RIP.

  1. To test Redistribution, execute the following commands in the switch ISS 1.

    Type the following:

    • Enter the Global Configuration Mode in ISS 1.
    iS5comm# configure terminal
    • Enable RIP globally in the switch ISS 1.
    iS5comm(config)# router rip
    • Enable RIP over the interface VLAN 1 (IP address 10.0.0.1/16).
    iS5comm(config-router)# network 10.0.0.1
    • Configure the redistribution of static routes into RIP domain.
    iS5comm(config-router)# redistribute static
    • Exit from to the Router Configuration Mode.
    iS5comm(config-router)# exit
    • Add static routes.
    iS5comm(config)# ip route 50.0.0.0 255.0.0.0 vlan 2
    iS5comm(config)# ip route 60.0.0.0 255.0.0.0 vlan 2
    iS5comm(config)# ip route 70.0.0.0 255.0.0.0 vlan 2
    iS5comm(config)# ip route 80.0.0.0 255.0.0.0 vlan 2
  2. To test Redistribution, execute the following commands in the switch ISS 2.

    Type the following:

    • Enter the Global Configuration Mode in ISS 2.
    iS5comm# configure terminal
    • Enable RIP globally in the switch ISS 2.
    iS5comm(config)# router rip
    • Enable RIP over the interface VLAN 1 (IP address 10.0.0.1/16).
    iS5comm(config-router)# network 10.0.0.2
  3. View the redistribution of static routes using the following command.

    Type the following:

    iS5comm# show ip protocols
    Routing Protocol is rip
    RIP2 security level is Maximum
     Redistributing : rip, static
     Output Delay is Enabled
     Retransmission timeout interval is 5 seconds
     Number of retransmission retries is 36
    Default metric is 3
    Auto-Summarisation of routes is enabled
     Routing for Networks:
     10.0.0.0
     Routing Information Sources :
    Interface Specific Address Summarisation:
     Interface vlan1
     Sending updates every 30 seconds
     Invalid after 180 seconds
     Flushed after 120 seconds
     Send version is 1 2, receive version is 1 2
     Authentication type is none
     Split Horizon with poissoned reverse is enabled
    Restricts default route installation
     Restricts default route origination
    Routing Protocol is "ospf" Router ID 0.0.0.0
     Number of areas in this router is 0 . 0 normal 0 stub 0 nssa
     Routing for Networks:
     Passive Interface(s):
     Routing Information Sources:
    Gateway         Distance      Last Update(secs)
     Distance: (default is 121)
    Routing Protocol is "bgp 0"
    Outgoing update filter list for all interfaces is not set
    Incoming update filter list for all interfaces is not set
    IGP synchronization is disabled
    Neighbor(s):
    Address
    Routing Information sources:
    Gateway  Last Update
  4. View the RIP route entries for the static routes added in ISS 1. Static routes added in ISS 1 with metric 3 are redistributed into the RIP domain. In ISS2, view the redistributed static routes with metric 4 using the following command.

    Type the following:

    iS5comm# show ip rip database
    10.0.0.0/8  [1]        auto-summary
    10.0.0.0/16 [1]        directly connected, vlan1
    50.0.0.0/8  [4]        auto-summary
    50.0.0.0/8  [4]        via 10.0.0.1, vlan1
    60.0.0.0/8  [4]        auto-summary
    60.0.0.0/8  [4]        via 10.0.0.1, vlan1
    70.0.0.0/8  [4]        auto-summary
    70.0.0.0/8  [4]        via 10.0.0.1, vlan1
    80.0.0.0/8  [4]        auto-summary
    80.0.0.0/8  [4]        via 10.0.0.1, vlan1
    iS5comm# show ip route
    C 10.0.0.0/16 is directly connected, vlan1
    C 30.2.2.0/24 is directly connected, vlan3
    R 50.0.0.0/8  [4] via 10.0.0.1
    R 60.0.0.0/8  [4] via 10.0.0.1
    R 70.0.0.0/8  [4] via 10.0.0.1
    R 80.0.0.0/8  [4] via 10.0.0.1
  5. To disable Redistribution, execute the following commands in the switch ISS 1.

    Type the following:

    • Enter the Global Configuration Mode in ISS 1.
    iS5comm# configure terminal
    • Enable RIP globally in the switch ISS 1.
    iS5comm(config)# router rip
    • Disable the redistribution of static routes into RIP domain.
    iS5comm(config-router)# no redistribute static
    • Exit from the Router Configuration Mode.
    iS5comm(config-router)# end
  6. View in ISS2, the RIP route entries for the static routes added in ISS 1, which are made as unreachable with metric as infinity (16). Static routes added in ISS 1 are redistributed into the RIP domain by using the following command.

    Type the following:

    iS5comm# show ip rip database
    10.0.0.0/8  [1]        auto-summary
    10.0.0.0/16 [1]        directly connected, vlan1
    50.0.0.0/8  [4]        via 10.0.0.1, vlan1
    60.0.0.0/8  [4]        via 10.0.0.1, vlan1
    70.0.0.0/8  [4]        via 10.0.0.1, vlan1
    80.0.0.0/8  [4]        via 10.0.0.1, vlan1
    iS5comm# show ip route
    C 10.0.0.0/16 is directly connected, vlan1
    C 30.2.2.0/24 is directly connected, vlan3

Redistribution of Connected Networks

Refer to the Section 3.1 for Configuration Guidelines and Figure Topology 2 for Testing iS5Com RIP for the Setup. The prerequisite configuration needs to be done in the switches (ISS 1, ISS 2 and ISS 3) before configuring RIP.

Use redistribute connected command to make sure that connected networks between the switches are redistributed as well and have full reachability.

Note that the redistribute connected command will just redistribute all connected networks regardless of their involvement in the redistribution process.

If we want to filter the redistributed connected networks to include only the connected networks between the switches, use a route map to filter them.

For connected redistribution, execute the following commands:

Type the following:

  • Enter the Global Configuration Mode.
iS5comm# configure terminal
  • Enable RIP globally in the switch ISS1.
iS5comm(config)# router rip
  • Enable RIP over the interface VLAN 1 (IP address 10.0.0.1/16).
iS5comm(config-router)# network 10.0.0.1
  • Use option connected to ensure that the connected network between the switches are redistributed.
iS5comm(config-router)# redistribute connected
  • Exit from to the Router Configuration Mode.
iS5comm(config-router)# exit