Skip Navigation Links | |
Exit Print View | |
Sun Ethernet Fabric Operating System VLAN Administration Guide |
Configuring Static VLAN Entries
Retrieve the Configuration Details for all of the VLANs on a Switch
Retrieve the Configuration Details of a particular VLAN on the Switch
Configure a Static Unicast Entry
Configure a Static Multicast Entry
Configure Dynamic Multicast Learning
Configure Restricted VLAN Registration
Configure Restricted Group Registration
Configuring Service Classes and Expedited Traffic
Map a Priority to Traffic Class
Configure the Acceptable Frame Type
Configuring Static Unicast and Multicast Entries
Configure Static Unicast Entry in Topology 1
Configure Static Unicast Entry in Topology 2
Configure VLANs on the Nonroot Bridge
Configure Restricted VLAN Registration
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.
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
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.
SEFOS# config SEFOS(config)# set gvrp enable SEFOS(config)# exit
SEFOS# config SEFOS(config)# set port gvrp extreme-ethernet 0/3 enable SEFOS(config)# exit
SEFOS# configure terminal SEFOS(config)# interface extreme-ethernet 0/3 SEFOS(config-if)# no shutdown SEFOS(config-if)# exit
SEFOS(config)# vlan 2 SEFOS(config-vlan)# ports extreme-ethernet 0/3 untagged extreme-ethernet 0/3 SEFOS(config-vlan)# end
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
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