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 VGRP for Topology 2

In this topology, two switches are connected back-to-back using two ports on each switch. The spanning tree that is running in the switches is RSTP. Switch 2 is the root bridge in STP.

See Example Topolgy 2 for the topology referenced in this procedure.

  1. Review the spanning tree output in switch 2 (the root bridge).
    SEFOS# show spanning-tree
    Root Id         Priority   32768
    Address         00:14:4f:6c:61:cf
    Cost            0
    Port            0 [0]
    This bridge is the root
    Max Age 20 Sec, forward delay 15 Sec
     
    MST00
     
    Spanning tree Protocol has been enabled.
     
    MST00 is executing the mstp compatible Multiple Spanning Tree Protocol
    Bridge Id       Priority  32768
    Address  00:14:4f:6c:61:cf
    Max age is 20 sec, forward delay is 15 sec
    Dynamic Path Cost is Disabled
    Name     Role         State        Cost     Prio   Type
    ----     ----         -----        ----     ----   ------
    Ex0/3    Designated   Forwarding   2000     128    P2P
    Ex0/15   Designated   Forwarding   2000     128    P2P
    Ex0/16   Designated   Forwarding   2000     128    P2P
    Ex0/19   Designated   Forwarding   2000     128    P2P
    Ex0/22   Designated   Forwarding   2000     128    P2P
  2. Review the spanning tree output in switch 1 (the nonroot bridge).
    SEFOS# show spanning-tree
    Root Id         Priority   32768
     Address    00:14:4f:6c:61:cf
    Cost       2000
    Port       3 [Ex0/3]
    Max age 20 Sec, forward delay 15 Sec
     
    MST00
     
    Spanning tree Protocol has been enabled
     
    MST00 is executing the mstp compatible Multiple Spanning Tree Protocol
    Bridge Id       Priority 32768
    Address 00:21:28:56:d7:a9
    Max age is 20 sec, forward delay is 15 sec
    Dynamic Path Cost is Disabled
    Name              Role         State        Cost     Prio   Type
    ----              ----         -----        ----     ----   ------
    Ex0/3             Root         Forwarding   2000     128    P2P
    Ex0/15            Designated   Forwarding   2000     128    P2P
    Ex0/19            Designated   Forwarding   2000     128    P2P
    Ex0/21            Designated   Forwarding   2000     128    P2P
  3. Create VLAN 2 on switch 2 (the root bridge), and review the VLAN database details.
    SEFOS# configure terminal
    SEFOS(config)# vlan 2
    SEFOS(config-vlan)# ports extreme-ethernet 0/3
    SEFOS(config-vlan)# exit
    SEFOS(config)# exit
    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, ...
    Untagged Ports      : Ex0/1, Ex0/2, Ex0/3, Ex0/4, Ex0/5, Ex0/6
    Ex0/7, Ex0/8, ...
    Forbidden Ports     : None
    Name                :
    Status              : Permanent
    ----------------------------------------------------
    Vlan ID             : 2
    Member Ports        : Ex0/3
    Untagged Ports      : None
    Forbidden Ports     : None
    Name                :
    Status              : Permanent
    ------------------------------------------
  4. Review the new VLAN output on switch 2 (the nonroot bridge).
    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, ...
    Untagged Ports      : Ex0/1, Ex0/2, Ex0/3, Ex0/4, Ex0/5, Ex0/6
    Ex0/7, Ex0/8, ...
    Forbidden Ports     : None
    Name                :
    Status              : Permanent
    ----------------------------------------------------
    Vlan ID             : 2
    Member Ports        : Ex0/3, Ex0/4
    Untagged Ports      : None
    Forbidden Ports     : None
     
    Name                :
    Status              : Dynamic Gvrp
    -------------------------------------------------

    The switch propagates the VLAN declaration or registration on all the forwarding ports in the switch. In the preceding example, when VLAN 2 was created on the root bridge (switch 2), the switch propagated this information on all of the forwarding ports (Ex0/3 and Ex0/4), thus allowing switch 1 to learn about VLAN 2 through two ports (Ex0/3 and Ex0/4) using GVRP.