华为MA5600上行端口聚合 下载本文

2.1首先数VLAN数据配置

手工汇聚:创建Eth-trunk口

将端口加入到Eth-trunk组中,数据配置在Eth-trunk下配置 例:

1、先将端口下原有的数据删除,有些版本没有这些命令就不需要删除了 [Quidway] interface ethernet 0/0/1

[Quidway-Ethernet0/0/1] undo port default vlan [Quidway-Ethernet0/0/1] undo ntdp enable [Quidway-Ethernet0/0/1] undo ndp enable [Quidway-Ethernet0/0/1] bpdu disable [Quidway] interface ethernet 0/0/2

[Quidway-Ethernet0/0/1] undo port default vlan [Quidway-Ethernet0/0/1] undo ntdp enable [Quidway-Ethernet0/0/1] undo ndp enable [Quidway-Ethernet0/0/1] bpdu disable

2、创建Eth-trunk口,并将端口加入到Eth-trunk组中 [Quidway] interface Eth-trunk 1 [Quidway] interface ethernet 0/0/1 [Quidway-Ethernet0/0/1] eth-trunk 2 [Quidway] interface ethernet 0/0/2 [Quidway-Ethernet0/0/1] eth-trunk 2 3、数据配置在Eth-trunk口下进行 [Quidway]interface Eth-trunk 2

[Quidway-Eth-Trunk1]description to_5600B 端口标签描述

[Quidway-Eth-Trunk1] port trunk allow-pass vlan 2097 定义vlan2097为trunk

[Quidway-Eth-Trunk1]port hybrid untagged vlan 885 定义vlan2097为hybrid [Quidway-Eth-Trunk1]qinq vlan-translation enable 开启VLAN QINQ功能

[Quidway-Eth-Trunk1]port vlan-stacking vlan 938 to 1385 push vlan 885 priority-inherit 执行QINQ作用885外层234至1281是内层 双层vlan用vlan-stacking

[Quidway-Eth-Trunk1] port vlan-mapping external-vlan 2097 map-external-vlan 2097 priority-inherit

2097单层VLAN用vlan-mapping 2.2端口状态属性配置

[Quidway]interface Ethernet0/0/1

[Quidway-Ethernet0/0/1]undo negotiation auto [Quidway-Ethernet0/0/1]duplex full [Quidway-Ethernet0/0/1]speed 100

[Quidway]interface Ethernet0/0/2

[Quidway-Ethernet0/0/2]undo negotiation auto [Quidway-Ethernet0/0/2]duplex full [Quidway-Ethernet0/0/2]speed 100

以上数据就完成了。

关闭自协商 全双工