Interface Loopback
Interface Loopback
The ASA can distribute the loopback address using dynamic routing protocols, or you can configure a static
route on the peer device to reach the loopback IP address through one of the ASA's physical interfaces. You
cannot configure a static route on the ASA that specifies the loopback interface.
Loopback Interfaces
1
Loopback Interfaces
Guidelines for Loopback Interfaces
Context Mode
• VTI is supported in single context mode only. Other loopback uses are supported in multiple context
mode.
Procedure
Step 2 Configure the name and IP address. See Routed and Transparent Mode Interfaces.
Step 3 Configure rate-limiting for loopback traffic. See Rate-Limit Traffic to the Loopback Interface, on page 2.
Loopback Interfaces
2
Loopback Interfaces
Rate-Limit Traffic to the Loopback Interface
Procedure
Step 1 Create an access list identifying traffic to the loopback interface IP address.
access-list name extended permit ip any host loopback_ip
Create an ACE for each loopback interface IP address. You can also narrow this access list by specifiying the
source IP addresses instead of any.
Example:
Step 3 Apply maximum connections and maximum embryonic connections to the class map as part of the global
policy map.
policy-map global_policy
class class_map_name
set connection conn-max conns embryonic-conn-max conns
Set the maximum connections to the expected number of connections for the loopback interface, and the
embryonic connections to a lower number. For example, you can set it to 5/2, or 10/5, or 1024/512, depending
on the expected loopback interface sessions you need.
Setting the embryonic connection limit enables TCP Intercept, which protects the system from a DoS attack
perpetrated by flooding an interface with TCP SYN packets.
Example:
Example
The following example sets the maximum connections and embryonic connections to 10 and 5 for
the default global policy for all traffic going to two loopback interfaces at 10.1.1.1 and 10.2.1.1.
Loopback Interfaces
3
Loopback Interfaces
Monitoring Loopback Interfaces
Loopback interface support for VTI 9.19(1) A loopback interface provides redundancy of static and dynamic VTI VPN tunnels.
You can now set a loopback interface as the source interface for a VTI. The VTI
interface can also inherit the IP address of a loopback interface instead of a statically
configured IP address. The loopback interface helps to overcome path failures. If an
interface goes down, you can access all interfaces through the IP address of the
loopback interface.
New/Modified commands: tunnel source interface, ip unnumbered, ipv6
unnumbered
Loopback Interfaces
4
Loopback Interfaces
History for Loopback Interfaces
Support for loopback interface 9.18(2) You can now add a loopback interface and use it for:
• BGP
• AAA
• SNMP
• Syslog
• SSH
• Telnet
Loopback Interfaces
5
Loopback Interfaces
History for Loopback Interfaces
Loopback Interfaces
6