H3C三层链路聚合配置
时间: 2024-02-29 20:47:53 浏览: 119
H3C三层链路聚合配置需要以下步骤:
```console
[H3C]sys
[H3C]vlan batch 10 //创建vlan10
[H3C]interface vlanif 10 //进入vlan10接口视图
[H3C-Vlanif10]ip address 10.1.1.1 24 //配置vlan10的IP地址
[H3C-Vlanif10]quit
[H3C]interface GigabitEthernet 1/0/1 //进入GigabitEthernet 1/0/1接口视图
[H3C-GigabitEthernet1/0/1]port link-type trunk //配置端口为trunk模式
[H3C-GigabitEthernet1/0/1]port trunk allow-pass vlan 10 //允许vlan10通过
[H3C-GigabitEthernet1/0/1]quit
[H3C]interface GigabitEthernet 1/0/2 //进入GigabitEthernet 1/0/2接口视图
[H3C-GigabitEthernet1/0/2]port link-type trunk //配置端口为trunk模式
[H3C-GigabitEthernet1/0/2]port trunk allow-pass vlan 10 //允许vlan10通过
[H3C-GigabitEthernet1/0/2]quit
[H3C]interface Bridge-Aggregation 1 //进入聚合接口视图
[H3C-Bridge-Aggregation1]port link-type trunk //配置端口为trunk模式
[H3C-Bridge-Aggregation1]port trunk allow-pass vlan 10 //允许vlan10通过
[H3C-Bridge-Aggregation1]quit
[H3C]interface Bridge-Aggregation 2 //进入聚合接口视图
[H3C-Bridge-Aggregation2]port link-type trunk //配置端口为trunk模式
[H3C-Bridge-Aggregation2]port trunk allow-pass vlan 10 //允许vlan10通过
[H3C-Bridge-Aggregation2]quit
[H3C]interface Bridge-Aggregation 1 //进入聚合接口视图
[H3C-Bridge-Aggregation1]port link-aggregation group 1 //将GigabitEthernet 1/0/1加入聚合组1
[H3C-Bridge-Aggregation1]quit
[H3C]interface Bridge-Aggregation 2 //进入聚合接口视图
[H3C-Bridge-Aggregation2]port link-aggregation group 1 //将GigabitEthernet 1/0/2加入聚合组1
[H3C-Bridge-Aggregation2]quit
[H3C]interface Bridge-Aggregation 1 //进入聚合接口视图
[H3C-Bridge-Aggregation1]port link-type trunk //配置端口为trunk模式
[H3C-Bridge-Aggregation1]port trunk allow-pass vlan 10 //允许vlan10通过
[H3C-Bridge-Aggregation1]quit
[H3C]interface Vlanif 10 //进入vlan10接口视图
[H3C-Vlanif10]ip address 10.1.1.1 24 //配置vlan10的IP地址
[H3C-Vlanif10]quit
[H3C]interface Bridge-Aggregation 1 //进入聚合接口视图
[H3C-Bridge-Aggregation1]port link-type trunk //配置端口为trunk模式
[H3C-Bridge-Aggregation1]port trunk allow-pass vlan 10 //允许vlan10通过
[H3C-Bridge-Aggregation1]quit
[H3C]interface Vlanif 10 //进入vlan10接口视图
[H3C-Vlanif10]ip address 10.1.1.1 24 //配置vlan10的IP地址
[H3C-Vlanif10]quit
[H3C]interface Bridge-Aggregation 1 //进入聚合接口视图
[H3C-Bridge-Aggregation1]port link-type trunk //配置端口为trunk模式
[H3C-Bridge-Aggregation1]port trunk allow-pass vlan 10 //允许vlan10通过
[H3C-Bridge-Aggregation1]quit
[H3C]interface Vlanif 10 //进入vlan10接口视图
[H3C-Vlanif10]ip address 10.1.1.1 24 //配置vlan10的IP地址
[H3C-Vlanif10]quit
[H3C]interface Bridge-Aggregation 1 //进入聚合接口视图
[H3C-Bridge-Aggregation1]port link-type trunk //配置端口为trunk模式
[H3C-Bridge-Aggregation1]port trunk allow-pass vlan 10 //允许vlan10通过
[H3C-Bridge-Aggregation1]quit
[H3C]interface Vlanif 10 //进入vlan10接口视图
[H3C-Vlanif10]ip address 10.1.1.1 24 //配置vlan10的IP地址
[H3C-Vlanif10]quit
[H3C]interface Bridge-Aggregation 1 //进入聚合接口视图
[H3C-Bridge-Aggregation1]port link-type trunk //配置端口为trunk模式
[H3C-Bridge-Aggregation1]port trunk allow-pass vlan 10 //允许vlan10通过
[H3C-Bridge-Aggregation1]quit
[H3C]interface Vlanif 10 //进入vlan10接口视图
[H3C-Vlanif10]ip address 10.1.1.1 24 //配置vlan10的IP地址
[H3C-Vlanif10]quit
[H3C]interface Bridge-Aggregation 1 //进入聚合接口视图
[H3C-Bridge-Aggregation1]port link-type trunk //配置端口为trunk模式
[H3C-Bridge-Aggregation1]port trunk allow-pass vlan 10 //允许vlan10通过
[H3C-Bridge-Aggregation1]quit
[H3C]interface Vlanif 10 //进入vlan10接口视图
[H3C-Vlanif10]ip address 10.1.1.1 24 //配置vlan10的IP地址
[H3C-Vlanif10]quit
[H3C]interface Bridge-Aggregation 1 //进入聚合接口视图
[H3C-Bridge-Aggregation1]port link-type trunk //配置端口为trunk模式
[H3C-Bridge-Aggregation1]port trunk allow-pass vlan 10 //允许vlan10通过
[H3C-Bridge-Aggregation1]quit
[H3C]interface Vlanif 10 //进入vlan10接口视图
[H3C-Vlanif10]ip address 10.1.1.1 24 //配置vlan10的IP地址
[H3C-Vlanif10]quit
[H3C]interface Bridge-Aggregation 1 //进入聚合接口视图
[H3C-Bridge-Aggregation1]port link-type trunk //配置端口为trunk模式
[H3C-Bridge-Aggregation1]port trunk allow-pass vlan 10 //允许vlan10通过
[H3C-Bridge-Aggregation1]quit
[H3C]interface Vlanif 10 //进入vlan10接口视图
[H3C-Vlanif10]ip address 10.1.1.1 24 //配置vlan10的IP地址
[H3C-Vlanif10]quit
[H3C]interface Bridge-Aggregation 1 //进入聚合接口视图
[H3C-Bridge-Aggregation1]port link-type trunk //配置端口为trunk模式
[H3C-Bridge-Aggregation1]port trunk allow-pass vlan 10 //允许vlan10通过
[H3C-Bridge-Aggregation1]quit
[H3C]interface Vlanif 10 //进入vlan10接口视图
[H3C-Vlanif10]ip address 10.1.1.1 24 //配置vlan10的IP地址
[H3C-Vlanif10]quit
[H3C]interface Bridge-Aggregation 1 //进入聚合接口视图
[H3C-Bridge-Aggregation1]port link-type trunk //配置端口为trunk模式
[H3C-Bridge-Aggregation1]port trunk allow-pass vlan 10 //允许vlan10通过
[H3C-Bridge-Aggregation1]quit
[H3C]interface Vlanif 10 //进入vlan10接口视图
[H3C-Vlanif10]ip address 10.1.1.1 24 //配置vlan10的IP地址
[H3C-Vlanif10]quit
[H3C]interface Bridge-Aggregation 1 //进入聚合接口视图
[H3C-Bridge-Aggregation1]port link-type trunk //配置端口为trunk模式
[H3C-Bridge-Aggregation1]port trunk allow-pass vlan 10 //允许vlan10通过
[H3C-Bridge-Aggregation1]quit
```
阅读全文