近期有一台CP5100频繁丢包,修改网卡buffer步骤如下,默认的网卡buffer为256,最大可以修改为4096,其步骤如下:
step1:ssh登录checkpoint 防火墙控制台
step2:查看eth0的buffer
BJ-OFFICE-GW> show interface eth0 rx-ringsize
Receive buffer ring size:256
Maximum receive buffer ring size:4096
BJ-OFFICE-GW>
step3:修改接收和发送的buffer都为4096
BJ-OFFICE-GW> set interface eth0 rx-ringsize 4096
BJ-OFFICE-GW> set interface eth0 tx-ringsize 4096
BJ-OFFICE-GW> save config
step4:再次查看eth0的buffer
BJ-OFFICE-GW> show interface eth0 rx-ringsize
Receive buffer ring size:4096
Maximum receive buffer ring size:4096
BJ-OFFICE-GW> show interface eth0 tx
BJ-OFFICE-GW> show interface eth0 tx-ringsize
Transmit buffer ring size:4096
Maximum transmit buffer ring size:4096
BJ-OFFICE-GW>