Configuring The Link Type Of An Ethernet Port; Assigning An Ethernet Port To A Vlan - H3C S3100-52P Operation Manual

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

Advertisement

Operation Manual – VLAN
H3C S3100-52P Ethernet Switch
Configuring the Default VLAN for a Port

2.2.2 Configuring the Link Type of an Ethernet Port

Follow these steps to configure the link type of an Ethernet port:
Enter system view
Enter Ethernet port
view
Configure the port link
type
Note:
To change the link type of a port from trunk to hybrid or vice versa, you need to set the
link type to access first.

2.2.3 Assigning an Ethernet Port to a VLAN

You can assign an Ethernet port to a VLAN in Ethernet port view or VLAN view.
1)
In Ethernet port view
Follow these steps to assign an Ethernet port to one or multiple VLANs:
Enter system view
Enter Ethernet port view
Assign
the port
to one or
multiple
VLANs
Task
To do...
Use the command...
system-view
interface interface-type
interface-number
port link-type { access |
hybrid | trunk }
To do...
system-view
interface interface-type
interface-number
Access port
port access vlan vlan-id
Trunk port
port trunk permit vlan { vlan-id-list | all }
port hybrid vlan vlan-id-list { tagged |
Hybrid port
untagged }
Optional
Required
The link type of an Ethernet
port is access by default.
Use the command...
2-4
Chapter 2 VLAN Configuration
Remarks
Remarks
Remarks
Optional
By default, all
Ethernet
ports belong
to VLAN 1.

Advertisement

Table of Contents
loading

Table of Contents