beautypg.com

Ii. configuration procedure, 3 displaying vlan configuration, 3 displaying vlan configuration -2 – H3C Technologies H3C S3100 Series Switches User Manual

Page 100

background image

Operation Manual – VLAN

H3C S3100-52P Ethernet Switch

Chapter 2 VLAN Configuration

2-2

II. Configuration procedure

Table 2-2

Basic VLAN interface configuration

Operation

Command

Description

Enter system view system-view

Create a VLAN

interface and enter

VLAN interface

view

interface
Vlan-interface
vlan-id

Required
The vlan-id argument ranges from 1

to 4,094.

Specify the

description string

for the current

VLAN interface

description text

Optional
By default, the description string of

a VLAN interface is the name of this

VLAN interface

Disable the VLAN

interface

shutdown

Optional

Enable the VLAN

Interface

undo shutdown

Optional


Note that the operation of enabling/disabling a VLAN interface does not influence the
enabling/disabling states of the Ethernet ports belonging to this VLAN.
By default, the VLAN interface’s management state is enabled. In this case, the
physical state of the VLAN interface is affected by the ports state in the VLAN. When all
the Ethernet ports of a VLAN are down, the VLAN interface of the VLAN is down, that is,
the VLAN interface is disabled; when one or more Ethernet ports of a VLAN are up, the
VLAN interface of the VLAN is up, that is, the VLAN interface is enabled.
If you disable the VLAN interface’s management state, the VLAN interface will always
be down, regardless of the states of the ports in the VLAN.

Caution:

H3C S3100-52P Ethernet switch supports only one VLAN interface. And the VLAN
where the VLAN interface resides must be the management VLAN of the switch.
For detail, refer to the section "Management VLAN Configuration – Operation" in H3C
S3100-52P Ethernet Switch Operation Manual

.

2.1.3 Displaying VLAN Configuration

After the configuration above, you can execute the display command in any view to
display the running status after the configuration, so as to verify the configuration.