Go to main content
Oracle Switch ES2-72 and Oracle Switch ES2-64 Product Notes

Exit Print View

Updated: November 2016
 
 

Fine Tune the VLAN Setup

The switch provides flexibility in managing ingress VLAN traffic. For example, you can enable port ingress filtering and can also specify the acceptable frame type to implement fine-grained control on the ingress traffic. Refer to the Sun Ethernet Fabric Operating System CLI Reference Manuals for details.

  1. Obtain the SEFOS prompt.
  2. Display the default port configuration.
    SEFOS# show vlan port config port extreme-ethernet 0/3
     
    Vlan Port configuration table
    -------------------------------
    Port Ex0/3
    Port Vlan ID                        : 1
    Port Acceptable Frame Type          : Admit All
    Port Ingress Filtering              : Disabled
    Port Mode                           : Hybrid
    Port Gvrp Status                    : Enabled
    Port Gmrp Status                    : Enabled
    Port Gvrp Failed Registrations      : 0
    Gvrp last pdu origin                : 00:00:00:00:00:00
    Port Restricted Vlan Registration   : Disabled
    Port Restricted Group Registration  : Disabled
    Mac Based Support                   : Disabled
    Subnet Based Support                : Disabled
    Port-and-Protocol Based Support     : Enabled
    Default Priority                    : 0
    Filtering Utility Criteria          : Default
    Port Protected Status               : Disabled
    -------------------------------------------------------
    
  3. Reconfigure the port.

    For example, to reconfigure the 10 GbE port Ex0/3 as a tagged port in vlan 3 and permitting only tagged frames:

    SEFOS# config terminal
    SEFOS(config)# vlan 3
    SEFOS(config-vlan)# port extreme-ethernet 0/3
    SEFOS(config-vlan)# exit
    SEFOS(config)# interface extreme-ethernet 0/3
    SEFOS(config-if)# switchport ingress-filter
    SEFOS(config-if)# switchport acceptable-frame-type tagged
    SEFOS(config-if)# end
    SEFOS# show vlan port config port extreme-ethernet 0/3
    Vlan Port configuration table
    -------------------------------
    Port Ex0/3
    Port Vlan ID                        : 1
    Port Acceptable Frame Type          : Admit Only Vlan Tagged
    Port Ingress Filtering              : Enabled
    Port Mode                           : Hybrid
    Port Gvrp Status                    : Enabled
    Port Gmrp Status                    : Enabled
    Port Gvrp Failed Registrations      : 0
    Gvrp last pdu origin                : 00:00:00:00:00:00
    Port Restricted Vlan Registration   : Disabled
    Port Restricted Group Registration  : Disabled
    Mac Based Support                   : Disabled
    Subnet Based Support                : Disabled
    Port-and-Protocol Based Support     : Enabled
    Default Priority                    : 0
    Filtering Utility Criteria          : Default
    Port Protected Status               : Disabled
    
  4. Add an untagged port.
    • To use the preferred method, go to Step 5.
    • To use the alternate method, go to Step 6.
  5. Add an untagged port using the preferred method.
    1. Type these commands.

      For example, add 10 GbE port Ex0/3 to vlan 3 as untagged:

      SEFOS# configure terminal
      SEFOS(config)# interface extreme-ethernet 0/3
      SEFOS(config-if)# switchport access vlan 3
      SEFOS(config-if)# end
      
    2. Verify the port VLAN ID.
      SEFOS# show vlan port config port extreme-ethernet 0/3
      Vlan Port configuration table
      -------------------------------
      Port Ex0/3
      Port Vlan ID                         : 3
      Port Acceptable Frame Type           : Admit All
      Port Ingress Filtering               : Enabled
      Port Mode                           : Hybrid
      Port Gvrp Status                    : Disabled
      Port Gmrp Status                    : Disabled
      Port Gvrp Failed Registrations      : 0
      Gvrp last pdu origin                : 00:00:00:00:00:00
      Port Restricted Vlan Registration   : Disabled
      Port Restricted Group Registration  : Disabled
      Mac Based Support                   : Disabled
      Subnet Based Support                : Disabled
      Port-and-Protocol Based Support     : Enabled
      Default Priority                    : 0
      Dot1x Protocol Tunnel Status        : Peer
      LACP Protocol Tunnel Status         : Peer
      Spanning Tree Tunnel Status         : Peer
      GVRP Protocol Tunnel Status         : Peer
      GMRP Protocol Tunnel Status         : Peer
      IGMP Protocol Tunnel Status         : Peer
      Filtering Utility Criteria          : Default
      Port Protected Status               : Disabled
      
  6. Add an untagged port using the alternate method.
    1. Type these commands.

      For example, add 10 GbE port Ex0/4 to vlan 4 as untagged.

      SEFOS# configure terminal
      SEFOS(config)# vlan 4
      SEFOS(config-vlan)# ports extreme-ethernet 0/4 untagged extreme-ethernet 0/4
      SEFOS(config-vlan)# exit
      SEFOS(config)# interface extreme-ethernet 0/4
      SEFOS(config-if)# switchport pvid 4
      SEFOS(config-if)# end
      
    2. Verify the port VLAN ID.
      SEFOS# show vlan port config port extreme-ethernet 0/4
       
      Vlan Port configuration table
      -------------------------------
      Port Ex0/4
      Port Vlan ID                         : 4
      Port Acceptable Frame Type           : Admit All
      Port Ingress Filtering               : Enabled
      Port Mode                            : Hybrid
      Port Gvrp Status                     : Disabled
      Port Gmrp Status                     : Disabled
      Port Gvrp Failed Registrations       : 0
      Gvrp last pdu origin                : 00:00:00:00:00:00
      Port Restricted Vlan Registration   : Disabled
      Port Restricted Group Registration  : Disabled
      Mac Based Support                   : Disabled
      Subnet Based Support                : Disabled
      Port-and-Protocol Based Support     : Enabled
      Default Priority                    : 0
      Dot1x Protocol Tunnel Status        : Peer
      LACP Protocol Tunnel Status         : Peer
      Spanning Tree Tunnel Status         : Peer
      GVRP Protocol Tunnel Status         : Peer
      GMRP Protocol Tunnel Status         : Peer
      IGMP Protocol Tunnel Status         : Peer
      Filtering Utility Criteria          : Default
      Port Protected Status               : Disabled