Skip to content

Commit

Permalink
bug_fix: cisco_asa_show_failover - account for ASA Firepower module
Browse files Browse the repository at this point in the history
  • Loading branch information
deesel authored and FragmentedPacket committed Oct 1, 2019
1 parent 1d344ff commit 25fbf98
Show file tree
Hide file tree
Showing 3 changed files with 99 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/cisco_asa_show_failover.template
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ ThisHost
^\s*Other\s+host:.+?-\s+${SERVICE_STATE_MATE}\s*$$ -> OtherHost
^\s*Other\s+host:\s+\S+\s*$$ -> OtherHost
^\s*slot\s+\d+:\s+empty\s*$$
^\s*ASA\s+FirePOWER
^\s*$$
^. -> Error

Expand All @@ -68,6 +69,7 @@ OtherHost
# Service module has different line
^\s*\S+,\s+\S+,\s+\S+\s*$$
^\s*slot\s+\d+:\s+empty\s*$$
^\s*ASA\s+FirePOWER
^Stateful\s+Failover\s+Logical\s+Update\s+Statistics\s*$$ -> Stats
^\s*$$
^. -> Error
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
parsed_sample:
- state: "On"
role: "Secondary"
lan_intf_name: "FAILOVER"
lan_intf: "Port-channel1"
lan_intf_state: "up"
sw_version: "9.6(4)5"
sw_version_mate: "9.6(4)5"
failover_group: [None]
last_failover_time: ["15:04:07"]
last_failover_timezone: ["MET"]
last_failover_month: ["Feb"]
last_failover_day: ["21"]
last_failover_year: ["2019"]
service_state: ["Active"]
service_state_mate: ["Standby Ready"]
ssp_slot: ["1", "2"]
ssp_model: ["ASA5516", "SFR5516"]
ssp_status: ["Up", "Up/Up"]
ssp_slot_mate: ["1", "2"]
ssp_model_mate: ["ASA5516", "SFR5516"]
ssp_status_mate: ["Up", "Up/Up"]
interfaces_context: [None, None, None]
interfaces: ["outside", "dmz", "inside"]
interfaces_status: ["Normal", "Normal", "Normal"]
interfaces_state: ["Waiting", "Monitored", "Monitored"]
interfaces_context_mate: [None, None, None]
interfaces_mate: ["outside", "dmz", "inside"]
interfaces_status_mate: ["Normal", "Normal", "Normal"]
interfaces_state_mate: ["Waiting", "Monitored", "Monitored"]

Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
Failover On
Failover unit Secondary
Failover LAN Interface: FAILOVER Port-channel1 (up)
Reconnect timeout 0:00:00
Unit Poll frequency 1 seconds, holdtime 5 seconds
Interface Poll frequency 1 seconds, holdtime 5 seconds
Interface Policy 1
Monitored Interfaces 3 of 160 maximum
MAC Address Move Notification Interval not set
failover replication http
Version: Ours 9.6(4)5, Mate 9.6(4)5
Serial Number: Ours JAD201603CM, Mate JAD193905FV
Last Failover at: 15:04:07 MET Feb 21 2019
This host: Secondary - Active
Active time: 19157465 (sec)
slot 1: ASA5516 hw/sw rev (3.1/9.6(4)5) status (Up Sys)
Interface outside (192.168.1.1): Normal (Waiting)
Interface dmz (192.168.2.1): Normal (Monitored)
Interface inside (10.41.2.34): Normal (Monitored)
slot 2: SFR5516 hw/sw rev (N/A/5.4.1-211) status (Up/Up)
ASA FirePOWER, 5.4.1-211, Up, (Monitored)
Other host: Primary - Standby Ready
Active time: 0 (sec)
slot 1: ASA5516 hw/sw rev (3.1/9.6(4)5) status (Up Sys)
Interface outside (192.168.1.2): Normal (Waiting)
Interface dmz (192.168.2.1): Normal (Monitored)
Interface inside (10.41.2.35): Normal (Monitored)
slot 2: SFR5516 hw/sw rev (N/A/5.4.1-211) status (Up/Up)
ASA FirePOWER, 5.4.1-211, Up, (Monitored)

Stateful Failover Logical Update Statistics
Link : FAILOVER Port-channel1 (up)
Stateful Obj xmit xerr rcv rerr
General 2328225841 0 1677167694 646
sys cmd 4246925 0 4246925 0
up time 0 0 0 0
RPC services 0 0 0 0
TCP conn 1985946559 0 1459317209 629
UDP conn 337660641 0 213539388 6
ARP tbl 25482 0 17670 0
Xlate_Timeout 0 0 0 0
IPv6 ND tbl 0 0 0 0
VPN IKEv1 SA 14790 0 9853 0
VPN IKEv1 P2 51315 0 36648 0
VPN IKEv2 SA 277984 0 0 0
VPN IKEv2 P2 2143 0 0 0
VPN CTCP upd 0 0 0 0
VPN SDI upd 0 0 0 0
VPN DHCP upd 0 0 0 0
SIP Session 0 0 0 0
SIP Tx 0 0 0 0
SIP Pinhole 0 0 0 0
Route Session 0 0 0 11
Router ID 0 0 0 0
User-Identity 2 0 1 0
CTS SGTNAME 0 0 0 0
CTS PAC 0 0 0 0
TrustSec-SXP 0 0 0 0
IPv6 Route 0 0 0 0
STS Table 0 0 0 0

Logical Update Queue Information
Cur Max Total
Recv Q: 0 23 1698419665
Xmit Q: 0 32 2360626510

0 comments on commit 25fbf98

Please sign in to comment.