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.

Table 4-59 VLANs

Command Groups

Function

Page

GVRP and Bridge Extension

Configures GVRP settings that permit automatic VLAN learning;

4-238

 

shows the configuration for bridge extension MIB

 

Editing VLAN Groups

Sets up VLAN groups, including name, VID and state

4-242

 

 

 

Configuring VLAN

Configures VLAN interface parameters, including ingress and egress

4-244

Interfaces

tagging mode, ingress filtering, PVID, and GVRP

 

Displaying VLAN

Displays VLAN groups, status, port members, and MAC addresses

4-250

Information

 

 

Configuring 802.1Q

Configures 802.1Q Tunneling (QinQ Tunneling)

4-251

Tunneling

 

 

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

 

 

 

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-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

 

 

 

 

4-238

Page 534
Image 534
Accton Technology ES3528M-SFP manual Vlan Commands, Gvrp and Bridge Extension Commands, VLANs Command Groups Function