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

Search Scope:

- This Document
- Entire Library

## Configure Regular VLAN 100 With Ports Used in an XVLAN

This example shows how to configure a VLAN with ports used in an XVLAN using the sample configuration presented in this guide. In the first steps, the configuration attempt fails because the ports are used in an XVLAN. Once sharing is enabled, tagged ports can be configured as members of regular VLANs. Only tagged port configuration is allowed, and untagged ports cannot be configured as members of regular VLANs.

1. Configure a VLAN using ports already used in an XVLAN.

       SEFOS# conf t
       SEFOS(config)# vlan 100
       SEFOS(config-vlan)# port ext 0/15-18 untagged ext 0/15-18
       /r% Untagged Port is already used in a XVLAN
       % Portlist Contains Port(s) used by XVLANs
       SEFOS(config-vlan)# port ext 0/15-18
       /r% XVLAN member Port Can not be Shared
       % Portlist Contains Port(s) used by XVLANs
       SEFOS(config-vlan)# exit

   With the default XVLAN configuration, ports cannot be shared between regular VLANs and XVLAN.

2. Enable sharing.

       SEFOS(config)# int range ext 0/15-18
       SEFOS(config-if-range)# switchport xvlan-vlan shared
       SEFOS(config-if-range)# exit
       SEFOS(config)# vlan 100
       SEFOS(config-vlan)# port ext 0/15-18 untagged ext 0/15-18
       /r% Untagged Port is already used in a XVLAN
       % Portlist Contains Port(s) used by XVLANs
       SEFOS(config-vlan)# port ext 0/15-18
       SEFOS(config-vlan)# end

   Only untagged port configuration is allowed.

3. View the VLAN configuration.

       SEFOS#
       SEFOS# show vlan

       Vlan database
       ----------------------------------------------------
       Vlan ID : 100
       Member Ports : Ex0/15, Ex0/16, Ex0/17, Ex0/18
       Untagged Ports : None
       Forbidden Ports : None
       Name :
       Status : Permanent
       ----------------------------------------------------

       TopNEM1 SEFOS# show xvlan
       Exclusive Vlan database
       ---------------------------
       XVlan ID : 10
       Type : Principal
       Principal XVlan : 10
       External Ports : Ex0/3, Ex0/4, Ex0/5, Ex0/6
       Internal Ports : Ex0/15, Ex0/16, Ex0/17, Ex0/18, Ex0/19, Ex0/20
       Ex0/21, Ex0/22, Ex0/23, Ex0/24
       ISWTrunk Ports : Ex0/11
       Name :
       ----------------------------------------------------
       XVlan ID : 30
       Type : Restricted: Solitary
       Principal XVlan : 10
       External Ports : Ex0/3, Ex0/4, Ex0/5, Ex0/6
       Internal Ports : Ex0/15, Ex0/16, Ex0/17, Ex0/18, Ex0/19
       ISWTrunk Ports : Ex0/11
       Name :
       ----------------------------------------------------
       XVlan ID : 60
       Type : Restricted: Group
       Principal XVlan : 10
       External Ports : Ex0/3, Ex0/4, Ex0/5, Ex0/6
       Internal Ports : Ex0/21, Ex0/22, Ex0/23, Ex0/24
       ISWTrunk Ports : Ex0/11
       Name :
       ----------------------------------------------------

4. View the port configuration.

       TopNEM1 SEFOS# show vlan port config

       Vlan Port configuration table
       -------------------------------
       Port Ex0/3
       Port Vlan ID : 10
       Port Acceptable Frame Type : Admit All
       Port Ingress Filtering : Disabled
       Port Mode : Hybrid
       Exclusive VLAN Port Mode : External
       VLAN & Exclusive VLAN Port Sharing : Disabled
       Exclusive VLAN VID : 10
       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
       Tunnel Status : Disabled
       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
       -------------------------------------------------------

       Port Ex0/15
       Port Vlan ID : 30
       Port Acceptable Frame Type : Admit All
       Port Ingress Filtering : Disabled
       Port Mode : Hybrid
       Exclusive VLAN Port Mode : Internal
       VLAN & Exclusive VLAN Port Sharing : Enabled
       Exclusive VLAN VID : 30
       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
       Tunnel Status : Disabled
       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
       -------------------------------------------------------
       Port Ex0/16
       Port Vlan ID : 30
       Port Acceptable Frame Type : Admit All
       Port Ingress Filtering : Disabled
       Port Mode : Hybrid
       Exclusive VLAN Port Mode : Internal
       VLAN & Exclusive VLAN Port Sharing : Enabled
       Exclusive VLAN VID : 30
       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
       Tunnel Status : Disabled
       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
       -------------------------------------------------------

5. Show the running configuration for the shared port.

       TopNEM1 SEFOS# show running-config int ext 0/15

       Building configuration...
       interface extreme-ethernet 0/15
        no shutdown
        no negotiation
        speed 10000
       spanning-tree portfast
       switchport pvid 30
       switchport xvlan-vlan shared

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