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-1` for L2 PVRST LLA Active/Active on the Servers

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

   Tip - It is a best practice to start the configuration with all the ports and default VLAN shutdown. Disable GVRP and GMRP because dynamic VLAN learning is not suggested.

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

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

   See L2 and L3 Topology.

       ES1-24p-1 SEFOS# configure terminal
       ES1-24p-1 SEFOS(config)# interface port-channel 131
       ES1-24p-1 SEFOS(config-if)# no shutdown
       ES1-24p-1 SEFOS(config-if)# exit
       ES1-24p-1 SEFOS(config)# interface port-channel 132
       ES1-24p-1 SEFOS(config-if)# no shutdown
       ES1-24p-1 SEFOS(config-if)# exit
       ES1-24p-1 SEFOS(config)# interface port-channel 100
       ES1-24p-1 SEFOS(config-if)# no shutdown
       ES1-24p-1 SEFOS(config-if)# exit
       ES1-24p-1 SEFOS(config)# interface port-channel 101
       ES1-24p-1 SEFOS(config-if)# no shutdown
       ES1-24p-1 SEFOS(config-if)# exit
       ES1-24p-1 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.

       ES1-24p-1 SEFOS# configure terminal
       ES1-24p-1 SEFOS(config)# vlan 300
       ES1-24p-1 SEFOS(config-vlan)# ports add port-channel 131 name external-vlan-1
       ES1-24p-1 SEFOS(config-vlan)# vlan active
       ES1-24p-1 SEFOS(config-vlan)# exit
       ES1-24p-1 SEFOS(config)# vlan 301
       ES1-24p-1 SEFOS(config-vlan)# ports add port-channel 131 name external-vlan-2
       ES1-24p-1 SEFOS(config-vlan)# vlan active
       ES1-24p-1 SEFOS(config-vlan)# exit
       ES1-24p-1 SEFOS(config)# vlan 302
       ES1-24p-1 SEFOS(config-vlan)# ports add port-channel 131 name external-vlan-3
       ES1-24p-1 SEFOS(config-vlan)# vlan active
       ES1-24p-1 SEFOS(config-vlan)# exit
       ES1-24p-1 SEFOS(config)# vlan 303
       ES1-24p-1 SEFOS(config-vlan)# ports add port-channel 131 name external-vlan-4
       ES1-24p-1 SEFOS(config-vlan)# vlan active
       ES1-24p-1 SEFOS(config-vlan)# exit
       ES1-24p-1 SEFOS(config)# vlan 200
       ES1-24p-1 SEFOS(config-vlan)# ports add port-channel 131  name internal-vlan-1
       ES1-24p-1 SEFOS(config-vlan)# vlan active
       ES1-24p-1 SEFOS(config-vlan)# exit
       ES1-24p-1 SEFOS(config)# vlan 201
       ES1-24p-1 SEFOS(config-vlan)# ports add port-channel 131  name internal-vlan-2
       ES1-24p-1 SEFOS(config-vlan)# vlan active
       ES1-24p-1 SEFOS(config-vlan)# exit
       ES1-24p-1 SEFOS(config)# vlan 202
       ES1-24p-1 SEFOS(config-vlan)# ports add port-channel 131  name internal-vlan-3
       ES1-24p-1 SEFOS(config-vlan)# vlan active
       ES1-24p-1 SEFOS(config-vlan)# exit
       ES1-24p-1 SEFOS(config)# vlan 203
       ES1-24p-1 SEFOS(config-vlan)# ports add port-channel 131  name internal-vlan-4
       ES1-24p-1 SEFOS(config-vlan)# vlan active
       ES1-24p-1 SEFOS(config-vlan)# end

4. Configure the port-channels to allow all VLANs.

       ES1-24p-1 SEFOS# configure terminal
       ES1-24p-1 SEFOS(config)# interface port-channel 131
       ES1-24p-1 SEFOS(config-if)# switchport mode trunk
       ES1-24p-1 SEFOS(config-if)# exit
       ES1-24p-1 SEFOS(config)# interface port-channel 132
       ES1-24p-1 SEFOS(config-if)# switchport mode trunk
       ES1-24p-1 SEFOS(config-if)# exit
       ES1-24p-1 SEFOS(config)# interface port-channel 100
       ES1-24p-1 SEFOS(config-if)# switchport mode trunk
       ES1-24p-1 SEFOS(config-if)# exit
       ES1-24p-1 SEFOS(config)# interface port-channel 101
       ES1-24p-1 SEFOS(config-if)# switchport mode trunk
       ES1-24p-1 SEFOS(config-if)# exit
       ES1-24p-1 SEFOS(config)# end

5. Enable the ports and add them to the appropriate port-channels.

   Configure the host port to allow all VLANs.

       ES1-24p-1 SEFOS# configure terminal
       ES1-24p-1 SEFOS(config)# interface extreme-ethernet 0/2
       ES1-24p-1 SEFOS(config-if)# description "connected to eth1 Host-6, LLA po101"
       ES1-24p-1 SEFOS(config-if)# channel-group 101 mode on
       ES1-24p-1 SEFOS(config-if)# no shutdown
       ES1-24p-1 SEFOS(config-if)# exit
       ES1-24p-1 SEFOS(config)# interface range extreme-ethernet 0/19-20
       ES1-24p-1 SEFOS(config-if-range)# description "connected to ES1-24p-2 on ports 19-20"
       ES1-24p-1 SEFOS(config-if-range)# channel-group 100 mode on
       ES1-24p-1 SEFOS(config-if-range)# no shutdown
       ES1-24p-1 SEFOS(config-if-range)# exit
       ES1-24p-1 SEFOS(config)# interface extreme-ethernet 0/23
       ES1-24p-1 SEFOS(config-if)# description "connected to ToR72p-1 on port67"
       ES1-24p-1 SEFOS(config-if)# channel-group 131 mode active
       ES1-24p-1 SEFOS(config-if)# no shutdown
       ES1-24p-1 SEFOS(config-if)# exit
       ES1-24p-1 SEFOS(config)# interface extreme-ethernet 0/21
       ES1-24p-1 SEFOS(config-if)# description "connected to ToR72p-1 on port71"
       ES1-24p-1 SEFOS(config-if)# channel-group 12 mode active
       ES1-24p-1 SEFOS(config-if)# no shutdown
       ES1-24p-1 SEFOS(config-if)# exit
       ES1-24p-1 SEFOS(config)# interface extreme-ethernet 0/24
       ES1-24p-1 SEFOS(config-if)# description "connected to ToR72p-2 on port68"
       ES1-24p-1 SEFOS(config-if)# channel-group 132 mode active
       ES1-24p-1 SEFOS(config-if)# no shutdown
       ES1-24p-1 SEFOS(config-if)# exit
       ES1-24p-1 SEFOS(config)# interface extreme-ethernet 0/22
       ES1-24p-1 SEFOS(config-if)# description "connected to ToR72p-2 on port71"
       ES1-24p-1 SEFOS(config-if)# channel-group 13 mode active
       ES1-24p-1 SEFOS(config-if)# no shutdown
       ES1-24p-1 SEFOS(config-if)# exit
       ES1-24p-1 SEFOS(config)# end

6. Configure the LLA role.

   Specify the inter-switch link and port-channel connecting to host to be part of LLA.

   Note - These settings take effect after saving the configuration and resetting SEFOS.

       ES1-24p-1 SEFOS# configure terminal
       ES1-24p-1 SEFOS(config)# lla
       ES1-24p-1 SEFOS(config-lla)# role primary
       ES1-24p-1 SEFOS(config-lla)# isl port-channel 100
       ES1-24p-1 SEFOS(config-lla)# lla port-channel 101
       ES1-24p-1 SEFOS(config-lla)# exit
       ES1-24p-1 SEFOS(config)# end

7. Enable the configured LLA and port-channels.

   Note - These settings take effect after saving the configuration and resetting SEFOS.

       ES1-24p-1 SEFOS# configure terminal
       ES1-24p-1 SEFOS(config)# set port-channel enable
       ES1-24p-1 SEFOS(config)# set lla enable
       ES1-24p-1 SEFOS(config)# end

8. Change the spanning-tree mode to PVRST and configure the bridge priority such that `ToR72p-1` is root for all internal VLANs.

       ES1-24p-1 SEFOS# configure terminal
       ES1-24p-1 SEFOS(config)# spanning-tree mode pvrst
       Spanning Tree enabled protocol is MSTP, now MSTP is being shutdown PVRST is started.
        PVRST Module status is changed
       ES1-24p-1 SEFOS(config)# spanning-tree vlan 200 brg-priority 61440
       ES1-24p-1 SEFOS(config)# spanning-tree vlan 201 brg-priority 61440
       ES1-24p-1 SEFOS(config)# spanning-tree vlan 202 brg-priority 61440
       ES1-24p-1 SEFOS(config)# spanning-tree vlan 203 brg-priority 61440
       ES1-24p-1 SEFOS(config)# spanning-tree vlan 300 brg-priority 40960
       ES1-24p-1 SEFOS(config)# spanning-tree vlan 301 brg-priority 40960
       ES1-24p-1 SEFOS(config)# spanning-tree vlan 302 brg-priority 40960
       ES1-24p-1 SEFOS(config)# spanning-tree vlan 303 brg-priority 40960
       ES1-24p-1 SEFOS(config)# spanning-tree vlan 1 brg-priority 40960
       ES1-24p-1 SEFOS(config)# end

9. Modify the spanning-tree cost on all VLANs for port-channels configured in the switch.

   With this setting, the spanning-tree makes port-channel 100 a designated port connecting `ES1-24p-1` and `ES1-24p-2`. This port is in the forwarding state.

       ES1-24p-1 SEFOS# configure terminal
       ES1-24p-1 SEFOS(config)# interface port-channel 131
       ES1-24p-1 SEFOS(config-if)# spanning-tree vlan 200 cost 1000
       ES1-24p-1 SEFOS(config-if)# spanning-tree vlan 201 cost 1000
       ES1-24p-1 SEFOS(config-if)# spanning-tree vlan 202 cost 1000
       ES1-24p-1 SEFOS(config-if)# spanning-tree vlan 203 cost 1000
       ES1-24p-1 SEFOS(config-if)# spanning-tree vlan 300 cost 1000
       ES1-24p-1 SEFOS(config-if)# spanning-tree vlan 301 cost 1000
       ES1-24p-1 SEFOS(config-if)# spanning-tree vlan 302 cost 1000
       ES1-24p-1 SEFOS(config-if)# spanning-tree vlan 303 cost 1000
       ES1-24p-1 SEFOS(config-if)# spanning-tree vlan 1 cost 1000
       ES1-24p-1 SEFOS(config-if)# exit
       ES1-24p-1 SEFOS(config)# interface port-channel 100
       ES1-24p-1 SEFOS(config-if)# spanning-tree vlan 200 cost 1000
       ES1-24p-1 SEFOS(config-if)# spanning-tree vlan 201 cost 1000
       ES1-24p-1 SEFOS(config-if)# spanning-tree vlan 202 cost 1000
       ES1-24p-1 SEFOS(config-if)# spanning-tree vlan 203 cost 1000
       ES1-24p-1 SEFOS(config-if)# spanning-tree vlan 300 cost 1000
       ES1-24p-1 SEFOS(config-if)# spanning-tree vlan 301 cost 1000
       ES1-24p-1 SEFOS(config-if)# spanning-tree vlan 302 cost 1000
       ES1-24p-1 SEFOS(config-if)# spanning-tree vlan 303 cost 1000
       ES1-24p-1 SEFOS(config-if)# spanning-tree vlan 1 cost 1000
       ES1-24p-1 SEFOS(config-if)# exit
       ES1-24p-1 SEFOS(config)# interface port-channel 132
       ES1-24p-1 SEFOS(config-if)# spanning-tree vlan 200 cost 1500
       ES1-24p-1 SEFOS(config-if)# spanning-tree vlan 201 cost 1500
       ES1-24p-1 SEFOS(config-if)# spanning-tree vlan 202 cost 1500
       ES1-24p-1 SEFOS(config-if)# spanning-tree vlan 203 cost 1500
       ES1-24p-1 SEFOS(config-if)# spanning-tree vlan 300 cost 1500
       ES1-24p-1 SEFOS(config-if)# spanning-tree vlan 301 cost 1500
       ES1-24p-1 SEFOS(config-if)# spanning-tree vlan 302 cost 1500
       ES1-24p-1 SEFOS(config-if)# spanning-tree vlan 303 cost 1500
       ES1-24p-1 SEFOS(config-if)# spanning-tree vlan 1 cost 1500
       ES1-24p-1 SEFOS(config-if)# end

10. Save the configuration.

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

11. Check the status of the interfaces.

        ES1-24p-1 SEFOS# show interface description
        Interface    Status   Protocol  Description
        ---------    ------   --------  -----------
        Ex0/1        down     down
        Ex0/2        up       up        connected to eth1 Host-6, LLA po 101
        Ex0/3        down     down
        Ex0/4        down     down
        ...
        Ex0/18       down     down
        Ex0/19       up       up        connected to ES1-24p-2 on ports 19-20
        Ex0/20       up       up        connected to ES1-24p-2 on ports 19-20
        Ex0/21       up       up        connected to ToR72p-1 on port71
        Ex0/22       up       up        connected to ToR72p-2 on port71
        Ex0/23       up       up        connected to ToR72p-1 on port67
        Ex0/24       up       up        connected to ToR72p-2 on port68
        po131        up       up
        po132        up       up
        po100        up       up
        po101        up       up
        vlan1        down     down

12. Check the spanning tree for each VLAN and the role and state of each interface.

        ES1-24p-1 SEFOS# show spanning-tree

        Spanning-tree for VLAN 200
        Root Id         Priority   8392
                        Address    00:21:28:77:d2:1d
                        Cost       100
                        Port       po131
                        Hello Time 2 Sec, Max Age 20 Sec, Forward Delay 15 Sec

        Spanning Tree Enabled Protocol PVRST
        Bridge Id       Priority 61640
                        Address 00:10:e0:2c:0f:21
                        Hello Time 2 sec, Max Age 20 sec, Forward Delay 15 sec
                        Dynamic Path Cost is Disabled
                        Dynamic Path Cost Lag-Speed Change is Disabled
        Name     Role         State        Cost     Prio   Type
        ----     ----         -----        ----     ----   ------
        po131    Root         Forwarding   100      128    P2P
        po132    Designated   Forwarding   1900     128    P2P
        po100    Designated   Forwarding   100      128    P2P
        po101    Designated   Forwarding   1900     128    P2P
        ...
        Spanning-tree for VLAN 302
        Root Id         Priority   4096
                        Address    00:17:df:18:9d:2e
                        Cost       20100
                        Port       po100
                        Hello Time 2 Sec, Max Age 20 Sec, Forward Delay 15 Sec

        Spanning Tree Enabled Protocol PVRST
        Bridge Id       Priority 61742
                        Address 00:10:e0:2c:0f:21
                        Hello Time 2 sec, Max Age 20 sec, Forward Delay 15 sec
                        Dynamic Path Cost is Disabled
                        Dynamic Path Cost Lag-Speed Change is Disabled
        Name     Role         State        Cost     Prio   Type
        ----     ----         -----        ----     ----   ------
        po131    Alternate    Discarding   1900     128    P2P
        po132    Alternate    Discarding   1900     128    P2P
        po100    Root         Forwarding   100      128    P2P
        po101    Designated   Forwarding   1900     128    P2P

##### Related Information

- Configure Switch `ES1-24p-2` for L2 PVRST LLA Active/Active on the Servers

- Configure Switch `ToR72p-1` for L2 PVRST LLA Active/Active on the Servers

- Configure Switch `ToR72p-2` for L2 PVRST LLA Active/Active on the Servers

- Verify the L2 PVRST LLA Active/Active Configuration on the Servers

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