4
Command Line Interface
VLAN Commands
A VLAN is a group of ports that can be located anywhere in the network, but
communicate as though they belong to the same physical segment. This section
describes commands used to create VLAN groups, add port members, specify how
VLAN tagging is used, and enable automatic VLAN registration for the selected
interface.
Command Groups
GVRP and Bridge Extension Configures GVRP settings that permit automatic VLAN learning;
Editing VLAN Groups
Configuring VLAN
Interfaces
Displaying VLAN
Information
Configuring 802.1Q
Tunneling
Configuring Private VLANs
Configuring Protocol VLANs Configures protocol-based VLANs based on frame type and protocol
GVRP and Bridge Extension Commands
GARP VLAN Registration Protocol defines a way for switches to exchange VLAN
information in order to automatically register VLAN members on interfaces across
the network. This section describes how to enable GVRP for individual interfaces
and globally for the switch, as well as how to display default configuration settings
for the Bridge Extension MIB.
Command
bridge-ext gvrp
show bridge-ext
switchport gvrp
switchport forbidden vlan
show gvrp configuration
garp timer
show garp timer
4-220
Table 4-58
Function
shows the configuration for bridge extension MIB
Sets up VLAN groups, including name, VID and state
Configures VLAN interface parameters, including ingress and egress
tagging mode, ingress filtering, PVID, and GVRP
Displays VLAN groups, status, port members, and MAC addresses
Configures 802.1Q Tunneling (QinQ Tunneling)
Configures private VLANs, including uplink and downlink ports
Table 4-59
GVRP and Bridge Extension Commands
Function
Enables GVRP globally for the switch
Shows the global bridge extension configuration
Enables GVRP for an interface
Configures forbidden VLANs for an interface
Displays GVRP configuration for the selected interface NE, PE
Sets the GARP timer for the selected function
Shows the GARP timer for the selected function
www.digisol.com
VLANs
Page
4-220
4-224
4-226
4-232
4-233
4-236
4-243
Mode
Page
GC
4-221
PE
4-221
IC
4-222
IC
4-231
4-222
IC
4-223
NE, PE
4-224