知识点分析:
failover
它是为了配合服务器的网卡teaming功能,把连接服务器网卡的端口设为control端口,把上行端口(或portchannel或LACP)作为monitor端口,control和monitor端口共同组成一个trigger组,当monitor端口失效时,会自动关闭control端口,由此引起所连接的teaming网卡(绑定的网卡属于不同的IO模块)failover到另一个IO模块,最多支持8个trigger.
操作步骤:
以下举例是将ext1和ext2做了portchannel静态绑定,所以monitor端口为portchannel1,由于EXT2没有插网线,所以显示Failed状态。
Router(config)#failover trigger 1 mmon monitor portchannel 1
Router(config)#failover trigger 1 mmon control member inta1
Router(config)#failover enable
Router(config)#failover trigger 1 enable
Router(config)#show failover trigger 1
Current Trigger 1 setting: enabled
limit 0
Auto Monitor settings:
Manual Monitor settings:
trunks 1
Manual Control settings:
ports INTA1
Router(config)#show failover trigger information
Failover: On
VLAN Monitor: OFF
Trigger 1 Manual Monitor: Enabled
Trigger 1 limit: 0
Monitor State: Up
Member Status
--- -----
PortChannel 1
EXT1 Operational
EXT2 Failed
Control State: Auto Controlled
Member Status
--- -----
Physical ports
INTA1 Operational
Trigger 2: Disabled
Trigger 3: Disabled
Trigger 4: Disabled
Trigger 5: Disabled
Trigger 6: Disabled
Trigger 7: Disabled
Trigger 8: Disabled