Home > Computer Tutorials > Computer Knowledge > What is the command to add multiple ports to the same VLAN at the same time on a Huawei switch?

What is the command to add multiple ports to the same VLAN at the same time on a Huawei switch?

WBOY
Release: 2024-01-17 12:03:11
forward
1694 people have browsed it

What is the command to add multiple ports to the same VLAN at the same time on a Huawei switch?

What is the command to add multiple ports to the same VLAN at the same time on a Huawei switch?

dis vlan

VLAN function is enabled.

Total 2 VLAN exist(s).

Now, the following VLAN exist(s):

1(default), 402

sys

Enter system view, return to user view with Ctrl Z.

[sw1]vlan 402

[sw1-vlan402]por

[sw1-vlan402]port ?

Ethernet Ethernet interface

[sw1-vlan402]port e

[sw1-vlan402]port Ethernet ?

Slot number

[sw1-vlan402]port Ethernet 0/1 ?

Ethernet Ethernet interface

to Range of interfaces

[sw1-vlan402]port Ethernet 0/1 to ?

Ethernet Ethernet interface

[sw1-vlan402]port Ethernet 0/1 to e

[sw1-vlan402]port Ethernet 0/1 to Ethernet 0/10 ?

Ethernet Ethernet interface

[sw1-vlan402]port Ethernet 0/1 to Ethernet 0/10 e

[sw1-vlan402]port Ethernet 0/1 to Ethernet 0/10 Ethernet ?

Slot number

[sw1-vlan402]port Ethernet 0/1 to Ethernet 0/10 Ethernet 0/15 ?

Ethernet Ethernet interface

to Range of interfaces

[sw1-vlan402]port Ethernet 0/1 to Ethernet 0/10 Ethernet 0/15

[sw1-vlan402]

[sw1-vlan402]

[sw1-vlan402]dis vlan 402

VLAN ID: 402

VLAN Type: static

ARP proxy disabled.

Route Interface: not configured

Description: VLAN 0402

Name: bangong

Tagged Ports:

Ethernet0/23 Ethernet0/24

Untagged Ports:

Ethernet0/1 Ethernet0/2 Ethernet0/3

Ethernet0/4 Ethernet0/5 Ethernet0/6

Ethernet0/7 Ethernet0/8 Ethernet0/9

Ethernet0/10 Ethernet0/15

[sw1-vlan402]

请参考!

华为交换机怎么配置vlan

华为交换机VLAN配置:

system veiw (进入系统视图)

vlan 10(创建vlan 10)

vlan batch 10 to 12 (创建vlan 10 11 12)

interface vlan 10 (进入VLAN 10)

ip address 172.16.10.1 24(设置VLAN 10的IP为172.16.10.1,掩码为24位)

undo vlan 10 (删除vlan 10)

VLAN(Virtual Local Area Network)的中文名为"虚拟局域网"。

虚拟局域网(VLAN)是一组逻辑上的设备和用户,这些设备和用户并不受物理位置的限制,可以根据功能、部门及应用等因素将它们组织起来,相互之间的通信就好像它们在同一个网段中一样,由此得名虚拟局域网。VLAN是一种比较新的技术,工作在OSI参考模型的第2层和第3层,一个VLAN就是一个广播域,VLAN之间的通信是通过第3层的路由器来完成的。与传统的局域网技术相比较,VLAN技术更加灵活,它具有以下优点: 网络设备的移动、添加和修改的管理开销减少;可以控制广播活动;可提高网络的安全性。

在计算机网络中,一个二层网络可以被划分为多个不同的广播域,一个广播域对应了一个特定的用户组,默认情况下这些不同的广播域是相互隔离的。不同的广播域之间想要通信,需要通过一个或多个路由器。这样的一个广播域就称为VLAN。

The above is the detailed content of What is the command to add multiple ports to the same VLAN at the same time on a Huawei switch?. For more information, please follow other related articles on the PHP Chinese website!

source:docexcel.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template