Configuring The Default Vlan For A Port - H3C S3100-52P Operation Manual

Hide thumbs Also See for S3100-52P:
Table of Contents

Advertisement

Operation Manual – VLAN
H3C S3100-52P Ethernet Switch
Note:
When assigning an access or hybrid port to a VLAN, make sure the VLAN already
exists.
2)
In VLAN view
Follow these steps to assign one or multiple access ports to a VLAN in VLAN view:
To do...
Enter system view
Enter VLAN view
Assign the specified
access port or ports
to the current VLAN

2.2.4 Configuring the Default VLAN for a Port

Because an access port can belong to its default VLAN only, there is no need for you to
configure the default VLAN for an access port.
This section describes how to configure a default VLAN for a trunk or hybrid port.
Follow these steps to configure the default VLAN for a port:
Enter system view
Enter Ethernet port view
Configure
the default
VLAN for
the port
Use the
command...
system-view
vlan vlan-id
port
interface-list
To do...
system-view
interface interface-type
interface-number
Trunk port
port trunk pvid vlan vlan-id
Hybrid port
port hybrid pvid vlan vlan-id
Required
If the specified VLAN does not exist, this
command creates the VLAN first.
Required
By default, all ports belong to VLAN 1.
Use the command...
2-5
Chapter 2 VLAN Configuration
Remarks
Remarks
Optional
VLAN 1 is the
default VLAN by
default.

Advertisement

Table of Contents
loading

Table of Contents