Skip Navigation Links
Exit Print View
| Oracle Ethernet Switches ### L2 and L3 Deployment Best Practices

Search Scope:

- This Document
- Entire Library

## Configure Switch `ES1-24p-2` for L3 Routing Using RIP

1. Start the configuration with all ports and the default VLAN shutdown.

   Disable GVRP and GMRP.

       ES1-24p-2 SEFOS# configure terminal
       ES1-24p-2 SEFOS(config)# set gvrp disable
       ES1-24p-2 SEFOS(config)# set gmrp disable
       ES1-24p-2 SEFOS(config)# set port-channel enable
       ES1-24p-2 SEFOS(config)# interface vlan 1
       ES1-24p-2 SEFOS(config-if)# shutdown
       ES1-24p-2 SEFOS(config-if)# no ip address
       ES1-24p-2 SEFOS(config-if)# exit
       ES1-24p-2 SEFOS(config)# interface range extreme-ethernet 0/1-24
       ES1-24p-2 SEFOS(config-if-range)# shutdown
       ES1-24p-2 SEFOS(config-if-range)# end

2. Create and enable port-channels between switches per the topology.

   See L2 and L3 Topology.

       ES1-24p-2 SEFOS# configure terminal
       ES1-24p-2 SEFOS(config)# interface port-channel 14
       ES1-24p-2 SEFOS(config-if)# no shutdown
       ES1-24p-2 SEFOS(config-if)# exit
       ES1-24p-2 SEFOS(config)# interface port-channel 15
       ES1-24p-2 SEFOS(config-if)# no shutdown
       ES1-24p-2 SEFOS(config-if)# exit
       ES1-24p-2 SEFOS(config)# end

3. Configure VLANs manually.

   You must add at least one port to the VLAN before you can assign the VLAN a name.

   Note - You can add VLANs as tagged or untagged to a port or a port-channel in three different ways. See Adding VLANs.

       ES1-24p-2 SEFOS# configure terminal
       ES1-24p-2 SEFOS(config)# vlan 2005
       ES1-24p-2 SEFOS(config-vlan)# ports add port-channel 14 untagged port-channel 14 name 192_168_205_0_RIP_P2P
       ES1-24p-2 SEFOS(config-vlan)# vlan active
       ES1-24p-2 SEFOS(config-vlan)# exit
       ES1-24p-2 SEFOS(config)# vlan 2006
       ES1-24p-2 SEFOS(config-vlan)# ports add port-channel 15 untagged port channel 15 name 192_168_206_0_RIP_P2P
       ES1-24p-2 SEFOS(config-vlan)# vlan active
       ES1-24p-2 SEFOS(config-vlan)# exit
       ES1-24p-2 SEFOS(config)# vlan 60
       ES1-24p-2 SEFOS(config-vlan)# ports add extreme-ethernet 0/1 untagged extreme-ethernet 0/1 name 192_168_60_0_HOST_P2P
       ES1-24p-2 SEFOS(config-vlan)# vlan active
       ES1-24p-2 SEFOS(config-vlan)# exit
       ES1-24p-2 SEFOS(config)# end

4. Configure the port-channels as access links by setting the pvid and adding port-channels to VLANs.

   Also, disable spanning-tree on all uplinks.

       ES1-24p-2 SEFOS# configure terminal
       ES1-24p-2 SEFOS(config)# interface port-channel 14
       ES1-24p-2 SEFOS(config-if)# switchport pvid 2005
       ES1-24p-2 SEFOS(config-if)# spanning-tree disable
       ES1-24p-2 SEFOS(config-if)# exit
       ES1-24p-2 SEFOS(config)# interface port-channel 15
       ES1-24p-2 SEFOS(config-if)# switchport pvid 2006
       ES1-24p-2 SEFOS(config-if)# spanning-tree disable
       ES1-24p-2 SEFOS(config-if)# exit
       ES1-24p-2 SEFOS(config)# end

5. Add the ports to the appropriate port-channels and enable the uplink interfaces to the aggregation switches.

   Configure the host port as an access link with a different VLAN.

       ES1-24p-2 SEFOS# configure terminal
       ES1-24p-2 SEFOS(config)# interface extreme-ethernet 0/1
       ES1-24p-2 SEFOS(config-if)# description "connected to eth1 nsn172-76"
       ES1-24p-2 SEFOS(config-if)# switchport pvid 60
       ES1-24p-2 SEFOS(config-if)# no shutdown
       ES1-24p-2 SEFOS(config-if)# exit
       ES1-24p-2 SEFOS(config)# interface extreme-ethernet 0/23
       ES1-24p-2 SEFOS(config-if)# description "connected to ToR72p-1 on port68"
       ES1-24p-2 SEFOS(config-if)# channel-group 14 mode active
       ES1-24p-2 SEFOS(config-if)# no shutdown
       ES1-24p-2 SEFOS(config-if)# exit
       ES1-24p-2 SEFOS(config)# interface extreme-ethernet 0/21
       ES1-24p-2 SEFOS(config-if)# description "connected to ToR72p-1 on port72"
       ES1-24p-2 SEFOS(config-if)# channel-group 14 mode active
       ES1-24p-2 SEFOS(config-if)# no shutdown
       ES1-24p-2 SEFOS(config-if)# exit
       ES1-24p-2 SEFOS(config)# interface extreme-ethernet 0/24
       ES1-24p-2 SEFOS(config-if)# description "connected to ToR72p-2 on port67"
       ES1-24p-2 SEFOS(config-if)# channel-group 15 mode active
       ES1-24p-2 SEFOS(config-if)# no shutdown
       ES1-24p-2 SEFOS(config-if)# exit
       ES1-24p-2 SEFOS(config)# interface extreme-ethernet 0/22
       ES1-24p-2 SEFOS(config-if)# description "connected to ToR72p-2 on port72"
       ES1-24p-2 SEFOS(config-if)# channel-group 15 mode active
       ES1-24p-2 SEFOS(config-if)# no shutdown
       ES1-24p-2 SEFOS(config-if)# exit
       ES1-24p-2 SEFOS(config)# end

6. Configure the L3 interface for all VLANs defined previously.

       ES1-24p-2 SEFOS# configure terminal
       ES1-24p-2 SEFOS(config)# interface vlan 2005
       ES1-24p-2 SEFOS(config-if)# ip address 192.168.205.20 255.255.255.0
       ES1-24p-2 SEFOS(config-if)# no shutdown
       ES1-24p-2 SEFOS(config-if)# exit
       ES1-24p-2 SEFOS(config)# interface vlan 2006
       ES1-24p-2 SEFOS(config-if)# ip address 192.168.206.20 255.255.255.0
       ES1-24p-2 SEFOS(config-if)# no shutdown
       ES1-24p-2 SEFOS(config-if)# exit
       ES1-24p-2 SEFOS(config)# interface vlan 60
       ES1-24p-2 SEFOS(config-if)# ip address 192.168.60.10 255.255.255.0
       ES1-24p-2 SEFOS(config-if)# no shutdown
       ES1-24p-2 SEFOS(config-if)# exit
       ES1-24p-2 SEFOS(config)# end

7. Enable RIP, and advertise the networks that are reachable through this switch.

       ES1-24p-2 SEFOS# configure terminal
       ES1-24p-2 SEFOS(config)# router rip
       ES1-24p-2 SEFOS(config-router)# version 2
       ES1-24p-2 SEFOS(config-router)# auto-summary disable
       ES1-24p-2 SEFOS(config-router)# redistribute connected
       ES1-24p-2 SEFOS(config-router)# network 192.168.205.20
       ES1-24p-2 SEFOS(config-router)# network 192.168.206.20
       ES1-24p-2 SEFOS(config-router)# network 192.168.60.10
       ES1-24p-2 SEFOS(config-router)# end

8. Enable the VLANs to send and receive RIP version 2 updates.

       ES1-24p-2 SEFOS# configure terminal
       ES1-24p-2 SEFOS(config)# interface vlan 2005
       ES1-24p-2 SEFOS(config-if)# ip rip send version 2
       ES1-24p-2 SEFOS(config-if)# ip rip receive version 2
       ES1-24p-2 SEFOS(config-if)# exit
       ES1-24p-2 SEFOS(config)# interface vlan 2006
       ES1-24p-2 SEFOS(config-if)# ip rip send version 2
       ES1-24p-2 SEFOS(config-if)# ip rip receive version 2
       ES1-24p-2 SEFOS(config-if)# exit
       ES1-24p-2 SEFOS(config)# interface vlan 60
       ES1-24p-2 SEFOS(config-if)# ip rip send version 2
       ES1-24p-2 SEFOS(config-if)# ip rip receive version 2
       ES1-24p-2 SEFOS(config-if)# exit
       ES1-24p-2 SEFOS(config)# end

9. Save the configuration.

       ES1-24p-2 SEFOS# copy run start
       Building configuration ...
       [OK]
       ES1-24p-2 SEFOS#

10. Verify the status of the interfaces.

        ES1-24p-2 SEFOS# show interface description

        Interface    Status   Protocol  Description
        ---------    ------   --------  -----------
        Ex0/1        up       up        connected to eth1 nsn172-76
        Ex0/2        down     down
        :
        :
        Ex0/20       down     down
        Ex0/21       up       up        connected to ToR72p-1 on port72
        Ex0/22       up       up        connected to ToR72p-2 on port72
        Ex0/23       up       up        connected to ToR72p-1 on port68
        Ex0/24       up       up        connected to ToR72p-2 on port67
        po14         up       up
        po15         up       up
        vlan1        down     down
        vlan2005     up       up
        vlan2006     up       up
        vlan60       up       up

11. Verify the routes learned.

        ES1-24p-2 SEFOS# show ip route

        Codes: C - connected, S - static, R - rip, B - bgp, O - ospf

        R 192.168.9.0/24 [3] via 192.168.205.10
        R 192.168.20.0/24 [3] via 192.168.205.10
        R 192.168.30.0/24 [2] via 192.168.205.10
        R 192.168.40.0/24 [4] via 192.168.205.10
        R 192.168.50.0/24 [3] via 192.168.205.10
        C 192.168.60.0/24 is directly connected, vlan60
        R 192.168.100.0/24 [3] via 192.168.205.10
        R 192.168.101.0/24 [3] via 192.168.205.10
        R 192.168.150.0/24 [3] via 192.168.205.10
        R 192.168.151.0/24 [3] via 192.168.205.10
        R 192.168.201.0/24 [2] via 192.168.205.10
        R 192.168.202.0/24 [3] via 192.168.205.10
        R 192.168.203.0/24 [2] via 192.168.205.10
        R 192.168.204.0/24 [3] via 192.168.205.10
        C 192.168.205.0/24 is directly connected, vlan2005
        C 192.168.206.0/24 is directly connected, vlan2006
        R 192.168.205.0/24 [2] via 192.168.203.10
        R 192.168.206.0/24 [3] via 192.168.203.10
        R 45.45.45.0/24 [3] via 192.168.205.10
        R 45.45.46.0/24 [3] via 192.168.205.10
        R 45.45.47.0/24 [3] via 192.168.205.10
        R 45.45.48.0/24 [3] via 192.168.205.10
        R 45.45.49.0/24 [3] via 192.168.205.10
        R 45.45.50.0/24 [3] via 192.168.205.10
        R 45.45.51.0/24 [3] via 192.168.205.10
        ...

12. Verify the number of routes.

    After IXIA sends 500 routes to the core switch, those routes are learned on this switch.

        ES1-24p-2 SEFOS# show ip route summary

        Route Source    Routes
        connected         3
        static            0
        rip               513
        bgp               0
        ospf              0
        Total             516

##### Related Information

- Configure Switch `TOR72p-1` for L3 Routing Using RIP

- Configure Switch `TOR72p-2` for L3 Routing Using RIP

- Configure Switch `ES1-24p-1` for L3 Routing Using RIP

- Verify the L3 RIP Configuration

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices |