华三交换机IRF堆叠配置及MAD配置

华三交换机IRF堆叠配置及MAD配置

    • 1、主机
    • 2、备机
    • 3、MAD检测(使用BFD方式)

1、主机

irf member 1 priority 32 //将主机IRF优先级调高,指定该台设备为主机

interface range Ten-GigabitEthernet1/0/51 Ten-GigabitEthernet1/0/52
shutdown //把端口shutdown了才能加入IRF端口组

irf-port 1/1 //将IRF端口加入IRF端口组
port group interface Ten-GigabitEthernet1/0/51
port group interface Ten-GigabitEthernet1/0/52

interface range Ten-GigabitEthernet1/0/51 Ten-GigabitEthernet1/0/52
undo shutdown //将IRF端口开起来

save //保存IRF配置

irf-port-configuration active //激活IRF配置

2、备机

irf member 1 renumber 2 //将备机成员编号改成2,备机加入IRF后,端口以2为开头

save //保存配置

reboot //重启

interface range Ten-GigabitEthernet2/0/51 Ten-GigabitEthernet2/0/52
shutdown //把端口shutdown了才能加入IRF端口组

irf-port2/2 //将IRF端口加入IRF端口组
port group interface Ten-GigabitEthernet2/0/51
port group interface Ten-GigabitEthernet2/0/52

interface range Ten-GigabitEthernet2/0/51 Ten-GigabitEthernet2/0/52
undo shutdown //将IRF端口开起来

save //保存IRF配置

irf-port-configuration active //激活IRF配置

3、MAD检测(使用BFD方式)

BFD //前提是IRF堆叠已经建立

vlan 3000 //创建BFD vlan

interface GigabitEthernet1/0/48
port link-mode bridge
port access vlan 3000 //将端口加入BFD-MAD vlan中
undo stp enable //BFD-MAD和生成树功能互斥,需要在BFD-MAD端口禁用生成树

interface GigabitEthernet2/0/48
port link-mode bridge
port access vlan 3000 //将端口加入BFD-MAD vlan中
undo stp enable //BFD-MAD和生成树功能互斥,需要在BFD-MAD端口禁用生成树

interface Vlan-interface 3000
mad bfd enable //启用BFD-MAD
mad ip address 3.3.3.29 255.255.255.0 member 1 //配置MAD IP地址
mad ip address 3.3.3.30 255.255.255.0 member 2 //配置MAD IP地址

reboot //最后需要重启下交换机

你可能感兴趣的:(运维常见问题)