本文记录一下华为交换机MUX-VLAN配置
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
<Huawei>sys
[Huawei]vlan batch 100 20 30 10
提示:此操作可能耗时较长。请稍等…完成。
[Huawei]port-group group-member e0/0/2 to e0/0/4
[Huawei-port-group]port link-type access
[Huawei-Ethernet0/0/2]port link-type access
[Huawei-Ethernet0/0/3]port link-type access
[Huawei-Ethernet0/0/4]port link-type access
[Huawei-port-group]port default vlan 100
[Huawei-Ethernet0/0/2]port default vlan 100
[Huawei-Ethernet0/0/3]port default vlan 100
[Huawei-Ethernet0/0/4]port default vlan 100
[Huawei]port-group group-member e 0/0/5 to e0/0/6
[Huawei-port-group]port link-type access
[Huawei-Ethernet0/0/5]port link-type access
[Huawei-Ethernet0/0/6]port link-type access
[Huawei-port-group]port default vlan 10
[Huawei-Ethernet0/0/5]port default vlan 10
[Huawei-Ethernet0/0/6]port default vlan 10
[Huawei-port-group]q
[Huawei]int e0/0/20
[Huawei-Ethernet0/0/20]port link-type access
[Huawei-Ethernet0/0/20]port default vlan 20
[Huawei-Ethernet0/0/20]int e0/0/1
[Huawei-Ethernet0/0/1]port link-type access
[Huawei-Ethernet0/0/1]port default vlan 30
[Huawei-Ethernet0/0/1]q
[Huawei]vlan 30
[Huawei-vlan30]mux-vlan
[Huawei-vlan30]subordinate group 10 20
[Huawei-vlan30]subordinate separate 100
[Huawei]port-group group-member e0/0/1 to e0/0/22
[Huawei-port-group]port mux-vlan enable
[Huawei-Ethernet0/0/1]port mux-vlan enable
[Huawei-Ethernet0/0/2]port mux-vlan enable
[Huawei-Ethernet0/0/3]port mux-vlan enable
[Huawei-Ethernet0/0/4]port mux-vlan enable
[Huawei-Ethernet0/0/5]port mux-vlan enable
[Huawei-Ethernet0/0/6]port mux-vlan enable
[Huawei-port-group]q
<Huawei>save
|
将把当前的配置保存到存储设备中。
是否继续?[Y/N]Y
正在将运行时的配置写入到存储设备0。
保存配置成功。
实验链接:http://pan.baidu.com/s/1jGFBAKI 密码:c9pe