欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

DELL S4048 10G 交换机配置动态聚合(LACP)

程序员文章站 2022-05-08 19:22:30
...

DELL S4048 10G 交换机配置动态聚合(LACP)

前文写了,DELL S4048 10G 配置静态聚合,本文是配置动态聚合(LACP)
只针对DELL S4048 10G交换机型号,其他型号具体大同小异,仅进行参考。

下面是将端口17/18进行动态聚合,17/18端口聚合port-channel 1
前提是17/18口和channel 1 没有在别处使用。在此聚合为channel 1,也可以是channel 2 3 4… 等等,只要没有在别处使用,都可以进聚合,也可以将channel 进行删除,下面也有写。


Dell-S4048-ON-Fibre#configure
Dell-S4048-ON-Fibre(conf)#interface range te1/17 - 1/18
Dell-S4048-ON-Fibre(conf-if-range-te-1/17-1/18)#no switchport 
Dell-S4048-ON-Fibre(conf-if-range-te-1/17-1/18)#port-channel-protocol lacp
Dell-S4048-ON-Fibre(conf-if-range-te-1/17-1/18-lacp)#port-channel 1 mode active
Dell-S4048-ON-Fibre(conf-if-range-te-1/17-1/18-lacp)#exit
Dell-S4048-ON-Fibre(conf-if-range-te-1/17-1/18)#no shutdown
Dell-S4048-ON-Fibre(conf-if-range-te-1/17-1/18)#exit
Dell-S4048-ON-Fibre(conf)#interface port-channel 1
Dell-S4048-ON-Fibre(conf-if-po-1)#switchport 
Dell-S4048-ON-Fibre(conf-if-po-1)#no shutdown 
Dell-S4048-ON-Fibre(conf-if-po-1)#exit
Dell-S4048-ON-Fibre(conf)#exit
Dell-S4048-ON-Fibre#write 
!

Dell-S4048-ON-Fibre#

删除port-channel1:
Dell-S4048-ON-Fibre(conf)# no interface port-channel 1
查看port-channel:
Dell-S4048-ON-Fibre# show interfaces port-channel 1
查看所有的channel状态:
Dell-S4048-ON-Fibre# show running-config