Command Line Interface
4-238
4
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.
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.
Table 4-59 VLANs
Command Groups Function Page
GVRP and Bridge Extension Configures GVRP settings that permit automatic VLAN learning;
shows the configuration for bridge extension MIB
4-238
Editing VLAN Groups Sets up VLAN groups, including name, VID and state 4-242
Configuring VLAN
Interfaces
Configures VLAN interface parameters, including ingress and egress
tagging mode, ingress filtering, PVID, and GVRP
4-244
Displaying VLAN
Information
Displays VLAN groups, status, port members, and MAC addresses 4-250
Configuring 802.1Q
Tunneling
Configures 802.1Q Tunneling (QinQ Tunneling) 4-251
Configuring Private VLANs Configures private VLANs, including uplink and downlink ports 4-254
Configuring Protocol VLANs Configures protocol-based VLANs based on frame type and protocol 4-261
Table 4-60 GVRP and Bridge Extension Commands
Command Function Mode Page
bridge-ext gvrp Enables GVRP globally for the switch GC 4-239
show bridge-ext Shows the global bridge extension configuration PE 4-239
switchport gvrp Enables GVRP for an interface IC 4-240
switchport forbidden vlan Configures forbidden VLANs for an interface IC 4-249
show gvrp configuration Displays GVRP configuration for the selected interface NE, PE 4-240
garp timer Sets the GARP timer for the selected function IC 4-241
show garp timer Shows the GARP timer for the selected function NE, PE 4-241