Port-Based Vlan Configuration Commands; Port - Huawei Quidway S6500 Series Command Manual

Ethernet switches release 3000 series
Hide thumbs Also See for Quidway S6500 Series:
Table of Contents

Advertisement

Command Manual - VLAN
Quidway S6500 Series Ethernet Switches
VLAN 1 is default VLAN and cannot be deleted.
For the related commands, see display vlan.
Example
# Enter the view of VLAN 1.
[Quidway] vlan 1

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 deleted from a certain VLAN,
expressed as interface-list= { { interface_type interface_num | interface_name } [ to
{ interface_type interface_num | interface_name } ] }&<1-10>. interface_type is
interface type, interface_numis interface number and interface_name is interface name.
For their meanings and value range, read Parameter of "Port" in this document. The
interface number after keyword to must be larger than or equal to the port number
before to. &<1-10>: Representing the repeatable times of parameters, 1 is the minimal
and 10 is the maximal.
Description
Using port command, you can add one port or one group of ports to VLAN. Using undo
port command, you can cancel one port or one group of ports from VLAN.
Note that you can add/delete trunk port and hybrid port to/from VLAN by port trunk
permit vlan, undo port trunk permit vlan, port hybrid vlan, undo port hybrid vlan
commands in Ethernet port view, but not in VLAN view.
For the related command, see display vlan.
Example
# Add Ethernet1/0/1 through Ethernet1/0/3 to VLAN 2.
[Quidway-vlan2] port ethernet1/0/1 to ethernet1/0/3
Huawei Technologies Proprietary
1-7
Chapter 1 VLAN Configuration Commands

Advertisement

Table of Contents
loading

Table of Contents