Leaflet
15-8
思科 ASA 系列命令参考,A 至 H 命令
第 15 章 failover 至 fallback 命令
failover exec
Stateful Failover Logical Update Statistics
Link : failover GigabitEthernet0/3 (up)
Stateful Obj xmit xerr rcv rerr
General 344 0 344 0
sys cmd 344 0 344 0
up time 0 0 0 0
RPC services 0 0 0 0
TCP conn 0 0 0 0
UDP conn 0 0 0 0
ARP tbl 0 0 0 0
Xlate_Timeout 0 0 0 0
Logical Update Queue Information
Cur Max Total
Recv Q: 0 1 344
Xmit Q: 0 1 344
以下示例使用 failover exec 命令显示故障切换对等设备的故障切换配置。命令在主要设备(主用
设备)上执行,因此所显示的信息来自辅助设备(备用设备)。
ciscoasa(config)# failover exec mate show running-config failover
failover
failover lan interface failover GigabitEthernet0/3
failover polltime unit 1 holdtime 3
failover polltime interface 3 holdtime 15
failover link failover GigabitEthernet0/3
failover interface ip failover 10.0.5.1 255.255.255.0 standby 10.0.5.2
ciscoasa(config)#
以下示例使用 failover exec 命令从备用设备创建主用设备上的情景。该命令从主用设备复制回备
用设备。注意两条 “Creating context…”(正在创建情景 ...)消息。一条来自创建情景时对等设
备的 failover exec 命令输出,另一条来自当复制命令本地创建情景时的本地设备。
ciscoasa(config)# show context
Context Name Class Interfaces URL
*admin default GigabitEthernet0/0, disk0:/admin.cfg
GigabitEthernet0/1
Total active Security Contexts: 1
! The following is executed in the system execution space on the standby unit.
ciscoasa(config)# failover exec active context text
Creating context 'text'... Done.(2)
Creating context 'text'... Done.(3)
ciscoasa(config)# show context
Context Name Class Interfaces URL
*admin default GigabitEthernet0/0, disk0:/admin.cfg
GigabitEthernet0/1
text default (not entered)
Total active Security Contexts: 2