JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Sun Ethernet Fabric Operating System

VLAN Administration Guide

search filter icon
search icon

Document Information

Using This Documentation

Product Notes

Related Documentation

Acronyms and Abbreviations

CLI Command Modes

Feedback

Support and Accessibility

Protocol Description

Introduction

VLAN Configuration

Configuration Guidelines

Default Settings

Configuring Static VLAN Entries

Create Member Ports

Create Forbidden Ports

Viewing VLAN Information

Retrieve the VLAN Summary

Retrieve the Configuration Details for all of the VLANs on a Switch

Retrieve the Configuration Details of a particular VLAN on the Switch

Delete a VLAN

Enable VLANs

Configure a Static Unicast Entry

Configure a Static Multicast Entry

Configure Dynamic VLAN Learning

Configure Dynamic Multicast Learning

Configure Restricted VLAN Registration

Configure Restricted Group Registration

Configuring QinQ

Enable Tunneling on a Port

Enable STP Packet Tunneling

Configure QinQ

Configuring Service Classes and Expedited Traffic

Map a Priority to Traffic Class

Configuring Port Filtering

Configure the Acceptable Frame Type

Configure Ingress Filtering

Flow-Based Configuration

Flow-Based Example Topologies

Example Topolgy 1

Example Topolgy 2

Example Topolgy 3

Configuring Static Unicast and Multicast Entries

Configure Static Unicast Entry in Topology 1

Configure Static Unicast Entry in Topology 2

Configuring GVRP

Configure VGRP for Topology 1

Configure VGRP for Topology 2

Configure VLANs on the Nonroot Bridge

Configure Restricted VLAN Registration

Configure GMRP

Configure Restricted Group Registration

Classify VLANs

Create Acceptable Frame Types

Configure Ingress Filtering

Configure Dynamic VLAN Learning

By default, GVRP is enabled globally and can be enabled or disabled on a per-port basis. If GVRP is disabled globally in the switch, use the set gvrp enable command to enable GVRP globally, or use the set port gvrp interface_id enable command to enable GVRP on an interface. If GVRP is disabled globally or on a particular port, then dynamic learning will not take place globally or on that specified port. By default, all of the ports in a switch are created (but only port 0/1 is up) and added as member ports of default VLAN, vlan 1. In switch A, P1 is configured to be a member port of VLAN 2. See Default Settings for the example topology for this procedure.

  1. Review the current global GVRP status.
    SEFOS# show vlan device info
    Vlan device configurations
    --------------------------
    Vlan Status                       : Enabled
    Vlan Oper status                  : Enabled
    Gvrp status                       : Enabled
    Gmrp status                       : Enabled
    Gvrp Oper status                  : Enabled
    Gmrp Oper status                  : Enabled
    Mac-Vlan Status                   : Disabled
    Subnet-Vlan Status                : Disabled
    Protocol-Vlan Status              : Enabled
    Bridge Mode                       : Customer Bridge
    Base-Bridge Mode                  : Vlan Aware Bridge
    Traffic Classes                   : Enabled
    Vlan Operational Learning Mode    : IVL
    Version number                    : 1
    Max Vlan id                       : 4094
    Max supported vlans               : 4094
    Unicast mac learning limit        : 16334
  2. Review the current port GVRP value.
    SEFOS# show vlan port config port extreme-ethernet 0/1
    Vlan Port configuration table
    --------------------------
    Port Ex0/1
    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
    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

    If the switch has not been rebooted, the global or port GVRP status might be disabled.

  3. If you need to activate the global or port GVRP status, use the following commands.
    SEFOS# config
    SEFOS(config)# set gvrp enable
    SEFOS(config)# exit
  4. Enable port GVRP.
    SEFOS# config
    SEFOS(config)# set port gvrp extreme-ethernet 0/3 enable
    SEFOS(config)# exit
  5. Enable the interface (0/3 in this example) in switch A.
    SEFOS# configure terminal
    SEFOS(config)# interface extreme-ethernet 0/3
    SEFOS(config-if)# no shutdown
    SEFOS(config-if)# exit
  6. Configure VLAN 2 in switch A.
    SEFOS(config)# vlan 2
    SEFOS(config-vlan)# ports extreme-ethernet 0/3 untagged extreme-ethernet 0/3
    SEFOS(config-vlan)# end
  7. Review the VLAN information in switch A (assuming that you are logged in to switch A).
    SEFOS# show vlan
    VLAN database
    -------------
    VLAN ID             : 1
    Member Ports        : Ex0/1, Ex0/2, Ex0/3, Ex0/4, Ex0/5, Ex0/6
    Ex0/7, Ex0/8, Ex0/9, Ex0/10, Ex0/11, Ex0/12
    Ex0/13, Ex0/14, Ex0/15, Ex0/16, Ex0/17, Ex0/18
    Ex0/19, Ex0/20, Ex0/21, Ex0/22, Ex0/23, Ex0/24
    Untagged Ports      : Ex0/1, Ex0/2, Ex0/3, Ex0/4, Ex0/5, Ex0/6
    Ex0/7, Ex0/8, Ex0/9, Ex0/10, Ex0/11, Ex0/12
    Ex0/13, Ex0/14, Ex0/15, Ex0/16, Ex0/17, Ex0/18
    Ex0/19, Ex0/20, Ex0/21, Ex0/22, Ex0/23, Ex0/24
    Forbidden Ports     : None
    Name                :
    Status              : Permanent
    ----------------------------------------------------
    VLAN ID             : 2
    Member Ports        : Ex0/3
    Untagged Ports      : Ex0/3
    Forbidden Ports     : None
    Name                :
    Status              : Permanent
  8. Review the output in switch B (assuming that you are already logged in to switch B).
    SEFOS# show vlan
    VLAN database
    -------------
    VLAN ID             : 1
    Member Ports        : Ex0/1, Ex0/2, Ex0/3, Ex0/4, Ex0/5, Ex0/6
    Ex0/7, Ex0/8, Ex0/9, Ex0/10, Ex0/11, Ex0/12
    Ex0/13, Ex0/14, Ex0/15, Ex0/16, Ex0/17, Ex0/18
    Ex0/19, Ex0/20, Ex0/21, Ex0/22, Ex0/23, Ex0/24
    Untagged Ports      : Ex0/1, Ex0/2, Ex0/3, Ex0/4, Ex0/5, Ex0/6
    Ex0/7, Ex0/8, Ex0/9, Ex0/10, Ex0/11, Ex0/12
    Ex0/13, Ex0/14, Ex0/15, Ex0/16, Ex0/17, Ex0/18
    Ex0/19, Ex0/20, Ex0/21, Ex0/22, Ex0/23, Ex0/24
    Forbidden Ports     : None
    Name                : 
    Status              : Permanent
    ----------------------------------------------------
    VLAN ID             : 2
    Member Ports        : Ex0/3
    Untagged Ports      : None
    Forbidden Ports     : None
    Name                : 
    Status              : Dynamic Gvrp