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

Search Scope:

- This Document
- Entire Library

## Configure Switch `ToR72p-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.

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

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

   See L2 and L3 Topology.

       ToR72p-2 SEFOS# configure terminal
       ToR72p-2 SEFOS(config)# interface port-channel 11
       ToR72p-2 SEFOS(config-if)# no shutdown
       ToR72p-2 SEFOS(config-if)# exit
       ToR72p-2 SEFOS(config)# interface port-channel 132
       ToR72p-2 SEFOS(config-if)# no shutdown
       ToR72p-2 SEFOS(config-if)# exit
       ToR72p-2 SEFOS(config)# interface port-channel 134
       ToR72p-2 SEFOS(config-if)# no shutdown
       ToR72p-2 SEFOS(config-if)# exit
       ToR72p-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.

       ToR72p-2 SEFOS# configure terminal
       ToR72p-2 SEFOS(config)# vlan 300
       ToR72p-2 SEFOS(config-vlan)# ports add extreme-ethernet 0/66 name external-vlan-1
       ToR72p-2 SEFOS(config-vlan)# vlan active
       ToR72p-2 SEFOS(config-vlan)# exit
       ToR72p-2 SEFOS(config)# vlan 301
       ToR72p-2 SEFOS(config-vlan)# ports add extreme-ethernet 0/66 name external-vlan-2
       ToR72p-2 SEFOS(config-vlan)# vlan active
       ToR72p-2 SEFOS(config-vlan)# exit
       ToR72p-2 SEFOS(config)# vlan 302
       ToR72p-2 SEFOS(config-vlan)# ports add extreme-ethernet 0/66 name external-vlan-3
       ToR72p-2 SEFOS(config-vlan)# vlan active
       ToR72p-2 SEFOS(config-vlan)# exit
       ToR72p-2 SEFOS(config)# vlan 303
       ToR72p-2 SEFOS(config-vlan)# ports add extreme-ethernet 0/66 name external-vlan-4
       ToR72p-2 SEFOS(config-vlan)# vlan active
       ToR72p-2 SEFOS(config-vlan)# exit
       ToR72p-2 SEFOS(config)# vlan 200
       ToR72p-2 SEFOS(config-vlan)# ports add extreme-ethernet 0/66 name internal-vlan-1
       ToR72p-2 SEFOS(config-vlan)# vlan active
       ToR72p-2 SEFOS(config-vlan)# exit
       ToR72p-2 SEFOS(config)# vlan 201
       ToR72p-2 SEFOS(config-vlan)# ports add extreme-ethernet 0/66 name internal-vlan-2
       ToR72p-2 SEFOS(config-vlan)# vlan active
       ToR72p-2 SEFOS(config-vlan)# exit
       ToR72p-2 SEFOS(config)# vlan 202
       ToR72p-2 SEFOS(config-vlan)# ports add extreme-ethernet 0/66 name internal-vlan-3
       ToR72p-2 SEFOS(config-vlan)# vlan active
       ToR72p-2 SEFOS(config-vlan)# exit
       ToR72p-2 SEFOS(config)# vlan 203
       ToR72p-2 SEFOS(config-vlan)# ports add extreme-ethernet 0/66 name internal-vlan-4
       ToR72p-2 SEFOS(config-vlan)# vlan active
       ToR72p-2 SEFOS(config-vlan)# exit
       ToR72p-2 SEFOS(config)# end

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

       ToR72p-2 SEFOS# configure terminal
       ToR72p-2 SEFOS(config)# interface port-channel 11
       ToR72p-2 SEFOS(config-if)# switchport mode trunk
       ToR72p-2 SEFOS(config-if)# exit
       ToR72p-2 SEFOS(config)# interface port-channel 132
       ToR72p-2 SEFOS(config-if)# switchport mode trunk
       ToR72p-2 SEFOS(config-if)# exit
       ToR72p-2 SEFOS(config)# interface port-channel 134
       ToR72p-2 SEFOS(config-if)# switchport mode trunk
       ToR72p-2 SEFOS(config-if)# exit
       ToR72p-2 SEFOS(config)# end

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

   Configure the host port to allow all VLANs.

       ToR72p-2 SEFOS# configure terminal
       ToR72p-2 SEFOS(config)# interface extreme-ethernet 0/66
       ToR72p-2 SEFOS(config-if)# description "connected to nxge1 Host-4"
       ToR72p-2 SEFOS(config-if)# switchport mode trunk
       ToR72p-2 SEFOS(config-if)# no shutdown
       ToR72p-2 SEFOS(config-if)# exit
       ToR72p-2 SEFOS(config)# interface extreme-ethernet 0/67
       ToR72p-2 SEFOS(config-if)# description "connected to ES1-24p-1 on port24"
       ToR72p-2 SEFOS(config-if)# channel-group 132 mode active
       ToR72p-2 SEFOS(config-if)# no shutdown
       ToR72p-2 SEFOS(config-if)# exit
       ToR72p-2 SEFOS(config)# interface extreme-ethernet 0/71
       ToR72p-2 SEFOS(config-if)# description "connected to ES1-24p-1 on port22"
       ToR72p-2 SEFOS(config-if)# channel-group 132 mode active
       ToR72p-2 SEFOS(config-if)# no shutdown
       ToR72p-2 SEFOS(config-if)# exit
       ToR72p-2 SEFOS(config)# interface extreme-ethernet 0/68
       ToR72p-2 SEFOS(config-if)# description "connected to ES1-24p-2 on port24"
       ToR72p-2 SEFOS(config-if)# channel-group 134 mode active
       ToR72p-2 SEFOS(config-if)# no shutdown
       ToR72p-2 SEFOS(config-if)# exit
       ToR72p-2 SEFOS(config)# interface extreme-ethernet 0/72
       ToR72p-2 SEFOS(config-if)# description "connected to ES1-24p-2 on port22"
       ToR72p-2 SEFOS(config-if)# channel-group 134 mode active
       ToR72p-2 SEFOS(config-if)# no shutdown
       ToR72p-2 SEFOS(config-if)# exit

6. Enable the uplink interfaces to the core switch and add them to port-channel.

       ToR72p-2 SEFOS(config)# interface extreme-ethernet 0/69
       ToR72p-2 SEFOS(config-if)# description "connected to Core switch on g1/2"
       ToR72p-2 SEFOS(config-if)# speed 1000
       ToR72p-2 SEFOS(config-if)# channel-group 11 mode active
       ToR72p-2 SEFOS(config-if)# no shutdown
       ToR72p-2 SEFOS(config-if)# exit
       ToR72p-2 SEFOS(config)# interface extreme-ethernet 0/70
       ToR72p-2 SEFOS(config-if)# description "connected to Core switch on g1/3"
       ToR72p-2 SEFOS(config-if)# speed 1000
       ToR72p-2 SEFOS(config-if)# channel-group 11 mode active
       ToR72p-2 SEFOS(config-if)# no shutdown
       ToR72p-2 SEFOS(config-if)# exit
       ToR72p-2 SEFOS(config)# end

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

       ToR72p-2 SEFOS# configure terminal
       ToR72p-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
       ToR72p-2 SEFOS(config)# spanning-tree vlan 200 brg-priority 16384
       ToR72p-2 SEFOS(config)# spanning-tree vlan 201 brg-priority 16384
       ToR72p-2 SEFOS(config)# spanning-tree vlan 202 brg-priority 16384
       ToR72p-2 SEFOS(config)# spanning-tree vlan 203 brg-priority 16384
       ToR72p-2 SEFOS(config)# spanning-tree vlan 300 brg-priority 40960
       ToR72p-2 SEFOS(config)# spanning-tree vlan 301 brg-priority 40960
       ToR72p-2 SEFOS(config)# spanning-tree vlan 302 brg-priority 40960
       ToR72p-2 SEFOS(config)# spanning-tree vlan 303 brg-priority 40960
       ToR72p-2 SEFOS(config)# spanning-tree vlan 1 brg-priority 40960
       ToR72p-2 SEFOS(config)# interface port-channel 15
       ToR72p-2 SEFOS(config-if)# spanning-tree vlan 200 cost 3000
       ToR72p-2 SEFOS(config-if)# spanning-tree vlan 201 cost 3000
       ToR72p-2 SEFOS(config-if)# spanning-tree vlan 202 cost 3000
       ToR72p-2 SEFOS(config-if)# spanning-tree vlan 203 cost 3000
       ToR72p-2 SEFOS(config-if)# spanning-tree vlan 300 cost 3000
       ToR72p-2 SEFOS(config-if)# spanning-tree vlan 301 cost 3000
       ToR72p-2 SEFOS(config-if)# spanning-tree vlan 302 cost 3000
       ToR72p-2 SEFOS(config-if)# spanning-tree vlan 303 cost 3000
       ToR72p-2 SEFOS(config-if)# spanning-tree vlan 1 cost 3000
       ToR72p-2 SEFOS(config-if)# exit
       ToR72p-2 SEFOS(config)# interface port-channel 13
       ToR72p-2 SEFOS(config-if)# spanning-tree vlan 200 cost 1500
       ToR72p-2 SEFOS(config-if)# spanning-tree vlan 201 cost 1500
       ToR72p-2 SEFOS(config-if)# spanning-tree vlan 202 cost 1500
       ToR72p-2 SEFOS(config-if)# spanning-tree vlan 203 cost 1500
       ToR72p-2 SEFOS(config-if)# spanning-tree vlan 300 cost 1500
       ToR72p-2 SEFOS(config-if)# spanning-tree vlan 301 cost 1500
       ToR72p-2 SEFOS(config-if)# spanning-tree vlan 302 cost 1500
       ToR72p-2 SEFOS(config-if)# spanning-tree vlan 303 cost 1500
       ToR72p-2 SEFOS(config-if)# spanning-tree vlan 1 cost 1500
       ToR72p-2 SEFOS(config-if)# exit
       ToR72p-2 SEFOS(config)# end

8. Save the configuration.

       ToR72p-2 SEFOS# copy run start
       Building configuration ...
       [OK]
       ToR72p-2 SEFOS#

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

   VLANs 200, 201, 302, and 303 should display the role of root.

       ToR72p-2 SEFOS# show spanning-tree

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

       Spanning Tree Enabled Protocol PVRST
       Bridge Id       Priority 16584
                       Address 00:21:28:56:d6:27
                       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
       ----     ----         -----        ----     ----   ------
       Ex0/66   Designated   Forwarding   2000     128    P2P
       po11     Designated   Forwarding   19900    128    P2P
       po132    Alternate    Discarding   1900     128    P2P
       po134    Root         Forwarding   1900     128    P2P
       ...
       Spanning-tree for VLAN 302
       Root Id         Priority   4096
                       Address    00:17:df:18:9d:2e
                       Cost       19900
                       Port       po11
                       Hello Time 2 Sec, Max Age 20 Sec, Forward Delay 15 Sec

       Spanning Tree Enabled Protocol PVRST
       Bridge Id       Priority 16686
                       Address 00:21:28:56:d6:27
                       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
       ----     ----         -----        ----     ----   ------
       Ex0/66   Designated   Forwarding   2000     128    P2P
       po11     Root         Forwarding   19900    128    P2P
       po132    Designated   Forwarding   1900     128    P2P
       po134    Designated   Forwarding   100      128    P2P

##### Related Information

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

- 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

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

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