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

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)# 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 133
       ES1-24p-2 SEFOS(config-if)# no shutdown
       ES1-24p-2 SEFOS(config-if)# exit
       ES1-24p-2 SEFOS(config)# interface port-channel 134
       ES1-24p-2 SEFOS(config-if)# no shutdown
       ES1-24p-2 SEFOS(config-if)# exit
       ES1-24p-2 SEFOS(config)# interface port-channel 100
       ES1-24p-2 SEFOS(config-if)# no shutdown
       ES1-24p-2 SEFOS(config-if)# exit
       ES1-24p-2 SEFOS(config)# interface port-channel 101
       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.

       ES1-24p-2 SEFOS# configure terminal
       ES1-24p-2 SEFOS(config)# vlan 300
       ES1-24p-2 SEFOS(config-vlan)# ports add port-channel 133 name external-vlan-1
       ES1-24p-2 SEFOS(config-vlan)# vlan active
       ES1-24p-2 SEFOS(config-vlan)# exit
       ES1-24p-2 SEFOS(config)# vlan 301
       ES1-24p-2 SEFOS(config-vlan)# ports add port-channel 133 name external-vlan-2
       ES1-24p-2 SEFOS(config-vlan)# vlan active
       ES1-24p-2 SEFOS(config-vlan)# exit
       ES1-24p-2 SEFOS(config)# vlan 302
       ES1-24p-2 SEFOS(config-vlan)# ports add port-channel 133 name external-vlan-3
       ES1-24p-2 SEFOS(config-vlan)# vlan active
       ES1-24p-2 SEFOS(config-vlan)# exit
       ES1-24p-2 SEFOS(config)# vlan 303
       ES1-24p-2 SEFOS(config-vlan)# ports add port-channel 133 name external-vlan-4
       ES1-24p-2 SEFOS(config-vlan)# vlan active
       ES1-24p-2 SEFOS(config-vlan)# exit
       ES1-24p-2 SEFOS(config)# vlan 200
       ES1-24p-2 SEFOS(config-vlan)# ports add port-channel 133 name internal-vlan-1
       ES1-24p-2 SEFOS(config-vlan)# vlan active
       ES1-24p-2 SEFOS(config-vlan)# exit
       ES1-24p-2 SEFOS(config)# vlan 201
       ES1-24p-2 SEFOS(config-vlan)# ports add port-channel 133 name internal-vlan-2
       ES1-24p-2 SEFOS(config-vlan)# vlan active
       ES1-24p-2 SEFOS(config-vlan)# exit
       ES1-24p-2 SEFOS(config)# vlan 202
       ES1-24p-2 SEFOS(config-vlan)# ports add port-channel 133 name internal-vlan-3
       ES1-24p-2 SEFOS(config-vlan)# vlan active
       ES1-24p-2 SEFOS(config-vlan)# exit
       ES1-24p-2 SEFOS(config)# vlan 203
       ES1-24p-2 SEFOS(config-vlan)# ports add port-channel 133 name internal-vlan-4
       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 to allow all VLANs.

       ES1-24p-2 SEFOS# configure terminal
       ES1-24p-2 SEFOS(config)# interface port-channel 133
       ES1-24p-2 SEFOS(config-if)# switchport mode trunk
       ES1-24p-2 SEFOS(config-if)# exit
       ES1-24p-2 SEFOS(config)# interface port-channel 134
       ES1-24p-2 SEFOS(config-if)# switchport mode trunk
       ES1-24p-2 SEFOS(config-if)# exit
       ES1-24p-2 SEFOS(config)# interface port-channel 100
       ES1-24p-2 SEFOS(config-if)# switchport mode trunk
       ES1-24p-2 SEFOS(config-if)# exit
       ES1-24p-2 SEFOS(config)# interface port-channel 101
       ES1-24p-2 SEFOS(config-if)# switchport mode trunk
       ES1-24p-2 SEFOS(config-if)# exit
       ES1-24p-2 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-2 SEFOS# configure terminal
       ES1-24p-2 SEFOS(config)# interface extreme-ethernet 0/2
       ES1-24p-2 SEFOS(config-if)# description "connected to eth2 Host-6, LLA po101"
       ES1-24p-2 SEFOS(config-if)# channel-group 101 mode on
       ES1-24p-2 SEFOS(config-if)# no shutdown
       ES1-24p-2 SEFOS(config-if)# exit
       ES1-24p-2 SEFOS(config)# interface range extreme-ethernet 0/19-20
       ES1-24p-2 SEFOS(config-if-range)# description "connected to ES1-24p-2 on ports 19-20"
       ES1-24p-2 SEFOS(config-if-range)# channel-group 100 mode on
       ES1-24p-2 SEFOS(config-if-range)# no shutdown
       ES1-24p-2 SEFOS(config-if-range)# 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 133 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 133 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 134 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 134 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 LLA role and enable the configured port channels.

   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-2 SEFOS# configure terminal
       ES1-24p-2 SEFOS(config)# lla
       ES1-24p-2 SEFOS(config-lla)# role secondary
       ES1-24p-2 SEFOS(config-lla)# isl port-channel 100
       ES1-24p-2 SEFOS(config-lla)# lla port-channel 101
       ES1-24p-2 SEFOS(config-lla)# exit
       ES1-24p-2 SEFOS(config)# end

7. Enable LLA and port-channel.

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

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

8. Change the spanning-tree mode to PVRST and configure the bridge priority.

       ES1-24p-2 SEFOS# configure terminal
       ES1-24p-2 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-2 SEFOS(config)# spanning-tree vlan 200 brg-priority 61440
       ES1-24p-2 SEFOS(config)# spanning-tree vlan 201 brg-priority 61440
       ES1-24p-2 SEFOS(config)# spanning-tree vlan 202 brg-priority 61440
       ES1-24p-2 SEFOS(config)# spanning-tree vlan 203 brg-priority 61440
       ES1-24p-2 SEFOS(config)# spanning-tree vlan 300 brg-priority 40960
       ES1-24p-2 SEFOS(config)# spanning-tree vlan 301 brg-priority 40960
       ES1-24p-2 SEFOS(config)# spanning-tree vlan 302 brg-priority 40960
       ES1-24p-2 SEFOS(config)# spanning-tree vlan 303 brg-priority 40960
       ES1-24p-2 SEFOS(config)# spanning-tree vlan 1 brg-priority 40960
       ES1-24p-2 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 forwarding state.

       ES1-24p-1 SEFOS# configure terminal
       ES1-24p-1 SEFOS(config)# interface port-channel 134
       ES1-24p-1 SEFOS(config-if)# spanning-tree vlan 200 cost 3000
       ES1-24p-1 SEFOS(config-if)# spanning-tree vlan 201 cost 3000
       ES1-24p-1 SEFOS(config-if)# spanning-tree vlan 202 cost 3000
       ES1-24p-1 SEFOS(config-if)# spanning-tree vlan 203 cost 3000
       ES1-24p-1 SEFOS(config-if)# spanning-tree vlan 300 cost 3000
       ES1-24p-1 SEFOS(config-if)# spanning-tree vlan 301 cost 3000
       ES1-24p-1 SEFOS(config-if)# spanning-tree vlan 302 cost 3000
       ES1-24p-1 SEFOS(config-if)# spanning-tree vlan 303 cost 3000
       ES1-24p-1 SEFOS(config-if)# spanning-tree vlan 1 cost 3000
       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 133
       ES1-24p-1 SEFOS(config-if)# spanning-tree vlan 200 cost 3000
       ES1-24p-1 SEFOS(config-if)# spanning-tree vlan 201 cost 3000
       ES1-24p-1 SEFOS(config-if)# spanning-tree vlan 202 cost 3000
       ES1-24p-1 SEFOS(config-if)# spanning-tree vlan 203 cost 3000
       ES1-24p-1 SEFOS(config-if)# spanning-tree vlan 300 cost 3000
       ES1-24p-1 SEFOS(config-if)# spanning-tree vlan 301 cost 3000
       ES1-24p-1 SEFOS(config-if)# spanning-tree vlan 302 cost 3000
       ES1-24p-1 SEFOS(config-if)# spanning-tree vlan 303 cost 3000
       ES1-24p-1 SEFOS(config-if)# spanning-tree vlan 1 cost 3000
       ES1-24p-1 SEFOS(config-if)# end

10. Save the configuration.

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

11. 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       200
                        Port       po100
                        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:2a:fd:41
                        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
        ----     ----         -----        ----     ----   ------
        po133    Alternate    Discarding   1900     128    P2P
        po134    Designated   Forwarding   1900     128    P2P
        po100    Root         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       20000
                        Port       po134
                        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:2a:fd:41
                        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
        ----     ----         -----        ----     ----   ------
        po133    Alternate    Discarding   1900     128    P2P
        po134    Root         Forwarding   100      128    P2P
        po100    Designated   Forwarding   100      128    P2P
        po101    Designated   Forwarding   1900     128    P2P

##### Related Information

- Configure Switch `ES1-24p-1` 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 |