:两台交换机间用XGigabitEthernet0/0/47和48口互联通信,允许VLAN112和113通过,请写出华为交换机链路聚合的配置指令,采用动态工作模式。
时间: 2024-09-20 10:18:00 浏览: 57
在华为交换机上,要实现两台交换机之间的XGigabitEthernet端口(如0/0/47和0/0/48)的链路聚合,并启用动态LACP(负载均衡链路聚合)工作模式,同时允许VLAN 112 和 113 通过,可以按照以下步骤配置:
首先,在主交换机上创建聚合组并添加成员端口:
```bash
interface GigabitEthernet0/0/47
link-aggregation mode on
link-aggregation group number 1
port-vlan trunk allow-pass vlan 112 113
interface GigabitEthernet0/0/48
link-aggregation mode on
link-aggregation group number 1
port-vlan trunk allow-pass vlan 112 113
```
然后,在从交换机上做同样的设置,加入到相同的聚合组中:
```bash
interface GigabitEthernet0/0/47
link-aggregation mode active
link-aggregation group number 1
port-vlan trunk allow-pass vlan 112 113
interface GigabitEthernet0/0/48
link-aggregation mode active
link-aggregation group number 1
port-vlan trunk allow-pass vlan 112 113
```
这里假设主交换机设置了`link-aggregation mode passive`,从交换机设置为`link-aggregation mode active`。
阅读全文
相关推荐
![doc](https://img-home.csdnimg.cn/images/20241231044833.png)
![rar](https://img-home.csdnimg.cn/images/20241231044955.png)
![docx](https://img-home.csdnimg.cn/images/20241231044901.png)
![application/x-rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![-](https://img-home.csdnimg.cn/images/20241231044901.png)
![-](https://img-home.csdnimg.cn/images/20241231044937.png)
![-](https://img-home.csdnimg.cn/images/20241231044930.png)
![-](https://img-home.csdnimg.cn/images/20241231044833.png)
![-](https://img-home.csdnimg.cn/images/20241226111658.png)
![-](https://img-home.csdnimg.cn/images/20241226111658.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)