Differences between revisions 24 and 25
Revision 24 as of 2016-04-04 11:32:59
Size: 15036
Editor: jksmith4
Comment:
Revision 25 as of 2016-04-04 11:36:28
Size: 14990
Editor: jksmith4
Comment:
Deletions are marked like this. Additions are marked like this.
Line 30: Line 30:
 '''1.Show Commands'''

     
a.'''#show arp summary'''$
 
            
is ideal to show granular details of the ARP table contents. This command will show the number of static entries, total number of dynamic entries,
            
and total number of entries in the ARP resolution table, not including the entries of the CSS management port.

    
b.'''#show arp'''

          
will display what ip addresses are resolved to what MAC addresses


    
c.'''#show connection detail'''

          
will display all of the flag issues of the device


    
d.'''#show xlate'''

          
display details regarding the translation slots.


    
e.'''#show route'''

          
will display the routing table

    
f.'''#show slot0'''

          
will show the contents of slot 0 which is helpful to determine the location of a stored file.

 . '''1.Show Commands'''
  . a.'''#show arp summary'''$
   . is ideal to show granular details of the ARP table contents. This command will show the number of static entries, total number of dynamic entries, and total number of entries in the ARP resolution table, not including the entries of the CSS management port.
  b.'''#show arp'''
   . will display what ip addresses are resolved to what MAC addresses
  c.'''#show connection detail'''
   . will display all of the flag issues of the device
  d.'''#show xlate'''
   . display details regarding the translation slots.
  e.'''#show route'''
   . will display the routing table
  f.'''#show slot0'''
   . will show the contents of slot 0 which is helpful to determine the location of a stored file.
Line 62: Line 44:
Line 96: Line 77:
Line 99: Line 81:
Line 102: Line 85:
Line 104: Line 88:
  1. Note: Use the show failover command in order to verify that both failover groups are in the Standby Ready state on the secondary unit.  1. Note: Use the show failover command in order to verify that both failover groups are in the Standby Ready state on the secondary unit.
Line 106: Line 91:
Line 130: Line 116:
'''ipv6 address '''{'''autoconfig'''| ''ipv6-prefix''/''prefix-length'' ['''eui-64'''] ['''standby'''''ipv6-prefix''] | ''ipv6-address'' '''link-local'''['''standby''' ''ipv6-address'']}
Example:hostname(config-if)# ip address 10.1.1.1 255.255.255.0 standby 10.1.1.2
'''ipv6 address '''{'''autoconfig'''| ''ipv6-prefix''/''prefix-length'' ['''eui-64'''] ['''standby'''''ipv6-prefix''] | ''ipv6-address'' '''link-local'''['''standby''' ''ipv6-address'']} Example:hostname(config-if)# ip address 10.1.1.1 255.255.255.0 standby 10.1.1.2
Line 137: Line 122:
Configures the active and standby IP addresses for each data interface (routed mode), for the management IP address (transparent mode), or for the management-only interface.In routed firewall mode and for the management-only interface, enter this command in interface configuration mode for each interface.In transparent firewall mode, enter the command in global configuration mode.In multiple context mode, configure the interface addresses from within each context. Use the '''change to context''' command to switch between contexts.  Configures the active and standby IP addresses for each data interface (routed mode), for the management IP address (transparent mode), or for the management-only interface.In routed firewall mode and for the management-only interface, enter this command in interface configuration mode for each interface.In transparent firewall mode, enter the command in global configuration mode.In multiple context mode, configure the interface addresses from within each context. Use the '''change to context''' command to switch between contexts.
Line 173: Line 158:
Line 182: Line 166:
'''failover link if_name phy_ifExample:hostname(config)# failover link statelink GigabitEthernet0/2

'''PURPOSE:'''

'''(Optional) Specifies the interface to be used as the Stateful Failover link. Note If the Stateful Failover link uses the failover link or a data interface, then you only need to supply the if_name argument.The if_name argument assigns a logical name to the interface specified by the phy_if argument. The phy_if argument can be the physical port name, such as Ethernet1, or a previously created subinterface, such as Ethernet0/2.3. This interface should not be used for any other purpose (except, optionally, the failover link).
'''failover link if_name phy_ifExample:hostname(config)# failover link statelink GigabitEthernet0/2 '''

'''PURPOSE: '''

(Optional) Specifies the interface to be used as the Stateful Failover link. Note If the Stateful Failover link uses the failover link or a data interface, then you only need to supply the if_name argument.The if_name argument assigns a logical name to the interface specified by the phy_if argument. The phy_if argument can be the physical port name, such as Ethernet1, or a previously created subinterface, such as Ethernet0/2.3. This interface should not be used for any other purpose (except, optionally, the failover link).
Line 190: Line 174:

'''COMMAND:'''

'''failover interface ip if_name [ip_address mask standby ip_address | ipv6_address/prefix standbyipv6_address]Example:hostname(config)# failover interface ip folink 172.27.48.1 255.255.255.0 standby 172.27.48.2

'''PURPOSE:'''

Note If the stateful Failover link uses the failover link or data interface, skip this step. You have already defined the active and standby IP addresses for the interface.The standby IP address must be in the same subnet as the active IP address. You do not need to identify the standby address subnet mask.

'''Step 8:'''

'''COMMAND:'''

interface phy_if no shutdownExample:

hostname(config)# interface vlan100hostname(config-if)# no shutdown

''PURPOSE:'''
'''COMMAND:'''

'''failover interface ip if_name [ip_address mask standby ip_address | ipv6_address/prefix standbyipv6_address]Example:hostname(config)# failover interface ip folink 172.27.48.1 255.255.255.0 standby 172.27.48.2 '''

'''PURPOSE: '''

'''
Note If the stateful Failover link uses the failover link or data interface, skip this step. You have already defined the active and standby IP addresses for the interface.The standby IP address must be in the same subnet as the active IP address. You do not need to identify the standby address subnet mask. '''

'''Step 8: '''

'''COMMAND: '''

'''
interface phy_if no shutdownExample: '''

'''
hostname(config)# interface vlan100hostname(config-if)# no shutdown '''

'''
''PURPOSE:''''''' ''
Line 213: Line 196:
'''COMMAND:''' '''''COMMAND:''' ''
Line 217: Line 200:
'''PURPOSE:''' '''''PURPOSE:''' ''
Line 223: Line 206:
'''COMMAND:'''

<<BR>>'
''copy running-config startup-configExample:hostname(config)# copy running-config startup-config'''PURPOSE:'''Saves the system configuration to Flash memory.'''Configuring the Secondary Unit'''The only configuration required on the secondary unit is for the failover interface. The secondary unit requires these commands to communicate initially with the primary unit. After the primary unit sends its configuration to the secondary unit, the only permanent difference between the two configurations is the '''failover lan unit''' command, which identifies each unit as primary or secondary.'''Prerequisites'''When configuring LAN-based failover, you must bootstrap the secondary device to recognize the failover link before the secondary device can obtain the running configuration from the primary device

'''Step 1:'''

'''COMMAND:'''

failover lan interface if_name phy_ifExample:hostname(config)# failover lan interface folink vlan100Specifies the interface to be used as the failover interface. (Use the same settings that you used for the primary unit.)The ''if_name'' argument assigns a name to the interface specified by the ''phy_if'' argument.

'''Step 2:'''

''' '''
failover interface ip if_name [ip_address mask standby ip_address | ipv6_address/prefix standbyipv6_address]Example:hostname(config)# failover interface ip folink 172.27.48.1 255.255.255.0 standby 172.27.48.2hostname(config)# failover interface ip folink 2001:a0a:b00::a0a:b70/64 standby 2001:a0a:b00::a0a:b71To receive packets from both units in a failover pair, standby IP addresses need to be configured on all interfaces.Note Enter this command exactly as you entered it on the primary unit when you configured the failover interface on the primary unit (including the same IP address).

'''Step 3:'''

''' '''
interface phy_ifno shutdownExample:hostname(config)# interface vlan100hostname(config-if)# no shutdownEnables the interface

'''Step 4:'''

''' '''
failover lan unit secondaryExample:hostname(config)# failover lan unit secondary(Optional) Designates this unit as the secondary unitNote This step is optional because, by default, units are designated as secondary unless previously configured.

'''Step 5:'''

'''COMMAND:'''

'''
Example:hostname(config)# failover

'''PURPOSE:'''

'''
Enables failover: After you enable failover, the active unit sends the configuration in running memory to the standby unit. As the configuration synchronizes, the messages "Beginning configuration replication: Sending to mate" and "End Configuration Replication to mate" appear on the active unit console.

'''Step 6:'''

'''COMMAND:'''

'''
copy running-config startup-config

'''
Example:hostname(config)# copy running-config startup-config

'
''PURPOSE:'''

'''
Saves the configuration to Flash memory.Enter the command after the running configuration has completed replication.
'''''COMMAND:''' ''

''copy running-config startup-configExample:''

''
hostname(config)#''' copy running-config startup-config'''''

''
'''PURPOSE:'''''

Saves the system configuration to Flash memory.Configuring the Secondary UnitThe only configuration required on the secondary unit is for the failover interface. The secondary unit requires these commands to communicate initially with the primary unit. After the primary unit sends its configuration to the secondary unit, the only permanent difference between the two configurations is the failover lan unit command, which identifies each unit as primary or secondary.PrerequisitesWhen configuring LAN-based failover, you must bootstrap the secondary device to recognize the failover link before the secondary device can obtain the running configuration from the primary device

'''Step 1:'' '''''

''
'''COMMAND: '''''

failover lan interface if_name phy_if

Example:  hostname(config)# failover lan interface folink vlan 100Specifies the interface to be used as the failover interface. (Use the same settings that you used for the primary unit.)The if_name argument assigns a name to the interface specified by the phy_if argument.

'''Step 2: '''

failover interface ip if_name [ip_address mask standby ip_address | ipv6_address/prefix standbyipv6_address]Example:hostname(config)# failover interface ip folink 172.27.48.1 255.255.255.0 standby 172.27.48.2hostname(config)# failover interface ip folink 2001:a0a:b00::a0a:b70/64 standby 2001:a0a:b00::a0a:b71To receive packets from both units in a failover pair, standby IP addresses need to be configured on all interfaces.Note Enter this command exactly as you entered it on the primary unit when you configured the failover interface on the primary unit (including the same IP address).

'''Step 3: '''

interface phy_ifno shutdownExample:hostname(config)# interface vlan100hostname(config-if)# no shutdownEnables the interface

'''Step 4: '''

failover lan unit secondaryExample:hostname(config)# failover lan unit secondary(Optional) Designates this unit as the secondary unitNote This step is optional because, by default, units are designated as secondary unless previously configured.

'''Step 5: '''

'''COMMAND: '''

Example:hostname(config)# '''failover '''

''
'''PURPOSE:''' ''

Enables failover: After you enable failover, the active unit sends the configuration in running memory to the standby unit. As the configuration synchronizes, the messages "Beginning configuration replication: Sending to mate" and "End Configuration Replication to mate" appear on the active unit console.

'''''Step 6: '''''

''
'''COMMAND: '''''

'''#
copy running-config startup-config '''

Example:hostname(config)# '''copy running-config startup-config '''

''PURPOSE:''' '''''

Saves the configuration to Flash memory.Enter the command after the running configuration has completed replication.

Perform Zero-Downtime Upgrades for Failover Pairs

http://www.cisco.com/c/en/us/support/docs/security/asa-5500-x-series-next-generation-firewalls/111867-asa-failover-upgrade.html#zerotime

Phase 1 Staging:

1. After logging into the router access the Privilege EXEC mode.

  1. Router>enableCopy the Cisco ios.

  2. Router#copy flash:{your IOS image filename} tftp://{TFTP server IP address}

2. Do the following to verify a cisco IOS hash. Cisco IOS Software Release 12.2(4) and 12.0(22)S, allow the calculation of the MD5 hash of the Cisco image file that is loaded on the device. The hash can be compared against the hash of the user and then against the Cisco provided MD5 hash to confirm the image integrity.

  1. Verify /md5 filesystem:filename [md5-hash]
    1. Ex. router#verify /md5 disk0:c7301-jk9s-mz.124-10.bin

      • ....<output truncated>.....Done!

      • verify /md5 (disk0:c7301-jk9s-mz.124-10.bin) = ad9f9c902fa34b90de8365c3a5039a5brouter#

Phase 2 Backups:

The following commands are useful to view how the details of the arp table.

  • 1.Show Commands

    • a.#show arp summary$

      • is ideal to show granular details of the ARP table contents. This command will show the number of static entries, total number of dynamic entries, and total number of entries in the ARP resolution table, not including the entries of the CSS management port.

      b.#show arp

      • will display what ip addresses are resolved to what MAC addresses

      c.#show connection detail

      • will display all of the flag issues of the device

      d.#show xlate

      • display details regarding the translation slots.

      e.#show route

      • will display the routing table

      f.#show slot0

      • will show the contents of slot 0 which is helpful to determine the location of a stored file.

    Configuration Backup

    1. # copy file_name destination is used to copy files.

      1. "File_name" is the software image name.
      2. "Destination" maybe bootflash:, disk0:, disk1:, slot0:, or tftp:
      3. EX. copy tftp://172.18.0.154/asa912-k8.bin will download the new code from the ipaddress

        1. verify /md5 filesystem:filename [md5-hash] will verify hash of the new code

        2. Upload a new image to the device
          1. #copy tftp: running-config b. Address or name of remote host []? 192.168.1.1 (Ip of the device being updated)

Phase 3 Upgrade Two Units in an Active/Standby Failover Configuration:

  1. The standby unit can be reloaded to boot to the new image by using the following command

    #failover reload-standby

  2. After the device is in the Ready state, the active unit needs to fail over to the standby unit by entering

    #no failover active

  3. Use the following to confirm the standby unit is in the Standby Ready state

    #show failover

  4. Reload the former active unit (now the new standby unit) by entering:

    #reload

  5. When the new standy unit is done reloading and in the Standby Ready state, switch the original active unit to active status
    • #failover active

Upgrade an Active/Active Failover Configuration

Complete these steps in order to upgrade two units in an Active/Active failover configuration: 1. Download the new software to both units, and specify the new image to load with the boot system command. - Refer to Upgrade a Software Image and ASDM Image using CLI for more information.

  1. Make both failover groups active on the primary unit by entering the failover active command in the system execution space of the primary unit: primary

#failover active

  1. Reload the secondary unit to boot the new image by entering the failover reload-standby command in the system execution space of the primary unit: primary

#failover reload-standby

  1. When the secondary unit has finished reloading, and both failover groups are in the Standby Ready state on that unit, make both failover groups active on the secondary unit using the no failover active command in the system execution space of the primary unit: primary

#no failover active

  1. Note: Use the show failover command in order to verify that both failover groups are in the Standby Ready state on the secondary unit.
  2. Make sure both failover groups are in the Standby Ready state on the primary unit, and then reload the primary unit using the reload command: primary

#reload

  1. If the failover groups are configured with the preempt command, they will automatically become active on their designated unit after the preempt delay has passed. If the failover groups are not configured with the preempt command, you can return them to active status on their designated units using the failover active group command.

Troubleshoot


%ASA-5-720012: (VPN-Secondary) Failed to update IPSec failover runtime data on the standby unit (or) %ASA-6-720012: (VPN-unit) Failed to update IPsec failover runtime data on the standby unit

Problem

One of these error messages appear when you try to upgrade the Cisco Adaptive Security Appliance (ASA):

%ASA-5-720012: (VPN-Secondary) Failed to update IPSec failover runtime data on the standby unit. %ASA-6-720012: (VPN-unit) Failed to update IPsec failover runtime data on the standby unit. Solution

These error messages are informative errors. The messages do not impact functionality of the ASA or the VPN. These messages appear when the VPN failover subsystem cannot update IPsec-related runtime data because the corresponding IPsec tunnel has been deleted on the standby unit. In order to resolve these, run the wr standby command on the active unit.

Configuring the primary and secondary units:  http://www.cisco.com/c/en/us/td/docs/security/asa/asa82/configuration/guide/config/ha_active_standby.html

Step 1: Configuring the Primary Unit

COMMAND:

ip address active_addr netmask standbystandby_addr

ipv6 address {autoconfig| ipv6-prefix/prefix-length [eui-64] [standbyipv6-prefix] | ipv6-address link-local[standby ipv6-address]} Example:hostname(config-if)# ip address 10.1.1.1 255.255.255.0 standby 10.1.1.2

hostname(config-if)# ipv6 address 3ffe:c00:0:1::576/64 standby 3ffe:c00:0:1::575

PURPOSE:

Configures the active and standby IP addresses for each data interface (routed mode), for the management IP address (transparent mode), or for the management-only interface.In routed firewall mode and for the management-only interface, enter this command in interface configuration mode for each interface.In transparent firewall mode, enter the command in global configuration mode.In multiple context mode, configure the interface addresses from within each context. Use the change to context command to switch between contexts.

The command prompt changes to hostname/context(config-if)#, where context is the name of the current context. You must enter a management IP address for each context in transparent firewall multiple context mode.Each data interface can have an IPv4 address and one or more IPv6 addresses. For IPv6 addresses that use the eui-64 option, you do not need to specify a standby address—one will be created automatically.Step 2:

COMMAND:

failover lan unit primary

PURPOSE:

Designates the unit as the primary unit.

Step 3:

COMMAND:

failover lan interfaceif_name phy_ifExample:hostname(config)# failover lan interface folink GigabitEthernet0/3PURPOSE:

Specifies the interface to be used as the failover interface.The if_name argument assigns a name to the interface specified by the phy_if argument.The phy_if argument can be the physical port name, such as Ethernet1, or a previously created subinterface, such as Ethernet0/2.3. On the ASA 5505 adaptive ASA, the phy_if specifies a VLAN. This interface should not be used for any other purpose (except, optionally, the Stateful Failover link).

Step 4:

COMMAND:

failover interface ip if_name [ip_address mask standby ip_address | ipv6_address/prefix standbyipv6_address]Example:hostname(config)# failover interface ip folink 172.27.48.1 255.255.255.0 standby 172.27.48.2hostname(config)# failover interface ip folink 2001:a0a:b00::a0a:b70/64 standby 2001:a0a:b00::a0a:b71

PURPOSE:

Assigns the active and standby IP addresses to the failover link. You can assign either an IPv4 or an IPv6 address to the interface. You cannot assign both types of addresses to the failover link.The standby IP address must be in the same subnet as the active IP address. You do not need to identify the standby address subnet mask.The failover link IP address and MAC address do not change at failover. The active IP address for the failover link always stays with the primary unit, while the standby IP address stays with the secondary unit.

Step 5:

COMMAND:

interface phy_ifExample:hostname(config)# interface vlan100hostname(config-if)# no shutdown

PURPOSE:

Enables the interface

Step 6:

COMMAND:

failover link if_name phy_ifExample:hostname(config)# failover link statelink GigabitEthernet0/2

PURPOSE:

(Optional) Specifies the interface to be used as the Stateful Failover link. Note If the Stateful Failover link uses the failover link or a data interface, then you only need to supply the if_name argument.The if_name argument assigns a logical name to the interface specified by the phy_if argument. The phy_if argument can be the physical port name, such as Ethernet1, or a previously created subinterface, such as Ethernet0/2.3. This interface should not be used for any other purpose (except, optionally, the failover link).

Step 7:

COMMAND:

failover interface ip if_name [ip_address mask standby ip_address | ipv6_address/prefix standbyipv6_address]Example:hostname(config)# failover interface ip folink 172.27.48.1 255.255.255.0 standby 172.27.48.2

PURPOSE:

Note If the stateful Failover link uses the failover link or data interface, skip this step. You have already defined the active and standby IP addresses for the interface.The standby IP address must be in the same subnet as the active IP address. You do not need to identify the standby address subnet mask.

Step 8:

COMMAND:

interface phy_if no shutdownExample:

hostname(config)# interface vlan100hostname(config-if)# no shutdown

PURPOSE:'

(Optional) Enables the interface.If the Stateful Failover link uses the failover link or a data interface, skip this step. You have already enabled the interface.

Step 9:

COMMAND:

failoverExample:hostname(config)# failover

PURPOSE:

Enables failover.

Step 10:

COMMAND:

copy running-config startup-configExample:

hostname(config)# copy running-config startup-config

PURPOSE:

Saves the system configuration to Flash memory.Configuring the Secondary UnitThe only configuration required on the secondary unit is for the failover interface. The secondary unit requires these commands to communicate initially with the primary unit. After the primary unit sends its configuration to the secondary unit, the only permanent difference between the two configurations is the failover lan unit command, which identifies each unit as primary or secondary.PrerequisitesWhen configuring LAN-based failover, you must bootstrap the secondary device to recognize the failover link before the secondary device can obtain the running configuration from the primary device

Step 1:

COMMAND:

failover lan interface if_name phy_if

Example: hostname(config)# failover lan interface folink vlan 100Specifies the interface to be used as the failover interface. (Use the same settings that you used for the primary unit.)The if_name argument assigns a name to the interface specified by the phy_if argument.

Step 2:

failover interface ip if_name [ip_address mask standby ip_address | ipv6_address/prefix standbyipv6_address]Example:hostname(config)# failover interface ip folink 172.27.48.1 255.255.255.0 standby 172.27.48.2hostname(config)# failover interface ip folink 2001:a0a:b00::a0a:b70/64 standby 2001:a0a:b00::a0a:b71To receive packets from both units in a failover pair, standby IP addresses need to be configured on all interfaces.Note Enter this command exactly as you entered it on the primary unit when you configured the failover interface on the primary unit (including the same IP address).

Step 3:

interface phy_ifno shutdownExample:hostname(config)# interface vlan100hostname(config-if)# no shutdownEnables the interface

Step 4:

failover lan unit secondaryExample:hostname(config)# failover lan unit secondary(Optional) Designates this unit as the secondary unitNote This step is optional because, by default, units are designated as secondary unless previously configured.

Step 5:

COMMAND:

Example:hostname(config)# failover

PURPOSE:

Enables failover: After you enable failover, the active unit sends the configuration in running memory to the standby unit. As the configuration synchronizes, the messages "Beginning configuration replication: Sending to mate" and "End Configuration Replication to mate" appear on the active unit console.

Step 6:

COMMAND:

#copy running-config startup-config

Example:hostname(config)# copy running-config startup-config

PURPOSE:

Saves the configuration to Flash memory.Enter the command after the running configuration has completed replication.