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

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

   Disable GVRP and GMRP.

       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)# set port-channel enable
       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 12
       ES1-24p-1 SEFOS(config-if)# no shutdown
       ES1-24p-1 SEFOS(config-if)# exit
       ES1-24p-1 SEFOS(config)# interface port-channel 13
       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 extreme-ethernet 0/1 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 extreme-ethernet 0/1 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 extreme-ethernet 0/1 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 extreme-ethernet 0/1 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 extreme-ethernet 0/1 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 extreme-ethernet 0/1 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 extreme-ethernet 0/1 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 extreme-ethernet 0/1 name internal-vlan-4
       ES1-24p-1 SEFOS(config-vlan)# vlan active
       ES1-24p-1 SEFOS(config-vlan)# exit
       ES1-24p-1 SEFOS(config)# end

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

       ES1-24p-1 SEFOS# configure terminal
       ES1-24p-1 SEFOS(config)# interface port-channel 12
       ES1-24p-1 SEFOS(config-if)# switchport mode trunk
       ES1-24p-1 SEFOS(config-if)# exit
       ES1-24p-1 SEFOS(config)# interface port-channel 13
       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/1
       ES1-24p-1 SEFOS(config-if)# description "connected to eth1 Host-3"
       ES1-24p-1 SEFOS(config-if)# switchport mode trunk
       ES1-24p-1 SEFOS(config-if)# no shutdown
       ES1-24p-1 SEFOS(config-if)# 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 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/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 13 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

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

   Configure the bridge priority such that `ES1-24p-1` and `ES1-24p-2` are not a root bridge for any VLANs configured.

       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

7. Save the configuration.

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

8. Check the status of the interfaces.

       ES1-24p-1 SEFOS# show interface description

       Interface    Status   Protocol  Description
       ---------    ------   --------  -----------
       Ex0/1        down     down      connected to eth1 Host-3
       Ex0/2        down     down
       ...
       Ex0/20       down     down
       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
       po12         up       up
       po13         up       up
       vlan1        down     down

9. 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       1900
                       Port       po12
                       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
       ----     ----         -----        ----     ----   ------
       Ex0/1    Designated   Forwarding   20000    128    P2P
       po12     Root         Forwarding   1900     128    P2P
       po13     Designated   Forwarding   1900     128    P2P
       ...
       Spanning-tree for VLAN 302
       Root Id         Priority   4096
                       Address    00:17:df:18:9d:2e
                       Cost       21800
                       Port       po12
                       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
       ----     ----         -----        ----     ----   ------
       Ex0/1    Designated   Forwarding   20000    128    P2P
       po12     Root         Forwarding   1900     128    P2P
       po13     Alternate    Discarding   1900     128    P2P

##### Related Information

- Configure Switch `ToR72p-1` for L2 PVRST

- Configure Switch `ToR72p-2` for L2 PVRST

- Configure Switch `ES1-24p-2` for L2 PVRST

- Verify the L2 PVRST Configuration

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