EasyManuals Logo

H3C S3100 Series User Manual

H3C S3100 Series
1057 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #95 background imageLoading...
Page #95 background image
2-4
To do… Use the command… Remarks
Enter system view
system-view
—
Enter VLAN view
vlan
vlan-id
Required
If the specified VLAN does not exist, this
command be created first creates the VLAN
before entering its view.
Add an Access port to the
current VLAN
port
interface-list
Required
By default, system will add all ports to VLAN 1.
Follow these steps to configure the Access-port-based VLAN in Ethernet port view:
To do… Use the command… Remarks
Enter system view
system-view
—
Enter Ethernet port view
interface
interface-type
interface-number
—
Configure the port link type as
Access
port link-type
access
Optional
The link type of a port is Access by
default.
Add the current Access port to a
specified VLAN
port access vlan
vlan-id
Optional
By default, all Access ports belong
to VLAN 1.
To add an Access port to a VLAN, make sure the VLAN already exists.
Configuring a Hybrid-Port-Based VLAN
A Hybrid port may belong to multiple VLANs, and this configuration can only be performed in Ethernet
port view.
Follow these steps to configure the Hybrid-port-based VLAN:
To do… Use the command… Remarks
Enter system view
system-view
—
Enter Ethernet port view
interface
interface-type
interface-number
—
Configure the port link type as
Hybrid
port link-type
hybrid
Required
Allow the specified VLANs to pass
through the current Hybrid port
port hybrid
vlan
vlan-id-list
{
tagged
|
untagged
}
Required
By default, all Hybrid ports only
allow packets of VLAN 1 to pass.
Configure the default VLAN of the
Hybrid port
port hybrid pvid vlan
vlan-id
Optional
VLAN 1 is the default by default

Table of Contents

Other manuals for H3C S3100 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the H3C S3100 Series and is the answer not in the manual?

H3C S3100 Series Specifications

General IconGeneral
BrandH3C
ModelS3100 Series
CategorySwitch
LanguageEnglish

Related product manuals