交换机聚合和bond4系统配置

1. 交换机配置

### 配置channel
configure terminal
interface port-channel 10
exit

### 进入端口模式
interface ethernet 1/1/10
no switchport
channel-group 10 mode active
exit

### 配置端口
interface ethernet 1/1/11
no switchport
channel-group 10 mode active
exit

### 保存保存配置
save
write memory

2. 系统配置

主端口 bond4


DEVICE=bond4
NAME=bond4
BONDING_MASTER=yes
TYPE=Bond
IPADDR=172.16.128.27
NETMASK=255.255.255.0
ONBOOT=yes
BOOTPROTO=static
BONDING_OPTS="mode=802.3ad miimon=100 lacp_rate=fast arp_validate=0"

备用端口 ifcfg-p5p1

NAME=p5p1
DEVICE=p5p1
BOOTPROTO=none
ONBOOT=yes
USERCTL=no
MTU=9000
MASTER=bond4
SLAVE=yes
TYPE=Ethernet
BOOTPROTO=none
NAME=p5p2
DEVICE=p5p2
ONBOOT=yes
MASTER=bond4
SLAVE=yes

3. 流量验证

iperf验证网络带宽,双端口25Gb,bond4模式
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/hao_zhang_shrek/article/details/102948861
今日推荐