Skip Navigation Links
Exit Print View
| Sun Ethernet Fabric Operating System ### VLAN Administration Guide

Search Scope:

- This Document
- Entire Library

## Classify VLANs

VLANs have PVID-based classifications. To configure PVID-based classifications, you must ensure that the follow prerequisites are met:

- VLAN must be configured.

- PVID for ports must be configured.

See Default Settings for the topology for this procedure.

1. Configure the VLAN in switch 1.

       SEFOS# configure terminal
       SEFOS(config)# vlan 2
       SEFOS(config-vlan)# ports extreme-ethernet 0/15,0/19
       SEFOS(config-vlan)# end

2. Configure the PVID for interface `P1` as VLAN 2.

       SEFOS# configure terminal
       SEFOS(config)# interface extreme-ethernet 0/1
       SEFOS(config-if)# switchport pvid 2
       SEFOS(config-if)# end

3. Review the VLAN-related configurations.

       SEFOS# show vlan
       Vlan database
       -------------------
       Vlan ID             : 2
       Member Ports        : Ex0/15, Ex0/19
       Untagged Ports      : None
       Forbidden Ports     : None
       Name                :
       Status              : Permanent

4. Review the VLAN port configuration table.

       SEFOS# show vlan port config port extreme-ethernet 0/1
       Vlan Port configuration table
       --------------------------------------
       Port Ex0/15
       Port Vlan ID                        : 2
       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
       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

   Unicast packets should only reach host B as a tagged VLAN 2 packet that is sent by host A.

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