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

Search Scope:

- This Document
- Entire Library

## Enable Tunneling on a Port

When enabling tunneling on a port, you must ensure that the following prerequisites are met:

- Bridge mode must be set to `provider` for dot1q-tunneling status to be enabled on an interface.

- Before configuring the bridge mode, spanning tree and GARP must be shut down.

1. Disable GVRP and GMRP, and shut down GARP spanning tree.

       SEFOS(config)# set gvrp disable
       SEFOS(config)# set gmrp disable
       SEFOS(config)# shutdown garp
       SEFOS(config)# no spanning-tree
       SEFOS(config)# shutdown spanning-tree
       SEFOS(config)# shutdown dot1x
       SEFOS(config)# shutdown port-channel
       SEFOS(config)# shutdown lldp
       SEFOS(config)# no interface vlan 1

2. Configure the bridge mode of the switch.

       SEFOS(config)# bridge-mode provider

3. Enable GARP and spanning tree, and review the VLAN device details.

       SEFOS(config)# set no shutdown garp
       SEFOS(config)# set gvrp enable
       SEFOS(config)# set gmrp enable
       SEFOS(config)# spanning-tree mode mst
       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
       Protocol-VLAN Status              : Enabled
       Bridge Mode                       : Provider Bridge
       Traffic Classes                   : Enabled
       VLAN Operational Learning Mode    : IVL
       Version number                    : 1
       Max VLAN id                       : 4094
       Max supported VLANs               : 1024

   To enable dot1q-tunneling on a specified port, the `acceptable-frame-type` must be set to `untaggedAndPrioritytagged`. The port must be configured in access mode, and GVRP, GMRP, and STP must be disabled on that port.

4. Disable GVRP on a port.

       SEFOS(config)# set port gvrp extreme-ethernet 0/3 disable

5. Disable GMRP on a port.

       SEFOS(config)# set port gmrp extreme-ethernet 0/3 disable
       SEFOS(config)# interface extreme-ethernet 0/3

6. Configure the switch port acceptable-frame-type as untaggedAndPrioritytagged.

       SEFOS(config)# switchport acceptable-frame-type untaggedAndPrioritytagged

7. Configure the switch port mode to access.

       SEFOS(config)# switchport mode access

8. Disable STP on a port.

       SEFOS(config)# spanning-tree disable

9. Enable dot1q-tunneling on a specified interface.

       SEFOS(config)# switchport mode dotlq-tunnel

10. Review the configuration details.

        SEFOS# show vlan port config port extreme-ethernet 0/3
        VLAN Port configuration table
        -------------------------------
        Port Gi0/1
        Port VLAN ID                        : 1
        Port Acceptable Frame Type          : Admit Only Untagged and Priority tagged
        Port Ingress Filtering              : Disabled
        Port Mode                           : Access
        Port Gvrp Status                    : Disabled
        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
        Port-and-Protocol Based Support     : Enabled
        Default Priority                    : 0
        Tunnel Status                       : Enabled
        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
        -------------------------------------------------------

11. Review the dot1q-tunnel interface output.

        SEFOS# show dot1q-tunnel interface extreme-ethernet 0/3
        Interface
        -------------
        Ex0/3

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