Table Of Contents
Verifying Failover Configuration
Additional Failover Information
Frequently Asked Failover Questions
Failover Configuration Example
Using PIX Firewall Failover
Failover allows you to add a second PIX Firewall unit that takes control if the primary unit fails. This chapter includes the following topics:
•
Verifying Failover Configuration
•
Additional Failover Information
•
Failover Configuration Example
Note
The PIX 515, PIX 515E, PIX 525, and PIX 535 support failover when used in an identically matching failover pair. For example, a pair of identical PIX 515Es will support failover, but not a mixed pair of a PIX 515 and a PIX 515E. Additionally, the primary unit in the failover pair must have a Unrestricted (UR) license. The secondary unit can have a Failover (FO) or UR license.
The PIX 501, PIX 506, and PIX 506E do not support failover in any configuration.
Understanding Failover
Failover allows you to connect a second PIX Firewall unit to your network to protect your network should the first unit go offline. If you use Stateful Failover, you can maintain operating state for the TCP connection during the failover from the primary unit to the standby unit.
When a failover occurs, each unit changes state. The unit that activates assumes the IP and MAC addresses of the previously active unit and begins accepting traffic. The new standby unit assumes the failover IP and MAC addresses of the unit that was previously the active unit. Because network devices see no change in these addresses, no ARP entries change or time out anywhere on the network.
Failover requires you to purchase a second PIX Firewall unit sold as a failover unit that only works as a failover unit. You need to ensure that both units have the same software version, activation key type, Flash memory, and the same RAM. Once you configure the primary unit and attach the necessary cabling, the primary unit automatically copies the configuration over to the standby unit.
The ACT indicator light on the front of the PIX 515, PIX 525, and PIX 535 is on when the unit is the active failover unit. If failover is not enabled, this light is on. If failover is present, the light is on when the unit is the active unit and off when the unit is the standby unit.
The failover feature causes the PIX Firewall to ARP for itself every 15 seconds (depending on the time set with the failover poll command). This ARPing can only be stopped by disabling failover.
Failover works with all Ethernet interfaces.
Note
For Stateful Failover on a PIX 535, if you have Gigabit Ethernet (GE) interfaces, then the failover link must be GE.
Cabling two PIX Firewall units together for failover requires a high-speed serial cable. If you are using Stateful Failover, a separate dedicated connection is required and the minimum connection speed is 100 Mbps full-duplex. (Please see the Cisco PIX Firewall Hardware Installation Guide for more detailed set up information.)
Configuring the primary PIX Firewall for failover requires you to configure the failover command to enable failover, the failover ip address command to assign IP addresses to the standby unit, and the failover link command to enable Stateful Failover.
Note
See "Additional Failover Information" for information on Stateful Failover, how failover occurs, and frequently asked questions.
Configuring Failover
For failover, both PIX Firewall units should be the same model number, have at least as much RAM, have the same Flash memory size, and be running the same software version.
Note
If you have already powered on the standby unit, power it off and leave it off until instructed in the steps that follow.
Follow these steps to configure failover:
Step 1
Because the PIX Firewall clock is stored in the CMOS, if you have not done so already, specify the clock set time command on the active PIX Firewall to synchronize the time on both PIX Firewall units. If you are using IPSec with digital certificates, set the time appropriate to the GMT timezone (this is done because the PIX Firewall does not use timezones).
Step 2
Attach a network cable between the primary and secondary units for each network interface to which you have configured an IP address.
Step 3
Connect the failover cable to the primary PIX Firewall unit ensuring that the end of the cable marked "Primary" attaches to the primary unit and that the end marked "Secondary" connects to the secondary unit.
Step 4
Only configure the primary unit. Changes made to the standby unit are not copied to the primary unit and are lost during the next reboot. When you are done configuring the PIX Firewall and enter the write memory command to save the configuration to Flash memory, the primary unit automatically updates the secondary unit.
Note
Do not power on the secondary unit until prompted by the system. First configure the primary unit and then power on the secondary unit only when prompted to do so.
Step 5
Enter configuration mode with the configure terminal command.
Step 6
Ensure that you have not used the auto or the 1000auto option in any interface command in your configuration. To view interface commands in your configuration, use the write terminal command. Reenter an interface with new information to correct a command you wish to change. Always specify the speed for the interface, such as 10baset for 10 Mbps or 100basetx for 100 Mbps. Ensure that the same speeds and duplexes are the same for any devices on the subnets including switches and routers.
Step 7
If you are using Stateful Failover, set the Stateful Failover dedicate interface speed using the 100full or 1000sxfull option to the interface command. This is extremely important and should be performed even if you are using a crossover connector to connect the PIX Firewall units directly to each other.
Step 8
Use the clear xlate command after changing the interface command.
Step 9
If you have not done so already, use the ip address command statement to assign IP addresses to each interface on the primary unit. If you make a mistake while entering an ip address command, reenter the command again correctly.
Use the show ip address command to view the addresses you specified:
show ip addressSystem IP Addresses:ip address outside 192.168.1.1 255.255.255.0ip address inside 10.1.1.1 255.255.255.0ip address intf2 192.168.2.1 255.255.255.0ip address intf3 192.168.3.1 255.255.255.0ip address 4th 172.16.1.1 255.255.255.0Current IP Addresses:ip address outside 192.168.1.1 255.255.255.0ip address inside 10.1.1.1 255.255.255.0ip address intf2 192.168.2.1 255.255.255.0ip address intf3 192.168.3.1 255.255.255.0ip address 4th 172.16.1.1 255.255.255.0The Current IP Addresses are the same as the System IP Addresses on the failover active unit. When the primary unit fails, the Current IP Addresses become those of the standby unit.
Step 10
Use the failover command statement to enable failover on the primary unit.
Step 11
Use the show failover command to verify that the primary unit is enabled by checking for the following statement:
This host: primary - ActiveSample output from the show failover command follows:
show failoverFailover OnCable status: Other side powered offReconnect timeout 0:00:00Poll frequency 15 secondsThis host: primary - ActiveActive time: 225 (sec)Interface 4th (172.16.1.1): Normal (Waiting)Interface intf3 (192.168.3.1): Normal (Waiting)Interface intf2 (192.168.2.1): Normal (Waiting)Interface outside (192.168.1.1): Normal (Waiting)Interface inside (10.1.1.1): Normal (Waiting)Other host: secondary - StandbyActive time: 0 (sec)Interface 4th (0.0.0.0): Unknown (Waiting)Interface intf3 (0.0.0.0): Unknown (Waiting)Interface intf2 (0.0.0.0): Unknown (Waiting)Interface outside (0.0.0.0): Unknown (Waiting)Interface inside (0.0.0.0): Unknown (Waiting)The Cable Status that displays with the show failover command has these values:
•
My side not connected—Indicates that the serial cable is not connected to the unit on which you entered the show failover command.
•
Normal—Indicates that the active unit is working and that the standby unit is ready.
•
Other side is not connected—Indicates that the serial cable is not connected to the other unit (the unit opposite from where you entered the show failover command).
•
Other side powered off—Indicates that the unit not shown as Active is powered off.
The failover interface flags appear to the right of each interface's IP address in the show failover command display. The failover flags indicate the following:
•
Failed—The interface has failed.
•
Link Down—The interface line protocol is down.
•
Normal—The interface is working correctly.
•
Shut Down—The interface has been administratively shut down (the shutdown option is enabled in the interface command statement in the configuration).
•
Unknown—The IP address for the interface has not been configured and failover cannot determine the status of the interface.
•
Waiting—Monitoring of the other unit's network interface has not yet started.
Step 12
Enter a failover ip address command statement for each interface to specify the standby unit's interface addresses. It is not necessary for the two units to be configured for this command to work correctly. The IP addresses on the standby unit are different from the active unit's addresses, but should be in the same subnet for each interface. The following example sets the IP addresses for the interfaces on the standby unit.
failover ip address inside 10.1.1.2failover ip address outside 192.168.1.2failover ip address intf2 192.168.2.2failover ip address intf3 192.168.3.2failover ip address 4th 172.16.1.2Sample output from the show failover command shows that the secondary unit now has IP addresses for each interface:
show failoverFailover OnCable status: Other side powered offReconnect timeout 0:00:00Poll frequency 15 secondsThis host: primary - ActiveActive time: 510 (sec)Interface 4th (172.16.1.1): Normal (Waiting)Interface intf3 (192.168.3.1): Normal (Waiting)Interface intf2 (192.168.2.1): Normal (Waiting)Interface outside (192.168.1.1): Normal (Waiting)Interface inside (10.1.1.1): Normal (Waiting)Other host: secondary - StandbyActive time: 0 (sec)Interface 4th (172.16.1.2): Unknown (Waiting)Interface intf3 (192.168.3.2): Unknown (Waiting)Interface intf2 (192.168.2.2): Unknown (Waiting)Interface outside (192.168.1.2): Unknown (Waiting)Interface inside (10.1.1.2): Unknown (Waiting)Step 13
If you are configuring Stateful Failover, use the failover link command to specify the name of the dedicated interface you are using. For example, assume the "4th" interface will be used for Stateful Failover and enter the following command.
failover link 4thStep 14
After enabling Stateful Failover, use the show failover command and additional information is provided as follows:
show failoverFailover OnCable status: Other side powered offReconnect timeout 0:00:00Poll frequency 15 secondsThis host: primary - ActiveActive time: 510 (sec)Interface 4th (172.16.1.1): Normal (Waiting)Interface intf3 (192.168.3.1): Normal (Waiting)Interface intf2 (192.168.2.1): Normal (Waiting)Interface outside (192.168.1.1): Normal (Waiting)Interface inside (10.1.1.1): Normal (Waiting)Other host: secondary - StandbyActive time: 0 (sec)Interface 4th (172.16.1.2): Unknown (Waiting)Interface intf3 (192.168.3.2): Unknown (Waiting)Interface intf2 (192.168.2.2): Unknown (Waiting)Interface outside (192.168.1.2): Unknown (Waiting)Interface inside (10.1.1.2): Unknown (Waiting)Stateful Failover Logical Update StatisticsLink : 4thStateful Obj xmit xerr rcv rerrGeneral 0 0 0 0sys cmd 0 0 0 0up time 0 0 0 0xlate 0 0 0 0tcp conn 0 0 0 0udp conn 0 0 0 0ARP tbl 0 0 0 0RIP Tbl 0 0 0 0Logical Update Queue InformationCur Max TotalRecv Q: 0 0 0Xmit Q: 0 0 0The items in the top row of the "Stateful Failover Logical Update Statistics" section of the show failover command are as follows:
•
Stateful Obj—PIX Firewall stateful object
•
xmit—Number of transmitted packets to the other unit
•
xerr—Number of errors that occurred while transmitting packets to the other unit
•
rcv—Number of received packets
•
rerr—Number of errors that occurred while receiving packets from the other unit
The items in the first column provide an object static count for each statistic:
•
General—Sum of all stateful objects
•
sys cmd—Logical update system commands; for example, LOGIN and Stay Alive
•
up time—Up time, which the active unit passes to the standby unit
•
xlate—Translation information
•
tcp conn—CTCP connection information
•
udp conn—Dynamic UDP connection information
•
ARP tbl—Dynamic ARP table information
•
RIF Tbl—Dynamic router table information
The items in the "Logical Update Queue Information" list the current, maximum, and total number of packets in the receive (Recv) and transmit (Xmit) queues.
Step 15
If you want to set a time shorter than 15 seconds for the units to exchange "hello" packets to ensure each unit is available, use the failover poll seconds command. The default is 15 seconds. The minimum value is 3 seconds and the maximum is 15 seconds. Set to a lower value for Stateful Failover. With a faster poll time, PIX Firewall can detect failure and trigger failover faster. However, faster detection may cause unnecessary switchovers when the network is temporarily congested or a network card starts slowly.
Step 16
Power on the secondary unit. As soon as the secondary unit starts, the primary unit recognizes it and starts synchronizing the configurations. As the configurations synchronize, the messages "Sync Started" and "Sync Completed" appear.
Step 17
After the standby unit comes up, use the show failover command on the primary unit to verify status:
show failoverFailover OnCable status: Other side powered offReconnect timeout 0:00:00Poll frequency 15 secondsThis host: primary - ActiveActive time: 510 (sec)Interface 4th (172.16.1.1): NormalInterface intf3 (192.168.3.1): NormalInterface intf2 (192.168.2.1): NormalInterface outside (192.168.1.1): NormalInterface inside (10.1.1.1): NormalOther host: secondary - StandbyActive time: 0 (sec)Interface 4th (172.16.1.2): NormalInterface intf3 (192.168.3.2): NormalInterface intf2 (192.168.2.2): NormalInterface outside (192.168.1.2): NormalInterface inside (10.1.1.2): NormalStateful Failover Logical Update StatisticsLink : 4thStateful Obj xmit xerr rcv rerrGeneral 0 0 0 0sys cmd 0 0 0 0up time 0 0 0 0xlate 0 0 0 0tcp conn 0 0 0 0udp conn 0 0 0 0ARP tbl 0 0 0 0RIP Tbl 0 0 0 0Logical Update Queue InformationCur Max TotalRecv Q: 0 0 0Xmit Q: 0 0 0Step 18
Use the write memory to save the configuration to Flash memory and to synchronize the configuration on the standby unit with the primary unit.
Verifying Failover Configuration
Follow these steps to verify that the configuration was successful:
Step 1
If you have access to a syslog server, such as a UNIX system, enable logging so you can view the syslog messages as you proceed with the steps that follow. For information on syslog messages, refer to the Cisco PIX Firewall System Log Messages, which is available online at the following website:
http://www.cisco.com/en/US/products/sw/secursw/ps2120/products_system_message_guide_book09186a008008d2bc.html
Additional information on syslog is available on the logging command page in the Cisco PIX Firewall Command Reference.
To enable logging to a server with the example address 10.1.1.5 on the inside interface, use the following commands:
logging host inside 10.1.1.5logging trap debugginglogging onThe logging trap debugging command statement lets all levels of syslog messages be sent, which can produce a large number of messages on a system in production, but is very helpful for debugging. When you are done testing failover, use the logging trap error command to reduce the number of syslog messages to only those messages displaying an alert, critical condition, or error.
Step 2
Test the secondary unit by powering off the primary unit.
Step 3
Use the show failover command to verify that the secondary unit is now active.
Step 4
Use FTP to send a file between hosts on different interfaces.
Step 5
Use the show interface command to verify that traffic is being processed.
Step 6
You can also use the debug fover option command. Choose an option from the following table:
Step 7
When ready, power on the primary unit and it will take over automatically as the active unit.
Additional Failover Information
This section includes the following topics:
•
Frequently Asked Failover Questions
Failover Communication
Both units in a failover pair communicate through the failover cable, which is a modified RS-232 serial link cable that transfers data at 117,760 baud (115K). The data provides the unit identification of primary or secondary, the power status of the other unit, and serves as a communication link for various failover communications between the two units.
The two units send special failover "hello" packets to each other over all network interfaces and the failover cable every 15 seconds. The failover poll seconds command allows you to determine how long failover waits before sending special failover "hello" packets between the primary and standby units over all network interfaces and the failover cable. The default is 15 seconds. The minimum value is 3 seconds and the maximum is 15 seconds. Set to a lower value for Stateful Failover. With a faster poll time, PIX Firewall can detect failure and trigger failover faster. However, faster detection may cause unnecessary switchovers when the network is temporarily congested or a network card starts slowly.
The failover feature in PIX Firewall monitors failover communication, the power status of the other unit, and hello packets received at each interface. If two consecutive hello packets are not received within a time determined by the failover feature, failover starts testing the interfaces to determine which unit has failed, and transfers active control to the standby unit.
You can choose the Stateful Failover option if you have 100 Mbps LAN interfaces so that connection states are automatically relayed between the two units. If you are using Stateful Failover, connection states are relayed from the primary unit to the secondary unit. Without Stateful Failover, the standby unit does not maintain the state information of each connection. This means that all active connections will be dropped when failover occurs and that client systems should reestablish connections.
What Causes Failover?
If a failure is due to a condition other than a loss of power on the other unit, failover will begin a series of tests to determine which unit failed. This series of tests will begin when "hello" messages are not heard for two consecutive 15-second intervals (the interval depends on how you set the failover poll command). Hello messages are sent over both network interfaces and the failover cable.
The purpose of these tests is to generate network traffic in order to determine which (if either) unit has failed. At the start of each test, each unit clears its received packet count for its interfaces. At the conclusion of each test, each unit looks to see if it has received any traffic. If it has, the interface is considered operational. If one unit receives traffic for a test and the other unit does not, the unit that received no traffic is considered failed. If neither unit has received traffic, then go to the next test.
Note
If the failover IP address has not been set, failover does not work, and the Network Activity, ARP, and Broadcast ping tests are not performed.
Failover uses the following tests to determine if the other unit is available:
•
Link Up/Down test—This is a test of the NIC card itself. If an interface card is not plugged into an operational network, it is considered failed (for example, a switch failed, has a failed port, or a cable is unplugged).
•
Network Activity test—This is a received network activity test. The unit will count all received packets for up to 5 seconds. If any packets are received at any time during this interval, the interface is considered operational and testing stops. If no traffic is received, the ARP test begins.
•
ARP test—The ARP test consists of reading the unit's ARP cache for the 10 most recently acquired entries. One at a time the unit sends ARP requests to these machines attempting to stimulate network traffic. After each request the unit counts all received traffic for up to 5 seconds. If traffic is received, the interface is considered operational. If no traffic is received, an ARP request is sent to the next machine. If at the end of the list no traffic has been received, the ping test begins.
•
Broadcast Ping test—The ping test consists of sending out a broadcast ping request. The unit then counts all received packets for up to 5 seconds. If any packets are received at any time during this interval, the interface is considered operational and testing stops. If no traffic is received, the testing starts over again with the ARP test.
Configuration Replication
The two PIX Firewall units should be configured exactly the same and running the same software release. Configuration replication occurs over the failover cable from the active unit to the standby unit in three ways:
•
When the standby unit completes its initial bootup, the active unit replicates its entire configuration to the standby unit.
•
As commands are entered on the active unit they are sent across the Failover Cable to the standby unit.
•
Entering the write standby command on the active unit forces the entire configuration in memory to be sent to the standby unit.
The configuration replication only occurs from Flash memory to Flash memory. After replication, use the write memory command to write the configuration into Flash memory. Because the failover cable is used, the replication can take a long time to complete with a large configuration. If a switchover occurs during the replication, the new active unit will have a partial configuration. The unit will reboot itself to recover the configuration from the Flash memory or re-synchronize with the other unit. When the replication starts, the PIX Firewall console displays the message "Sync Started," and when complete, displays the message "Sync Completed." During the replication, information cannot be entered on the PIX Firewall console.
Stateful Failover
The Stateful Failover feature passes per-connection stateful information to the standby unit. After a failover occurs, the same connection information is available at the new active unit. End user applications are not required to do a reconnect to keep the same communication session.
The state information passed to the standby unit includes the global pool addresses and status, connection and translation information and status, the negotiated H.323 UDP ports, the port allocation bit map for PAT, and other details necessary to let the standby unit take over processing if the primary unit fails.
Depending on the failure, the PIX Firewall takes from 15 to 45 seconds to cause a switchover. Applications not handled by Stateful Failover will then require time to reconnect before the active unit becomes fully functional.
Stateful Failover requires a minimum 100 Mbps full-duplex interface to be used exclusively for passing state information between the two PIX Firewall units.
The Stateful Failover interface can be connected to any of the following:
•
Cat 5 crossover cable directly connecting the primary unit to the secondary unit.
•
100BaseTX half duplex switch using straight Cat 5 cables.
•
100BaseTX full duplex on a dedicated switch or dedicated VLAN of a switch.
•
1000BaseTX full duplex on a dedicated switch or dedicated VLAN of a switch.
Data is passed over the dedicated interface using IP protocol 105. No hosts or routers should be on this interface.
Figure 8-1 shows two PIX Firewall units connected for use with Stateful Failover.
Figure 8-1 Stateful Failover Minimum Setup
Note
All enabled interfaces should be connected between the active and standby units. If an interface is not in use, use the shutdown option to the interface command to disable the interface.
Disabling Failover
You can disable failover with the no failover command. If failover is disabled, the following messages display when you enter the show failover command.
show failoverFailover OffCable Status: My side not connectedReconnect timeout: 0:00:00Failover Usage Notes
The following notes apply to the use of failover on the PIX Firewall:
1.
When a failover cable connects two PIX Firewall units, the no failover command disables failover until you enter the failover command to explicitly enable failover. Previously, when the failover cable connected two PIX Firewall units and you entered the no failover command, failover would automatically re-enable after 15 seconds.
If you reboot the PIX Firewall without entering the write memory command and the failover cable is connected, failover mode automatically enables.
2.
Perform the following on any switch that connects to the PIX Firewall:
a.
Enable portfast on all ports on the switch that connect directly to the PIX Firewall.
b.
Turn off trunking on all ports on the switch that connect directly to the PIX Firewall.
c.
Turn off channeling on all ports on the switch that connect directly to the PIX Firewall.
d.
Ensure the MSFC is not running a deferred Cisco IOS software version.
3.
The PIX Firewall failover unit is intended to be used solely for failover and not in standalone mode. If a failover unit is used in standalone mode, the unit will reboot at least once every 24 hours until the unit is returned to failover duty. When the unit reboots, the following message displays at the console.
=========================NOTICE ==========================This machine is running in secondary mode withouta connection to an active primary PIX. Pleasecheck your connection to the primary system.REBOOTING....==========================================================4.
If a failover-only PIX Firewall is not attached to a failover cable or is attached to the primary end of a failover cable, then it will hang at boot time. It should be a secondary unit.
5.
Changes made on the standby unit are not replicated on the active unit.
Step 1
Failover messages always have a syslog priority level of 2, which indicates a critical condition. Refer to the logging command in the Cisco PIX Firewall Command Reference for more information on syslog messages. For a complete list of messages, refer to Cisco PIX Firewall System Log Messages. PIX Firewall documentation is available at the following website:
http://www.cisco.com/en/US/customer/products/hw/vpndevc/ps2030/prod_technical_documentation.html
To receive SNMP syslog traps (SNMP failover traps), configure the SNMP agent to send SNMP traps to SNMP management stations, define a syslog host, and also have compiled the Cisco syslog MIB into your SNMP management station. See the snmp-server and logging command in the Cisco PIX Firewall Command Reference for more information.
Frequently Asked Failover Questions
This section contains some frequently asked questions about the failover features.
•
What happens when failover is triggered?
A switch can be initiated by either unit. When a switch takes place, each unit changes state. The newly active unit assumes the IP address and MAC address of the previously active unit and begins accepting traffic for it. The new standby unit assumes the IP address and MAC address of the unit that was previously the standby unit.
•
How is startup initialization accomplished between two units?
When a unit boots up, it defaults to Failover Off and secondary, unless the failover cable is present or failover has been saved in the configuration. The configuration from the active unit is also copied to the standby unit. If the cable is not present, the unit automatically becomes the active unit. If the cable is present, the unit that has the primary end of the failover cable plugged into it becomes the primary unit by default.
•
How can both units be configured the same without manually entering the configuration twice?
Commands entered on the active unit are automatically replicated on the standby unit.
•
What happens if a primary unit has a power failure?
When the primary PIX Firewall unit experiences a power failure, the Standby PIX Firewall comes up in active mode. If the primary unit is powered on again it will become the standby unit.
•
What constitutes a failure?
Fault detection is based on the following:
–
Failover hello packets are received on each interface. If hello packets are not heard for two consecutive 15 second intervals, the interface will be tested to determine which unit is at fault. (You can change this duration with the failover poll command.)
–
Cable errors. The cable is wired so that each unit can distinguish between a power failure in the other unit, and an unplugged cable. If the standby unit detects that the active unit is turned off (or resets), it will take active control.
If the cable is unplugged, a syslog is generated but no switching occurs. An exception to this is at bootup, at which point an unplugged cable will force the unit active. If both units are powered on without the failover cable installed they will both become active creating a duplicate IP address conflict on your network. The failover cable has to be installed for failover to work correctly.
–
Failover communication. The two units share information every 15 seconds, but you can change this duration with the failover poll command. If the standby unit does not hear from the active unit in two communication attempts (and the cable status is OK) the standby unit will take over as active.
•
How long does it take to detect a failure?
–
Network errors are detected within 30 seconds (two consecutive 15-second intervals).
–
Power failure (and cable failure) is detected within 15 seconds.
–
Failover communications errors are detected within 30 seconds (two consecutive 15-second intervals).
•
What maintenance is required?
Syslog messages will be generated when any errors or switches occur. Evaluate the failed unit and fix or replace it.
Stateful Failover Questions
•
What causes Stateful Failover to occur?
–
A power off or a power down condition on the active PIX Firewall.
–
Reboot of the active PIX Firewall.
–
A link goes down on the active PIX Firewall for more than twice the configured poll time or a maximum of 30 seconds.
–
"Failover active" on the Standby PIX Firewall.
–
Block memory exhaustion for 15 consecutive seconds or more on the active unit.
•
What information is replicated to the Standby PIX Firewall on Stateful Failover?
–
The configuration.
–
TCP connection table including timeout information of each connection.
–
Translation (xlate) table.
–
System up time; that is, the system clock is synchronized on both PIX Firewall units.
•
What information is not replicated to the Standby PIX Firewall on Stateful Failover?
–
The user authentication (uauth) table.
–
The ISAKMP and IPSec SA table.
–
The ARP table.
–
Routing information.
•
What are Stateful Failover hardware requirements?
–
Two identical PIX Firewall units are required, each with a LAN port dedicated to Stateful Failover and a minimum connection speed of 100 Mbps full-duplex between them. Connect the LAN ports for Stateful Failover on both PIX Firewall units with a crossover cable or through a switch.
–
For better performance, a PIX 520 or later model of PIX Firewall is recommended.
–
You need a failover cable to connect the two failover ports on both PIX Firewall units.
•
What are Stateful Failover hardware restrictions?
–
The failover cable should be installed and be working correctly.
–
The dedicated LAN ports on both PIX Firewall units that use Tera Term Pro with SSH must be connected and fully functional.
•
What are Stateful Failover software requirements?
–
PIX Firewall version 5.1 or later is required for Stateful Failover.
–
Both PIX Firewall units should run the same version of PIX Firewall software.
•
What are Stateful Failover license requirements?
–
Stateful Failover requires a feature-based license key with failover feature support or connection-based license key.
Failover Configuration Example
Figure 8-2 lists the network diagram for a failover configuration.
Figure 8-2 Failover Configuration
Follow these steps to configure the PIX Firewall units for use with failover:
Step 1
Set up the PIX Firewall without failover information.
Step 2
Add the failover ip address command for all interfaces including the one for the dedicated failover interface and any unused interfaces.
If there are any interfaces that have not been configured in the non-failover setup, configure them at this time with an IP address and a failover IP address. Also connect any unused interfaces to each other (a cross-over cable works great) so that the failover check-up messages can be sent and received properly. PIX Firewall requires that unused interfaces be connected to the standby unit as well.
Step 3
If you want to configure Stateful Failover, add the failover link command and specify the interface the Stateful Failover will be using. For Stateful Failover, you should have a dedicated 100baseTX Stateful Failover interface in addition to all other interfaces.
Step 4
Use the write memory command on the primary unit to save the new configuration.
Step 5
Plug the failover cable into the primary unit and then power on the secondary unit.
Note
If the secondary unit has been previously configured, before you connect it to the failover cable to the primary unit, boot it up, and enter the write erase command to remove any configuration. This will ensure a smooth synchronization.
Step 6
Enter the write standby command from the active unit to synchronize the current configuration to the Flash memory on the standby unit.
Example Configuration
In the example configuration in "Failover Configuration Example," the Ethernet2 interface (labeled "failover") is used as the dedicated interface for Stateful Failover. The Ethernet3 interface is a previously unconfigured interface and is currently not connected to any active network. There is a cross-over Ethernet cable connecting the unused interface so that the failover check up messages can be sent and received.
Note
PIX Firewall requires that unused interfaces be connected to the standby unit and that each unused interface be assigned an IP address. Even if an interface is administratively shut down, the PIX Firewall will try to send the failover check up messages to all internal interfaces.
Example 8-1 lists the failover configuration.
Example 8-1 Failover Configuration
nameif ethernet0 outside security0nameif ethernet1 inside security100nameif ethernet2 failover security10nameif ethernet3 unused security20enable password xxx encryptedpasswd xxx encryptedhostname pixfirewallfixup protocol ftp 21fixup protocol http 80fixup protocol smtp 25fixup protocol h323 1720fixup protocol rsh 514fixup protocol sqlnet 1521namespager lines 20no logging timestampno logging standbylogging console errorsno logging monitorno logging bufferedno logging traplogging facility 20logging queue 512interface ethernet0 10basetinterface ethernet1 10basetinterface ethernet2 100fullinterface ethernet3 10basetmtu outside 1500mtu inside 1500mtu failover 1500mtu unused 1500ip address outside 209.165.201.1 255.255.255.224ip address inside 192.168.2.1 255.255.255.0ip address failover 192.168.254.1 255.255.255.0ip address unused 192.168.253.1 255.255.255.252failoverfailover ip address outside 209.165.201.2failover ip address inside 192.168.2.2failover ip address failover 192.168.254.2failover ip address unused 192.168.253.2failover link failoverarp timeout 14400global (outside) 1 209.165.201.3 netmask 255.255.255.224nat (inside) 1 0.0.0.0 0.0.0.0 0 0static (inside,outside) 209.165.201.5 192.168.2.5 netmask 255.255.255.255 0 0access-list acl_out permit tcp any 209.165.201.5 eq 80access-list acl_out permit icmp any anyaccess-group acl_out in interface outsideaccess-list acl_ping permit icmp any anyaccess-group acl_ping in interface insideno rip outside passiveno rip outside defaultno rip inside passiveno rip inside defaultno rip failover passiveno rip failover defaultroute outside 0 0 209.165.201.4 1timeout xlate 3:00:00timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 rpc 0:10:00 h323 0:05:00 sip 0:30:00 sip_media 0:02:00timeout uauth 0:05:00 absoluteaaa-server TACACS+ protocol tacacs+aaa-server RADIUS protocol radiusno snmp-server locationno snmp-server contactsnmp-server community publicno snmp-server enable trapstelnet timeout 5terminal width 80


