H3C S3610-28P Operation Manual page 96

S3610 & s5510 series
Table of Contents

Advertisement

Operation Manual – VLAN
H3C S3610&S5510 Series Ethernet Switches
Add the current Access
port to a specified VLAN
Note:
To add an Access port to a VLAN, make sure the VLAN already exists.
1.4.3 Configuring a Trunk-Port-Based VLAN
A Trunk port may belong to multiple VLANs, and you can only perform this configuration
in Ethernet port view or port group view.
Follow these steps to configure the Trunk-port-based VLAN:
Enter system view
Enter
Ethernet
port view
or port
group view
Configure the port link
type as Trunk
Allow the specified
VLANs to pass through
the current Trunk port
Configure the default
VLAN for the Trunk port
To do...
port access vlan vlan-id
To do...
Use the command...
system-view
Enter
interface interface-type
Ethernet
interface-number
port view
port-group { manual
Enter port
port-group-name |
group view
aggregation agg-id }
port link-type trunk
port trunk permit vlan
{ vlan-id-list | all }
port trunk pvid vlan
vlan-id
Use the command...
1-9
Chapter 1 VLAN Configuration
Remarks
Optional
By default, all Access
ports belong to VLAN 1.
Remarks
Use either command
In Ethernet port view, the
subsequent configurations
only apply to the current
port; in port group view, the
subsequent configurations
apply to all ports in the port
group.
Required
Required
By default, all Trunk ports
only allow packets of VLAN
1 to pass.
Optional
VLAN 1 is the default by
default.

Advertisement

Table of Contents
loading

Table of Contents