华为交换机多端口一次加入到一个vlan

请问在华为的交换机中怎么将多个端口一次加入到1个vlan中去,比如说在cisco中可以是interface range f0/1 - 10 这样可以进入到端口1至端口10中。在华为交换机上怎么进呀。还有在华为交换机上做链路聚合的时候是不是也可以同时把多个链路加入到一个链路组中,而不是一个一个的往里添加。知道的请指教, 先谢过了!
如果想一次把端口1-5还有端口7加入到一个vlan命令是什么? 还有就是链路聚合的问题在给我讲讲。

<sw1>dis vlan
VLAN function is enabled.
Total 2 VLAN exist(s).
Now, the following VLAN exist(s):
1(default), 402
<sw1>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 ?
<0-0> Slot number

[sw1-vlan402]port Ethernet 0/1 ?
Ethernet Ethernet interface
to Range of interfaces
<cr>

[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
<cr>

[sw1-vlan402]port Ethernet 0/1 to Ethernet 0/10 e
[sw1-vlan402]port Ethernet 0/1 to Ethernet 0/10 Ethernet ?
<0-0> Slot number

[sw1-vlan402]port Ethernet 0/1 to Ethernet 0/10 Ethernet 0/15 ?
Ethernet Ethernet interface
to Range of interfaces
<cr>

[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]
请参考!
温馨提示:内容为网友见解,仅供参考
第1个回答  2009-11-10
switch>sys
Enter system view, return to user view with Ctrl+Z.
[Quidway]vlan 10
[Quidway-vlan10]port e0/1 to e0/10
[Quidway-vlan10]
相似回答