4.3.12VLAN 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-17VLAN Commands

Command

 

Function

Mode

Page

 

 

 

 

Edit VLAN Groups

 

 

 

vlan

database

Enters VLAN database mode to add, change, and

GC

4-121

 

 

 

delete VLANs

 

 

vlan

 

 

Configures a VLAN, including VID, name and state

VC

4-121

Configure VLAN Interfaces

 

 

interface

vlan

Enters interface configuration mode for a specified

GC

4-123

 

 

 

VLAN

 

 

switchport

mode

Configures VLAN membership mode for an interface

IC

4-123

switchport

 

Configures frame types to be accepted by an interface

IC

4-124

acceptable-frame-

 

 

 

types

 

 

 

 

 

swicthport ingress- Enables ingress filtering on an interface

IC

4-125

filtering

 

 

 

 

switchport

native

Configures the PVID (native VLAN) of an interface

IC

4-126

vlan

 

 

 

 

 

switchport allowed

Configures the VLANs associated with an interface

IC

4-127

vlan

 

 

 

 

 

switchport

gvrp

Enables GVRP for an interface

IC

4-132

switchport forbidden

Configures forbidden VLANs for an interface

IC

4-129

vlan

 

 

 

 

 

Display VLAN Information

 

 

show

vlan

 

Shows VLAN information

NE,

4-130

 

 

 

 

PE

 

show

interfaces

Displays status for the specified VLAN interface

NE,

4-93

status vlan

 

PE

 

show

interfaces

Displays the administrative and operational status of

NE,

4-96

switchport

 

an interface

PE

 

 

 

 

 

 

 

4-120Sun Fire B1600 Blade System Chassis Switch Administration Guide • June 2003

Page 318
Image 318
Sunfire B1600 manual Vlan Commands, 17VLAN Commands