Windows Server 2003 - Windows Server 2019 系统工具,Linux系统脚本,Mysql、Nginx、PHP、Redis、K8S、Seafile、Weblogic 、Jenkins、DNS、DHCP、FTP、IIS、Zookeeper、Rabbitmq、Oracle、Tomcat、Mavrn等服务搭建维护,请关注我.
----------交换机A----------
irf member 1 priority 32 //设置优先级
!
int range Ten-GigabitEthernet 1/0/49 to Ten-GigabitEthernet 1/0/50 //关闭物理接口
shutdown //关闭物理接口
qu
!
irf-port 1/1 //创建irf端口
port group interface Ten-GigabitEthernet 1/0/49 //绑定irf物理端口
port group interface Ten-GigabitEthernet 1/0/50 //绑定irf物理端口
quit
int range Ten-GigabitEthernet 1/0/49 to Ten-GigabitEthernet 1/0/50 //开启物理端口
undo shutdown //开启物理端口
save f //保存
quit
quit
reboot //重启
y
!
irf-port-configuration active //激活irf
!
----------交换机B----------
irf member 1 renumber 2 //配置成员编号
y
save f //保存重启
quit
reboot //保存重启
y
!
int range Ten-GigabitEthernet 2/0/49 to Ten-GigabitEthernet 2/0/50 //关闭物理端口
shutdown //关闭物理端口
quit
!
irf member 2 priority 16 //设置优先级
!
irf-port 2/2 //创建irf端口
port group interface Ten-GigabitEthernet 2/0/49 //绑定irf物理端口
port group interface Ten-GigabitEthernet 2/0/50 //绑定irf物理端口
quit
!
int range Ten-GigabitEthernet 2/0/49 to Ten-GigabitEthernet 2/0/50
undo shutdown //开启物理端口
quit
save f //保存
quit
reboot //重启
y
!
irf-port-configuration active //激活irf