Basic VLAN Interface Configuration

Configuration prerequisites

Before configuring a VLAN interface, create the corresponding VLAN.

Configuration procedure

Follow these steps to make basic VLAN interface configuration:

 

To do…

Use the command…

Remarks

 

 

Enter system view

system-view

 

 

 

 

 

 

 

Create a VLAN interface and

interface Vlan-interface

Required

 

 

By default, there is no VLAN interface

 

 

enter VLAN interface view

vlan-id

 

 

on a switch.

 

 

 

 

 

 

 

 

 

 

 

 

 

Optional

 

 

Specify the description string

 

By default, the description string of a

 

 

for the current VLAN

description text

VLAN interface is the name of this

 

 

interface

 

VLAN interface. “Vlan-interface1

 

 

 

 

Interface” for example.

 

 

 

 

 

 

 

 

 

Optional

 

 

 

 

By default, the VLAN interface is

 

 

 

 

enabled. In this case, the VLAN

 

 

Disable the VLAN interface

shutdown

interface’s status is determined by the

 

 

status of the ports in the VLAN, that is,

 

 

 

 

 

 

 

 

if all ports of the VLAN are down, the

 

 

 

 

VLAN interface is down (disabled); if

 

 

 

 

one or more ports of the VLAN are up,

 

 

 

 

the VLAN interface is up (enabled).

 

 

 

 

 

 

 

 

If you disable the VLAN interface, the

 

 

Enable the VLAN Interface

undo shutdown

VLAN interface will always be down,

 

 

regardless of the status of the ports in

 

 

 

 

 

 

 

 

the VLAN.

 

 

 

 

 

 

 

 

 

 

 

The operation of enabling/disabling a VLAN’s VLAN interface does not influence the physical status of the Ethernet ports belonging to this VLAN.

Displaying and Maintaining VLAN

 

To do…

Use the command…

Remarks

 

Display the VLAN interface

display interface Vlan-interface

 

 

information

[ vlan-id ]

Available in any view

 

 

 

 

Display the VLAN information

display vlan [ vlan-id[ to vlan-id]

 

 

 

all dynamic static ]

 

 

 

 

 

 

 

 

2-2

Page 71
Image 71
3Com WX3000 Basic Vlan Interface Configuration, Displaying and Maintaining Vlan, Configuration prerequisites