Port-Based Vlan Configuration Commands; Port - Huawei Quidway S3900 series Command Manual

Hide thumbs Also See for Quidway S3900 series:
Table of Contents

Advertisement

Command Manual – VLAN
Quidway S3900 Series Ethernet Switches-Release 1510
1(default), 5

1.2 Port-Based VLAN Configuration Commands

1.2.1 port

Syntax
port interface-list
undo port interface-list
View
VLAN view
Parameter
interface-list: List of Ethernet ports to be added to or removed from a VLAN. You need
to provide this argument in the form of interface-list = { interface-type interface-number
[ to interface-type interface-number ] } &<1-10>, where:
interface-type is port type and interface-number is port number.
The port number to the right of the to keyword must be larger than or equal to the
one to the left of the keyword.
&<1-10> means that you can provide this argument repeatedly for up to 10 times.
Parameter
Use the port command to add a port or multiple ports to a VLAN.
Use the undo port command to remove a port or multiple ports from a VLAN.
Caution:
The port command is only applicable to access ports. To add trunk ports and hybrid
ports to a VLAN, you can use the port trunk permit vlan and port hybrid vlan
commands in Ethernet port view. For the configuration procedure, refer to the section
"Port Basic Configuration" in Quidway S3900 Series Ethernet Switches – Operation
Manual.
Related command: display vlan.
Example
# Add Ethernet1/0/2 through Ethernet1/0/4 to VLAN 2.
<Quidway> system-view
Huawei Technologies Proprietary
1-9
Chapter 1 VLAN Configuration Commands

Hide quick links:

Advertisement

Chapters

Table of Contents
loading

Table of Contents