Table Of Contents
uc-ime through zonelabs integrity ssl-client-authentication Commands
uc-ime
ucm
undebug
unix-auth-gid
unix-auth-uid
upload-max-size
uri-non-sip
url
url-block
url-cache
url-entry
url-length-limit
url-list (removed)
url-list (group-policy webvpn)
url-server
urgent-flag
user
user-alert
user-authentication
user-authentication-idle-timeout
user-group
user-identity action ad-agent-down
user-identity action domain-controller-down
user-identity action mac-address-mismatch
user-identity action netbios-response-fail
user-identity ad-agent aaa-server
user-identity ad-agent active-user-database
user-identity ad-agent hello-timer
user-identity default-domain
user-identity domain
user-identity enable
user-identity inactive-user-timer
user-identity logout-probe
user-identity poll-import-user-group-timer
user-identity static user
user-identity update active-user-database
user-identity update import-user
user-identity user-not-found
user-message
user-parameter
user-statistics
user-storage
username (8.4(3) and earlier)
username (8.4(4.1) and later)
username-from-certificate
username attributes
username-prompt
validate-attribute
validation-policy (crypto ca trustpoint)
verify
version
virtual http
virtual telnet
vlan
vlan (group-policy)
vnmc org
vnmc policy-agent
vpath path-mtu
vpdn group
vpdn username
vpn-access-hours
vpn-addr-assign
vpn-filter
vpn-framed-ip-address
vpn-group-policy
vpn-idle-timeout
vpn load-balancing
vpn-session-db
vpn-sessiondb logoff
vpn-session-timeout
vpn-simultaneous-logins
vpn-tunnel-protocol
vpnclient connect
vpnclient enable
vpnclient ipsec-over-tcp
vpnclient mac-exempt
vpnclient management
vpnclient mode
vpnclient nem-st-autoconnect
vpnclient server-certificate
vpnclient server
vpnclient trustpoint
vpnclient username
vpnclient vpngroup
vpnsetup
wccp
wccp redirect
web-agent-url
web-applications
web-bookmarks
webvpn
webvpn (group-policy and username modes)
who
window-variation
wins-server
without-csd
write erase
write memory
write net
write standby
write terminal
zonelabs-integrity fail-close
zonelabs-integrity fail-open
zonelabs-integrity fail-timeout
zonelabs-integrity interface
zonelabs-integrity port
zonelabs-integrity server-address
zonelabs-integrity ssl-certificate-port
zonelabs-integrity ssl-client-authentication
uc-ime through zonelabs integrity ssl-client-authentication Commands
uc-ime
To create the Cisco Intercompany Media Engine proxy instance, use the uc-ime command in global configuration mode. To remove the proxy instance, use the no form of this command.
uc-ime uc-ime_name
no uc-ime uc-ime_name
Syntax Description
uc-ime_name
|
Specifies the instance name of the Cisco Intercompany Media Engine proxy configured on the ASA. The name is limited to 64 characters.
Only one Cisco Intercompany Media Engine proxy can be configured on the ASA.
|
Defaults
No default behavior or values.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Global configuration
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
8.3(1)
|
The command was introduced.
|
Usage Guidelines
Configures the Cisco Intercompany Media Engine proxy. Cisco Intercompany Media Engine enables companies to interconnect on-demand, over the Internet with advanced features made available by VoIP technologies. Cisco Intercompany Media Engine allows for business-to-business federation between Cisco Unified Communications Manager clusters in different enterprises by utilizing peer-to-peer, security, and SIP protocols to create dynamic SIP trunks between businesses. A collection of enterprises work together to end up looking like one large business with inter-cluster trunks between them.
You must create the media termination instance before you specify it in the Cisco Intercompany Media Engine proxy.
Only one Cisco Intercompany Media Engine proxy can be configured on the ASA.
Examples
The following example shows how to configure a Cisco Intercompany Media Engine proxy by using the uc-ime command.
hostname(config)# uc-ime local_uc-ime_proxy
hostname(config-uc-ime)# media-termination ime-media-term
hostname(config-uc-ime)# ucm address 192.168.10.30 trunk-security-mode non-secure
hostname(config-uc-ime)# ticket epoch 1 password password1234
hostname(config-uc-ime)# fallback monitoring timer 120
hostname(config-uc-ime)# fallback hold-down timer 30
Related Commands
Command
|
Description
|
fallback
|
Configures the fallback timers that the Cisco Intercompany Media Engine uses to fallback from VoIP to PSTN when connection integrity degrades.
|
show uc-ime
|
Displays statistical or detailed information about fallback-notifications, mapping-service-sessions, and signaling-sessions.
|
ticket
|
Configures the ticket epoch and password for the Cisco Intercompany Media Engine proxy.
|
ucm
|
Configures the Cisco UCMs that the Cisco Intercompany Media Engine Proxy connects to.
|
ucm
To configure which Cisco Unified Communication Managers (UCM) that the Cisco Intercompany Media Engine Proxy connects to, use the ucm command in global configuration mode. To remove the the Cisco UCM that are connected to the Cisco Intercompanuy Media Engine Proxy, use the no form of this command.
ucm address ip_address trunk-security-mode {nonsecure | secure}
no ucm address ip_address trunk-security-mode {nonsecure | secure}
Syntax Description
address
|
The keyword to configure the IP address of the Cisco Unified Communications Manager (UCM).
|
ip_address
|
Specifies the IP address of the Cisco UCM. Enter the IP address in IPv4 format.
|
nonsecure
|
Specifies that the Cisco UCM or Cisco UCM cluster is operating in non-secure mode.
|
secure
|
Specifies that the Cisco UCM or Cisco UCM cluster is operating in secure mode.
|
trunk-security-mode
|
The keyword to configure the security mode of the Cisco UCM or Cisco UCM cluster.
|
Defaults
No default behavior or values.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
UC-IME configuration
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
8.3(1)
|
This command was introduced.
|
Usage Guidelines
Specifies the Cisco UCM server in the enterprise.
You can enter multiple ucm commands for the Cisco Intercompany Media Engine proxy.
Note
You must include an entry for each Cisco UCM in the cluster with Cisco Intercompany Media Engine that has a SIP trunk enabled.
Specifying secure for Cisco UCM or Cisco UCM cluster indicates that Cisco UCM or Cisco UCM cluster is initiating TLS; therefore, you must set up configure TLS for components.
You can specify the secure option in this task or you can update it later while configuring TLS for the enterprise.
TLS within the enterprise refers to the security status of the Cisco Intercompany Media Engine trunk as seen by the adaptive security appliance.
If the transport security for the Cisco Intercompany Media Engine trunk changes on Cisco UCM, it must be changed on the adaptive security appliance as well. A mismatch will result in call failure. The adaptive security appliance does not support SRTP with non-secure IME trunks. The adaptive security appliance assumes SRTP is allowed with secure trunks. So `SRTP Allowed' must be checked for IME trunks if TLS is used. The adaptive security appliance supports SRTP fallback to RTP for secure IME trunk calls.
The proxy sits on the edge of the enterprise and inspects SIP signaling between SIP trunks created between enterprises. It terminates TLS signaling from the Internet and initiates TCP or TLS to Cisco UCM.
Transport Layer Security (TLS) is a cryptographic protocol that provides security for communications over networks such as the Internet. TLS encrypts the segments of network connections at the Transport Layer end-to-end.
This task is not required if TCP is allowable within the inside network.
Key steps for Configuring TLS within the local enterprise:
•
local adaptive security appliance, create another RSA key and trustpoint for the self-signed certificate
•
exporting and importing the certificates between the local Cisco UCM and local adaptive security appliance
•
create a trustpoint for local Cisco UCM on the adaptive security appliance
Authentication via TLS: In order for the ASA to act as a porty on behalf of N enterprises, the Cisco UCMs must be able to accept the one certificate from the ASA. This can be done by associating all the UC-IME SIP trunks with the same SIP security profile containing the same subject name as that of the one presented by the ASA because the Cisco UCM extracts the subject name from the certificate and compares that with the name configured in the security profile.
Examples
The following example shows ...:
hostname(config)# uc-ime local_uc-ime_proxy
hostname(config-uc-ime)# media-termination ime-media-term
hostname(config-uc-ime)# ucm address 192.168.10.30 trunk-security-mode non-secure
hostname(config-uc-ime)# ticket epoch 1 password password1234
hostname(config-uc-ime)# fallback monitoring timer 120
hostname(config-uc-ime)# fallback hold-down timer 30
Related Commands
undebug
To disable the display of debug information in the current session, use the undebug command in privileged EXEC mode.
undebug {command | all}
Syntax Description
command
|
Disables debug for the specified command. See the Usage Guidelines for information about the supported commands.
|
all
|
Disables all debug output.
|
Defaults
No default behavior or values.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Privileged EXEC
|
•
|
•
|
•
|
•
|
•
|
Command History
Release
|
Modification
|
7.0(1)
|
This command was modified. It includes additional debug keywords.
|
Usage Guidelines
The following commands can be used with the undebug command. For more information about debugging a specific command, or for the associated arguments and keywords for a specific debug command, see the entry for debug command.
•
aaa—AAA information
•
acl—ACL information
•
all—All debugging
•
appfw—Application firewall information
•
arp—ARP including NP operations
•
asdm—ASDM information
•
auto-update—Auto-update information
•
boot-mem—Boot memory calculation and set
•
cifs—CIFS information
•
cmgr—CMGR information
•
context—Context information
•
cplane—CP information
•
crypto—Crypto information
•
ctiqbe—CTIQBE information
•
ctl-provider—CTL provider debugging information
•
dap—DAP information
•
dcerpc—DCERPC information
•
ddns—Dynamic DNS information
•
dhcpc—DHCP client information
•
dhcpd—DHCP server information
•
dhcprelay—DHCP Relay information
•
disk—Disk information
•
dns—DNS information
•
eap—EAP information
•
eigrp—EIGRP protocol information
•
email—Email information
•
entity—Entity MIB information
•
eou—EAPoUDP information
•
esmtp—ESMTP information
•
fips—FIPS 140-2 information
•
fixup—Fixup information
•
fover—Failover information
•
fsm—FSM information
•
ftp—FTP information
•
generic—Miscellaneous information
•
gtp—GTP information
•
h323—H323 information
•
http—HTTP information
•
icmp—ICMP information
•
igmp—Internet Group Management Protocol
•
ils—LDAP information
•
im—IM inspection information
•
imagemgr—Image Manager information
•
inspect—inspect debugging information
•
integrityfw—Integrity Firewall information
•
ip—IP information
•
ipsec-over-tcp—IPSec over TCP information
•
ipsec-pass-thru—Inspect ipsec-pass-thru information
•
ipv6—IPv6 information
•
iua-proxy—IUA proxy information
•
kerberos—KERBEROS information
•
l2tp—L2TP information
•
ldap—LDAP information
•
mfib—Multicast forwarding information base
•
mgcp—MGCP information
•
module-boot—Service module boot information
•
mrib—Multicast routing information base
•
nac-framework—NAC-FRAMEWORK information
•
netbios-inspect—NETBIOS inspect information
•
npshim—NPSHIM information
•
ntdomain—NT domain information
•
ntp—NTP information
•
ospf—OSPF information
•
p2p—P2P inspection information
•
parser—Parser information
•
pim—Protocol Independent Multicast
•
pix—PIX information
•
ppp—PPP information
•
pppoe—PPPoE information
•
pptp—PPTP information
•
radius—RADIUS information
•
redundant-interface—redundant interface information
•
rip—RIP information
•
rtp—RTP information
•
rtsp—RTSP information
•
sdi—SDI information
•
sequence—Add sequence number
•
session-command—Session command information
•
sip—SIP information
•
skinny—Skinny information
•
sla—IP SLA Monitor Debug
•
smtp-client—Email system log messsages
•
splitdns—Split DNS information
•
sqlnet—SQLNET information
•
ssh—SSH information
•
sunrpc—SUNRPC information
•
tacacs—TACACS information
•
tcp—TCP for WebVPN
•
tcp-map—TCP map information
•
timestamps—Add timestamp
•
track—static route tracking
•
vlan-mapping—VLAN mapping information
•
vpn-sessiondb—VPN session database information
•
vpnlb—VPN load balancing information
•
wccp—WCCP information
•
webvpn—WebVPN information
•
xdmcp—XDMCP information
•
xml—XML parser information
Because debugging output is assigned high priority in the CPU process, it can render the system unusable. For this reason, use debug commands only to troubleshoot specific problems or during troubleshooting sessions with Cisco TAC. Moreover, it is best to use debug commands during periods of lower network traffic and fewer users. Debugging during these periods decreases the likelihood that increased debug command processing overhead will affect system use.
Examples
The example disabled all debug output:
hostname(config)# undebug all
Related Commands
Command
|
Description
|
debug
|
Displays debug information for the selected command.
|
unix-auth-gid
To set the UNIX group ID, use the unix-auth-gid command in group-policy webvpn configuration mode. To remove this command from the configuration, use the no version of this command.
unix-auth-gid <identifier>
no storage-objects
Syntax Description
identifier
|
Specifies an integer in the range 0 through 4294967294.
|
Defaults
The default is 65534.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Group-policy webvpn configuration mode
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
8.0(2)
|
This command was introduced.
|
Usage Guidelines
The string specifies a network file system (NetFS) location. Only SMB and FTP protocols are supported; for example, smb://(NetFS location) or ftp://(NetFS location). You use the name of this location in the storage-objects command.
Examples
The following example sets the UNIX group ID to 4567:
hostname(config)# group-policy test attributes
hostname(config-group-policy)# webvpn
hostname(config-group-webvpn)# unix-auth-gid 4567
Related Commands
Command
|
Description
|
unix-auth-uid
|
Sets the UNIX user ID.
|
unix-auth-uid
To set the UNIX user ID, use the unix-auth-uid command in group-policy webvpn configuration mode. To remove this command from the configuration, use the no version of this command.
unix-auth-gid <identifier>
no storage-objects
Syntax Description
identifier
|
Specifies an integer in the range 0 through 4294967294.
|
Defaults
The default is 65534.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Group-policy webvpn configuration mode
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
8.0(2)
|
This command was introduced.
|
Usage Guidelines
The string specifies a network file system (NetFS) location. Only SMB and FTP protocols are supported; for example, smb://(NetFS location) or ftp://(NetFS location). You use the name of this location in the storage-objects command.
Examples
The following example sets the UNIX user ID to 333:
hostname(config)# group-policy test attributes
hostname(config-group-policy)# webvpn
hostname(config-group-webvpn)# unix-auth-gid 333
Related Commands
Command
|
Description
|
unix-auth-gid
|
Sets the UNIX group ID.
|
upload-max-size
To specify the maximum size allowed for an object to upload, use the upload-max-size command in group-policy webvpn configuration mode. To remove this object from the configuration, use the no version of this command.
upload-max-size <size>
no upload-max-size
Syntax Description
size
|
Specifies the maximum size allowed for a uploaded object. The range is 0 through 2147483647.
|
Defaults
The default size is 2147483647.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Group-policy webvpn configuration mode
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
8.0(2)
|
This command was introduced.
|
Usage Guidelines
Setting the size to 0 effectively disallows object uploading.
Examples
The following example sets the maximum size for a uploaded object to 1500 bytes:
hostname(config)# group-policy test attributes
hostname(config-group-policy)# webvpn
hostname(config-group-webvpn)# upload-max-size 1500
Related Commands
Command
|
Description
|
post-max-size
|
Specifies the maximum size of an object to post.
|
download-max-size
|
Specifies the maximum size of an object to download.
|
webvpn
|
Use in group-policy configuration mode or in username configuration mode. Lets you enter webvpn mode to configure parameters that apply to group policies or usernames.
|
webvpn
|
Use in global configuration mode. Lets you configure global settings for WebVPN.
|
uri-non-sip
To identify the non-SIP URIs present in the Alert-Info and Call-Info header fields, use the uri-non-sip command in parameters configuration mode. Parameters configuration mode is accessible from policy map configuration mode. To disable this feature, use the no form of this command.
uri-non-sip action {mask | log} [log}
no uri-non-sip action {mask | log} [log}
Syntax Description
mask
|
Masks the non-SIP URIs.
|
log
|
Specifies standalone or additional log in case of violation.
|
Defaults
This command is disabled by default.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Parameters configuration
|
•
|
•
|
•
|
•
|
—
|
Command History
Release
|
Modification
|
7.2(1)
|
This command was introduced.
|
Examples
The following example shows how to identify the non-SIP URIs present in the Alert-Info and Call-Info header fields in a SIP inspection policy map:
hostname(config)# policy-map type inspect sip sip_map
hostname(config-pmap)# parameters
hostname(config-pmap-p)# uri-non-sip action log
Related Commands
Command
|
Description
|
class
|
Identifies a class map name in the policy map.
|
class-map type inspect
|
Creates an inspection class map to match traffic specific to an application.
|
policy-map
|
Creates a Layer 3/4 policy map.
|
show running-config policy-map
|
Display all current policy map configurations.
|
url
To maintain the list of static URLs for retrieving CRLs, use the url command in crl configure configuration mode. The crl configure configuration mode is accessible from the crypto ca trustpoint configuration mode. To delete an existing URL, use the no form of this command.
url index url
no url index url
Syntax Description
index
|
Specifies a value from 1 to 5 that determines the rank of each URL in the list. The ASA tries the URL at index 1 first.
|
url
|
Specifies the URL from which to retrieve the CRL.
|
Defaults
No default behaviors or values.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
CRL configure configuration
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
7.0
|
This command was introduced.
|
Usage Guidelines
You cannot overwrite existing URLs. To replace an existing URL, first delete it using the no form of this command.
Examples
The following example enters ca-crl configuration mode, and sets up an index 3 for creating and maintaining a list of URLs for CRL retrieval and configures the URL https://foobin.com from which to retrieve CRLs:
hostname(configure)# crypto ca trustpoint central
hostname(ca-trustpoint)# crl configure
hostname(ca-crl)# url 3 https://foobin.com
Related Commands
Command
|
Description
|
crl configure
|
Enters ca-crl configuration mode.
|
crypto ca trustpoint
|
Enters trustpoint configuration mode.
|
policy
|
Specifies the source for retrieving CRLs.
|
url-block
To manage the URL buffers used for web server responses while waiting for a filtering decision from the filtering server, use the url-block command. To remove the configuration, use the no form of this command.
url-block block block_buffer
no url-block block block_buffer
url-block mempool-size memory_pool_size
no url-block mempool-size memory_pool_size
url-block url-size long_url_size
no url-block url-size long_url_size
Syntax Description
block block_buffer
|
Creates an HTTP response buffer to store web server responses while waiting for a filtering decision from the filtering server. The permitted values are from 1 to 128, which specifies the number of 1550-byte blocks.
|
mempool-size memory_pool_size
|
Configures the maximum size of the URL buffer memory pool in Kilobytes (KB). The permitted values are from 2 to 10240, which specifies a URL buffer memory pool from 2 KB to 10240 KB.
|
url-size long_url_size
|
Configures the maximum allowed URL size in KB for each long URL being buffered. The permitted values, which specifies a maximum URL size,: for Websense are 2, 3, or 4, representing 2 KB, 3 KB, or 4KB; or for Secure Computing, 2 or 3, representing 2 KB or 3 KB.
|
Defaults
This command is disabled by default.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Global configuration
|
•
|
•
|
•
|
•
|
•
|
Command History
Release
|
Modification
|
Preexisting
|
This command was preexisting.
|
Usage Guidelines
For Websense filtering servers, the url-block url-size command allows filtering of long URLs, up to 4 KB. For Secure Computing, the url-block url-size command allows filtering of long URLs, up to 3 KB. For both Websense and N2H2 filtering servers, the url-block block command causes the ASA to buffer packets received from a web server in response to a web client request while waiting for a response from the URL filtering server. This improves performance for the web client compared to the default ASA behavior, which is to drop the packets and to require the web server to retransmit the packets if the connection is permitted.
If you use the url-block block command and the filtering server permits the connection, the ASA sends the blocks to the web client from the HTTP response buffer and removes the blocks from the buffer. If the filtering server denies the connection, the ASA sends a deny message to the web client and removes the blocks from the HTTP response buffer.
Use the url-block block command to specify the number of blocks to use for buffering web server responses while waiting for a filtering decision from the filtering server.
Use the url-block url-size command with the url-block mempool-size command to specify the maximum length of a URL to be filtered and the maximum memory to assign to the URL buffer. Use these commands to pass URLs longer than 1159 bytes, up to a maximum of 4096 bytes, to the Websense or Secure-Computing server. The url-block url-size command stores URLs longer than 1159 bytes in a buffer and then passes the URL to the Websense or Secure-Computing server (through a TCP packet stream) so that the Websense or Secure-Computing server can grant or deny access to that URL.
Examples
The following example assigns 56 1550-byte blocks for buffering responses from the URL filtering server:
hostname#(config)# url-block block 56
Related Commands
Commands
|
Description
|
clear url-block block statistics
|
Clears the block buffer usage counters.
|
filter url
|
Directs traffic to a URL filtering server.
|
show url-block
|
Displays information about the URL cache, which is used for buffering URLs while waiting for responses from an N2H2 or Websense filtering server.
|
url-cache
|
Enables URL caching while pending responses from an N2H2 or Websense server and sets the size of the cache.
|
url-server
|
Identifies an N2H2 or Websense server for use with the filter command.
|
url-cache
To enable URL caching for URL responses received from a Websense server and to set the size of the cache, use the url-cache command in global configuration mode. To remove the configuration, use the no form of this command.
url-cache { dst | src_dst } kbytes [ kb ]
no url-cache { dst | src_dst } kbytes [ kb ]
Syntax Description
dst
|
Cache entries based on the URL destination address. Select this mode if all users share the same URL filtering policy on the Websense server.
|
size kbytes
|
Specifies a value for the cache size within the range 1 to 128 KB.
|
src_dst
|
Cache entries based on the both the source address initiating the URL request as well as the URL destination address. Select this mode if users do not share the same URL filtering policy on the Websense server.
|
statistics
|
Use the statistics option to display additional URL cache statistics, including the number of cache lookups and hit rate.
|
Defaults
This command is disabled by default.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Global configuration
|
•
|
•
|
•
|
•
|
•
|
Command History
Release
|
Modification
|
Preexisting
|
This command was preexisting.
|
Usage Guidelines
Note
The N2H2 server application does not support this command for url filtering.
The url-cache command provides a configuration option to cache responses from the URL server.
Use the url-cache command to enable URL caching, set the size of the cache, and display cache statistics.
Caching stores URL access privileges in memory on the ASA. When a host requests a connection, the ASA first looks in the URL cache for matching access privileges instead of forwarding the request to the Websense server. Disable caching with the no url-cache command.
Note
If you change settings on the Websense server, disable the cache with the no url-cache command and then re-enable the cache with the url-cache command.
Using the URL cache does not update the Websense accounting logs for Websense protocol Version 1. If you are using Websense protocol Version 1, let Websense run to accumulate logs so you can view the Websense accounting information. After you get a usage profile that meets your security needs, enable url-cache to increase throughput. Accounting logs are updated for Websense protocol Version 4 URL filtering while using the url-cache command.
Examples
The following example caches all outbound HTTP connections based on the source and destination addresses:
hostname(config)# url-cache src_dst 128
Related Commands
Commands
|
Description
|
clear url-cache statistics
|
Removes url-cache command statements from the configuration.
|
filter url
|
Directs traffic to a URL filtering server.
|
show url-cache statistics
|
Displays information about the URL cache, which is used for URL responses received from a Websense filtering server.
|
url-server
|
Identifies a Websense server for use with the filter command.
|
url-entry
To enable or disable the ability to enter any HTTP/HTTPS URL on the portal page, use the url-entry command in dap webvpn configuration mode.
url-entry enable | disable
enable | disable
|
Enables or disables the ability to browse for file servers or shares..
|
Defaults
No default value or behaviors.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Dap webvpn configuration
|
•
|
•
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
8.0(2)
|
This command was introduced.
|
Usage Guidelines
Examples
The following example shows how to enable URL entryfor the DAP record called Finance:
hostname (config) config-dynamic-access-policy-record Finance
hostname(config-dynamic-access-policy-record)# webvpn
hostname(config-dynamic-access-policy-record)# url-entry enable
Related Commands
Command
|
Description
|
dynamic-access-policy-record
|
Creates a DAP record.
|
file-entry
|
Enables or disables the ability to enter file server names to access.
|
url-length-limit
To configure the maximum length of the URL allowed in the RTSP message, use the url-length-limit command in parameters configuration mode. Parameters configuration mode is accessible from policy map configuration mode. To disable this feature, use the no form of this command.
url-length-limit length
no url-length-limit length
Syntax Description
length
|
The URL length limit in bytes. Range is 0 to 6000.
|
Defaults
No default behavior or values.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Parameters configuration
|
•
|
•
|
•
|
•
|
—
|
Command History
Release
|
Modification
|
8.0(2)
|
This command was introduced.
|
Examples
The following example shows how to configure the URL length limit in an RTSP inspection policy map:
hostname(config)# policy-map type inspect rtsp rtsp_map
hostname(config-pmap)# parameters
hostname(config-pmap-p)# url-length-limit 50
Related Commands
Command
|
Description
|
class
|
Identifies a class map name in the policy map.
|
class-map type inspect
|
Creates an inspection class map to match traffic specific to an application.
|
policy-map
|
Creates a Layer 3/4 policy map.
|
show running-config policy-map
|
Display all current policy map configurations.
|
url-list (removed)
You can no longer use this command to define URl lists for access over SSL VPN connections. Now use the import command to import the XML object that defines a URL list. See the import- and export-url-list commands for more information.
Defaults
There is no default URL list.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Global configuration mode
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
7.0(1)
|
This command was introduced.
|
8.0(2)
|
This command was deprecated. It remains in the software for this release only to provide backward compatibility for pre-existing URL lists, so that the security appliance can convert such lists to XML files. Be aware that you cannot use the command to create a new URL list.
|
Usage Guidelines
You use the url-list command in global configuration mode to create one or more lists of URLs. To allow access to the URLs in a list for a specific group policy or user, use the listname you create here with the url-list command in webvpn mode.
Examples
The following example shows how to create a URL list called Marketing URLs that provides access to www.cisco.com, www.example.com, and www.example.org. The following table provides values that the example uses for each application.
listname
|
displayname
|
url
|
Marketing URLs
|
Cisco Systems
|
http://www.cisco.com
|
Marketing URLs
|
Example Company, Inc.
|
http://www.example.com
|
Marketing URLs
|
Example Organization
|
http://www.example.org
|
hostname(config)# url-list Marketing URLs Cisco Systems http://www.cisco.com
hostname(config)# url-list Marketing URLs Example Company, Inc. http://www.example.com
hostname(config)# url-list Marketing URLs Example Organization http://www.example.org
Related Commands
Command
|
Description
|
clear configuration url-list
|
Removes all url-list commands from the configuration. If you include the listname, the ASA removes only the commands for that list.
|
show running-configuration url-list
|
Displays the current set of configured urls.
|
webvpn
|
Use in group-policy configuration mode or in username configuration mode. Lets you enter webvpn mode to configure parameters that apply to group policies or usernames.
|
webvpn
|
Use in global configuration mode. Lets you configure global settings for WebVPN.
|
url-list (group-policy webvpn)
To apply a list of WebVPN servers and URLs to a particular user or group policy, use the url-list command in group-policy webvpn configuration mode or in username webvpn configuration mode. To remove a list, including a null value created by using the url-list none command, use the no form of this command. The no option allows inheritance of a value from another group policy. To prevent inheriting a url list, use the url-list none command. Using the command a second time overrides the previous setting.
url-list {value name | none} [index]
no url-list
Syntax Description
index
|
Indicates the display priority on the home page.
|
none
|
Sets a null value for url lists. Prevents inheriting a list from a default or specified group policy.
|
value name
|
Specifies the name of a previously configured list of urls. To configure such a list, use the url-list command in global configuration mode.
|
Defaults
There is no default URL list.
Command Modes
The following table shows the modes in which you enter the commands:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Group-policy webvpn mode
|
•
|
—
|
•
|
—
|
—
|
Username mode
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
7.0(1)
|
This command was introduced.
|
Usage Guidelines
Using the command a second time overrides the previous setting.
Before you can use the url-list command in webvpn mode to identify a URL list that you want to display on the WebVPN home page for a user or group policy, you must create the list via an XML object. Use the import command in global configuration mode to download a URL list to the security appliance. Then use the url-list command to apply a list to a particular group policy or user.
Examples
The following example applies a URL list called FirstGroupURLs for the group policy named FirstGroup and assigns it first place among the URL lists:
hostname(config)# group-policy FirstGroup attributes
hostname(config-group-policy)# webvpn
hostname(config-group-webvpn)# url-list value FirstGroupURLs 1
Related Commands
Command
|
Description
|
clear configure url-list [listname]
|
Removes all url-list commands from the configuration. If you include the listname, the ASA removes only the commands for that list.
|
show running-configuration url-list
|
Displays the current set of configured url-list commands.
|
webvpn
|
Lets you enter webvpn mode. This can be webvpn configuration mode, group-policy webvpn configuration mode (to configure webvpn settings for a specific group policy), or username webvpn configuration mode (to configure webvpn settings for a specific user).
|
url-server
To identify an N2H2 or Websense server for use with the filter command, use the url-server command in global configuration mode. To remove the configuration, use the no form of this command.
N2H2
url-server [<(if_name)>] vendor {smartfilter | n2h2} host <local_ip> [port <number>] [timeout
<seconds>] [protocol {TCP [connections <number>]} | UDP]
no url-server [<(if_name)>] vendor {smartfilter | n2h2} host <local_ip> [port <number>]
[timeout <seconds>] [protocol {TCP [connections <number>]} | UDP]
Websense
url-server (if_name) vendor websense host local_ip [timeout seconds] [protocol {TCP | UDP |
connections num_conns] | version]
no url-server (if_name) vendor websense host local_ip [timeout seconds] [protocol {TCP | UDP
[connections num_conns] | version]
Syntax Description
N2H2
connections
|
Limits the maximum number of TCP connections permitted.
|
num_conns
|
Specifies the maximum number of TCP connections created from the security appliance to the URL server. Since this number is per server, different servers can have different connection values.
|
host local_ip
|
The server that runs the URL filtering application.
|
if_name
|
(Optional) The network interface where the authentication server resides. If not specified, the default is inside.
|
port number
|
The N2H2 server port. The ASA also listens for UDP replies on this port. The default port number is 4005.
|
protocol
|
The protocol can be configured using TCP or UDP keywords. The default is TCP.
|
timeout seconds
|
The maximum idle time permitted before the ASA switches to the next server you specified. The default is 30 seconds.
|
vendor
|
Indicates URL filtering service, using either `smartfilter' or `n2h2' (for backward compatibility); however, `smartfilter' is saved as the vendor string.
|
Websense
connections
|
Limits the maximum number of TCP connections permitted.
|
num_conns
|
Specifies the maximum number of TCP connections created from the security appliance to the URL server. Since this number is per server, different servers can have different connection values.
|
host local_ip
|
The server that runs the URL filtering application.
|
if_name
|
The network interface where the authentication server resides. If not specified, the default is inside.
|
timeout seconds
|
The maximum idle time permitted before the ASA switches to the next server you specified. The default is 30 seconds.
|
protocol
|
The protocol can be configured using TCP or UDP keywords. The default is TCP protocol, Version 1.
|
vendor websense
|
Indicates URL filtering service vendor is Websense.
|
version
|
Specifies protocol Version 1 or 4. The default is TCP protocol Version 1. TCP can be configured using Version 1 or Version 4. UDP can be configured using Version 4 only.
|
Defaults
This command is disabled by default.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Global configuration
|
•
|
|
•
|
•
|
•
|
Command History
Release
|
Modification
|
Preexisting
|
This command was preexisting.
|
Usage Guidelines
The url-server command designates the server running the N2H2 or Websense URL filtering application. The limit is 16 URL servers in single context mode and 4 URL servers in multi mode; however, and you can use only one application at a time, either N2H2 or Websense. Additionally, changing your configuration on the ASA does not update the configuration on the application server; this must be done separately, according to the vendor instructions.
The url-server command must be configured before issuing the filter command for HTTPS and FTP. If all URL servers are removed from the server list, then all filter commands related to URL filtering are also removed.
Once you designate the server, enable the URL filtering service with the filter url command.
Use the show url-server statistics command to view server statistic information including unreachable servers.
Follow these steps to filter URLs:
Step 1
Designate the URL filtering application server with the appropriate form of the vendor-specific url-server command.
Step 2
Enable URL filtering with the filter command.
Step 3
(Optional) Use the url-cache command to enable URL caching to improve perceived response time.
Step 4
(Optional) Enable long URL and HTTP buffering support using the url-block command.
Step 5
Use the show url-block block statistics, show url-cache statistics, or the show url-server statistics commands to view run information.
For more information about Filtering by N2H2, visit N2H2's website at:
http://www.n2h2.com
For more information on Websense filtering services, visit the following website:
http://www.websense.com/
Examples
Using N2H2, the following example filters all outbound HTTP connections except those from the 10.0.2.54 host:
hostname(config)# url-server (perimeter) vendor n2h2 host 10.0.1.1
hostname(config)# filter url http 0 0 0 0
hostname(config)# filter url except 10.0.2.54 255.255.255.255 0 0
Using Websense, the following example filters all outbound HTTP connections except those from the 10.0.2.54 host:
hostname(config)# url-server (perimeter) vendor websense host 10.0.1.1 protocol TCP
version 4
hostname(config)# filter url http 0 0 0 0
hostname(config)# filter url except 10.0.2.54 255.255.255.255 0 0
Related Commands
Commands
|
Description
|
clear url-server
|
Clears the URL filtering server statistics.
|
filter url
|
Directs traffic to a URL filtering server.
|
show url-block
|
Displays information about the URL cache, which is used for URL responses received from an N2H2 or Websense filtering server.
|
url-cache
|
Enables URL caching while pending responses from an N2H2 or Websense server and sets the size of the cache.
|
urgent-flag
To allow or clear the URG pointer through the TCP normalizer, use the urgent-flag command in tcp-map configuration mode. To remove this specification, use the no form of this command.
urgent-flag {allow | clear}
no urgent-flag {allow | clear}
Syntax Description
allow
|
Allows the URG pointer through the TCP normalizer.
|
clear
|
Clears the URG pointer through the TCP normalizer.
|
Defaults
The urgent flag and urgent offset are clear by default.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Tcp-map configuration
|
•
|
•
|
•
|
•
|
—
|
Command History
Release
|
Modification
|
7.0(1)
|
This command was introduced.
|
Usage Guidelines
The tcp-map command is used along with the Modular Policy Framework infrastructure. Define the class of traffic using the class-map command and customize the TCP inspection with tcp-map commands. Apply the newTCP map using the policy-map command. Activate TCP inspection with service-policy commands.
Use the tcp-map command to enter tcp-map configuration mode. Use the urgent-flag command in tcp-map configuration mode to allow the urgent flag.
The URG flag is used to indicate that the packet contains information that is of higher priority than other data within the stream. The TCP RFC is vague about the exact interpretation of the URG flag, therefore, end systems handle urgent offsets in different ways, which may make the end system vulnerable to attacks. The default behavior is to clear the URG flag and offset.
Examples
The following example shows how to allow the urgent flag:
hostname(config)# tcp-map tmap
hostname(config-tcp-map)# urgent-flag allow
hostname(config)# class-map cmap
hostname(config-cmap)# match port tcp eq 513
hostname(config)# policy-map pmap
hostname(config-pmap)# class cmap
hostname(config-pmap)# set connection advanced-options tmap
hostname(config)# service-policy pmap global
Related Commands
Command
|
Description
|
class
|
Specifies a class map to use for traffic classification.
|
policy-map
|
Configures a policy; that is, an association of a traffic class and one or more actions.
|
set connection
|
Configures connection values.
|
tcp-map
|
Creates a TCP map and allows access to tcp-map configuration mode.
|
user
To create a user in a user group object that supports the Identity Firewall feature, use the user command in the user-group object configuration mode. Use the no form of this command to remove the user. from the object.
user [domain_nickname\]user_name
[no] user [domain_nickname\]user_name
Syntax Description
domain_nickname
|
(Optional) Specifies the domain in which to add the user.
|
user_name
|
Specifies the name for the user. The user name can contain any character including [a-z], [A-Z], [0-9], [!@#$%^&()-_{}. ]. If the user name contains a space, you must enclose the name in quotation marks.
The user_name argument that you specify with the user keyword contains an ASCII user name and does not specify an IP address.
|
Defaults
If you do not specify the domain_nickname argument, the user is created in the LOCAL domain configured for the Identity Firewall feature.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Object-group user configuration
|
•
|
•
|
•
|
•
|
—
|
Command History
Release
|
Modification
|
8.4(2)
|
This command was introduced.
|
Usage Guidelines
The ASA sends an LDAP query to the Active Directory server for user groups globally defined in the Active Directory domain controller. The ASA imports these groups for the Identity Firewall feature. However, the ASA might have localized network resources that are not defined globally that require local user groups with localized security policies. Local user groups can contain nested groups and user groups that are imported from Active Directory. The ASA consolidates local and Active Directory groups. A user can belong to local user groups and user groups imported from Active Directory.
The ASA supports up to 256 user groups (including imported user groups and local user groups).
You active user group objects by including them within an access group, capture, or service policy.
Within a user group object, you can define the following object types:
•
User—adds a single user to the object-group user. The user can be either a LOCAL user or imported user.
The name of an imported user must be the sAMAccountName, which is unique, rather than the common name (cn), which might not be unique. However, some Active Directory server administrators might require that the sAMAccountName and the cn be identical. In this case, the cn that the ASA displays in the output of the show user-identity ad-group-member command can be used for imported users defined by the user object.
•
User-group—adds an imported user group, which is defined by an external directory server, such as Microsoft Active Directory server, to the group-object user.
The group name of the user-group must be the sAMAccountName, which is unique, rather than the cn, which might not be unique. However, some Active Directory server administrators might require that the sAMAccountName and the cn be identical. In this case, the cn that the ASA displays in the output of the show user-identity ad-group-member command can be used in the user_group_name argument specified with the user-group keyword.
Note
You can add domain_nickname\\user_group_name or domain_nickname\user_ name directly within a user group object without specifying them in the object first. If the domain_nickname is associated with a AAA server, the ASA imports the detailed nested user groups and the users defined in the external directory server, such as the Microsoft Active Directory server, to the ASA when the user object group is activated.
•
Group-object—adds a group defined locally on the ASA to the object-group user.
Note
When including an object-group within a object-group user object, the ASA does not expand the object-group in access groups even when you enable ACL optimization. The output of the show object-group command does not display the hit count, which is available only for regular network object-group when ACL optimization is enabled.
•
Description—adds a description for the object-group user.
Examples
The following example shows how to use the user command with the user-group object command to add a user in a user group object for use with the Identity Firewall feature:
hostname(config)# object-group user sampleuser1-group
hostname(config-object-group user)# description group members of sampleuser1-group
hostname(config-object-group user)# user-group CSCO\\group.sampleusers-all
hostname(config-object-group user)# user CSCO\user2
hostname(config-object-group user)# exit
hostname(config)# object-group user sampleuser2-group
hostname(config-object-group user)# description group members of sampleuser2-group
hostname(config-object-group user)# group-object sampleuser1-group
hostname(config-object-group user)# user-group CSCO\\group.sampleusers-marketing
hostname(config-object-group user)# user CSCO\user3
Related Commands
Command
|
Description
|
description
|
Adds a description to the group created with the object-group user command.
|
group-object
|
Adds a locally defined object group to a user object group created with the object-group user command for use with the Identity Firewall feature.
|
object-group user
|
Creates an user group object for the Identity Firewall feature.
|
user-group
|
Adds a user group imported from Microsoft Active Directory to the group created with the object-group user command.
|
user-identity enable
|
Creates the Cisco Identify Firewall instance.
|
user-alert
To enable broadcast of an urgent message to all clientless SSL VPN users with currently active session, use the user-alert command in privileged EXEC mode. To disable the message, use the no form of this command.
user-alert string cancel
no user-alert
Syntax Description
string
|
An alpha-numeric
|
cancel
|
Cancels pop-up browser window launch
|
Defaults
No message.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Privileged EXEC
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
8.0(2)
|
This command was introduced.
|
Usage Guidelines
When you issue this command, end users see a pop-up browser window with the configured message. This command causes no change in the ASA configuration file.
Examples
The following example shows how to enable DAP trace debugging:
hostname # We will reboot the security appliance at 11:00 p.m. EST time. We apologize for
any inconvenience.
user-authentication
To enable user authentication, use the user-authentication enable command in group-policy configuration mode. To disable user authentication, use the user-authentication disable command. To remove the user authentication attribute from the running configuration, use the no form of this command. This option allows inheritance of a value for user authentication from another group policy.
When enabled, user authentication requires that individual users behind a hardware client authenticate to gain access to the network across the tunnel.
user-authentication {enable | disable}
no user-authentication
Syntax Description
disable
|
Disables user authentication.
|
enable
|
Enables user authentication.
|
Defaults
User authentication is disabled.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Group-policy
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
7.0(1)
|
This command was introduced.
|
Usage Guidelines
Individual users authenticate according to the order of authentication servers that you configure.
If you require user authentication on the primary ASA, be sure to configure it on any backup servers as well.
Examples
The following example shows how to enable user authentication for the group policy named "FirstGroup":
hostname(config)# group-policy FirstGroup attributes
hostname(config-group-policy)# user-authentication enable
Related Commands
Command
|
Description
|
ip-phone-bypass
|
Lets IP phones connect without undergoing user authentication. Secure unit authentication remains in effect.
|
leap-bypass
|
Lets LEAP packets from wireless devices behind a VPN client travel across a VPN tunnel prior to user authentication, when enabled. This lets workstations using Cisco wireless access point devices establish LEAP authentication. Then they authenticate again per user authentication.
|
secure-unit-authentication
|
Provides additional security by requiring the VPN client to authenticate with a username and password each time the client initiates a tunnel.
|
user-authentication-idle-timeout
|
Sets an idle timeout for individual users. If there is no communication activity on a user connection in the idle timeout period, the ASA terminates the connection.
|
user-authentication-idle-timeout
To set an idle timeout for individual users behind hardware clients, use the user-authentication-idle-timeout command in group-policy configuration mode. To delete the idle timeout value, use the no form of this command. This option allows inheritance of an idle timeout value from another group policy. To prevent inheriting an idle timeout value, use the user-authentication-idle-timeout none command.
If there is no communication activity by a user behind a hardware client in the idle timeout period, the ASA terminates the connection.
user-authentication-idle-timeout {minutes | none}
no user-authentication-idle-timeout
Syntax Description
minutes
|
Specifies the number of minutes in the idle timeout period. The range is from 1 through 35791394 minutes
|
none
|
Permits an unlimited idle timeout period. Sets idle timeout with a null value, thereby disallowing an idle timeout. Prevents inheriting an user authentication idle timeout value from a default or specified group policy.
|
Defaults
30 minutes.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Group-policy
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
7.0(1)
|
This command was introduced.
|
Usage Guidelines
The minimum is 1 minute, the default is 30 minutes, and the maximum is 10,080 minutes.
This timer terminates only the client's access through the VPN tunnel, not the VPN tunnel itself.
The idle timeout indicated in response to the show uauth command is always the idle timeout value of the user who authenticated the tunnel on the Cisco Easy VPN remote device.
Examples
The following example shows how to set an idle timeout value of 45 minutes for the group policy named "FirstGroup":
hostname(config)# group-policy FirstGroup attributes
hostname(config-group-policy)# user-authentication-idle-timeout 45
Related Commands
Command
|
Description
|
user-authentication
|
Requires users behind hardware clients to identify themselves to the ASA before connecting.
|
user-group
To add a user group imported from Microsoft Active Directory to the group created with the object-group user command for use with the Identity Firewall feature, use the user-group command in the user-group object configuration mode. Use the no form of this command to remove the user group from the object.
user-group [domain_nickname\]user_group_name
[no] user-group [domain_nickname\]user_group_name
Syntax Description
domain_nickname
|
(Optional) Specifies the domain in which to create the user group.
|
user_group_name
|
Specifies the name for the user group. The group name can contain any character including [a-z], [A-Z], [0-9], [!@#$%^&()-_{}. ]. If the group name contains a space, you must enclose the name in quotation marks.
|
Defaults
If you do not specify the domain_nickname argument, the user group is created in the LOCAL domain configured for the Identity Firewall feature.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Object-group user configuration
|
•
|
•
|
•
|
•
|
—
|
Command History
Release
|
Modification
|
8.4(2)
|
This command was introduced.
|
Usage Guidelines
The ASA sends an LDAP query to the Active Directory server for user groups globally defined in the Active Directory domain controller. The ASA imports these groups for the Identity Firewall feature. However, the ASA might have localized network resources that are not defined globally that require local user groups with localized security policies. Local user groups can contain nested groups and user groups that are imported from Active Directory. The ASA consolidates local and Active Directory groups. A user can belong to local user groups and user groups imported from the Active Directory.
The ASA supports up to 256 user groups (including imported user groups and local user groups).
You active user group objects by including them within an access group, capture, or service policy.
Within a user group object, you can define the following object types:
•
User—Adds a single user to the object-group user. The user can be either a LOCAL user or imported user.
The name of an imported user must be the sAMAccountName, which is unique, rather than the common name (cn), which might not be unique. However, some Active Directory server administrators might require that the sAMAccountName and the cn be identical. In this case, the cn that the ASA displays in the output of the show user-identity ad-group-member command can be used for imported users defined by the user object.
•
User-group—Adds an imported user group, which is defined by an external directory server, such as Microsoft Active Directory server, to the group-object user.
The group name of the user-group must be the sAMAccountName, which is unique, rather than the cn, which might not be unique. However, some Active Directory server administrators might require that the sAMAccountName and the cn be identical. In this case, the cn that the ASA displays in the output of the show user-identity ad-group-member command can be used in the user_group_name argument specified with the user-group keyword.
Note
You can add domain_nickname\\user_group_name or domain_nickname\user_ name directly within a user group object without specifying them in the object first. If the domain_nickname is associated with a AAA server, the ASA imports the detailed nested user groups and the users defined in the external directory server, such as the Microsoft Active Directory server, to the ASA when the user object group is activated.
•
Group-object—Adds a group defined locally on the ASA to the object-group user.
Note
When including an object-group within a object-group user object, the ASA does not expand the object-group in access groups even when you enable ACL optimization. The output of the show object-group command does not display the hit count, which is available only for regular network object-group when ACL optimization is enabled.
•
Description—Adds a description for the object-group user.
Examples
The following example shows how to use the user-group command with the user-group object command to add a user group in a user group object for use with the Identity Firewall feature:
hostname(config)# object-group user sampleuser1-group
hostname(config-object-group user)# description group members of sampleuser1-group
hostname(config-object-group user)# user-group CSCO\\group.sampleusers-all
hostname(config-object-group user)# user CSCO\user2
hostname(config-object-group user)# exit
hostname(config)# object-group user sampleuser2-group
hostname(config-object-group user)# description group members of sampleuser2-group
hostname(config-object-group user)# group-object sampleuser1-group
hostname(config-object-group user)# user-group CSCO\\group.sampleusers-marketing
hostname(config-object-group user)# user CSCO\user3
Related Commands
Command
|
Description
|
description
|
Adds a description to the group created with the object-group user command.
|
group-object
|
Adds a locally defined object group to a user object group created with the object-group user command for use with the Identity Firewall feature.
|
object-group user
|
Creates a user group object for the Identity Firewall feature.
|
user
|
Adds a user to the object group created with the object-group user command.
|
user-identity enable
|
Creates the Cisco Identify Firewall instance.
|
user-identity action ad-agent-down
To set the action for the Cisco Identify Firewall instance when the Active Directory Agent is unresponsive, use the user-identity action ad-agent-down command in global configuration mode. To remove this action for the Identity Firewall instance, use the no form of this command.
user-identity action ad-agent-down disable-user-identity-rule
no user-identity action ad-agent-down disable-user-identity-rule
Syntax Description
This command has no arguments or keywords.
Defaults
By default, this command is disabled.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Global configuration
|
•
|
•
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
8.4(2)
|
The command was introduced.
|
Usage Guidelines
Specifies the action when the AD Agent is not responding.
When the AD Agent is down and the user-identity action ad-agent-down is configured, the ASA disables the user identity rules associated with the users in that domain. Additionally, the status of all user IP addresses in that domain are marked as disabled in the output displayed by the show user-identity user command.
Examples
The following example shows how to enable this action for the Identity Firewall:
hostname(config)# user-identity action ad-agent-down disable-user-identity-rule
Related Commands
Command
|
Description
|
clear configure user-identity
|
Clears the configuration for the Identity Firewall feature.
|
user-identity action domain-controller-down
To set the action for the Cisco Identify Firewall instance when the Active Directory domain controller is down, use the user-identity action domain-controller-down command in global configuration mode. To remove the action, use the no form of this command.
user-identity action domain-controller-down domain_nickname disable-user-identity-rule
no user-identity action domain-controller-down domain_nickname disable-user-identity-rule
Syntax Description
domain_nickname
|
Specifies the domain name for the Identity Firewall.
|
Defaults
By default, this command is disabled.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Global configuration
|
•
|
•
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
8.4(2)
|
The command was introduced.
|
Usage Guidelines
Specifies the action when the domain is down because Active Directory domain controller is not responding.
When the domain is down and the disable-user-identity-rule keyword is configured, the ASA disables the user identity-IP address mappings for that domain. Additionally, the status of all user IP addresses in that domain are marked as disabled in the output displayed by the show user-identity user command.
Examples
The following example shows how to configure this action for the Identity Firewall:
hostname(config)# user-identity action domain-controller-down SAMPLE
disable-user-identity-rule
Related Commands
Command
|
Description
|
clear configure user-identity
|
Clears the configuration for the Identity Firewall feature.
|
user-identity action mac-address-mismatch
To set the action for the Cisco Identify Firewall instance when a user's MAC address is found to be inconsistent with the ASA device IP address, use the user-identity action netbios-response-fail command in global configuration mode. To remove the action, use the no form of this command.
user-identity action netbios-response-fail remove-user-ip
no user-identity action netbios-response-fail remove-user-ip
Syntax Description
This command has no arguments or keywords.
Defaults
By default, the ASA uses remove-user-ip when this command is specified.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Global configuration
|
•
|
•
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
8.4(2)
|
The command was introduced.
|
Usage Guidelines
Specifies the action when a user's MAC address is found to be inconsistent with the ASA device IP address currently mapped to that MAC address.
When the user-identity action mac-address-mismatch command is configured, the ASA removes the user identity-IP address mapping for that client.
Examples
The following example shows how to configure the Identity Firewall:
hostname(config)# user-identity action mac-address-mismatch remove-user-ip
Related Commands
Command
|
Description
|
clear configure user-identity
|
Clears the configuration for the Identity Firewall feature.
|
user-identity action netbios-response-fail
To set the action when a client does not respond to a NetBIOS probe for the Cisco Identify Firewall instance, use the user-identity action netbios-response-fail command in global configuration mode. To remove the action, use the no form of this command.
user-identity action netbios-response-fail remove-user-ip
no user-identity action netbios-response-fail remove-user-ip
Syntax Description
This command has no arguments or keywords.
Defaults
By default, this command is disabled.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Global configuration
|
•
|
•
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
8.4(2)
|
The command was introduced.
|
Usage Guidelines
Specifies the action when a client does not respond to a NetBIOS probe. For example, the network connection might be blocked to that client or the client is not active.
When the user-identity action remove-user-ip is configured, the ASA removed the user identity-IP address mapping for that client.
Examples
The following example shows how to configure the Identity Firewall:
hostname(config)# user-identity action netbios-response-fail remove-user-ip
Related Commands
Command
|
Description
|
clear configure user-identity
|
Clears the configuration for the Identity Firewall feature.
|
user-identity ad-agent aaa-server
To define the server group of the AD Agent for the Cisco Identify Firewall instance, use the user-identity ad-agent aaa-server command in AAA server host configuration mode. To remove the action, use the no form of this command.
user-identity user-identity ad-agent aaa-server aaa_server_group_tag
no user-identity user-identity ad-agent aaa-server aaa_server_group_tag
Syntax Description
aaa_server_group_tag
|
Specifies the AAA server group associated with the Identity Firewall.
|
Defaults
This command has no defaults.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Aaa server host configuration
|
•
|
•
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
8.4(2)
|
The command was introduced.
|
Usage Guidelines
The first server defined in aaa_server_group_tag variable is the primary AD Agent and the second server defined is the secondary AD Agent.
The Identity Firewall supports defining only two AD Agent hosts.
When the ASA detects that the primary AD Agent is down and a secondary agent is specified, it switches to the secondary AD Agent. The AAA server for the AD agent uses RADIUS as the communication protocol, and should specify the key attribute for the shared secret between the ASA and AD Agent.
Examples
The following example shows how to define the AD Agent AAA server host for the Identity Firewall:
hostname(config-aaa-server-hostkey)# user-identity ad-agent aaa-server adagent
Related Commands
Command
|
Description
|
clear configure user-identity
|
Clears the configuration for the Identity Firewall feature.
|
user-identity ad-agent active-user-database
To define how the ASA retrieves the user identity-IP address mapping information from the AD Agent for the Cisco Identify Firewall instance, use the user-identity action netbios-response-fail command in global configuration mode. To remove the configuration, use the no form of this command.
user-identity ad-agent active-user-database {on-demand|full-download}
no user-identity ad-agent active-user-database {on-demand|full-download}
Syntax Description
This command has no arguments or keywords.
Defaults
By default, the ASA 5505 uses the on-demand option. The other ASA platforms use the full-download option.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Global configuration
|
•
|
•
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
8.4(2)
|
The command was introduced.
|
Usage Guidelines
Defines how the ASA retrieves the user identity-IP address mapping information from the AD Agent:
•
full-download—Specifies that the ASA send a request to the AD Agent to download the entire IP-user mapping table when the ASA starts and then to receive incremental IP-user mapping when users log in and log out.
•
on-demand—Specifies that the ASA retrieve the user mapping information of an IP address from the AD Agent when the ASA receives a packet that requires a new connection and the user of its source IP address is not in the user-identity database.
By default, the ASA 5505, uses the on-demand option. The other ASA platforms use the full-download option.
Full downloads are event driven, meaning that subsequent requests to download the database, send just the updates to the user identity-IP address mapping database.
When the ASA registers a change request with the AD Agent, the AD Agent sends a new event to the ASA.
Examples
The following example shows how to configure this option for the Identity Firewall:
hostname(config)# user-identity ad-agent active-user-database full-download
Related Commands
Command
|
Description
|
clear configure user-identity
|
Clears the configuration for the Identity Firewall feature.
|
user-identity ad-agent hello-timer
To define the timer between the ASA and the AD Agent for the Cisco Identify Firewall instance, use the user-identity ad-agent hello-timer command in global configuration mode. To remove the configuration, use the no form of this command.
user-identity ad-agent hello-timer seconds seconds retry-times number
no user-identity ad-agent hello-timer seconds seconds retry-times number
Syntax Description
number
|
Specifies the number of times to retry the timer.
|
seconds
|
Specifies the length of time for the timer.
|
Defaults
By default, the hello timer is set to 30 seconds and 5 retries.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Global configuration
|
•
|
•
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
8.4(2)
|
The command was introduced.
|
Usage Guidelines
Defines the hello timer between the ASA and the AD Agent.
The hello timer between the ASA and the AD Agent defines how frequently the ASA exchanges hello packets. The ASA uses the hello packet to obtain ASA replication status (in-sync or out-of-sync) and domain status (up or down). If the ASA does not receive a response from the AD Agent, it resends a hello packet after the specified interval.
By default, the hello timer is set to 30 seconds and 5 retries.
Examples
The following example shows how to configure this option for the Identity Firewall:
hostname(config)# user-identity ad-agent hello-timer seconds 20 retry-times 3
Related Commands
Command
|
Description
|
clear configure user-identity
|
Clears the configuration for the Identity Firewall feature.
|
user-identity default-domain
To specify the default domain for the Cisco Identify Firewall instance, use the user-identity default-domain command in global configuration mode. To remove the default domain, use the no form of this command.
user-identity default-domain domain_NetBIOS_name
no user-identity default-domain domain_NetBIOS_name
Syntax Description
domain_NetBIOS_name
|
Specifies the default domain for the Identity Firewall.
|
Defaults
No default behavior or values.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Global configuration
|
•
|
•
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
8.4(2)
|
The command was introduced.
|
Usage Guidelines
For domain_NetBIOS_name, enter a name up to 32 characters consisting of [a-z], [A-Z], [0-9], [!@#$%^&()-_=+[]{};,.] except '.' and ' ' at the first character. If the domain name contains a space, enclose the entire name in quotation marks. The domain name is not case sensitive.
The default domain is used for all users and user groups when a domain has not been explicitly configured for those users or groups. When a default domain is not specified, the default domain for users and groups is LOCAL. For multiple context mode, you can set a default domain name for each context, as well as within the system execution space.
Note
The default domain name you specify must match the NetBIOS domain name configured on the Active Directory domain controller. If the domain name does not match, the AD Agent will incorrectly associate the user identity-IP address mappings with the domain name you enter when configuring the ASA. To view the NetBIOS domain name, open the Active Directory user event security log in any text editor.
The Identity Firewall uses the LOCAL domain for all locally defined user groups or locally defined users. Users logging in through a web portal (cut-through proxy) are designated as belonging to the Active Directory domain with which they authenticated. Users logging in through a VPN are designated as belonging to the LOCAL domain unless the VPN is authenticated by LDAP with the Active Directory, so that the Identity Firewall can associate the users with their Active Directory domain.
Examples
The following example shows how to configure the default domain for the Identity Firewall:
hostname(config)# user-identity default-domain SAMPLE
Related Commands
Command
|
Description
|
clear configure user-identity
|
Clears the configuration for the Identity Firewall feature.
|
user-identity domain
To associate the domain for the Cisco Identify Firewall instance, use the user-identity domain command in global configuration mode. To remove the domain association, use the no form of this command.
user-identity domain domain_nickname aaa-server aaa_server_group_tag
no user-identity domain_nickname aaa-server aaa_server_group_tag
Syntax Description
domain_nickname
|
Specifies the domain name for the Identity Firewall.
|
aaa_server_group_tag
|
Specifies the AAA Server group associated with the Identity Firewall.
|
Defaults
No default behavior or values.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Global configuration
|
•
|
•
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
8.4(2)
|
The command was introduced.
|
Usage Guidelines
Associates the LDAP parameters defined for the AAA server for importing user group queries with the domain name.
For domain_nickname, enter a name up to 32 characters consisting of [a-z], [A-Z], [0-9], [!@#$%^&()-_=+[]{};,.] except '.' and ' ' at the first character. If the domain name contains a space, you must enclose that space character in quotation marks. The domain name is not case sensitive.
Examples
The following example shows how to associate the domain for the Identity Firewall:
hostname(config)# user-identity domain SAMPLE aaa-server ds
Related Commands
Command
|
Description
|
clear configure user-identity
|
Clears the configuration for the Identity Firewall feature.
|
user-identity enable
To create the Cisco Identify Firewall instance, use the user-identity enable command in global configuration mode. To disable the Identity Firewall instance, use the no form of this command.
user-identity enable
no user-identity enable
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Global configuration
|
•
|
•
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
8.4(2)
|
The command was introduced.
|
Usage Guidelines
No usage guidelines.
Examples
The following example shows how to enable the Identity Firewall:
hostname(config)# user-identity enable
Related Commands
Command
|
Description
|
clear configure user-identity
|
Clears the configuration for the Identity Firewall feature.
|
user-identity inactive-user-timer
To specify the amount of time before a user is considered idle for the Cisco Identify Firewall instance, use the user-identity inactive-user-timer command in global configuration mode. To remove the timer, use the no form of this command.
user-identity inactive-user-timer minutes minutes
no user-identity inactive-user-timer minutes minutes
Syntax Description
minutes
|
Specifies the amount of time in minutes before a user is considered idle, indicating the ASA has not received traffic from the user's IP address for the specified amount of time.
|
Defaults
No default behavior or values.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Global configuration
|
•
|
•
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
8.4(2)
|
The command was introduced.
|
Usage Guidelines
When the timer expires, the user's IP address is marked as inactive and removed from the local cached user identity-IP address mappings database and the ASA no longer notifies the AD Agent about that IP address removal. Existing traffic is still allowed to pass. When this command is specified, the ASA runs an inactive timer even when the NetBIOS Logout Probe is configured.
By default, the idle timeout is set to 60 minutes.
Note
The Idle Timeout option does not apply to VPN or cut-through-proxy users.
Examples
The following example shows how to configure the Identity Firewall:
hostname(config)# user-identity inactive-user-timer minutes 120
Related Commands
Command
|
Description
|
clear configure user-identity
|
Clears the configuration for the Identity Firewall feature.
|
user-identity logout-probe
To enable NetBIOS probing for the Cisco Identify Firewall instance, use the user-identity logout-probe command in global configuration mode. To remove the disable probing, use the no form of this command.
user-identity logout-probe netbios local-system probe-time minutes minutes retry-interval
seconds seconds retry-count times [user-not-needed|match-any|exact-match]
no user-identity logout-probe netbios local-system probe-time minutes minutes retry-interval
seconds seconds retry-count times [user-not-needed|match-any|exact-match]
Syntax Description
minutes
|
Specifies the number of minutes between probes.
|
seconds
|
Specifies the length of time for the retry interval.
|
times
|
Specifies the number of times to retry the probe.
|
Defaults
No default behavior or values.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Global configuration
|
•
|
•
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
8.4(2)
|
The command was introduced.
|
Usage Guidelines
To minimize the NetBIOS packets, the ASA only sends a NetBIOS probe to a client when the user has been idle for more than the specified number of minutes.
Set the NetBIOS probe timer from1 to 65535 minutes and the retry interval from 1 to 256 retries. Specify the number of times to retry the probe:
•
match-any—As long as the NetBIOS response from the client contains the user name of the user assigned to the IP address, the user identity is be considered valid. Specifying this option requires that the client enabled the Messenger service and configured a WINS server.
•
exact-match—The user name of the user assigned to the IP address must be the only one in the NetBIOS response. Otherwise, the user identity of that IP address is considered invalid. Specifying this option requires that the client enabled the Messenger service and configured a WINS server.
•
user-not-needed—As long as the ASA received a NetBIOS response from the client the user identity is considered valid.
The Identity Firewall only performs NetBIOS probing for those users identities that are in the active state and exist in at least one security policy. The ASA does not perform NetBIOS probing for clients where the users logged in through cut-through proxy or by using VPN.
Examples
The following example shows how to configure the Identity Firewall:
hostname(config)# user-identity logout-probe netbios local-system probe-time minutes 10
retry-interval seconds 10 retry-count 2 user-not-needed
Related Commands
Command
|
Description
|
clear configure user-identity
|
Clears the configuration for the Identity Firewall feature.
|
user-identity poll-import-user-group-timer
To specify the amount of time before the ASA queries the Active Directory server for user group information for the Cisco Identify Firewall instance, use the user-identity poll-import-user-group-timer command in global configuration mode. To remove the timer, use the no form of this command.
user-identity poll-import-user-group-timer hours hours
no user-identity poll-import-user-group-timer hours hours
Syntax Description
hours
|
Sets the hours for the poll timer.
|
Defaults
No default behavior or values.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Global configuration
|
•
|
•
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
8.4(2)
|
The command was introduced.
|
Usage Guidelines
Specifies the amount of time before the ASA queries the Active Directory server for user group information.
If a user is added to or deleted from an Active Directory group, the ASA received the updated user group after the import group timer ran.
By default, the poll timer is 8 hours.
To immediately update user group information, enter the user-identity update import-user command.
Examples
The following example shows how to configure the Identity Firewall:
hostname(config)# user-identity poll-import-user-group-timer hours 1
Related Commands
Command
|
Description
|
clear configure user-identity
|
Clears the configuration for the Identity Firewall feature.
|
user-identity static user
To create a new user-IP address mapping or set a user's IP address to inactive for the Cisco Identify Firewall feature, use the user-identity static user command in global configuration mode. To remove this configuration for the Identity Firewall, use the no form of this command.
user-identity static user [domain\] user_name host_ip
no user-identity static user [domain\] user_name host_ip
Syntax Description
domain
|
Creates a new user-IP address mapping or sets the IP address to inactive for the user in the specified domain.
|
host_ip
|
Specifies the IP address of the user for which to create a new user-IP address mapping or to set as inactive.
|
user_name
|
Specifies the user name for which to create a new user-IP address mapping or the user or sets the users IP address to inactive.
|
Defaults
No default behavior or values.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Global configuration
|
•
|
•
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
8.4(2)
|
The command was introduced.
|
Usage Guidelines
There are no usage guidelines for this command.
Examples
The following example shows how to enable this action for the Identity Firewall:
hostname(config)# user-identity static user SAMPLE\user1 192.168.1.101
Related Commands
Command
|
Description
|
clear configure user-identity
|
Clears the configuration for the Identity Firewall feature.
|
user-identity update active-user-database
To download the entire active-user database from Active Directory Agent, use the user-identity update active-user-database command in global configuration mode.
user-identity update active-user-database [timeout minutes minutes]
Syntax Description
minutes
|
Specifies the number of minutes for the timeout.
|
Defaults
The default timeout is 5 minutes.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Global configuration
|
•
|
•
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
8.4(2)
|
The command was introduced.
|
Usage Guidelines
This command downloads the entire active-user database from Active Directory Agent.
This command starts the update operation, generates a starting update log and returns immediately. When the update operation finishes or is aborted at timer expiration, another syslog message is generated. Only one outstanding update operation is allowed. Rerunning the command displays an error message.
When the command finishes running, the ASA displays [Done] at the command prompt, then generates a syslog message.
Examples
The following example shows how to enable this action for the Identity Firewall:
hostname# user-identity update active-user-database
ERROR: one update active-user-database operation is already in progress
[Done] user-identity update active-user-database
Related Commands
Command
|
Description
|
clear configure user-identity
|
Clears the configuration for the Identity Firewall feature.
|
user-identity update import-user
To download the entire active-user database from Active Directory Agent, use the user-identity update active-user-database command in global configuration mode.
user-identity update import-user [[domain_nickname\\] user_group_name [timeout seconds
seconds]]
Syntax Description
domain_nickname
|
Specifies the domain of the group to update.
|
seconds
|
Specifies the number of seconds for the timeout.
|
user_group_name
|
When user_group_name is specified, only the specified import-user group is updated. Only activated groups (for example, groups in an access group, access list, capture, or service policy) can be updated.
If the given group is not activated, this command rejects the operation. If the specified group has multiple levels of hierarchies, recursive LDAP queries are conducted.
If user_group_name is not specified, the ASA starts the LDAP update service immediately and tries to periodically update all activated groups.
|
Defaults
The ASA retries the update up to 5 times and generates warning messages as necessary.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Global configuration
|
•
|
•
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
8.4(2)
|
The command was introduced.
|
Usage Guidelines
This command updates the specified import user group database by querying the Active Directory server immediately, without waiting for the expiration of the poll-import user group timer. There is no command to update the local user group, because the group ID database is updated whenever the local user group has a configuration change.
This command does not block the console to wait for the return of the LDAP query.
This command starts the update operation, generates a starting update log and returns immediately. When the update operation finishes or is aborted at timer expiration, another syslog message is generated. Only one outstanding update operation is allowed. Rerunning the command displays an error message.
If the LDAP query is successful, the ASA stores retrieved user data in the local database and changes the user/group association accordingly. If the update operation is successful, you can run the show user-identity user-of-group domain\\group command to list all stored users under this group.
The ASA checks after each update for all imported groups. If an activated Active Directory group does not exist in Active Directory, the ASA generates a syslog message.
If user_group_name is not specified, the ASA starts the LDAP update service immediately and tries to periodically update all activated groups. The LDAP update service runs in the background and periodically updates import user groups via an LDAP query on the Active Directory server.
At system boot up time, if there are import user groups defined in access groups, the ASA retrieves user/group data via LDAP queries. If errors occur during the update, the ASA retries the update up to 5 times and generates warning messages as necessary.
When the command finishes running, the ASA displays [Done] at the command prompt, then generates a syslog message.
Examples
The following example shows how to enable this action for the Identity Firewall:
hostname# user-identity update import-user group.sample-group1
ERROR: Update import-user group is already in progress
[Done] user-identity update import-user group.sample-group1
Related Commands
Command
|
Description
|
clear configure user-identity
|
Clears the configuration for the Identity Firewall feature.
|
user-identity user-not-found
To enable user-not-found tracking for the Cisco Identify Firewall instance, use the user-identity user-not-found command in global configuration mode. To remove this tracking for the Identity Firewall instance, use the no form of this command.
user-identity user-not-found enable
no user-identity user-not-found enable
Syntax Description
This command has no arguments or keywords.
Defaults
By default, this command is disabled.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Global configuration
|
•
|
•
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
8.4(2)
|
The command was introduced.
|
Usage Guidelines
Only the last 1024 IP addresses are tracked.
Examples
The following example shows how to enable this action for the Identity Firewall:
hostname(config)# user-identity user-not-found enable
Related Commands
Command
|
Description
|
clear configure user-identity
|
Clears the configuration for the Identity Firewall feature.
|
user-message
To specify a text message to display when a DAP record is selected, use the user-message command in dynamic-access-policy-record mode. To remove this message, use the no version of the command. If you use the command more than once for the same DAP record, the newer message replaces the previous message.
user-message message
no user-message
Syntax Description
message
|
The message for users assigned to this DAP record. Maximum 128 characters. If the message contains spaces, enclose it in double quotation marks.
|
Defaults
No default behavior or values.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Dynamic-access-policy- record
|
•
|
•
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
8.0(2)
|
This command was introduced.
|
Usage Guidelines
For a successful SSL VPN connection, the portal page displays a flashing, clickable icon that lets the user see the message(s) associated with the connection. If the connection is terminated from a DAP policy (action = terminate), and if there is a user message configured in that DAP record, then that message displays on the login screen.
If more than one DAP record applies to a connection, the ASA combines the applicable user messages and displays them as a single string.
Examples
The following example shows how to set a user message of "Hello Money Managers" for the DAP record called Finance.
hostname (config) config-dynamic-access-policy-record Finance
hostname(config-dynamic-access-policy-record)# user-message "Hello Money Managers"
hostname(config-dynamic-access-policy-record)#
Related Commands
Command
|
Description
|
dynamic-access-policy-record
|
Creates a DAP record.
|
show running-config dynamic-access-policy-record [name]
|
Displays the running configuration for all DAP records, or for the named DAP record.
|
user-parameter
To specify the name of the HTTP POST request parameter in which a username must be submitted for SSO authentication, use the user-parameter command in aaa-server-host configuration mode. This is an SSO with HTTP Forms command.
user-parameter name
Note
To configure SSO with the HTTP protocol correctly, you must have a thorough working knowledge of authentication and HTTP protocol exchanges.
Syntax Description
Syntax DescriptionSyntax Description
string
|
The name of the username parameter included in the HTTP POST request. The maximum name size is 128 characters.
|
Defaults
There is no default value or behavior.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Aaa-server-host configuration
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
7.1(1)
|
This command was introduced.
|
Usage Guidelines
The WebVPN server of the ASA uses an HTTP POST request to submit a single sign-on authentication request to an SSO server. The required command user-parameter specifies that the HTTP POST request must include a username parameter for SSO authentication.
Note
At login, the user enters the actual name value which is entered into the HTTP POST request and passed on to the authenticating web server.
Examples
The following example, entered in aaa-server-host configuration mode, specifies that the username parameter userid be included in the HTTP POST request used for SSO authentication:
hostname(config)# aaa-server testgrp1 host example.com
hostname(config-aaa-server-host)# user-parameter userid
hostname(config-aaa-server-host)#
Related Commands
Command
|
Description
|
action-uri
|
Specifies a web server URI to receive a username and password for single sign-on authentication.
|
auth-cookie-name
|
Specifies a name for the authentication cookie.
|
hidden-parameter
|
Creates hidden parameters for exchange with the authenticating web server.
|
password-parameter
|
Specifies the name of the HTTP POST request parameter in which a user password must be submitted for SSO authentication.
|
start-url
|
Specifies the URL at which to retrieve a pre-login cookie.
|
user-statistics
To activate the collection of user statistics by MPF and match lookup actions for the Identify Firewall, use the user-statistics command in policy-map configuration mode. To remove collection of user statistics, use the no form of this command.
user-statistics [accounting | scanning]
no user-statistics [accounting | scanning]
Syntax Description
accounting
|
(Optional) Specifies that the ASA collect the sent packet count, sent drop count, and received packet count.
|
scanning
|
(Optional) Specifies that the ASA collect only the send drop count.
|
Defaults
By default, this command is disabled.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Policy-map configuration
|
•
|
•
|
•
|
•
|
—
|
Command History
Release
|
Modification
|
8.4(2)
|
The command was introduced.
|
Usage Guidelines
When you configure a policy map to collect user statistics, the ASA collects detailed statistics for selected users. When you specify the user-statistics command without the accounting or scanning keywords, the ASA collects both accounting and scanning statistics.
Examples
The following example shows how to activate user statistics for the Identity Firewall:
hostname(config)# class-map c-identity-example-1
hostname(config-cmap)# match access-list identity-example-1
hostname(config-cmap)# exit
hostname(config)# policy-map p-identity-example-1
hostname(config-pmap)# class c-identity-example-1
hostname(config-pmap)# user-statistics accounting
hostname(config-pmap)# exit
hostname(config)# service-policy p-identity-example-1 interface outside
Related Commands
Command
|
Description
|
user-identity enable
|
Creates the Identity Firewall instance.
|
policy-map
|
Assigns actions to traffic that you identified with a Layer 3/4 class map when using the Modular Policy Framework.
|
service-policy(global)
|
Activates a policy map globally on all interfaces or on a targeted interface.
|
show service-policy [user-statistics]
|
Displays user statistics for configured service policies when you enable user-statistics scanning or accounting for the Identity Firewall.
|
show user-identity user active [detail]
|
Displays received packets, sent packets and drops statistics in the specified time period for active users when you enable user-statistics scanning or accounting for the Identity Firewall.
|
show user-identity ip-of-user [detail]
|
Displays received packets, sent packets, and drops statistics for the IP address for a specified user when you enable user-statistics scanning or accounting for the Identity Firewall.
|
show user-identity user-of-ip [detail]
|
Displays received packets, sent packets, and drops statistics for the user for a specified IP address when you enable user-statistics scanning or accounting for the Identity Firewall.
|
user-storage
To store personalized user information between clientless SSL VPN sessions, use the user storage command in group-policy webvpn mode. To disable user storage, use the no versionof the command.
user-storage NETFS-location [username username password password]
no user-storage]
Syntax Description
NETFS-location
|
Specifies a file system desination in the form proto://user:password@host:port/path
If the username and password are embedded in the the NETFS-location then the password input is treated as clear.
|
Defaults
User storage is disabled.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
group-policy webvpn mode
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
8.0(2)
|
This command was introduced.
|
8.4(6)
|
Prevented the password being shown in clear text during "show run."
|
Usage Guidelines
User-storage allows you to store cached credentials and cookies at a location other than the ASA flash. This command provides single sign on for personal bookmarks of a clientless SSL VPN user. The user credentials are stored in an encrypted format on the FTP/CIFS/SMB server as a <user_id>.cps file that is not decryptable.
Although the username, password, and preshared key are shown in the configuration, this poses no security risk because the ASA stores this information in encrypted form, using an internal algorithm.
If data is encrypted on an external FTP or SMB server, you can define personal bookmarks within the portal page by selecting add bookmark (for example: user-storage cifs://jdoe:test@10.130.60.49/SharedDocs). You can create personalized URLs for all plugin protocols as well.
Note
If you have a cluster of ASAs that all refer to the same FTP/CIFS/SMB server and use the same "storage-key," you can access the bookmarks through any of the ASAs in the cluster.
Examples
The following example shows how to set user storage for a user called newuser with a password of 12345678 at a file share called anyshare, and a path of anyfiler02a/new_share:
hostname(config)# wgroup-policy DFLTGrpPolicy attributes
hostname(config-group-policy)# webvpn
hostname(config-group-webvpn)# user-storage cifs://newuser:12345678@anyfiler02a/new_share
hostname(config-group_webvpn)#
Related Commands
Command
|
Description
|
storage-key
|
Specifies a storage key to protect the data stored between sessions.
|
storage-objects
|
Configures storage objects for the data stored between sessions.
|
username (8.4(3) and earlier)
To add a user to the ASA database, enter the username command in global configuration mode. To remove a user, use the no version of this command with the username that you want to remove. To remove all usernames, use the no version of this command without appending a username.
username name {nopassword | password password [mschap | encrypted | nt-encrypted]}
[privilege priv_level]
no username name
Syntax Description
encrypted
|
Indicates that the password is encrypted (if you did not specify mschap). When you define a password in the username command, the ASA encrypts it when it saves it to the configuration for security purposes. When you enter the show running-config command, the username command does not show the actual password; it shows the encrypted password followed by the encrypted keword. For example, if you enter the password "test," the show running-config command output would appear to be something like the following:
username pat password rvEdRh0xPC8bel7s encrypted
The only time you would actually enter the encrypted keyword at the CLI is if you are cutting and pasting a configuration to another ASA and you are using the same password.
|
mschap
|
Specifies that the password will be converted to unicode and hashed using MD4 after you enter it. Use this keyword if users are authenticated using MSCHAPv1 or MSCHAPv2.
|
name
|
Specifies the name of the user as a string from 4 to 64 characters in length.
|
nopassword
|
Indicates that this user needs no password.
|
nt-encrypted
|
Indicates that the password is encrypted for use with MSCHAPv1 or MSCHAPv2. If you specified the mschap keyword when you added the user, then this keyword is displayed instead of the encrypted keyword when you view the configuration using the show running-config command.
When you define a password in the username command, the ASA encrypts it when it saves it to the configuration for security purposes. When you enter the show running-config command, the username command does not show the actual password; it shows the encrypted password followed by the nt-encrypted keword. For example, if you enter the password "test," the show running-config display would appear to be something like the following:
username pat password DLaUiAX3l78qgoB5c7iVNw== nt-encrypted
The only time you would actually enter the nt-encrypted keyword at the CLI is if you are cutting and pasting a configuration to another ASA and you are using the same password.
|
password password
|
Sets the password as a string from 3 to 32 characters in length.
|
privilege priv_level
|
Sets a privilege level for this use from 0 to 15 (lowest to highest). The default privilege level is 2. This privilege level is used with command authorization.
|
Defaults
The default privilege level is 2.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Global configuration
|
•
|
•
|
•
|
•
|
—
|
Command History
Release
|
Modification
|
7.0.1
|
This command was introduced.
|
7.2(1)
|
The mschap and nt-encrypted keywords were added.
|
Usage Guidelines
The login command uses this database for authentication.
If you add users to the local database who can gain access to the CLI and whom you do not want to enter privileged mode, you should enable command authorization. (See the aaa authorization command command.) Without command authorization, users can access privileged EXEC mode (and all commands) at the CLI using their own password if their privilege level is 2 or greater (2 is the default). Alternatively, you can use AAA authentication so the user will not be able to use the login command, or you can set all local users to level 1 so you can control who can use the enable password to access privileged EXEC mode.
By default, VPN users that you add with this command have no attributes or group policy association. You must configure all values explicitly using the username attributes command.
When password authentication policy is enabled, you can no longer change your own password or delete your own account with the username command. You can, however, change your password with the change-password command.
Examples
The following example shows how to configure a user named "anyuser" with a password of 12345678 and a privilege level of 12:
hostname(config)# username anyuser password 12345678 privilege 12
Related Commands
Command
|
Description
|
aaa authorization command
|
Configues command authorization.
|
clear config username
|
Clears the configuration for a specific user or all users.
|
show running-config username
|
Displays the running configuration for a specific user or all users.
|
username attributes
|
Enters username attributes mode, which lets you configure attributes for specific users.
|
webvpn
|
Enters config-group-webvpn mode, which lets you configure the WebVPN attributes for the specified group.
|
username (8.4(4.1) and later)
To add a user to the ASA database, enter the username command in global configuration mode. To remove a user, use the no version of this command with the username that you want to remove. To remove all usernames, use the no version of this command without appending a username. To enable the system to restore a password creation date at boot time or when copying a file to the running configuration, enter the username command in non-interactive configuration mode.
[no] username name {nopassword | password password [mschap | encrypted | nt-encrypted]}
[privilege priv_level]
username name [password-date date]
Syntax Description
encrypted
|
Indicates that the password is encrypted (if you did not specify mschap). When you define a password in the username command, the ASA encrypts it when it saves it to the configuration for security purposes. When you enter the show running-config command, the username command does not show the actual password; it shows the encrypted password followed by the encrypted keword. For example, if you enter the password "test," the show running-config command output would appear to be something like the following:
username pat password rvEdRh0xPC8bel7s encrypted
The only time you would actually enter the encrypted keyword at the CLI is if you are cutting and pasting a configuration to another ASA and you are using the same password.
|
mschap
|
Specifies that the password will be converted to Unicode and hashed using MD4 after you enter it. Use this keyword if users are authenticated using MSCHAPv1 or MSCHAPv2.
|
name
|
Specifies the name of the user as a string from 4 to 64 characters in length.
|
nopassword
|
Indicates that this user needs no password.
|
nt-encrypted
|
Indicates that the password is encrypted for use with MSCHAPv1 or MSCHAPv2. If you specified the mschap keyword when you added the user, then this keyword is displayed instead of the encrypted keyword when you view the configuration using the show running-config command.
When you define a password in the username command, the ASA encrypts it when it saves it to the configuration for security purposes. When you enter the show running-config command, the username command does not show the actual password; it shows the encrypted password followed by the nt-encrypted keword. For example, if you enter the password "test," the show running-config display would appear to be something like the following:
username pat password DLaUiAX3l78qgoB5c7iVNw== nt-encrypted
The only time you would actually enter the nt-encrypted keyword at the CLI is if you are cutting and pasting a configuration to another ASA and you are using the same password.
|
password password
|
Sets the password as a string from 3 to 32 characters in length.
|
password-date date
|
Enables the system to restore password creation dates as usernames are read in during bootup. If not present, the password date is set to the current date. The date is in the format, mmm-dd-yyyy.
|
privilege priv_level
|
Sets a privilege level for this use from 0 to 15 (lowest to highest). The default privilege level is 2. This privilege level is used with command authorization.
|
Defaults
The default privilege level is 2.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Global configuration
|
•
|
•
|
•
|
•
|
—
|
Non-interactive configuration
|
•
|
•
|
•
|
•
|
—
|
Command History
Release
|
Modification
|
7.0.1
|
This command was introduced.
|
7.2(1)
|
The mschap and nt-encrypted keywords were added.
|
8.4(4.1)
|
The password-date date option was added.
|
Usage Guidelines
The login command uses this database for authentication.
If you add users to the local database who can gain access to the CLI and whom you do not want to enter privileged mode, you should enable command authorization. (See the aaa authorization command command.) Without command authorization, users can access privileged EXEC mode (and all commands) at the CLI using their own password if their privilege level is 2 or greater (2 is the default). Alternatively, you can use AAA authentication so the user will not be able to use the login command, or you can set all local users to level 1 so you can control who can use the enable password to access privileged EXEC mode.
By default, VPN users that you add with this command have no attributes or group policy association. You must configure all values explicitly using the username attributes command.
When password authentication policy is enabled, you can no longer change your own password or delete your own account with the username command. You can, however, change your password with the change-password command.
To display the username password date, use the show running-config all username command.
Note
You cannot enter password-date values from a CLI prompt; therefore, no interactive help exists for this keyword. The password date is saved to the startup configuration only if the password policy lifetime is not zero. This means that password dates are saved only if password expiration is configured. You cannot use the password-date option to prevent users from changing password creation dates.
Examples
The following example shows how to configure a user named "anyuser" with a password of 12345678 and a privilege level of 12:
hostname(config)# username anyuser password 12345678 privilege 12
Related Commands
Command
|
Description
|
aaa authorization command
|
Configues command authorization.
|
clear config username
|
Clears the configuration for a particular user or for all users.
|
show running-config username
|
Displays the running configuration for a particular user or for all users.
|
username attributes
|
Enters username attributes mode, which lets you configure attributes for specific users.
|
webvpn
|
Enters config-group-webvpn mode, in which you can configure the WebVPN attributes for the specified group.
|
username-from-certificate
To specify the field in a certificate to use as the username for authorization, use the username-from-certificate command in tunnel-group general-attributes mode. The DN of the peer certificate used as username for authorization
To remove the attribute from the configuration and restore default values, use the no form of this command.
username-from-certificate {primary-attr [secondary-attr] | use-entire-name}
no username-from-certificate
Syntax Description
primary-attr
|
Specifies the attribute to use to derive a username for an authorization query from a certificate. If pre-fill-username is enabled, the derived name can also be used in an authentication query.
|
secondary-attr
|
(Optional) Specifies an additional attribute to use with the primary attribute to derive a username for an authentication or authorization query from a digital certificate. If pre-fill-username is enable, the derived name can also be used in an authentication query.
|
use-entire-name
|
Specifies that the ASA must use the entire subject DN (RFC1779) to derive a name for an authorization query from a digital certificate.
|
use-script
|
Specifies the use of a script file generated by ASDM to extract the DN fields from a certificate for use as a username.
|
Defaults
The default value for the primary attribute is CN (Common Name).
The default value for the secondary attribute is OU (Organization Unit).
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Tunnel-group general-attributes configuration
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
8.0(4)
|
This command was introduced.
|
Usage Guidelines
This command selects the field in the certificate to use as the username. It replaces the deprecated authorization-dn-attributes command in Release 8.0.4 and following. The username-from-certificate command forces the security appliance to use the specified certificate field as the username for username/password authorization.
To use this derived username in the pre-fill username from certificate feature for username/passwordauthentication or authorization, you must also configure the pre-fill-username command in tunnel-group webvpn-attributes mode. That is, to use the pre-fill username feature, you must configure both commands.
Possible values for primary and secondary attributes include the following:
Attribute
|
Definition
|
C
|
Country: the two-letter country abbreviation. These codes conform to ISO 3166 country abbreviations.
|
CN
|
Common Name: the name of a person, system, or other entity. Not available a s a secondary attribute.
|
DNQ
|
Domain Name Qualifier.
|
EA
|
E-mail address.
|
GENQ
|
Generational Qualifier.
|
GN
|
Given Name.
|
I
|
Initials.
|
L
|
Locality: the city or town where the organization is located.
|
N
|
Name.
|
O
|
Organization: the name of the company, institution, agency, association or other entity.
|
OU
|
Organizational Unit: the subgroup within the organization (O).
|
SER
|
Serial Number.
|
SN
|
Surname.
|
SP
|
State/Province: the state or province where the organization is located
|
T
|
Title.
|
UID
|
User Identifier.
|
UPN
|
User Principal Name.
|
use-entire-name
|
Use entire DN name. Not available a s a secondary attribute.
|
use-script
|
Use a script file generated by ASDM.
|
Examples
The following example, entered in global configuration mode, creates an IPSec remote access tunnel group named remotegrp and specifies the use of CN (Common Name) as the primary attribute and OU as the secondary attribute to use to derive a name for an authorization query from a digital certificate:
hostname(config)# tunnel-group remotegrp type ipsec_ra
hostname(config)# tunnel-group remotegrp general-attributes
hostname(config-tunnel-general)# username-from-certificate CN OU
hostname(config-tunnel-general)#
The following example shows how to modify the tunnel-group attributes to configure the pre-fill username.
username-from-certificate {use-entire-name | use-script | <primary-attr>} [secondary-attr]
secondary-username-from-certificate {use-entire-name | use-script | <primary-attr>}
[secondary-attr] ; used only for double-authentication
Related Commands
Command
|
Description
|
pre-fill-username
|
Enables the pre-fill username feature.
|
show running-config tunnel-group
|
Shows the indicated tunnel-group configuration.
|
tunnel-group general-attributes
|
Specifies the general attributes for the named tunnel-group.
|
username attributes
To enter the username attributes mode, use the username attributes command in username configuration mode. To remove all attributes for a particular user, use the no form of this command and append the username. To remove all attributes for all users, use the no form of this command without appending a username. The attributes mode lets you configure attribute-value pairs for a specified user.
username {name} attributes
no username [name] attributes
Syntax Description
name
|
Provides the name of the user.
|
Defaults
No default behavior or values.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Username
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
7.0(1)
|
This command was introduced.
|
8.0(2)
|
The service-type attribute was added.
|
8.4(4.1)
|
The ssh authentication publickey key [hashed] attribute was added.
|
Usage Guidelines
The internal user authentication database consists of the users entered with the username command. The login command uses this database for authentication. You can configure the username attributes using either the username command or the username attributes command.
The syntax of the commands in config-username mode have the following characteristics in common:
•
The no form removes the attribute from the running configuration.
•
The none keyword also removes the attribute from the running configuration. But it does so by setting the attribute to a null value, thereby preventing inheritance.
•
Boolean attributes have explicit syntax for enabled and disabled settings.
The username attributes command enters config-username mode, in which you can configure any of the following attributes:
Attribute
|
Function
|
group-lock
|
Name an existing tunnel-group with which the user is required to connect.
|
password-storage
|
Enables/disables storage of the login password on the client system.
|
service-type [remote-access | admin | nas-prompt]
|
Restricts console login and enables login for users who are assigned the appropriate level. The remote-access option specifies basic AAA sevices for remote access. The admin option specifies AAA serives, login console privileges, EXEC mode privileges, the enable privilege, and CLI privileges. The nas-prompt option specifies AAA services, login console privileges, EXEC mode privileges, but no enable privileges.
|
ssh authentication publickey key [hashed]
|
Enables public key authentication on a per-user basis. The value of the key argument can refer to the following:
When the key argument is supplied and the hashed tag is not specified, the value of the key must be a base64 encoded public key that is generated by SSH key generation software that can generate SSH-RSA raw keys (that is, with no certificates). After you submit the base64 encoded public key, that key is then hashed via SHA-256 and the corresponding 32-byte hash is used for all further comparisons.
When the key argument is supplied and the hashed tag is specified, the value of the key must have been previously hashed with SHA-256 and be 32 bytes long, with each byte separated by a colon (for parsing purposes).
When you save the configuration, the hashed key value is saved to the configuration and used when the ASA is rebooted.
|
vpn-access-hours
|
Specifies the name of a configured time-range policy.
|
vpn-filter
|
Specifies the name of a user-specific ACL
|
vpn-framed-ip-address
|
Specifies the IP address and the net mask to be assigned to the client.
|
vpn-group-policy
|
Specifies the name of a group-policy from which to inherit attributes.
|
vpn-idle-timeout [alert-interval]
|
Specifies the idle timeout period in minutes, or none to disable. Optionally specifies a pre-timeout alert interval.
|
vpn-session-timeout [alert-interval]
|
Specifies the maximum user connection time in minutes, or none for unlimited time. Optionally specifies a pre-timeout alert interval.
|
vpn-simultaneous-logins
|
Specifies the maximum number of simultaneous logins allowed.
|
vpn-tunnel-protocol
|
Specifies permitted tunneling protocols.
|
webvpn
|
Enters webvpn mode, in which you configure webvpn attributes.
|
You configure webvpn-mode attributes for the username by entering the username attributes command and then entering the webvpn command in username webvpn configuration mode. See the description of the webvpn command (group-policy attributes and username attributes modes) for details.
Examples
The following example shows how to enter username attributes configuration mode for a user named "anyuser":
hostname(config)# username anyuser attributes
hostname(config-username)#
Related Commands
Command
|
Description
|
clear config username
|
Clears the username database.
|
show running-config username
|
Displays the running configuration for a particular user or for all users.
|
username
|
Adds a user to the ASA database.
|
webvpn
|
Enters username webvpn configuration mode, in which you can configure the WebVPN attributes for the specified group.
|
username-prompt
To customize the username prompt of the WebVPN page login box that is displayed to WebVPN users when they connect to the security appliance, use the username-prompt command from webvpn customization mode:
username-prompt {text | style} value
[no] username-prompt {text | style} value
To remove the command from the configuration and cause the value to be inherited, use the no form of the command.
Syntax Description
text
|
Specifies you are changing the text.
|
style
|
Specifies you are changing the style.
|
value
|
The actual text to display (maximum 256 characters), or Cascading Style Sheet (CSS) parameters (maximum 256 characters).
|
Defaults
The default is text of the username prompt is "USERNAME:".
The default style of the username prompt is color:black;font-weight:bold;text-align:right.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Webvpn customization
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
7.1(1)
|
This command was introduced.
|
Usage Guidelines
The style option is expressed as any valid Cascading Style Sheet (CSS) parameters. Describing these parameters is beyond the scope of this document. For more information about CSS parameters, consult CSS specifications at the World Wide Web Consortium (W3C) website at www.w3.org. Appendix F of the CSS 2.1 Specification contains a convenient list of CSS parameters, and is available at www.w3.org/TR/CSS21/propidx.html.
Here are some tips for making the most common changes to the WebVPN pages—the page colors:
•
You can use a comma-separated RGB value, an HTML color value, or the name of the color if recognized in HTML.
•
RGB format is 0,0,0, a range of decimal numbers from 0 to 255 for each color (red, green, blue); the comma separated entry indicates the level of intensity of each color to combine with the others.
•
HTML format is #000000, six digits in hexadecimal format; the first and second represent red, the third and fourth green, and the fifth and sixth represent blue.
Note
To easily customize the WebVPN pages, we recommend that you use ASDM, which has convenient features for configuring style elements, including color swatches and preview capabilities.
Examples
In the following example, the text is changed to "Corporate Username:", and the default style is changed with the font weight increased to bolder:
F1-asa1(config-webvpn)# customization cisco
F1-asa1(config-webvpn-custom)# username-prompt text Corporate Username:
F1-asa1(config-webvpn-custom)# username-prompt style font-weight:bolder
Related Commands
Command
|
Description
|
group-prompt
|
Customizes the group prompt of the WebVPN page.
|
password-prompt
|
Customizes the password prompt of the WebVPN page.
|
validate-attribute
To validate RADIUS attributes when using RADIUS accounting, use the validate attribute command in radius-accounting parameter configuration mode, which is accessed by using the inspect radius-accounting command.
This option is disabled by default.
validate-attribute [attribute_number]
no validate-attribute [attribute_number]
Syntax Description
attribute_number
|
The RADIUS attribute to be validated with RADIUS accounting. Values range from 1-191. Vendor Specific Attributes are not supported.
|
Defaults
No default behavior or values.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
radius-accounting parameter configuration
|
•
|
•
|
•
|
•
|
—
|
Command History
Release
|
Modification
|
7.2(1)
|
This command was introduced.
|
Usage Guidelines
When this command is configured, the security appliance will also do a match on these attributes in addition to the Framed IP attribute. Multiple instances of this command are allowed.
You can find a list of RADIUS attribute types here:
http://www.iana.org/assignments/radius-types
Examples
The following example shows how to enable RADIUS accounting for the user name RADIUS attribute:
hostname(config)# policy-map type inspect radius-accounting ra
hostname(config-pmap)# parameters
hostname(config-pmap-p)# validate attribute 1
Related Commands
Commands
|
Description
|
inspect radius-accounting
|
Sets inspection for RADIUS accounting.
|
parameters
|
Sets parameters for an inspection policy map.
|
validation-policy (crypto ca trustpoint)
To specify the conditions under which a trustpoint can be used to validate the certificates associated with an incoming user connection, use the validation-policy command in crypto ca trustpoint configuration mode. To specify that the trustpoint cannot be used for the named condition, use the no form of the command.
[no] validation-policy {ssl | ipsec} [no-chain] [subordinate-only]
Syntax Description
ipsec
|
Specifies that the Certificate Authority (CA) certificate and policy associated with the trustpoint can be used to validate IPSec connections.
|
no-chain
|
Disables the chaining of subordinate certificates that are not resident on the security device.
|
ssl
|
Specifies that the Certificate Authority (CA) certificate and policy associated with the trustpoint can be used to validate SSL connections.
|
subordinate-only
|
Disables validation of client certificates issued directly from the CA represented by this trustpoint.
|
Defaults
No default value or behavior.
Command Modes
The following table shows the modes in which you can enter the command:
Command History
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Crypto ca trustpoint configuration
|
•
|
•
|
•
|
•
|
—
|
Release
|
Modification
|
8.0(2)
|
This command was introduced.
|
Usage Guidelines
Remote-access VPNs can use Secure Sockets Layer (SSL) VPN, IP Security (IPSec), or both, depending on deployment requirements, to permit access to virtually any network application or resource. The validation-policy command allows you to specify the protocol type permitted to access on-board CA certificates.
The no-chain option with this command prevents a security applicance from supporting subordinate CA certificates that are not configured as trustpoints on the security appliance.
The security appliance can have two trustpoints with the same CA resulting in two different identity certificates from the same CA. This option is disabled automatically if the trustpoint is authenticated to a CA that is already associated with another trustpoint that has enabled this feature. This prevents ambiguity in the choice of path-validation parameters. If the user attempts to activate this feature on a trustpoint that has been authenticated to a CA already associated with another trustpoint that has enabled this feature, the action is not permitted. No two trustpoints can have this setting enabled and be authenticated to the same CA.
Examples
The following example enters crypto ca trustpoint configuration mode for trustpoint, central, and designates it an SSL trustpoint:
hostname(config)# crypto ca trustpoint central
hostname(config-ca-trustpoint)# validation-policy ssl
hostname(config-ca-trustpoint)#
The following example enters crypto ca trustpoint configuration mode for trustpoint, checkin1,and sets it to accept certificates that are subordinate to the specified trustpoint.
hostname(config)# crypto ca trustpoint checkin1
hostname(config-ca-trustpoint)# validation-policy subordinates-only
hostname(config-ca-trustpoint)#
Related Commands
Command
|
Description
|
crypto ca trustpoint
|
Enters trustpoint configuration mode.
|
id-usage
|
Specifies how the enrolled identity of a trustpoint can be used
|
ssl trust-point
|
Specifies the certificate trustpoint that represents the SSL certificate for an interface.
|
verify
To verify the checksum of a file, use the verify command in privileged EXEC mode.
verify path
verify /[md5 path [md5-value] | sha-512] signature
Syntax Description
/md5
|
(Optional) Calculates and displays the MD5 value for the specified software image. Compare this value with the value available on Cisco.com for this image.
|
md5-value
|
(Optional) The known MD5 value for the specified image. When an MD5 value is specified in the command, the system will calculate the MD5 value for the specified image and display a message verifying that the MD5 values match or that there is a mismatch.
|
path
|
• disk0:/[path/]filename
This option is only available for the ASA, and indicates the internal Flash memory. You can also use flash instead of disk0; they are aliased.
• disk1:/[path/]filename
This option is only available for the ASA, and indicates the external Flash memory card.
• flash:/[path/]filename
This option indicates the internal Flash card. For the ASA, flash is an alias for disk0.
• ftp://[user[:password]@]server[:port]/[path/]filename[;type=xx]
The type can be one of the following keywords:
– ap—ASCII passive mode
– an—ASCII normal mode
– ip—(Default) Binary passive mode
– in—Binary normal mode
• http[s]://[user[:password]@]server[:port]/[path/]filename
• tftp://[user[:password]@]server[:port]/[path/]filename[;int=interface_name]
Specify the interface name if you want to override the route to the server address.
The pathname cannot include spaces. If a pathname has spaces, set the path in the tftp-server command instead of in the verify command.
|
/sha-512
|
(Optional) Calculates and displays the SHA-512 value for the specified software image. Compare this value with the value available on Cisco.com for this image.
|
signature
|
Specifies an optional hexadecimal string. If specified, the signature embedded in the image is compared to the signature provided.
|
Defaults
The current flash device is the default file system.
Note
When you specify the /md5 option, you can use a network file, such as ftp, http and tftp as the source. The verify command without the /md5 option only lets you verify local images in Flash.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Privileged EXEC
|
•
|
•
|
•
|
—
|
•
|
Command History
Release
|
Modification
|
7.2(1)
|
This command was introduced.
|
8.4(4.1)
|
The /sha-256 option was added.
|
Usage Guidelines
Use the verify command to verify the checksum of a file before using it.
Each software image that is distributed on disk uses a single checksum for the entire image. This checksum is displayed only when the image is copied into Flash memory; it is not displayed when the image file is copied from one disk to another.
Before loading or duplicating a new image, record the checksum and MD5 information for the image so that you can verify the checksum when you copy the image into Flash memory or onto a server. A variety of image information is available on Cisco.com.
To display the contents of Flash memory, use the show flash command. The Flash contents listing does not include the checksum of individual files. To recompute and verify the image checksum after the image has been copied into Flash memory, use the verify command. Note, however, that the verify command only performs a check on the integrity of the file after it has been saved in the file system. It is possible for a corrupt image to be transferred to the security appliance and saved in the file system without detection. If a corrupt image is transferred successfully to the security appliance, the software will be unable to tell that the image is corrupted and the file will verify successfully.
To use the message-digest5 (MD5) hash algorithm to ensure file validation, use the verify command with the /md5 option. MD5 is an algorithm (defined in RFC 1321) that is used to verify data integrity through the creation of a unique 128-bit message digest. The /md5 option of the verify command allows you to check the integrity of the security appliance software image by comparing its MD5 checksum value against a known MD5 checksum value for the image. MD5 values are now made available on Cisco.com for all security appliance software images for comparison against local system image values.
To perform the MD5 integrity check, issue the verify command using the /md5 keyword. For example, issuing the verify /md5 flash:cdisk.bin command will calculate and display the MD5 value for the software image. Compare this value with the value available on Cisco.com for this image.
Alternatively, you can get the MD5 value from Cisco.com first, then specify this value in the command syntax. For example, issuing the verify /md5 flash:cdisk.bin 8b5f3062c4cacdbae72571440e962233 command will display a message verifying that the MD5 values match or that there is a mismatch. A mismatch in MD5 values means that either the image is corrupt or the wrong MD5 value was entered.
If neither MD5 nor SHA-512 is specified, a SHA-512 based integrity check is performed on Version 8.4(4.1) images and later, and an MD5-based integrity check is performed on Version 8.4(3) images and earlier.
Examples
The following example shows the verify command used on an image file called cdisk.bin. Some of the text was removed for clarity:
hostname# verify cdisk.bin
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Done!
Embedded Hash MD5: af5a155f3d5c128a271282c33277069b
Computed Hash MD5: af5a155f3d5c128a271282c33277069b
CCO Hash MD5: b569fff8bbf8087f355aaf22ef46b782
Verified disk0:/cdisk.bin
Related Commands
Command
|
Description
|
copy
|
Copies files.
|
dir
|
Lists the files in the system.
|
version
To specify the version of RIP used globally by the ASA, use the version command in router configuration mode. To restore the defaults, use the no form of this command.
version {1 | 2}
no version
Syntax Description
1
|
Specifies RIP Version 1.
|
2
|
Specifies RIP Version 2.
|
Defaults
The ASA accepts Version 1 and Version 2 packets but sends only Version 1 packets.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Router configuration
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
7.2(1)
|
This command was introduced.
|
Usage Guidelines
You can override the global setting on a per-interface basis by entering the rip send version and rip receive version commands on an interface.
If you specify RIP version 2, you can enable neighbor authentication and use MD5-based encryption to authenticate the RIP updates.
Examples
The following example configures the ASA to send and receive RIP Version 2 packets on all interfaces:
hostname(config)# router rip
hostname(config-router)# network 10.0.0.0
hostname(config-router)# version 2
Related Commands
Command
|
Description
|
rip send version
|
Specifies the RIP version to use when sending update out of a specific interface.
|
rip receive version
|
Specifies the RIP version to accept when receiving updates on a specific interface.
|
router rip
|
Enables the RIP routing process and enter router configuration mode for that process.
|
virtual http
To configure a virtual HTTP server, use the virtual http command in global configuration mode. To disable the virtual server, use the no form of this command.
virtual http ip_address [warning]
no virtual http ip_address [warning]
Syntax Description
ip_address
|
Sets the IP address for the virtual HTTP server on the ASA. Make sure this address is an unused address that is routed to the ASA.
|
warning
|
(Optional) Notifies users that the HTTP connection needs to be redirected to the ASA. This keyword applies only for text-based browsers, where the redirect cannot happen automatically.
|
Defaults
No default behavior or values.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Global configuration
|
•
|
•
|
•
|
•
|
—
|
Command History
Release
|
Modification
|
7.2(1)
|
This command was deprecated because the inline basic HTTP authentication method used in prior releases was replaced by the redirection method; this command was no longer needed.
|
7.2(2)
|
This command was revived because you can now choose between using basic HTTP authentication (the default) or using HTTP redirection using the aaa authentication listener command. The redirection method does not require an extra command for cascading HTTP authentications.
|
Usage Guidelines
When you use HTTP authentication on the ASA (see the aaa authentication match or the aaa authentication include command), the ASA uses basic HTTP authentication by default. You can change the authentication method so that the ASA redirects HTTP connections to web pages generated by the ASA itself using the aaa authentication listener command with the redirect keyword.
However, if you continue to use basic HTTP authentication, then you might need the virtual http command when you have cascading HTTP authentications.
If the destination HTTP server requires authentication in addition to the ASA, then the virtual http command lets you authenticate separately with the ASA (via a AAA server) and with the HTTP server. Without virtual HTTP, the same username and password you used to authenticate with the ASA is sent to the HTTP server; you are not prompted separately for the HTTP server username and password. Assuming the username and password is not the same for the AAA and HTTP servers, then the HTTP authentication fails.
This command redirects all HTTP connections that require AAA authentication to the virtual HTTP server on the ASA. The ASA prompts for the AAA server username and password. After the AAA server authenticates the user, the ASA redirects the HTTP connection back to the original server, but it does not include the AAA server username and password. Because the username and password are not included in the HTTP packet, the HTTP server prompts the user separately for the HTTP server username and password.
For inbound users (from lower security to higher security), you must also include the virtual HTTP address as a destination interface in the access list applied to the source interface. Moreover, you must add a static command for the virtual HTTP IP address, even if NAT is not required (using the no nat-control command). An identity NAT command is typically used (where you translate the address to itself).
For outbound users, there is an explicit permit for traffic, but if you apply an access list to an inside interface, be sure to allow access to the virtual HTTP address. A static statement is not required.
Note
Do not set the timeout uauth command duration to 0 seconds when using the virtual http command, because this setting prevents HTTP connections to the real web server.
Examples
The following example shows how to enable virtual HTTP along with AAA authentication:
hostname(config)# virtual http 209.165.202.129
hostname(config)# access-list ACL-IN extended permit tcp any host 209.165.200.225 eq http
hostname(config)# access-list ACL-IN remark This is the HTTP server on the inside
hostname(config)# access-list ACL-IN extended permit tcp any host 209.165.202.129 eq http
hostname(config)# access-list ACL-IN remark This is the virtual HTTP address
hostname(config)# access-group ACL-IN in interface outside
hostname(config)# static (inside, outside) 209.165.202.129 209.165.202.129 netmask
255.255.255.255
hostname(config)# access-list AUTH extended permit tcp any host 209.165.200.225 eq http
hostname(config)# access-list AUTH remark This is the HTTP server on the inside
hostname(config)# access-list AUTH extended permit tcp any host 209.165.202.129 eq http
hostname(config)# access-list AUTH remark This is the virtual HTTP address
hostname(config)# aaa authentication match AUTH outside tacacs+
Related Commands
Command
|
Description
|
aaa authentication listener http
|
Sets the method by which the ASA authentica
|
clear configure virtual
|
Removes virtual command statements from the configuration.
|
show running-config virtual
|
Displays the IP address of the ASA virtual server.
|
sysopt uauth allow-http-cache
|
When you enable the virtual http command, this command lets you use the username and password in the browser cache to reconnect to the virtual server.
|
virtual telnet
|
Provides a virtual Telnet server on the ASA to let users authenticate with the ASA before initiating other types of connections that require authentication.
|
virtual telnet
To configure a virtual Telnet server on the ASA, use the virtual telnet command in global configuration mode. You might need to authenticate users with the virtual Telnet server if you require authentication for other types of traffic for which the ASA does not supply an authentication prompt. To disable the server, use the no form of this command.
virtual telnet ip_address
no virtual telnet ip_address
Syntax Description
ip_address
|
Sets the IP address for the virtual Telnet server on the ASA. Make sure this address is an unused address that is routed to the ASA.
|
Defaults
No default behavior or values.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Global configuration
|
•
|
•
|
•
|
•
|
—
|
Command History
Release
|
Modification
|
Preexisting
|
This command was preexisting.
|
Usage Guidelines
Although you can configure network access authentication for any protocol or service (see the aaa authentication match or aaa authentication include command), you can authenticate directly with HTTP, Telnet, or FTP only. A user must first authenticate with one of these services before other traffic that requires authentication is allowed through. If you do not want to allow HTTP, Telnet, or FTP through the ASA, but want to authenticate other types of traffic, you can configure virtual Telnet; the user Telnets to a given IP address configured on the ASA, and the ASA provides a Telnet prompt.
You must configure authentication for Telnet access to the virtual Telnet address as well as the other services you want to authenticate using the authentication match or aaa authentication include command.
When an unauthenticated user connects to the virtual Telnet IP address, the user is challenged for a username and password, and then authenticated by the AAA server. Once authenticated, the user sees the message "Authentication Successful." Then, the user can successfully access other services that require authentication.
For inbound users (from lower security to higher security), you must also include the virtual Telnet address as a destination interface in the access list applied to the source interface. Moreover, you must add a static command for the virtual Telnet IP address, even if NAT is not required (using the no nat-control command). An identity NAT command is typically used (where you translate the address to itself).
For outbound users, there is an explicit permit for traffic, but if you apply an access list to an inside interface, be sure to allow access to the virtual Telnet address. A static statement is not required.
To logout from the ASA, reconnect to the virtual Telnet IP address; you are prompted to log out.
Examples
This example shows how to enable virtual Telnet along with AAA authentication for other services:
hostname(config)# virtual telnet 209.165.202.129
hostname(config)# access-list ACL-IN extended permit tcp any host 209.165.200.225 eq smtp
hostname(config)# access-list ACL-IN remark This is the SMTP server on the inside
hostname(config)# access-list ACL-IN extended permit tcp any host 209.165.202.129 eq
telnet
hostname(config)# access-list ACL-IN remark This is the virtual Telnet address
hostname(config)# access-group ACL-IN in interface outside
hostname(config)# static (inside, outside) 209.165.202.129 209.165.202.129 netmask
255.255.255.255
hostname(config)# access-list AUTH extended permit tcp any host 209.165.200.225 eq smtp
hostname(config)# access-list AUTH remark This is the SMTP server on the inside
hostname(config)# access-list AUTH extended permit tcp any host 209.165.202.129 eq telnet
hostname(config)# access-list AUTH remark This is the virtual Telnet address
hostname(config)# aaa authentication match AUTH outside tacacs+
Related Commands
Command
|
Description
|
clear configure virtual
|
Removes virtual command statements from the configuration.
|
show running-config virtual
|
Displays the IP address of the ASA virtual server.
|
virtual http
|
When you use HTTP authentication on the ASA, and the HTTP server also requires authentication, this command allows you to authenticate separately with the ASA and with the HTTP server. Without virtual HTTP, the same username and password you used to authenticate with the ASA is sent to the HTTP server; you are not prompted separately for the HTTP server username and password.
|
vlan
To assign a VLAN ID to a subinterface, use the vlan command in interface configuration mode. To remove a VLAN ID, use the no form of this command. Subinterfaces require a VLAN ID to pass traffic. VLAN subinterfaces let you configure multiple logical interfaces on a single physical interface. VLANs let you keep traffic separate on a given physical interface, for example, for multiple security contexts.
vlan id
no vlan
Syntax Description
id
|
Specifies an integer between 1 and 4094. Some VLAN IDs might be reserved on connected switches, so check the switch documentation for more information.
|
Defaults
No default behavior or values.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Interface configuration
|
•
|
•
|
•
|
—
|
•
|
Command History
Release
|
Modification
|
7.0(1)
|
This command was moved from a keyword of the interface command to an interface configuration mode command.
|
Usage Guidelines
You can only assign a single VLAN to a subinterface, and not to the physical interface. Each subinterface must have a VLAN ID before it can pass traffic. To change a VLAN ID, you do not need to remove the old VLAN ID with the no option; you can enter the vlan command with a different VLAN ID, and the ASA changes the old ID.
You need to enable the physical interface with the no shutdown command to let subinterfaces be enabled. If you enable subinterfaces, you typically do not also want the physical interface to pass traffic, because the physical interface passes untagged packets. Therefore, you cannot prevent traffic from passing through the physical interface by bringing down the interface. Instead, ensure that the physical interface does not pass traffic by leaving out the nameif command. If you want to let the physical interface pass untagged packets, you can configure the nameif command as usual.
The maximum number of subinterfaces varies depending on your platform. See the CLI configuration guide for the maximum subinterfaces per platform.
Examples
The following example assigns VLAN 101 to a subinterface:
hostname(config)# interface gigabitethernet0/0.1
hostname(config-subif)# vlan 101
hostname(config-subif)# nameif dmz1
hostname(config-subif)# security-level 50
hostname(config-subif)# ip address 10.1.2.1 255.255.255.0
hostname(config-subif)# no shutdown
The following example changes the VLAN to 102:
hostname(config)# show running-config interface gigabitethernet0/0.1
interface GigabitEthernet0/0.1
ip address 10.1.2.1 255.255.255.0
hostname(config)# interface gigabitethernet0/0.1
hostname(config-interface)# vlan 102
hostname(config)# show running-config interface gigabitethernet0/0.1
interface GigabitEthernet0/0.1
ip address 10.1.2.1 255.255.255.0
Related Commands
Command
|
Description
|
allocate-interface
|
Assigns interfaces and subinterfaces to a security context.
|
interface
|
Configures an interface and enters interface configuration mode.
|
show running-config interface
|
Shows the current configuration of the interface.
|
vlan (group-policy)
To assign a VLAN to a group policy, use the vlan command in group-policy configuration mode. To remove the VLAN from the configuration of the group policy and replace it with the VLAN setting of the default group policy, use the no form of this command.
[no] vlan {vlan_id |none}
Syntax Description
vlan_id
|
Number of the VLAN, in decimal format, to assign to remote access VPN sessions that use this group policy. The VLAN must be configured on this ASA, using the vlan command in interface configuration mode.
|
none
|
Disables the assignment of a VLAN to the remote access VPN sessions that match this group policy. The group policy does not inherit the vlan value from the default group policy.
|
Defaults
The default value is none.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
group-policy configuration
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
7.3(0)
|
This command was introduced.
|
Usage Guidelines
This command specifies the egress VLAN interface for sessions assigned to this group policy. The ASA forwards all traffic on this group to that VLAN. You can assign a VLAN to each group policy to simplify access control. Use this command as an alternative to using ACLs to filter traffic on a session.
Examples
The following command assigns the VLAN 1 to the group policy:
hostname(config-group-policy)# vlan 1
hostname(config-group-policy)
The following command removes VLAN mapping from the group policy:
hostname(config-group-policy)# vlan none
hostname(config-group-policy)
Related Commands
Command
|
Description
|
show vlan
|
Shows the VLANs configured on the ASA.
|
vlan (interface configuration mode)
|
Assigns a VLAN ID to a subinterface.
|
show vpn-session_summary.db
|
Displays the number IPSec, Cisco AnyConnect, and NAC sessions, and the number of VLANs in use.
|
show vpn-session.db
|
Displays information about VPN sessions, including VLAN mapping and NAC results.
|
vnmc org
To define the organization path on the ASA 1000V, use the vnmc org command in global configuration mode. To remove the organization path on the ASA 1000V, use the no form of this command.
vnmc org org-path
no vnmc org org-path
Syntax Description
org-path
|
Defines the organization path of the ASA 1000V in the format of root/name of tenant/name of data center/name of application/name of tier. A maximum of four layers is allowed, and the organization path must be located under the root/ directory.
|
Defaults
No default behavior or values.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Global configuration
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
8.7(1)
|
This command was introduced.
|
Usage Guidelines
You can create only one organization path for each ASA 1000V that you have installed.
To change the organization hierarchy, enter the no vnmc org org-path command. The following actions occur after you enter this command:
•
The ASA 1000V is removed from the organization hierarchy.
•
The ASA 1000V organization hierarchy is removed from the VNMC.
•
All configured security profiles on the ASA 1000V are removed from the VNMC.
Define the new organization hierarchy by re-entering the vnmc org org-path command.
This command is only available when the ASA 1000V is managed in ASDM mode.
Examples
The following example shows how to configure the VNMC organization path:
hostname (config)# vnmc org root/cisco/eng/web
Related Commands
Command
|
Description
|
vnmc policy-agent
|
Enable configuration of the VNMC policy agent and enters VNMC configuration mode.
|
show running-config vnmc policy-agent
|
Displays the VNMC policy agent configuration.
|
vnmc policy-agent
To configure the VNMC policy agent and enter VNMC policy configuration mode, use the vnmc policy-agent command in global configuration mode. To disable the VNMC policy agent configuration, use the no form of this command.
vnmc policy-agent
no vnmc policy-agent
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Global configuration
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
8.7(1)
|
This command was introduced.
|
Usage Guidelines
The VNMC IP address and the shared secret must be the same for the policy agent as was configured for the VNMC. The VNMC must be reachable through the management0/0 interface.
Examples
The following example shows how to configure the VNMC policy agent:
hostname (config)# vnmc policy-agent
hostname (config-vnmc-policy-agent)# registration host 10.1.1.4
hostname (config-vnmc-policy-agent)# shared-secret *****
hostname (config-vnmc-policy-agent)# login username admin password C!sco123
Trustpoint CA certificate accepted.
from 0.0.0.0/0 to 0.0.0.0/0 via: 127.0.0.1 port = 10000
Related Commands
Command
|
Description
|
vnmc org
|
Defines the organization hierarchy for the ASA 1000V to use on the VNMC.
|
show running-config vnmc policy-agent
|
Displays the VNMC policy agent configuration.
|
vpath path-mtu
To configure the vPath path MTU threshold, use the vpath path-mtu command in global configuration mode. To disable the vPath path MTU threshold configuration, use the no form of this command.
vpath path-mtu bytes
no vpath path-mtu bytes
Syntax Description
bytes
|
Defines the MTU of the physical uplink interface as configured on the Nexus 1000V switch.
|
Defaults
The default is 9000 bytes.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Global configuration
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
8.7(1)
|
This command was introduced.
|
Usage Guidelines
The ASA receives encapsulated packets from virtual machines (VMs) using a packet-redirection mechanism known as vPath. Due to the size of these vPath headers (up to 82 bytes), it is possible for a payload to require fragmentation after the vPath header has been added. The ASA 1000V has the ability to transparently handle this overhead without requiring the VMs to reduce their MTU to account for these additional bytes. The ASA 1000V can split a packet exceeding the uplink MTU into two vPath fragments when adding the vPath encapsulation before sending the fragments over Ethernet. The vPath fragments are reassembled by the Virtual Ethernet Module (VEM) in the Nexus 1000V switch before the packet is delivered to the destination VM.
The vpath path-mtu command configures how the vPath module in the ASA 1000V fragments a packet so that it complies with the MTU on the path from the ASA 1000V to the destination VM. The vPath module operates below the IP layer on the ASA 1000V and is therefore independent of IP fragmentation (see the interface mtu command). The VEM and vPath module on the ASA 1000V work together to present a valid IP datagram (fragment or otherwise) to the VMs and to the ASA 1000V. The ASA 1000V enforces a TCP MSS setting that already accounts for the additional overhead for vPath.
There may be other encapsulations in the path between the ASA 1000V and the VM. For example, if VXLAN is used between the ASA 1000V and the VM, then 50 additional bytes are used for the packets.
To avoid vPath fragmentation when additional overhead is present, do one of the following:
•
Decrease the vPath MTU to accommodate the VXLAN encapsulation (50 bytes). The default value of the vPath MTU is 9000 bytes, which matches the uplink port default MTU on the Nexus 1000V. For example, set the vPath MTU to 8950.
•
Increase the uplink MTUs to avoid any vPath fragmentation and allow VXLAN encapsulation. To accommodate VXLAN encapsulation, you could increase the Nexus 1000V MTU to 9050.
•
Reduce the MTU setting on the VMs to account for the additional overhead.
Examples
The following example shows how to configure the vPath path MTU setting to handle VXLAN overhead of 50 bytes:
hostname (config)# vpath path-mtu 8950
Related Commands
Command
|
Description
|
mtu
|
Sets the Ethernet interface MTU.
|
vpdn group
To create or edit a vpdn group and configure PPPoE client settings, use the vpdn group command in global configuration mode. To remove a group policy from the configuration, use the no form of this command.
vpdn group group_name {localname username | request dialout pppoe | ppp authentication
{chap | mschap | pap}}
no vpdn group group_name {localname name | request dialout pppoe | ppp authentication
{chap | mschap | pap}}
Note
PPPoE is not supported when failover is configured on the ASA, or in multiple context or transparent mode. PPPoE is only supported in single, routed mode, without failover.
Syntax Description
vpdn group group_name
|
Specifies a name for the vpdn group
|
localname username
|
Links the user name to the vpdn group for authentication, and must match the name configured with the vpdn username command.
|
request dialout pppoe
|
Specifies to allow dialout PPPoE requests.
|
ppp authentication {chap | mschap | pap}}
|
Specifies the Point-to-Point Protocol (PPP) authentication protocol. The Windows client dial-up networking settings lets you specify what authentication protocol to use (PAP, CHAP, or MS-CHAP). Whatever you specify on the client must match the setting you use on the security appliance. Password Authentication Protocol (PAP) lets PPP peers authenticate each other. PAP passes the host name or username in clear text. Challenge Handshake Authentication Protocol (CHAP) lets PPP peers prevent unauthorized access through interaction with an access server. MS-CHAP is a Microsoft derivation of CHAP. PIX Firewall supports MS-CHAP Version 1 only (not Version 2.0).
If an authentication protocol is not specified on the host, do not specify the ppp authentication option in your configuration.
|
Defaults
default behavior or values. See Usage Guidelines.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Global configuration
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
7.2.1
|
This command was introduced.
|
Usage Guidelines
Virtual Private Dial-up Networking (VPDN) is used to provide long distance, point-to-point connections between remote dial-in users and a private network. VDPN on the security appliance uses the Layer 2 tunnelling technology PPPoE to establish dial-up networking connections from the remote user to the private network across a public network.
PPPoE is the Point-to-Point Protocol (PPP) over Ethernet. PPP is designed to work with network layer protocols such as IP, IPX, and ARA. PPP also has CHAP and PAP as built-in security mechanisms.
The show vpdn session pppoe command displays session information for PPPOE connections. The clear configure vpdn group command removes all vpdn group commands from the configuration and stops all the active L2TP and PPPoE tunnels. The clear configure vpdn username command removes all the vpdn username commands from the configuration.
Because PPPoE encapsulates PPP, PPPoE relies on PPP to perform authentication and ECP and CCP functions for client sessions operating within the VPN tunnel. Additionally, PPPoE is not supported in conjunction with DHCP because PPP assigns the IP address for PPPoE.
Note
Unless the VPDN group for PPPoE is configured, PPPoE cannot establish a connection.
To define a VPDN group to be used for PPPoE, use the vpdn group group_name request dialout pppoe command. Then use the pppoe client vpdn group command from interface configuration mode to associate a VPDN group with a PPPoE client on a particular interface.
If your ISP requires authentication, use the vpdn group group_name ppp authentication {chap | mschap | pap} command to select the authentication protocol used by your ISP.
Use the vpdn group group_name localname username command to associate the username assigned by your ISP with the VPDN group.
Use the vpdn username username password password command to create a username and password pair for the PPPoE connection. The username must be a username that is already associated with the VPDN group specified for PPPoE.
Note
If your ISP is using CHAP or MS-CHAP, the username may be called the remote system name and the password may be called the CHAP secret.
The PPPoE client functionality is turned off by default, so after VPDN configuration, enable PPPoE with the ip address if_name pppoe [setroute] command. The setroute option causes a default route to be created if no default route exists.
As soon as PPPoE is configured, the security appliance attempts to find a PPPoE access concentrator with which to communicate. When a PPPoE connection is terminated, either normally or abnormally, the security appliance attempts to find a new access concentrator with which to communicate.
The following ip address commands should not be used after a PPPoE session is initiated because they will terminate the PPPoE session:
•
ip address outside pppoe, because it attempts to initiate a new PPPoE session.
•
ip address outside dhcp, because it disables the interface until the interface gets its DHCP configuration.
•
ip address outside address netmask, because it brings up the interface as a normally initialized interface.
Examples
The following example creates a vdpn group telecommuters and configures the PPPoE client:
F1(config)# vpdn group telecommuters request dialout pppoe
F1(config)# vpdn group telecommuters localname user1
F1(config)# vpdn group telecommuters ppp authentication pap
F1(config)# vpdn username user1 password test1
F1(config)# interface GigabitEthernet 0/1
F1(config-subif)# ip address pppoe setroute
Related Commands
Command
|
Description
|
clear configure vpdn group
|
Removes all vpdn group commands from the configurations.
|
clear configure vpdn username
|
Removes all vpdn username commands from the configuration.
|
show vpdn group group_name
|
Displays the vpdn group configuration.
|
vpdn username
|
Creates a username and password pair for the PPPoE connection.
|
vpdn username
To create a username and password pair for PPPoE connections, use the vpdn username command in global configuration mode.
vpdn username username password password [store-local]
no vpdn username username password password [store-local]
Note
PPPoE is not supported when failover is configured on the ASA, or in multiple context or transparent mode. PPPoE is only supported in single, routed mode, without failover.
Syntax Description
username
|
Specifies the username.
|
password
|
Specifies the password.
|
store-local
|
Stores the username and password in a special location of NVRAM on the security appliance. If an Auto Update Server sends a clear config command to the security appliance and the connection is then interrupted, the security appliance can read the username and password from NVRAM and re-authenticate to the Access Concentrator.
|
Defaults
No default behavior or values. See Usage Guidelines.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Global configuration
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
7.2(1)
|
This command was introduced.
|
Usage Guidelines
The vpdn username must be a username that is already associated with the VPDN group specified with the vpdn group group_name localname username command.
The clear configure vpdn username command removes all the vpdn username commands from the configuration.
Examples
The following example creates the vpdn username bob_smith with the password telecommuter9/8:
F1(config)# vpdn username bob_smith password telecommuter9/8
Related Commands
Command
|
Description
|
clear configure vpdn group
|
Removes all vpdn group commands from the configurations.
|
clear configure vpdn username
|
Removes all vpdn username commands from the configuration.
|
show vpdn group
|
Displays the vpdn group configuration.
|
vpdn group
|
Create a vpdn group and configures PPPoE client settings,
|
vpn-access-hours
To associate a group policy with a configured time-range policy, use the vpn-access-hours command in group-policy configuration mode or username configuration mode. To remove the attribute from the running configuration, use the no form of this command. This option allows inheritance of a time-range value from another group policy. To prevent inheriting a value, use the vpn-access-hours none command.
vpn-access hours value {time-range} | none
no vpn-access hours
Syntax Description
none
|
Sets VPN access hours to a null value, thereby allowing no time-range policy. Prevents inheriting a value from a default or specified group policy.
|
time-range
|
Specifies the name of a configured time-range policy.
|
Defaults
Unrestricted.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Group-policy
|
•
|
—
|
•
|
—
|
—
|
Username
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
7.0(1)
|
This command was introduced.
|
Examples
The following example shows how to associate the group policy named FirstGroup with a time-range policy called 824:
hostname(config)# group-policy FirstGroup attributes
hostname(config-group-policy)# vpn-access-hours 824
Related Commands
Command
|
Description
|
time-range
|
Sets days of the week and hours of the day for access to the network, including start and end dates.
|
vpn-addr-assign
To specify a method for assigning IP addresses to remote access clients, use the vpn-addr-assign command in global configuration mode. To remove the attribute from the configuration, use the no version of this command. To remove all configured VPN address assignment methods from the ASA, user the no version of this command. without arguments.
vpn-addr-assign {aaa | dhcp | local [reuse-delay delay]}
no vpn-addr-assign {aaa | dhcp | local [reuse-delay delay]}
Syntax Description
aaa
|
Obtains IP addresses from an external or internal (LOCAL) AAA authentication server.
|
dhcp
|
Obtains IP addresses via DHCP.
|
local
|
Assigns IP addresses from an IP adress pool configured on the ASA and associates them with a tunnel group.
|
reuse-delay delay
|
The delay before a released IP address can be reused. The range is 0 to 480 minutes. The default is 0 (disabled).
|
Defaults
No default behavior or values.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Global configuration
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
7.0(1)
|
This command was introduced.
|
8.0.3
|
The reuse-delay option was introduced.
|
Usage Guidelines
If you choose DHCP, you should also use the dhcp-network-scope command to define the range of IP addresses that the DHCP server can use. You must use the dhcp-server command to indicate the IP addresses that the DHCP server uses.
If you choose local, you must also use the ip-local-pool command to define the range of IP addresses to use. You then use the vpn-framed-ip-address and vpn-framed-netmask commands to assign IP addresses and netmasks to individual users.
With the local pool, you can use the reuse-delay delay option to adjust the delay before a released IP address can be reused. Increasing the delay prevents problems firewalls may experience when an IP address is returned to the pool and reassigned quickly.
If you choose AAA, you obtain IP addresses from either a previously configured RADIUS server.
Examples
The following example shows how to configure DHCP as the address assignment method:
hostname(config)# vpn-addr-assign dhcp
Related Commands
Command
|
Description
|
dhcp-network-scope
|
Specifies the range of IP addresses the ASA DHCP server should use to assign addresses to users of a group policy.
|
ip-local-pool
|
Creates a local IP address pool.
|
vpn-framed-ip-address
|
Specifies the IP address to assign to a particular user.
|
vpn-framed-ip-netmask
|
Specifies the netmask to assign to a particular user.
|
vpn-filter
To specify the name of the ACL to use for VPN connections, use the vpn-filter command in group policy or username mode. To remove the ACL, including a null value created by issuing the vpn-filter none command, use the no form of this command. The no option allows inheritance of a value from another group policy. To prevent inheriting values, use the vpn-filter none command.
You configure ACLs to permit or deny various types of traffic for this user or group policy. You then use the vpn-filter command to apply those ACLs.
vpn-filter {value ACL name | none}
no vpn-filter
Syntax Description
none
|
Indicates that there is no access list. Sets a null value, thereby disallowing an access list. Prevents inheriting an access list from another group policy.
|
value ACL name
|
Provides the name of the previously configured access list.
|
Defaults
No default behavior or values.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Group-policy
|
•
|
—
|
•
|
—
|
—
|
Username
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
7.0(1)
|
This command was introduced.
|
Usage Guidelines
Clientless SSL VPN does not use the ACL defined in the vpn-filter command.
By design, the vpn-filter feature allows for traffic to be filtered in inbound direction only. The outbound rule is automatically compiled. When creating an icmp access-list, do not specify icmp type in the access-list formatting if you want directional filters.
Examples
The following example shows how to set a filter that invokes an access list named acl_vpn for the group policy named FirstGroup:
hostname(config)# group-policy FirstGroup attributes
hostname(config-group-policy)# vpn-filter value acl_vpn
Related Commands
Command
|
Description
|
access-list
|
Creates an access list, or uses a downloadable access list.
|
vpn-framed-ip-address
To specify the IP address to assign to a particular user, use the vpn-framed-ip-address command in username mode. To remove the IP address, use the no form of this command.
vpn-framed-ip-address {ip_address} {subnet_mask}
no vpn-framed-ip-address
Syntax Description
ip_address
|
Provides the IP address for this user.
|
subnet_mask
|
Specifies the subnetwork mask.
|
Defaults
No default behavior or values.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Username
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
7.0(1)
|
This command was introduced.
|
Examples
The following example shows how to set an IP address of 10.92.166.7 for a user named anyuser:
hostname(config)# username anyuser attributes
hostname(config-username)# vpn-framed-ip-address 10.92.166.7 255.255.255.254
vpn-group-policy
To have a user inherit attributes from a configured group policy, use the vpn-group-policy command in username configuration mode. To remove a group policy from a user configuration, use the no version of this command. Using this command lets users inherit attributes that you have not configured at the username level.
vpn-group-policy {group-policy name}
no vpn-group-policy {group-policy name}
Syntax Description
group-policy name
|
Provides the name of the group policy.
|
Defaults
By default, VPN users have no group policy association.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Username
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
7.0(1)
|
This command was introduced.
|
Usage Guidelines
You can override the value of an attribute in a group policy for a particular user by configuring it in username mode, if that attribute is available in username mode.
Examples
The following example shows how to configure a user named anyuser to use attributes from the group policy named FirstGroup:
hostname(config)# username anyuser attributes
hostname(config-username)# vpn-group-policy FirstGroup
Related Commands
Command
|
Description
|
group-policy
|
Adds a group policy to the ASA database.
|
group-policy attributes
|
Enters group-policy attributes mode, which lets you configure AVPs for a group policy.
|
username
|
Adds a user to the ASA database.
|
username attributes
|
Enters username attributes mode, which lets you configure AVPs for specific users.
|
vpn-idle-timeout
To configure a user timeout period use the vpn-idle-timeout command in group-policy configuration mode or in username configuration mode. If there is no communication activity on the connection in this period, the ASA terminates the connection. You can optionally extend the timeout alert-interval from the default one minute.
To remove the attribute from the running configuration, use the no form of this command. This option allows inheritance of a time-out value from another group policy. To prevent inheriting a value, use the vpn-idle-timeout none command.
vpn-idle-timeout {minutes | none} [alert-interval minutes]
no vpn-idle-timeout
no vpn-idle-timeout alert-interval
Syntax Description
alert-interval
|
Specify timeout alert interval in minutes.
|
minutes
|
Specifies the number of minutes in the timeout period, and the number of minutes before the time-out alert. Use an integer between 1 and 35791394.
|
none
|
AnyConnect (SSL IPsec/IKEv2): Use the global WebVPN default-idle-timeout value (seconds) from the command: hostname(config-webvpn)# default-idle-timeout
The range for this value in the WebVPN default-idle-timeout command is 60-86400 seconds; the default Global WebVPN Idle timeout in seconds -- default is 1800 seconds (30 min).
Note A non-zero idle timeout value is required by ASA for all AnyConnect connections.
For a WebVPN user, the default-idle-timeout value is enforced only if vpn-idle-timeout none is set in the group policy/username attribute.
Site-to-Site (IKEv1, IKEv2) and IKEv1 remote-access: Disable timeout and allow for an unlimited idle period.
|
Defaults
30 minutes.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Group-policy
|
•
|
—
|
•
|
—
|
—
|
Username
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
7.0(1)
|
This command was introduced.
|
Usage Guidelines
The AnyConnect client supports session resumption for SSL and IKEv2 connection. With this capability, end user devices can go into sleep mode, lose their WiFi, or any of the like and resume the same connection upon return.
Examples
The following example shows how to set a VPN idle timeout of 15 minutes for the group policy named "FirstGroup":
hostname(config)# group-policy FirstGroup attributes
hostname(config-group-policy)# vpn-idle-timeout 30
The security appliance uses the default-idle-timeout value if no idle timeout is defined for a user, if the vpn-idle-timeout value is 0, or if the value does not fall into the valid range.
Related Commands
default-idle-timeout
|
Specifies the global WebVPN default idle timeout.
|
group-policy
|
Creates or edits a group policy.
|
vpn-session-timeout
|
Configures the maximum amount of time allowed for VPN connections. At the end of this period of time, the ASA terminates the connection.
|
vpn load-balancing
To enter vpn load-balancing mode, in which you can configure VPN load balancing and related functions, use the vpn load-balancing command in global configuration mode.
vpn load-balancing
Note
To use VPN load balancing, you must have an ASA Model 5510 with a Plus license or an ASA Model 5520 or higher. VPN load balancing also requires an active 3DES/AES license. The security appliance checks for the existence of this crypto license before enabling load balancing. If it does not detect an active 3DES or AES license, the security appliance prevents the enabling of load balancing and also prevents internal configuration of 3DES by the load balancing system unless the license permits this usage.
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Global configuration mode
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
7.0(1)
|
This command was introduced.
|
8.0(2)
|
Added support for ASA Model 5510 with a Plus license and models above 5520.
|
Usage Guidelines
A load-balancing cluster can include security appliance models 5510 (with a Plus license), or ASA 5520 and above. You can also include VPN 3000 Series Concentrators in the cluster. While mixed configurations are possible, administration is generally simpler if the cluster is homogeneous.
Use the vpn load-balancing command to enter vpn load-balancing mode. The following commands are available in vpn load-balancing mode:
•
cluster encryption
•
cluster ip address
•
cluster key
•
cluster port
•
interface
•
nat
•
participate
•
priority
•
redirect-fqdn
See the individual command descriptions for detailed information.
Examples
The following is an example of the vpn load-balancing command; note the change in the prompt:
hostname(config)# vpn load-balancing
hostname(config-load-balancing)#
The following is an example of a VPN load-balancing command sequence that includes an interface command that specifies the public interface of the cluster as "test" and the private interface of the cluster as "foo":
hostname(config)# interface GigabitEthernet 0/1
hostname(config-if)# ip address 209.165.202.159 255.255.255.0
hostname(config)# nameif test
hostname(config)# interface GigabitEthernet 0/2
hostname(config-if)# ip address 209.165.201.30 255.255.255.0
hostname(config)# nameif foo
hostname(config)# vpn load-balancing
hostname(config-load-balancing)# nat 192.168.10.10
hostname(config-load-balancing)# priority 9
hostname(config-load-balancing)# interface lbpublic test
hostname(config-load-balancing)# interface lbprivate foo
hostname(config-load-balancing)# cluster ip address 209.165.202.224
hostname(config-load-balancing)# cluster key 123456789
hostname(config-load-balancing)# cluster encryption
hostname(config-load-balancing)# cluster port 9023
hostname(config-load-balancing)# participate
Command
|
Description
|
clear configure vpn load-balancing
|
Removes the load-balancing runtime configuration and disables load balancing.
|
show running-config vpn load-balancing
|
Displays the the current VPN load-balancing virtual cluster configuration.
|
show vpn load-balancing
|
Displays VPN load-balancing runtime statistics.
|
vpn-session-db
To specify the maximum number of VPN sessions or AnyConnect client VPN sessions, use the vpn-session-db command from global configuration mode. To remove the limit from the configuration, use the no form of the command:
vpn-sessiondb {max-anyconnect-premium-or-essentials-limit <number> |
max-other-vpn-limit <number>}
Syntax Description
max-anyconnect-premium- or-essentials-limit <number>
|
Specifies the maximum number of AnyConnect sessions, from 1 to the maximum sessions allowed by the license.
|
max-other-vpn-limit <number>
|
Specifies the maximum number of VPN sessions other than AnyConnect client sessions, from 1 to the maximum sessions allowed by the license. This includes Cisco VPN client (IPsec IKEv1), Lan-to-Lan VPN, and clientless SSL VPN sessions.
|
Defaults
By default, the ASA does not limit the number of VPN sessions lower than the licensed maximum.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Global configuration
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
7.0(1)
|
This command was introduced.
|
8.4(1)
|
The following keywords were changed:
• max-anyconnect-premium-or-essentials-limit replaced max-session-limit
• max-other-vpn-limit replaced max-webvpn-session-limit
|
Examples
The following example sets the maximum AnyConnect sessions to 200:
hostname(config)# vpn-sessiondb max-anyconnect-premium-or-essentials-limit 200
Related Commands
Command
|
Description
|
vpn-sessiondb logoff
|
Logs off all or specific types of IPsec VPN and WebVPN sessions.
|
vpn-sessiondb max-webvpn-session-limit
|
Sets a maximum number of WebVPN sessions.
|
vpn-sessiondb logoff
To log off all or selected VPN sessions, use the vpn-sessiondb logoff command in global configuration mode.
vpn-sessiondb logoff {all | anyconnect | email-proxy | index index_number | ipaddress IPaddr |
l2l | name username | protocol protocol-name | ra-ikev1-ipsec | tunnel-group groupname |
vpn-lb | webvpn} [noconfirm]
Syntax Description
all
|
Logs off all VPN sessions.
|
anyconnect
|
Logs of all AnyConnect VPN client sessions.
|
email-proxy
|
Logs off all e-mail proxy sessions.
|
index index_number
|
Logs off a single session by index number. Specify the index number for the session. You can view index numbers for each session with the show vpn-sessiondb detail command.
|
ipaddress IPaddr
|
Logs off sessions for the IP address hat you specify.
|
l2l
|
Logs off all LAN-to-LAN sessions.
|
name username
|
Logs off sessions for the username that you specify.
|
protocol protocol-name
|
Logs off sessions for protocols that you specify. The protocols include:
|
| |
ikev1—Sessions using the Internet Key Exchange version 1 (IKEv1) protocol.
ikev2—Sessions using the Internet Key Exchange version 2 (IKEv2) protocol.
ipsec—IPsec sessions using either IKEv1 or IKEv2.
ipseclan2lan—IPsec Lan-to-Lan sessions.
ipseclan2lanovernatt—IPsec Lan-to-Lan over NAT-T sessions.
ipsecovernatt—IPsec over NAT-T sessions.
ipsecovertcp—IPsec over TCP sessions.
ipsecoverudp—IPsec over UDP sessions.
l2tpOverIpSec—L2TP over IPsec sessions.
l2tpOverIpsecOverNatT—L2TP over IPsec over NAT-T sessions.
webvpn—Clientless SSL VPN sessions.
imap4s—IMAP4 sessions.
pop3s—POP3 sessions.
smtps—SMTP sessions.
anyconnectParent—AnyConnect client sessions, regardless of the protocol used for the session (terminates AnyConnect IPsec IKEv2 and SSL sessions).
ssltunnel—SSL VPN sessions, including AnyConnect sessions using SSL and clientless SSL VPN sessions.
dtlstunnel—AnyConnect client sessions with DTLS enabled.
|
ra-ikev1-ipsec
|
Logs off all IPsec IKEv1 remote-access sessions.
|
tunnel-group groupname
|
Logs off sessions for the tunnel group (connection profile) that you specify.
|
webvpn
|
Logs off all clientless SSL VPN sessions.
|
Defaults
No default behavior or values.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Global configuration
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
7.0(1)
|
This command was introduced.
|
8.4(1)
|
The following protocol keywords were changed or added:
• remote was changed to ra-ikev1-ipsec.
• ike was changed to ikev1.
• ikev2 was added.
• anyconnectParent was added.
|
Examples
The following example shows how to log off all AnyConnect client sessions:
hostname# vpn-sessiondb logoff anyconnect
The next example shows how to log off all IPSec sessions:
hostname# vpn-sessiondb logoff protocol IPSec
vpn-session-timeout
To configure a maximum amount of time allowed for VPN connections, use the vpn-session-timeout command in group-policy configuration mode or in username configuration mode. At the end of this period of time, the ASA terminates the connection. You can optionally extend the timeout alert-interval from the default one minute.
To remove the attribute from the running configuration, use the no form of this command. This option allows inheritance of a time-out value from another group policy. To prevent inheriting a value, use the vpn-session-timeout none command.
vpn-session-timeout {minutes | none} [alert-interval minutes]
no vpn-session-timeout
no vpn-session-timeout alert-interval
Syntax Description
minutes
|
Specifies the number of minutes in the timeout period, and the number of minutes before the time-out alert. Use an integer between 1 and 35791394.
|
none
|
Permits an unlimited session timeout period. Sets session timeout with a null value, thereby disallowing a session timeout. Prevents inheriting a value from a default or specified group policy.
|
Defaults
No default behavior or values.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Group-policy
|
•
|
—
|
•
|
—
|
—
|
Username
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
7.0(1)
|
This command was introduced.
|
Examples
The following example shows how to set a VPN session timeout of 180 minutes for the group policy named FirstGroup:
hostname(config)# group-policy FirstGroup attributes
hostname(config-group-policy)# vpn-session-timeout 180
Related Commands
group-policy
|
Creates or edits a group policy.
|
vpn-idle-timeout
|
Configures the user timeout period. If there is no communication activity on the connection in this period, the ASA terminates the connection.
|
vpn-simultaneous-logins
To configure the number of simultaneous logins permitted for a user, use the vpn-simultaneous-logins command in group-policy configuration mode or username configuration mode. To remove the attribute from the running configuration, use the no form of this command. This option allows inheritance of a value from another group policy. Enter 0 to disable login and prevent user access.
vpn-simultaneous-logins {integer}
no vpn-simultaneous-logins
Syntax Description
integer
|
A number between 0 and 2147483647.
|
Defaults
The default is 3 simultaneous logins.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Group-policy
|
•
|
—
|
•
|
—
|
—
|
Username
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
7.0(1)
|
This command was introduced.
|
Usage Guidelines
Enter 0 to disable login and prevent user access.
Note
While the maximum limit for the number of simultaneous logins is very large, allowing several simultaneous logins could compromise security and affect performance.
Stale AnyConnect, IPSec Client, or Clientless sessions (sessions that are terminated abnormally) might remain in the session database, even though a "new" session has been established with the same username.
If the value of vpn-simultaneous-logins is 1, and the same user logs in again after an abnormal termination, then the stale session is removed from the database and the new session is established. If, however, the existing session is still an active connection and the same user logs in again, perhaps from another PC, the first session is logged off and removed from the database, and the new session is established.
If the number of simultaneous logins is a value greater than 1, then, when you have reached that maximum number and try to log in again, the session with the longest idle time is logged off. If all current sessions have been idle an equally long time, then the oldest session is logged off. This action frees up a session and allows the new login.
Examples
The following example shows how to allow a maximum of 4 simultaneous logins for the group policy named FirstGroup:
hostname(config)# group-policy FirstGroup attributes
hostname(config-group-policy)# vpn-simultaneous-logins 4
vpn-tunnel-protocol
To configure a VPN tunnel type (IPsec with IKEv1 or IKEv2, L2TP over IPSec, SSL, or clientless SSL), use the vpn-tunnel-protocol command in group-policy configuration mode or username configuration mode. To remove the attribute from the running configuration, use the no form of this command.
vpn-tunnel-protocol {ikev1 ikev2 l2tp-ipsec ssl-client ssl-clientless}
no vpn-tunnel-protocol {ikev1 ikev2 l2tp-ipsec ssl-client ssl-clientless}
Syntax Description
ikev1
|
Negotiates an IPsec tunnel with IKEv1 between two peers (a remote access client or another secure gateway). Creates security associations that govern authentication, encryption, encapsulation, and key management.
|
ikev2
|
Negotiates an IPSec tunnel with IKEv2 between two peers (a remote access client or another secure gateway). Creates security associations that govern authentication, encryption, encapsulation, and key management.
|
l2tp-ipsec
|
Negotiates an IPSec tunnel for an L2TP connection.
|
ssl-client
|
Negotiates an SSL VPN tunnel with an SSL VPN client.
|
ssl-clientless
|
Provides VPN services to remote users via an HTTPS-enabled web browser, and does not require a client.
|
Defaults
The default is IPsec.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Group-policy configuration
|
•
|
—
|
•
|
—
|
—
|
Username configuration
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
7.0(1)
|
This command was introduced.
|
7.2(1)
|
The l2tp-ipsec keyword was added.
|
7.3(1)
|
The svc keyword was added.
|
8.4(1)
|
The ipsec keyword was replaced by the ikev1 and ikev2 keywords.
|
Usage Guidelines
Use this command to configure one or more tunneling modes. You must configure at least one tunneling mode for users to connect over a VPN tunnel.
Note
To support fallback from IPSec to SSL, the vpn-tunnel-protocol command must have both the svc and ipsec arguments configured.
Examples
The following example shows how to configure WebVPN and IPSec tunneling modes for the group policy named "FirstGroup":
hostname(config)# group-policy FirstGroup attributes
hostname(config-group-policy)# vpn-tunnel-protocol webvpn
hostname(config-group-policy)# vpn-tunnel-protocol IPSec
Related Commands
Command
|
Description
|
address pools
|
Specifies a list of address pools for allocating addresses to remote clients.
|
show running-config group-policy
|
Displays the configuration for all group-policies or for a specific group-policy.
|
vpnclient connect
To attempt to establish an Easy VPN Remote connection to the configured server or servers, use the vpnclient connect command in global configuration mode.
vpnclient connect
Defaults
No default behavior or values.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
EXEC
|
•
|
—
|
•
|
—
|
—
|
Global configuration
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
7.2(1)
|
This command was introduced.
|
Usage Guidelines
This command applies only to the ASA model 5505.
Examples
The following example shows how to attempt to establish an Easy VPN Remote connection to a configured EasyVPN server:
hostname(config)# vpnclient connect
vpnclient enable
To enable the Easy VPN Remote feature, use the vpnclient enable command in global configuration mode. To disable the Easy VPN Remote feature, use the no form of this command:
vpnclient enable
no vpnclient enable
Defaults
No default behavior or values.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Global configuration
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
7.2(1)
|
This command was introduced.
|
Usage Guidelines
This command applies only to the ASA 5505.
If you enter the vpnclient enable command, the ASA 5505 functions as a Easy VPN hardware client (also called "Easy VPN Remote").
Examples
The following example shows how to enable the Easy VPN Remote feature:
hostname(config)# vpnclient enable
The following example shows how to disable the Easy VPN Remote feature:
hostname(config)# no vpnclient enable
vpnclient ipsec-over-tcp
To configure the ASA 5505 running as an Easy VPN hardware client to use TCP-encapsulated IPSec, use the vpnclient ipsec-over-tcp command in global configuration mode. To remove the attribute from the running configuration, use the no form of this command.
vpnclient ipsec-over-tcp [port tcp_port]
no vpnclient ipsec-over-tcp
Syntax Description
port
|
(Optional) Specifies the use of a particular port.
|
tcp_port
|
(Required if you specify the keyword port.) Specifies the TCP port number to be used for a TCP-encapsulated IPSec tunnel.
|
Defaults
The Easy VPN Remote connection uses port 10000 if the command does not specify a port number.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Global configuration
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
7.2(1)
|
This command was introduced.
|
Usage Guidelines
This command applies only to the ASA 5505 running as an Easy VPN hardware client (also called "Easy VPN Remote").
By default, the Easy VPN client and server encapsulate IPSec in User Datagram Protocol (UDP) packets. Some environments, such as those with certain firewall rules, or NAT and PAT devices, prohibit UDP. To use standard Encapsulating Security Protocol (ESP, Protocol 50) or Internet Key Exchange (IKE, UDP 500) in such environments, you must configure the client and the server to encapsulate IPSec within TCP packets to enable secure tunneling. If your environment allows UDP, however, configuring IPSec over TCP adds unnecessary overhead.
If you configure an ASA 5505 to use TCP-encapsulated IPSec, enter the following command to let it send large packets over the outside interface:
hostname(config)# crypto ipsec df-bit clear-df outside
This command clears the Don't Fragment (DF) bit from the encapsulated header. A DF bit is a bit within the IP header that determines whether the packet can be fragmented. This command lets the Easy VPN hardware client send packets that are larger than the MTU size.
Examples
The following example shows how to configure the Easy VPN hardware client to use TCP-encapsulated IPSec, using the default port 10000, and to let it send large packets over the outside interface:
hostname(config)# vpnclient ipsec-over-tcp
hostname(config)# crypto ipsec df-bit clear-df outside
The next example shows how to configure the Easy VPN hardware client to use TCP-encapsulated IPSec, using the port 10501, and to let it send large packets over the outside interface:
hostname(config)# vpnclient ipsec-over-tcp port 10501
hostname(config)# crypto ipsec df-bit clear-df outside
vpnclient mac-exempt
To exempt devices behind an Easy VPN Remote connection from individual user authentication requirements, use the vpnclient mac-exempt command in global configuration mode. To remove the attribute from the running configuration, use the no form of this command.
vpnclient mac-exempt mac_addr_1 mac_mask_1 [mac_addr_2 mac_mask_2...mac_addr_n
mac_mask_n]
no vpnclient mac-exempt
Syntax Description
mac_addr_1
|
MAC address, in dotted hexadecimal notation, specifying a manufacturer and serial number of a device for which to exempt individual user authentication. For more than one device, specify each MAC address, separating each with a space and the respective network mask.
The first 6 characters of the MAC address identify the device manufacturer, and the last 6 characters are the serial number. The last 24 bits are the unit's serial number in hexadecimal format.
|
mac_mask_1
|
Network mask for the corresponding MAC address. Use a space to separate the network mask and any subsequent MAC address and network mask pairs.
|
Defaults
No default behavior or values.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Global configuration
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
7.2(1)
|
This command was introduced.
|
Usage Guidelines
This command applies only to the ASA model 5505.
Devices such as Cisco IP phones, wireless access points, and printers are incapable of performing authentication, and therefore do not authenticate when individual unit authentication is enabled. If individual user authentication is enabled, you can use this command to exempt such devices from authentication. The exemption of devices from individual user authentication is also called "device pass-through."
The format for specifying the MAC address and mask in this command uses three hex digits, separated by periods; for example, the MAC mask ffff.ffff.ffff matches just the specified MAC address. A MAC mask of all zeroes matches no MAC address, and a MAC mask of ffff.ff00.0000 matches all devices made by the same manufacturer.
Note
You must have Individual User Authentication and User Bypass configured on the headend device. For example, if you have the ASA as the headend, configure the following under group policy:
hostname(config-group-policy)#user-authentication enable
hostname(config-group-policy)#ip-phone-bypass enable
Examples
Cisco IP phones have the Manufacturer ID 00036b, so the following command exempts any Cisco IP phone, including Cisco IP phones, you might add in the future:
hostname(config)# vpnclient mac-exempt 0003.6b00.0000 ffff.ff00.0000
The next example provides greater security but less flexibility because it exempts one specific Cisco IP phone:
hostname(config)# vpnclient mac-exempt 0003.6b54.b213 ffff.ffff.ffff
vpnclient management
To generate IPSec tunnels for management access to the Easy VPN hardware client, use the vpnclient management command in global configuration mode.
vpnclient management tunnel ip_addr_1 ip_mask_1 [ip_addr_2 ip_mask_2...ip_addr_n
ip_mask_n]
vpnclient management clear
To remove the attribute from the running configuration, use the no form of this command, which sets up IPSec tunnels exclusively for management in accordance with the split-tunnel-policy and split-tunnel-network-list commands.
no vpnclient management
Syntax Description
clear
|
Uses normal routing to provide management access from the corporate network to the outside interface of the ASA 5505 running as an Easy VPN Client. This option does not create management tunnels.
Note Use this option if a NAT device is operating between the client and the Internet.
|
ip_addr
|
IP address of the host or network for which to build a management tunnel from the Easy VPN hardware client. Use this argument with the tunnel keyword. Specify one or more IP addresses, separating each with a space and the respective network mask.
|
ip_mask
|
Network mask for the corresponding IP address. Use a space to separate the network mask and any subsequent IP address and network mask pairs.
|
tunnel
|
Automates the setup of IPSec tunnels specifically for management access from the corporate network to the outside interface of the ASA 5505 running as an Easy VPN Client.
|
Defaults
No default behavior or values.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Global configuration
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
7.2(1)
|
This command was introduced.
|
Usage Guidelines
This command applies only to the ASA 5505 running as an Easy VPN Client (also called "Easy VPN Remote"). It assumes the ASA 5505 configuration contains the following commands:
vpnclient server to specify the peer.
vpnclient mode to specify the client mode (PAT) or network extension mode.
One of the following:
•
vpnclient vpngroup to name the tunnel group and the IKE pre-shared key used for authentication on the Easy VPN server.
•
vpnclient trustpoint to name the trustpoint identifying the RSA certificate to use for authentication
vpnclient enable to enable the ASA 5505 as an Easy VPN Client.
Note
The public address of an ASA 5505 behind a NAT device is inaccessible unless you add static NAT mappings on the NAT device.
Note
When the ASA's outside (Internet facing) interface has been configured to receive a dynamically assigned IP address and if the vpnclient management tunnel is configured on that interface, then those DHCP packets, which include DHCP requests or DHCP renew messages, are exempt from IPsec encapsulation over the VPN tunnel.
Examples
The following example shows how to generate an IPSec tunnel from the outside interface of the ASA 5505 to the host with the IP address/mask combination 192.168.10.10 255.255.255.0:
hostname(config)# vpnclient management tunnel 192.168.10.0 255.255.255.0
The following example shows how to provide management access to the outside interface of the ASA 5505 without using IPSec:
hostname(config)# vpnclient management clear
vpnclient mode
To configure the Easy VPN Remote connection for either client mode or network extension mode, use the vpnclient mode command in global configuration mode. To remove the attribute from the running configuration, use the no form of this command.
vpnclient mode {client-mode | network-extension-mode}
no vpnclient mode
Syntax Description
client-mode
|
Configures the Easy VPN Remote connection to use client mode (PAT).
|
network-extension-mode
|
Configures the Easy VPN Remote connection to use network extension mode (NEM).
|
Defaults
No default behavior or values.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Global configuration
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
7.2(1)
|
This command was introduced.
|
Usage Guidelines
This command applies only to the ASA 5505 running as an Easy VPN Client (also called "Easy VPN Remote). The Easy VPN Client supports one of two modes of operation: client mode or NEM. The mode of operation determines whether the inside hosts, relative to the Easy VPN Client, are accessible from the Enterprise network over the tunnel. Specifying a mode of operation is mandatory before making a connection because Easy VPN Client does not have a default mode.
•
In client mode, the Easy VPN client performs port address translation (PAT) for all VPN traffic from its inside hosts. This mode requires no IP address management for either the inside address of the hardware client (which has a default RFC 1918 address assigned to it) or the inside hosts. Because of PAT, the inside hosts are not accessible from the enterprise network.
•
In NEM, all nodes on the inside network and the inside interface are assigned addresses routable across the enterprise network. The inside hosts are accessible from the enterprise network over a tunnel. Hosts on the inside network are assigned IP addresses from an accessible subnet (statically or through DHCP). PAT is not applied to the VPN traffic when in network extension mode.
Note
If the Easy VPN hardware client is using NEM and has connections to secondary servers, use the crypto map set reverse-route command on each headend device to configure dynamic announcements of the remote network using Reverse Route Injection (RRI).
Examples
The following example shows how to configure an Easy VPN Remote connection for client mode:
hostname(config)# vpnclient mode client-mode
The following example shows how to configure an Easy VPN Remote connection for NEM:
hostname(config)# vpnclient mode network-extension-mode
vpnclient nem-st-autoconnect
To configure the Easy VPN Remote connection to automatically initiate IPSec data tunnels when NEM and split tunneling are configured, use the vpnclient nem-st-autoconnect command in global configuration mode. To remove the attribute from the running configuration, use the no form of this command.
vpnclient nem-st-autoconnect
no vpnclient nem-st-autoconnect
Syntax Description
This command has no keywords or arguments.
Defaults
No default behavior or values.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Global configuration
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
7.2(1)
|
This command was introduced.
|
Usage Guidelines
This command applies only to the ASA 5505 running as an Easy VPN Client (also called "Easy VPN Remote").
Before entering the vpnclient nem-st-autoconnect command, ensure that network extension mode is enabled for the hardware client. Network extension mode lets hardware clients present a single, routable network to the remote private network over the VPN tunnel. IPSec encapsulates all traffic from the private network behind the hardware client to networks behind the ASA. PAT does not apply. Therefore, devices behind the ASA have direct access to devices on the private network behind the hardware client over the tunnel, and only over the tunnel, and vice versa. The hardware client must initiate the tunnel. After the tunnel is up, either side can initiate data exchange.
Note
You must also configure the Easy VPN server to enable network extension mode. To do so, use the nem enable command in group-policy configuration mode.
IPSec data tunnels are automatically initiated and sustained when in network extension mode, except when split-tunneling is configured.
Examples
The following example shows how to configure an Easy VPN Remote connection to automatically connect in network extension mode with split-tunneling configured. Network extension mode is enabled for the group policy FirstGroup:
hostname(config)# group-policy FirstGroup attributes
hostname(config-group-policy)# nem enable
hostname(config)# vpnclient nem-st-autoconnect
Related Commands
Command
|
Description
|
nem
|
Enables network extension mode for hardware clients.
|
vpnclient server-certificate
To configure the Easy VPN Remote connection to accept only connections to Easy VPN servers with the specific certificates specified by the certificate map, use the vpnclient server-certificate command in global configuration mode. To remove the attribute from the running configuration, use the no form of this command.
vpnclient server-certificate certmap_name
no vpnclient server-certificate
Syntax Description
certmap_name
|
Specifies the name of a certificate map that specifies the acceptable Easy VPN server certificate. The maximum length is 64 characters.
|
Defaults
Easy VPN server certificate filtering is disabled by default.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Global configuration
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
7.2(1)
|
This command was introduced.
|
Usage Guidelines
This command applies only to the ASA model 5505.
Use this command to enable Easy VPN server certificate filtering. You define the certificate map itself using the crypto ca certificate map and crypto ca certificate chain commands.
Examples
The following example shows how to configure an Easy VPN Remote connection to support only connections to Easy VPN servers with the certificate map name homeservers:
hostname(config)# vpnclient server-certificate homeservers
Related Commands
Command
|
Description
|
certificate
|
Adds the indicated certificate.
|
vpnclient trustpoint
|
Configures the RSA identity certificate to be used by the Easy VPN Remote connection.
|
vpnclient server
To configure the primary and secondary IPSec servers, for the Easy VPN Remote connection, use the vpnclient server command in global configuration mode. To remove the attribute from the running configuration, use the no form of this command.
vpnclient server ip_primary_address [ip_secondary_address_1 ... ipsecondary_address_10]
no vpnclient server
Syntax Description
ip_primary_address
|
IP address or DNS name of the primary Easy VPN (IPSec) server. Any ASA or VPN 3000 Concentrator Series can act as an Easy VPN server.
|
ip_secondary_address_n
|
(Optional) List of the IP addresses or DNS names of up to ten backup Easy VPN servers. Use a space to separate the items in the list.
|
Defaults
No default behavior or values.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Global configuration
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
7.2(1)
|
This command was introduced.
|
Usage Guidelines
This command applies only to the ASA model 5505.
A server must be configured before a connection can be established. The vpnclient server command supports IPv4 addresses, the names database, or DNS names and resolves addresses in that order.
You can use either the IP address or the hostname of a server.
Examples
The following example associates the name headend-1 with the address 10.10.10.10 and uses the vpnclient server command to specify three servers: headend-dns.domain.com (primary), headend-1 (secondary), and 192.168.10.10 (secondary):
hostname(config)# 10.10.10.10 headend-1
hostname(config)# vpnclient server headend-dns.domain.com headend-1 192.168.10.10
The following example shows how to configure a VPN client primary IPSec server with the IP address 10.10.10.15 and secondary servers with the IP addresses 10.10.10.30 and 192.168.10.45.
hostname(config)# vpnclient server 10.10.10.15 10.10.10.30 192.168.10.10
vpnclient trustpoint
To configure the RSA identity certificate to be used by the Easy VPN Remote connection, use the vpnclient trustpoint command in global configuration mode. To remove the attribute from the running configuration, use the no form of this command.
vpnclient trustpoint trustpoint_name [chain]
no vpnclient trustpoint
Syntax Description
chain
|
Sends the entire certificate chain.
|
trustpoint_name
|
Specifies the name of a trustpoint identifying the RSA certificate to use for authentication.
|
Defaults
No default behavior or values.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Global configuration
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
7.2(1)
|
This command was introduced.
|
Usage Guidelines
This command applies only to the ASA model 5505 and only when using digital certificates.
Define the trustpoint using the crypto ca trustpoint command. A trustpoint represents a CA identity and possibly a device identity, based on a certificate issued by the CA. The commands within the trustpoint sub mode control CA-specific configuration parameters which specify how the ASA obtains the CA certificate, how the ASA obtains its certificate from the CA, and the authentication policies for user certificates issued by the CA.
Examples
The following example shows how to configure an Easy VPN Remote connection to use the specific identity certificate named central and to send the entire certificate chain:
hostname(config)# crypto ca trustpoint central
hostname(config)# vpnclient trustpoint central chain
Related Commands
Command
|
Description
|
crypto ca trustpoint
|
Enters the trustpoint submode for the specified trustpoint and manages trustpoint information.
|
vpnclient username
To configure the VPN username and password for the Easy VPN Remote connection, use the vpnclient username command in global configuration mode. To remove the attribute from the running configuration, use the no form of this command.
vpnclient username xauth_username password xauth password
no vpnclient username
Syntax Description
xauth_password
|
Specifies the password to use for XAUTH. The maximum length is 64 characters.
|
xauth_username
|
Specifies the username to use for XAUTH. The maximum length is 64 characters.
|
Defaults
No default behavior or values.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Global configuration
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
7.2(1)
|
This command was introduced.
|
Usage Guidelines
This command applies only to the ASA model 5505.
The XAUTH username and password parameters are used when secure unit authentication is disabled and the server requests XAUTH credentials. If secure unit authentication is enabled, these parameters are ignored, and the ASA prompts the user for a username and password.
Examples
The following example shows how to configure the Easy VPN Remote connection to use the XAUTH username testuser and the password ppurkm1:
hostname(config)# vpnclient username testuser password ppurkm1
vpnclient vpngroup
To configure the VPN tunnel group name and password for the Easy VPN Remote connection, use the vpnclient vpngroup command in global configuration mode. To remove the attribute from the running configuration, use the no form of this command.
vpnclient vpngroup group_name password preshared_key
no vpnclient vpngroup
Syntax Description
group_name
|
Specifies the name of the VPN tunnel group configured on the Easy VPN server. The maximum length is 64 characters, and no spaces are allowed.
|
preshared_key
|
The IKE pre-shared key used for authentication by the Easy VPN server. The maximum length is 128 characters.
|
Defaults
If the configuration of the ASA 5505 running as an Easy VPN client does not specify a tunnel group, the client attempts to use an RSA certificate.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Global configuration
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
7.2(1)
|
This command was introduced.
|
Usage Guidelines
This command applies only to the ASA 5505 running as an Easy VPN client (also called "Easy VPN Remote").
Use the pre-shared key as the password. You must configure a server before establishing a connection.
Examples
The following example shows how to configure an Easy VPN Remote connectionwith a VPN tunnel group with the group name TestGroup1 and the password my_key123.
hostname(config)# vpnclient vpngroup TestGroup1 password my_key123
Related Commands
Command
|
Description
|
vpnclient trustpoint
|
Configures the RSA identity certificate to be used by the Easy VPN connection.
|
vpnsetup
To display a list of steps for configuring VPN connections on the ASA, use the vpnsetup command from global configuration mode.
vpnsetup {ipsec-remote-access | l2tp-remote-access | site-to-site | ssl-remote-access} steps
Syntax Description
ipsec-remote-access
|
Displays steps to configure the ASA to accept IPsec connections.
|
l2tp-remote-access
|
Displays steps to configure the ASA to accept L2TP connections.
|
site-to-site
|
Displays steps to configure the ASA to accept LAN-to-LAN connections.
|
ssl-remote-access
|
Displays steps to configure the ASA to accept SSL connections.
|
steps
|
Specifies to display the steps for the connection type.
|
Defaults
This command has no default settings
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
global configuration
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
8.0(3)
|
This command was introduced.
|
Examples
The following example shows the output of the vpnsetup ssl-remote-access steps command:
hostname(config-t)# vpnsetup ssl-remote-access steps
Steps to configure a remote access SSL VPN remote access connection and AnyConnect with
examples:
1. Configure and enable interface
interface GigabitEthernet0/0
ip address 10.10.4.200 255.255.255.0
interface GigabitEthernet0/1
ip address 192.168.0.20 255.255.255.0
2. Enable WebVPN on the interface
3. Configure default route
route outside 0.0.0.0 0.0.0.0 10.10.4.200
4. Configure AAA authentication and tunnel group
tunnel-group DefaultWEBVPNGroup type remote-access
tunnel-group DefaultWEBVPNGroup general-attributes
authentication-server-group LOCAL
5. If using LOCAL database, add users to the Database
username test password t3stP@ssw0rd
service-type remote-access
Proceed to configure AnyConnect VPN client:
6. Point the ASA to an AnyConnect image
svc image anyconnect-win-2.1.0148-k9.pkg
8. Add an address pool to assign an ip address to the AnyConnect client
ip local pool client-pool 192.168.1.1-192.168.1.254 mask 255.255.255.0
9. Configure group policy
group-policy DfltGrpPolicy internal
group-policy DfltGrpPolicy attributes
vpn-tunnel-protocol svc webvpn
Related Commands
Command
|
Description
|
show running-config
|
Displays the running configuration of the ASA.
|
wccp
To allocate space and to enable support of the specified Web Cache Communication Protocol (WCCP) service for participation in a service group, use the wccp command in global configuration mode. To disable the service group and deallocate space, use the no form of this command.
wccp {web-cache | service-number} [redirect-list access-list] [group-list access-list] [password
password]
no wccp {web-cache | service-number} [redirect-list access-list] [group-list access-list]
[password password [0 | 7]]
Syntax Description
web-cache
|
Specifies the web-cache service.
Note Web cache counts as one service. The maximum number of services, including those assigned with the service-number argument are 256
|
service-number
|
A dynamic service identifier, which means the service definition is dictated by the cache. The dynamic service number can be from 0 to 254 and up to 255. There is a maximum allowable number of 256 that includes the web-cache service specified with the web-cache keyword.
|
redirect-list
|
(Optional) Used with an access list that controls traffic redirected to this service group. The access-list argument should consist of a string of no more than 64 characters (name or number) that specifies the access list. The access list should only contain network addresses. Port-specific entries are not supported
|
access-list
|
Specifies the name of the access list.
|
group-list
|
(Optional) Access list that determines which web caches are allowed to participate in the service group. The access-list argument should consist of a string of no more than 64 characters (name or number) that specifies the access list.
|
password
|
(Optional) Specifies Message Digest 5 (MD5) authentication for messages received from the service group. Messages that are not accepted by the authentication are discarded.
|
password
|
Specifies the password to be used for authentication. The password argument can be up to seven characters in length.
|
Defaults
This command is disabled by default.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Global configuration
|
•
|
•
|
•
|
•
|
—
|
Command History
Release
|
Modification
|
7.2(1)
|
This command was introduced.
|
Examples
The following example shows how to enable WCCP for participation in a service group:
hostname(config)# wccp web-cache redirect-list jeeves group-list wooster password whatho
Related Commands
Commands
|
Description
|
show wccp
|
Displays the WCCP configuration.
|
wccp redirect
|
Enables support of WCCP redirection.
|
wccp redirect
To enable packet redirection on the ingress of an interface using Web Cache Communication Protocol (WCCP), use the wccp redirect command. To disable WCCP redirection, use the no form of this command.
wccp interface interface_name service redirect in
no wccp interface interface_name service redirect in
Syntax Description
interface_name
|
Name of the interface where packets should be redirected..
|
service
|
Specifies the service group. You can specify the web-cache keyword, or you can specify the identification number (from 0 to 99) of the service.
|
in
|
Specifies redirection when packet comes into this interface
|
Defaults
This command is disabled by default.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Global configuration
|
•
|
•
|
•
|
•
|
—
|
Command History
Release
|
Modification
|
7.2(1)
|
This command was introduced.
|
Examples
The following example shows how to enable WCCP redirection on the inside interface for the web-cache service:
hostname(config)# wccp interface inside web-cache redirect in
Related Commands
Commands
|
Description
|
show wccp
|
Displays the WCCP configuration.
|
wccp
|
Enables support of WCCP with service groups.
|
web-agent-url
To specify the SSO server URL to which the ASA makes SiteMinder-type SSO authentication requests, use the web-agent-url command in config-webvpn-sso-siteminder mode.
To remove an SSO server authentication URL, use the no form of this command.
web-agent-url url
no web-agent-url url
Note
This command is required for SiteMinder-type SSO authentication.
Syntax Description
Syntax DescriptionSyntax Description
url
|
Specifies the authentication URL of the SiteMinder-type SSO server. Must contain http:// or https://.
|
Defaults
By default, an authentication URL is not configured.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
config-webvpn-sso-siteminder
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
7.1(1)
|
This command was introduced.
|
Usage Guidelines
Single-sign-on support, available only for WebVPN, lets users access different secure services on different servers without entering a username and password more than once. The SSO server has a URL that handles authentication requests.
This command applies only to the SiteMinder type of SSO server.
Use the web-agent-url command to configure the ASA to send authentications to this URL. Before configuring the authentication URL, you must create the SSO server using the sso-server command.
For https communication between the security appliance and SSO-server, make sure that the SSL encryption settings match on both sides. On the security appliance, verify this with the ssl encryption command.
Examples
The following example, entered in config-webvpn-sso-siteminder mode, specifies an authentication URL of http://www.example.com/webvpn:
hostname(config-webvpn)# sso-server example type siteminder
hostname(config-webvpn-sso-siteminder)# web-agent-url http://www.example.com/webvpn
hostname(config-webvpn-sso-siteminder)#
Related Commands
Command
|
Description
|
max-retry-attempts
|
Configures the number of times the ASA retries a failed SSO authentication attempt.
|
policy-server-secret
|
Creates a secret key used to encrypt authentication requests to a SiteMinder-type SSO server.
|
request-timeout
|
Specifies the number of seconds before a failed SSO authentication attempt times out.
|
show webvpn sso-server
|
Displays the operating statistics for all SSO servers configured on the security device.
|
ssl encryption
|
Specifies the encryption algorithms the SSL/TLS protocol uses.
|
sso-server
|
Creates a single sign-on server.
|
web-applications
To customize the Web Application box of the WebVPN Home page that is displayed to authenticated WebVPN users, use the web-applications command from webvpn customization mode:
web-applications {title | message | dropdown} {text | style} value
[no] web-applications {title | message | dropdown} {text | style} value
To remove the command from the configuration and cause the value to be inherited, use the no form of the command.
Syntax Description
title
|
Specifies you are changing the title.
|
message
|
Specifies you are changing the message displayed under the title.
|
dropdown
|
Specifies you are changing the dropdown box.
|
text
|
Specifies you are changing the text.
|
style
|
Specifies you are changing the HTML style.
|
value
|
The actual text to display (maximum 256 characters), or Cascading Style Sheet (CSS) parameters (maximum 256 characters).
|
Defaults
The default title text is "Web Application".
The default title style is background-color:#99CCCC;color:black;font-weight:bold;text-transform:
uppercase
The default message text is "Enter Web Address (URL)".
The default message style is background-color:#99CCCC;color:maroon;font-size:smaller.
The default dropdown text is "Web Bookmarks".
The default dropdown style is border:1px solid black;font-weight:bold;color:black;font-size:80%.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Webvpn customization
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
7.1(1)
|
This command was introduced.
|
Usage Guidelines
The style option is expressed as any valid Cascading Style Sheet (CSS) parameters. Describing these parameters is beyond the scope of this document. For more information about CSS parameters, consult CSS specifications at the World Wide Web Consortium (W3C) website at www.w3.org. Appendix F of the CSS 2.1 Specification contains a convenient list of CSS parameters, and is available at www.w3.org/TR/CSS21/propidx.html.
Here are some tips for making the most common changes to the WebVPN pages—the page colors:
•
You can use a comma-separated RGB value, an HTML color value, or the name of the color if recognized in HTML.
•
RGB format is 0,0,0, a range of decimal numbers from 0 to 255 for each color (red, green, blue); the comma separated entry indicates the level of intensity of each color to combine with the others.
•
HTML format is #000000, six digits in hexadecimal format; the first and second represent red, the third and fourth green, and the fifth and sixth represent blue.
Note
To easily customize the WebVPN pages, we recommend that you use ASDM, which has convenient features for configuring style elements, including color swatches and preview capabilities.
Examples
The following example changes the title to "Applications", and the color of the text to blue:
F1-asa1(config-webvpn)# customization cisco
F1-asa1(config-webvpn-custom)# web-applications title text Applications
F1-asa1(config-webvpn-custom)# web-applications title style color:blue
Related Commands
Command
|
Description
|
application-access
|
Customizes the Application Access box of the WebVPN Home page.
|
browse-networks
|
Customizes the Browse Networks box of the WebVPN Home page.
|
web-bookmarks
|
Customizes the Web Bookmarks title or links on the WebVPN Home page.
|
file-bookmarks
|
Customizes the File Bookmarks title or links on the WebVPN Home page.
|
web-bookmarks
To customize the Web Bookmarks title or links on the WebVPN Home page that is displayed to authenticated WebVPN users, use the web-bookmarks command from webvpn customization mode:
web-bookmarks {link {style value} | title {style value | text value}}
[no] web-bookmarks {link {style value} | title {style value | text value}}
To remove the command from the configuration and cause the value to be inherited, use the no form of the command.
Syntax Description
link
|
Specifies you are changing the links.
|
title
|
Specifies you are changing the title.
|
style
|
Specifies you are changing the HTML style.
|
text
|
Specifies you are changing the text.
|
value
|
The actual text to display (maximum 256 characters), or Cascading Style Sheet (CSS) parameters (maximum 256 characters).
|
Defaults
The default link style is color:#669999;border-bottom: 1px solid #669999;text-decoration:none.
The default title style is color:#669999;background-color:#99CCCC;font-weight:bold.
The default title text is "Web Bookmarks".
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Webvpn customization
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
7.1(1)
|
This command was introduced.
|
Usage Guidelines
The style option is expressed as any valid Cascading Style Sheet (CSS) parameters. Describing these parameters is beyond the scope of this document. For more information about CSS parameters, consult CSS specifications at the World Wide Web Consortium (W3C) website at www.w3.org. Appendix F of the CSS 2.1 Specification contains a convenient list of CSS parameters, and is available at www.w3.org/TR/CSS21/propidx.html.
Here are some tips for making the most common changes to the WebVPN pages—the page colors:
•
You can use a comma-separated RGB value, an HTML color value, or the name of the color if recognized in HTML.
•
RGB format is 0,0,0, a range of decimal numbers from 0 to 255 for each color (red, green, blue); the comma separated entry indicates the level of intensity of each color to combine with the others.
•
HTML format is #000000, six digits in hexadecimal format; the first and second represent red, the third and fourth green, and the fifth and sixth represent blue.
Note
To easily customize the WebVPN pages, we recommend that you use ASDM, which has convenient features for configuring style elements, including color swatches and preview capabilities.
Examples
The following example customizes the Web Bookmarks title to "Corporate Web Bookmarks":
F1-asa1(config-webvpn)# customization cisco
F1-asa1(config-webvpn-custom)# web-bookmarks title text Corporate Web Bookmarks
Related Commands
Command
|
Description
|
application-access
|
Customizes the Application Access box of the WebVPN Home page.
|
browse-networks
|
Customizes the Browse Networks box of the WebVPN Home page.
|
file-bookmarks
|
Customizes the File Bookmarks title or links on the WebVPN Home page.
|
web-applications
|
Customizes the Web Application box of the WebVPN Home page.
|
webvpn
To enter webvpn mode, in global configuration mode, enter the webvpn command. To remove any commands entered with this command, use the no webvpn command. These webvpn commands apply to all WebVPN users.
These webvpn commands let you configure AAA servers, default group policies, default idle timeout, http and https proxies, and NBNS servers for WebVPN, as well as the appearance of WebVPN screens that end users see.
webvpn
no webvpn
Syntax Description
This command has no arguments or keywords.
Defaults
WebVPN is disabled by default.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Global configuration
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
7.0(1)
|
This command was introduced.
|
Usage Guidelines
This WebVPN mode lets you configure global settings for WebVPN. WebVPN mode, which you enter from either group-policy mode or username mode, lets you customize a WebVPN configuration for specific users or group policies. The ASA clientless SSL VPN configuration supports only one http-proxy and one https-proxy when configuring servers.
Examples
The following example shows how to enter WebVPN command mode:
webvpn (group-policy and username modes)
To enter this webvpn mode, use the webvpn command in group-policy configuration mode or in username configuration mode. To remove all commands entered in webvpn mode, use the no form of this command. These webvpn commands apply to the username or group policy from which you configure them.
Webvpn commands for group policies and usernames define access to files, MAPI proxy, URLs and TCP applications over WebVPN. They also identify ACLs and types of traffic to filter.
webvpn
no webvpn
Syntax Description
This command has no arguments or keywords.
Defaults
WebVPN is disabled by default.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Group-policy
|
•
|
—
|
•
|
—
|
—
|
Username
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
7.0(1)
|
This command was introduced.
|
Usage Guidelines
Webvpn mode, which you enter from global configuration mode, lets you configure global settings for WebVPN. The webvpn command in group-policy attributes configuration mode or username attributes configuration mode applies the settings specified in the webvpn command to the group or user specified in the parent command. In other words, webvpn mode, described in this section, and which you enter from group-policy or username mode, lets you customize a WebVPN configuration for specific users or group policies.
The webvpn attributes that you apply for a specific group policy in group-policy attributes mode override those specified in the default group policy. The WebVPN attributes that you apply for a specific user in username attributes mode override both those in the default group policy and those in the group policy to which that user belongs. Essentially, these commands let you tweak the settings that would otherwise be inherited from the default group or the specified group policy. For information about the WebVPN settings, see the description of the webvpn command in global configuration mode.
The following table lists the attributes you can configure in webvpn group-policy attributes and username attributes mode. See the individual command descriptions for details.
Attribute
|
Description
|
auto-signon
|
Configures the ASA to automatically pass WebVPN user login credentials on to internal servers, providing a single sign-on method for WebVPN users.
|
customization
|
Specifies a preconfigured WebVPN customization to apply.
|
deny-message
|
Specifies a message to display to the user when access is denied.
|
filter
|
Identifies the access list to be used for WebVPN connections.
|
functions
|
Configures file access and file browsing, MAPI Proxy, and URL entry over WebVPN.
|
homepage
|
Sets the URL of the webpage that displays when WebVPN users log in.
|
html-content-filter
|
Identifies Java, ActiveX, images, scripts, and cookies to filter for WebVPN sessions.
|
http-comp
|
Specifies the HTTP compression algorithm to use.
|
keep-alive-ignore
|
Specifies the maximum object size to ignore for updating the session.
|
port-forward
|
Enables WebVPN application access.
|
port-forward-name
|
Configures the display name that identifies TCP port forwarding to end users.
|
sso-server
|
Configures the SSO server name.
|
svc
|
Configures SSL VPN Client attributes.
|
url-list
|
Identifies a list of servers and URLs that users can access via WebVPN.
|
Examples
The following example shows how to enter webvpn mode for the group policy named "FirstGroup":
hostname(config)# group-policy FirstGroup attributes
hostname(config-group-policy)# webvpn
The following example shows how to enter webvpn mode for the username named "test":
hostname(config)# group-policy test attributes
hostname(config-username)# webvpn
Related Commands
clear configure group-policy
|
Removes the configuration for a particular group policy or for all group policies.
|
group-policy attributes
|
Enters config-group-policy mode, which lets you configure attributes and values for a specified group policy or lets you enter webvpn mode to configure webvpn attributes for the group.
|
show running-config group-policy
|
Displays the running configuration for a particular group policy or for all group policies.
|
webvpn
|
Enters config-group-webvpn mode, in which you can configure the WebVPN attributes for the specified group.
|
who
To display active Telnet administration sessions on the ASA, use the who command in privileged EXEC mode.
who [local_ip]
Syntax Description
local_ip
|
(Optional) Specifies to limit the listing to one internal IP address or network address, either IPv4 or IPv6.
|
Defaults
No default behavior or values.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Privileged EXEC
|
•
|
•
|
•
|
•
|
•
|
Command History
Release
|
Modification
|
Preexisting
|
This command was preexisting.
|
Usage Guidelines
The who command allows you to display the TTY_ID and IP address of each Telnet client that is currently logged into the ASA.
Examples
This example shows the output of the who command when a client is logged into the ASA through a Telnet session:
Related Commands
Command
|
Description
|
kill
|
Terminate a Telnet session.
|
telnet
|
Adds Telnet access to the ASA console and sets the idle timeout.
|
window-variation
To drop a connection with a window size variation, use the window-variation command in tcp-map configuration mode. To remove this specification, use the no form of this command.
window variation {allow-connection | drop-connection}
no window variation {allow-connection | drop-connection}
Syntax Description
allow-connection
|
Allows the connection.
|
drop-connection
|
Drops the connection.
|
Defaults
The default action is to allow the connection.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Tcp-map configuration
|
•
|
•
|
•
|
•
|
—
|
Command History
Release
|
Modification
|
7.0(1)
|
This command was introduced.
|
Usage Guidelines
The tcp-map command is used along with the Modular Policy Framework infrastructure. Define the class of traffic using the class-map command and customize the TCP inspection with tcp-map commands. Apply the new TCP map using the policy-map command. Activate TCP inspection with service-policy commands.
Use the tcp-map command to enter tcp-map configuration mode. Use the window-variation command in tcp-map configuration mode to drop all connections with a window size that has been shrunk.
The window size mechanism allows TCP to advertise a large window and to subsequently advertise a much smaller window without having accepted too much data. From the TCP specification, "shrinking the window" is strongly discouraged. When this condition is detected, the connection can be dropped.
Examples
The following example shows how to drop all connections with a varied window size:
hostname(config)# access-list TCP extended permit tcp any any
hostname(config)# tcp-map tmap
hostname(config-tcp-map)# window-variation drop-connection
hostname(config)# class-map cmap
hostname(config-cmap)# match access-list TCP
hostname(config)# policy-map pmap
hostname(config-pmap)# class cmap
hostname(config-pmap)# set connection advanced-options tmap
hostname(config)# service-policy pmap global
Related Commands
Command
|
Description
|
class
|
Specifies a class map to use for traffic classification.
|
policy-map
|
Configures a policy; that is, an association of a traffic class and one or more actions.
|
set connection
|
Configures connection values.
|
tcp-map
|
Creates a TCP map and allows access to tcp-map configuration mode.
|
wins-server
To set the IP address of the primary and secondary WINS servers, use the wins-server command in group-policy configuration mode. To remove the attribute from the running configuration, use the no form of this command. This option allows inheritance of a WINS server from another group policy. To prevent inheriting a server, use the wins-server none command.
wins-server value {ip_address} [ip_address] | none
no wins-server
Syntax Description
none
|
Sets wins-servers to a null value, thereby allowing no WINS servers. Prevents inheriting a value from a default or specified group policy.
|
value ip_address
|
Specifies the IP address of the primary and secondary WINS servers.
|
Defaults
No default behavior or values.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Group-policy
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
7.0(1)
|
This command was introduced.
|
Usage Guidelines
Every time you issue the wins-server command you overwrite the existing setting. For example, if you configure WINS server x.x.x.x and then configure WINS server y.y.y.y, the second command overwrites the first, and y.y.y.y becomes the sole WINS server. The same holds true for multiple servers. To add a WINS server rather than overwrite previously configured servers, include the IP addresses of all WINS servers when you enter this command.
Examples
The following example shows how to configure WINS servers with the IP addresses 10.10.10.15, 10.10.10.30, and 10.10.10.45 for the group policy named FirstGroup:
hostname(config)# group-policy FirstGroup attributes
hostname(config-group-policy)# wins-server value 10.10.10.15 10.10.10.30 10.10.10.45
without-csd
To exempt certain users from running Cisco Secure Desktop on a per connection profile basis if they enter one of the entries in the group-urls table to establish the VPN session, use the without-csd command in tunnel webvpn configuration mode. To remove this command from the configuration, use the no form of the command.
hostname(config-tunnel-webvpn)# without-csd
hostname(config-tunnel-webvpn)#
Syntax Description
This command has no arguments or keywords.
Defaults
No default values. If the configuration of this ASA contains a csd enable command, the default behavior is to run Cisco Secure Desktop on each endpoint.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
tunnel webvpn configuration mode
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
8.2(1)
|
This command was introduced.
|
Usage Guidelines
This command prevents Cisco Secure Desktop from running on the endpoint if the user enters a URL in the url-group list configured on this connection profile (called a tunnel group in the CLI). Entering this command prevents the detection of endpoint conditions for these sessions, so you may need to adjust the dynamic access policy (DAP) configuration.
Examples
The first command in the following example creates a group-url in which "example.com" is the domain of the security appliance and "no-csd" is the unique portion of the URL. When the user enters this URL, the ASA assigns this connection profile to the session. The group-url command is required for the without-csd command to have an effect. The without-csd command exempts the user from running Cisco Secure Desktop.
hostname(config-tunnel-webvpn)# group-url https://example.com/no-csd enable
hostname(config-tunnel-webvpn)# without-csd
hostname(config-tunnel-webvpn)#
Related Commands
Command
|
Description
|
csd enable
|
Enables Cisco Secure Desktop for all connection profiles that do not have a without-csd command.
|
csd image
|
Copies the Cisco Secure Desktop image named in the command, from the flash drive specified in the path to the running configuration.
|
group-url
|
Creates a group-url unique to this connection profile.
|
write erase
To erase the startup configuration, use the write erase command in privileged EXEC mode. The running configuration remains intact.
write erase
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Privileged EXEC
|
•
|
•
|
•
|
—
|
•
|
Command History
Release
|
Modification
|
Preexisting
|
This command was preexisting.
|
Usage Guidelines
This command is not supported within a security context. Context startup configurations are identified by the config-url command in the system configuration. If you want to delete a context configuration, you can remove the file manually from the remote server (if specified) or clear the file from Flash memory using the delete command in the system execution space.
Examples
The following example erases the startup configuration:
Erase configuration in flash memory? [confirm] y
Related Commands
Command
|
Description
|
configure net
|
Merges a configuration file from the specified TFTP URL with the running configuration.
|
delete
|
Removes a file from Flash memory.
|
show running-config
|
Shows the running configuration.
|
write memory
|
Saves the running configuration to the startup configuration.
|
write memory
To save the running configuration to the startup configuration, use the write memory command in privileged EXEC mode.
write memory [all [/noconfirm]]
Syntax Description
/noconfirm
|
Eliminates the confirmation prompt when you use the all keyword.
|
all
|
From the system execution space in multiple context mode, this keyword saves all context configurations as well as the system configuration.
|
Defaults
No default behavior or values.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Privileged EXEC
|
•
|
•
|
•
|
•
|
•
|
Command History
Release
|
Modification
|
7.2(1)
|
You can now save all context configurations with the all keyword.
|
Usage Guidelines
The running configuration is the configuration currently running in memory, including any changes you made at the command line. Changes are only preserved between reboots if you save them to the startup configuration, which is the configuration loaded into running memory at startup. The location of the startup configuration for single context mode and for the system in multiple context mode can be changed from the default location (a hidden file) to a location of your choosing using the boot config command. For multiple context mode, a context startup configuration is at the location specified by the config-url command in the system configuration.
In multiple context mode, you can enter the write memory command in each context to save the current context configuration. To save all context configurations, enter the write memory all command in the system execution space. Context startup configurations can reside on external servers. In this case, the ASA saves the configuration back to the server specified by the config-url command, except for HTTP and HTTPS URLs, which do not allow you to save the configuration back to the server. After the ASA saves each context with the write memory all command, the following message appears:
`Saving context `b' ... ( 1/3 contexts saved ) '
Sometimes, a context is not saved because of an error. See the following information for errors:
•
For contexts that are not saved because of low memory, the following message appears:
The context 'context a' could not be saved due to Unavailability of resources
•
For contexts that are not saved because the remote destination is unreachable, the following message appears:
The context 'context a' could not be saved due to non-reachability of destination
•
For contexts that are not saved because the context is locked, the following message appears:
Unable to save the configuration for the following contexts as these contexts are
locked.
context `a' , context `x' , context `z' .
A context is only locked if another user is already saving the configuration or in the process of deleting the context.
•
For contexts that are not saved because the startup configuration is read-only (for example, on an HTTP server), the following message report is printed at the end of all other messages:
Unable to save the configuration for the following contexts as these contexts have
read-only config-urls:
context `a' , context `b' , context `c' .
•
For contexts that are not saved because of bad sectors in the Flash memory, the following message appears:
The context 'context a' could not be saved due to Unknown errors
Because the system uses the admin context interfaces to access context startup configurations, the write memory command also uses the admin context interfaces. The write net command, however, uses the context interfaces to write a configuration to a TFTP server.
The write memory command is equivalent to the copy running-config startup-config command.
Examples
The following example saves the running configuration to the startup configuration:
Building configuration...
Cryptochecksum: e43e0621 9772bebe b685e74f 748e4454
19319 bytes copied in 3.570 secs (6439 bytes/sec)
Related Commands
Command
|
Description
|
admin-context
|
Sets the admin context.
|
configure memory
|
Merges the startup configuration with the running configuration.
|
config-url
|
Specifies the location of the context configuration.
|
copy running-config startup-config
|
Copies the running configuration to the startup configuration.
|
write net
|
Copies the running configuration to a TFTP server.
|
write net
To save the running configuration to a TFTP server, use the write net command in privileged EXEC mode.
write net [server:[filename] | :filename]
Syntax Description
:filename
|
Specifies the path and filename. If you already set the filename using the tftp-server command, then this argument is optional.
If you specify the filename in this command as well as a name in the tftp-server command, the ASA treats the tftp-server command filename as a directory, and adds the write net command filename as a file under the directory.
To override the tftp-server command value, enter a slash in front of the path and filename. The slash indicates that the path is not relative to the tftpboot directory, but is an absolute path. The URL generated for this file includes a double slash (//) in front of the filename path. If the file you want is in the tftpboot directory, you can include the path for the tftpboot directory in the filename path. If your TFTP server does not support this type of URL, use the copy running-config tftp command instead.
If you specified the TFTP server address using the tftp-server command, you can enter the filename alone preceded by a colon (:).
|
server:
|
Sets the TFTP server IP address or name. This address overrides the address you set in the tftp-server command, if present.
The default gateway interface is the highest security interface; however, you can set a different interface name using the tftp-server command.
|
Defaults
No default behavior or values.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Privileged EXEC
|
•
|
•
|
•
|
•
|
•
|
Command History
Release
|
Modification
|
Preexisting
|
This command was preexisting.
|
Usage Guidelines
The running configuration is the configuration currently running in memory, including any changes you made at the command line.
In multiple context mode, this command saves only the current configuration; you cannot save all contexts with a single command. You must enter this command separately for the system and for each context. The write net command uses the context interfaces to write a configuration to a TFTP server. The write memory command, however, uses the admin context interfaces to save to the startup configuration because the system uses the admin context interfaces to access context startup configurations.
The write net command is equivalent to the copy running-config tftp command.
Examples
The following example sets the TFTP server and filename in the tftp-server command:
hostname# tftp-server inside 10.1.1.1 /configs/contextbackup.cfg
The following example sets the server and filename in the write net command. The tftp-server command is not populated.
hostname# write net 10.1.1.1:/configs/contextbackup.cfg
The following example sets the server and filename in the write net command. The tftp-server command supplies the directory name, and the server address is overridden.
hostname# tftp-server 10.1.1.1 configs
hostname# write net 10.1.2.1:context.cfg
Related Commands
Command
|
Description
|
configure net
|
Merges a configuration file from the specified TFTP URL with the running configuration.
|
copy running-config tftp
|
Copies the running configuration to a TFTP server.
|
show running-config
|
Shows the running configuration.
|
tftp-server
|
Sets a default TFTP server and path for use in other commands.
|
write memory
|
Saves the running configuration to the startup configuration.
|
write standby
To copy the ASA or context running configuration to the failover standby unit, use the write standby command in privileged EXEC mode.
write standby
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Privileged EXEC
|
•
|
•
|
•
|
•
|
•
|
Command History
Release
|
Modification
|
Preexisting
|
This command was preexisting.
|
Usage Guidelines
You should only use this command if the configuration standby unit or failover group becomes out-of-sync with the configuration of the active unit or failover group. This typically happens when commands are entered on the standby unit or failover group.
For Active/Standby failover, the write standby command writes the configuration stored in the RAM of the active failover unit to the RAM on the standby unit. Use the write standby command if the primary and secondary unit configurations have different information. Enter this command on the active unit.
For Active/Active failover, the write standby command behaves as follows:
•
If you enter the write standby command in the system execution space, the system configuration and the configurations for all of the security contexts on the ASA is written to the peer unit. This includes configuration information for security contexts that are in the standby state. You must enter the command in the system execution space on the unit that has failover group 1 in the active state.
•
If you enter the write standby command in a security context, only the configuration for the security context is written to the peer unit. You must enter the command in the security context on the unit where the security context appears in the active state.
Note
After you enter the write standby command, the failover interfaces may go down momentarily while the configuration becomes re-synchronized.
Note
The write standby command replicates the configuation to the running configuration of the peer unit; it does not save the configuration to the startup configuration. To save the configuration changes to the startup configuration, use the copy running-config startup-config command on the same unit that you entered the write standby command. The command will be replicated to the peer unit and the configuration saved to the startup configuration.
When Stateful Failover is enabled, the write standby command also replicates state information to the standby unit after the configuration replication is complete.
Examples
The following example writes the current running configuration to the standby unit:
Building configuration...
Related Commands
Command
|
Description
|
failover reload-standby
|
Forces the standby unit to reboot.
|
write terminal
To show the running configuration on the terminal, use the write terminal command in privileged EXEC mode.
write terminal
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Privileged EXEC
|
•
|
•
|
•
|
•
|
•
|
Command History
Release
|
Modification
|
Preexisting
|
This command was preexisting.
|
Usage Guidelines
This command is equivalent to the show running-config command.
Examples
The following example writes the running configuration to the terminal:
interface GigabitEthernet0/0
ip address 10.86.194.60 255.255.254.0
Related Commands
Command
|
Description
|
configure net
|
Merges a configuration file from the specified TFTP URL with the running configuration.
|
show running-config
|
Shows the running configuration.
|
write memory
|
Saves the running configuration to the startup configuration.
|
zonelabs-integrity fail-close
To configure the ASA so that connections to VPN clients close when the connection between the ASA and the Zone Labs Integrity Firewall Server fails, use the zonelabs-integrity fail-close command in global configuration mode.To reinstate the default whereby the VPN connections remain open on failure of the Zone Labs connection, use the no form of this command.
zonelabs-integrity fail-close
no zonelabs-integrity fail-close
Syntax DescriptionDescription
This command has no arguments or keywords.
Defaults
By default, the conncection remains open on failure.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Global configuration
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
7.2(1)
|
This command was introduced.
|
Usage Guidelines
If the primary Zone Labs Integrity Firewall Server does not respond to the ASA, the ASA still establishes VPN client connections to the private network by default. It also maintains open, existing connections. This ensures that the enterprise VPN is not distrupted by the failure of a firewall server. If, however, you do not want the VPN connections to remain operational if the Zone Labs Integrity Firewall Server fails, use the zonelabs-integrity fail-close command.
To return to the default condition whereby the ASA maintains client VPN connections if the connection to the Zone Labs Integrity Firewall Server fails, use the zonelabs-integrity fail-open command.
Examples
The following example configures the ASA to close the VPN client connections if the Zone Labs Integrity Firewall Server fails to respond or if the connection is interrupted:
hostname(config)# zonelabs-integrity fail-close
Related Commands
Command
|
Description
|
zonelabs-integrity fail-open
|
Specifies that VPN client connections to the ASA remain open after the connection between the ASA and the Zone Labs Integrity Firewall Server fails.
|
zonelabs-integrity fail-timeout
|
Specifies the time in seconds before the ASA declares a nonresponsive Zone Labs Integrity Firewall Server unreachable.
|
zonelabs-integrity server-address
|
Adds Zone Labs Integrity Firewall Servers to the ASA configuration.
|
zonelabs-integrity fail-open
To keep remote VPN client connections to the ASA open after the connection between the ASA and the Zone Labs Integrity Firewall Server fails, use the zonelabs-integrity fail-open command in global configuration mode. To close connections to VPN clients upon failure of the Zone Labs server connection, use the no form of this command.
zonelabs-integrity fail-open
no zonelabs-integrity fail-open
Syntax Description
This command has no arguments or keywords.
Defaults
By default, remote VPN connections remain open if the ASA does not establish or maintain a connection to the Zone Labs Integrity Firewall Server.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Global configuration
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
7.2(1)
|
This command was introduced.
|
Usage Guidelines
If the primary Zone Labs Integrity Firewall Server does not respond to the ASA, the ASA still establishes VPN client connections to the private network by default. It also maintains existing open connections. This ensures that the enterprise VPN is not disrupted by the failure of a firewall server. If, however, you do not want the VPN connections to remain operational if the Zone Labs Integrity Firewall Server fails, use the zonelabs-integrity fail-close command. To then return to the default condition whereby the ASA maintains client VPN connections if the connection to the Zone Labs Integrity Firewall Server fails, use the zonelabs-integrity fail-open command or the no zonelabs-integrity fail-open command.
Examples
The following example reinstates the default condition whereby the VPN client connections remain open if the connection to the Zone Labs Integrity Firewall Server fails:
hostname(config)# zonelabs-integrity fail-open
Related Commands
Command
|
Description
|
zonelabs-integrity fail-close
|
Specifies that the ASA close VPN client connections when the connection between the ASA and the Zone Labs Integrity Firewall Server fails.
|
zonelabs-integrity fail-timeout
|
Specifies the time in seconds before the ASA declares a nonresponsive Zone Labs Integrity Firewall Server unreachable.
|
zonelabs-integrity fail-timeout
To specify the time in seconds before the ASA declares a nonresponsive Zone Labs Integrity Firewall Server unreachable, use the zonelabs-integrity fail-timeout command in global configuration mode. To restore the default timeout of 10 seconds, use the no form of this command without an argument.
zonelabs-integrity fail-timeout timeout
no zonelabs-integrity fail-timeout
Syntax Description
timeout
|
The number of seconds before the ASA declares a nonresponsive Zone Labs Integrity Firewall Servers unreachable. The acceptable range is from 5 to 20 seconds.
|
Defaults
The default timeout value is 10 seconds.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Global configuration
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
7.2(1)
|
This command was introduced.
|
Usage Guidelines
If the ASA waits for the specified number of seconds without a response from the Zone Labs server, the server is declared nonresponsive. Connections to VPN clients either remain open by default or if configured to do so with the zonelabs-integrity fail-open command. If, however, the zonelabs-integrity fail-close command has been issued, the connections will close when the ASA declares the Integrity server unresponsive.
Examples
The following example configures the ASA to declare the active Zone Labs Intergity Server to be unreachable after 12 seconds:
hostname(config)# zonelabs-integrity fail-timeout 12
Related Commands
Command
|
Description
|
zonelabs-integrity fail-open
|
Specifies that VPN client connections to the ASA remain open after the connection between the ASA and the Zone Labs Integrity Firewall Server fails.
|
zonelabs-integrity fail-close
|
Specifies that the ASA close VPN client connections when the connection between the ASA and the Zone Labs Integrity Firewall Server fails.
|
zonelabs-integrity server-address
|
Adds Zone Labs Integrity Firewall Servers to the ASA configuration.
|
zonelabs-integrity interface
To specify a ASA interface for communication with the Zone Labs Integrity Server, use the zonelabs-integrity interface command in global configuration mode. To reset the Zone Labs Integrity Firewall Server interface back to the default of none, use the no form of this command.
zonelabs-integrity interface interface
no zonelabs-integrity interface
Syntax Description
interface
|
Specifies the ASA interface on which the Zone Labs Integrity Firewall Server communicates. It is often an interface name created with the nameif command.
|
Defaults
By default, the Zone Labs Integrity Firewall Server interface is set to none.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Global configuration
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
7.2(1)
|
This command was introduced.
|
Examples
The following example configures three Zone Labs Intergity Servers using IP addresses ranging from 10.0.0.5 to 10.0.0.7. The commands also configure the ASA to listen to the server on port 300 and on an interface called inside:
hostname(config)# zonelabs-integrity server-address 10.0.0.5 10.0.0.6 10.0.0.7
hostname(config)# zonelabs-integrity port 300
hostname(config)# zonelabs-integrity interface inside
Related Commands
Command
|
Description
|
zonelabs-integrity port
|
Specifies a port on the ASA for communicating with a Zone Labs Integrity Firewall Server.
|
zonelabs-integrity server-address
|
Adds Zone Labs Integrity Firewall Servers to the ASA configuration.
|
zonelabs-integrity ssl-certificate-port
|
Specifies a ASA port to which the Zone Labs Integrity Firewall Server will connect when retrieving an SSL certificate.
|
zonelabs-integrity ssl-client-authentication
|
Enables authentication of the Zone Labs Integrity Firewall Server SSL certificate by the ASA.
|
zonelabs-integrity port
To specify a port on the ASA for communicating with a Zone Labs Integrity Firewall Server, use the zonelabs-integrity port command in global configuration mode. To revert to the default port of 5054 for the Zone Labs Integrity Firewall Server, use the no form of this command.
zonelabs-integrity port port_number
no zonelabs-integrity port port_number
Syntax Description
port
|
Specifies a Zone Labs Integrity Firewall Server port on the ASA.
|
port_number
|
The number of the Zone Labs Integrity Firewall Server port. It can range from 10 to 10000.
|
Defaults
The default Zone Labs Integrity Firewall Server port is 5054.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Global configuration
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
7.2(1)
|
This command was introduced.
|
Usage Guidelines
The ASA listens to the Zone Labs Integrity Firewall Server on the port and interface configured with the zonelabs-integrity port and zonelabs-integrity interface commands respectively.
Note
The current release of the security appliance supports one Integrity Server at a time even though the user interfaces support the configuration of up to five Integrity Servers. If the active Server fails, configure another Integrity Server on the ASA and then reestablish the client VPN session.
Examples
The following example configures a Zone Labs Integrity Servers using the IP address 10.0.0.5. The commands also configure the ASA to listen to the active Zone Labs server on port 300 instead of the default 5054 port:
hostname(config)# zonelabs-integrity server-address 10.0.0.5
hostname(config)# zonelabs-integrity port 300
Related Commands
Command
|
Description
|
zonelabs-integrity interface
|
Specifies the ASA interface on which it communicates with the active Zone Labs Integrity Server.
|
zonelabs-integrity server-address
|
Adds Zone Labs Integrity Firewall Servers to the ASA configuration.
|
zonelabs-integrity ssl-certificate-port
|
Specifies a ASA port to which the Zone Labs Integrity Firewall Server will connect when retrieving an SSL certificate.
|
zonelabs-integrity ssl-client-authentication
|
Enables authentication of the Zone Labs Integrity Firewall Server SSL certificate by the ASA.
|
zonelabs-integrity server-address
To add Zone Labs Integrity Firewall Servers to the ASA configuration, use the zonelabs-integrity server-address command in global configuration mode. Specify the Zone Labs server by either IP address or hostname.
To remove Zone Labs Integrity Firewall Servers from the running configuration, use the no form of this command without arguments.
zonelabs-integrity server-address {hostname1 | ip-address1}
no zonelabs-integrity server-address
Note
While the user interfaces appear to support the configuration of multiple Integrity Servers, the ASA only supports one server at a time in the current release.
Syntax Description
hostname
|
Specifies the hostname of the Zone Labs Integrity Firewall Server. See the name command for hostname guidelines.
|
ip-address
|
Specifies the IP address of the Zone Labs Integrity Firewall Server.
|
Command Default
By default, no Zone Labs Integrity Firewall Servers are configured.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Global configuration
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
7.2(1)
|
This command was introduced.
|
Usage Guidelines
With this release, you can configure one Zone Labs Integrity Firewall Server. If that server fails, configure another Integrity Server first and then reestablish the client VPN session.
To specify a server by hostname, you must first configure the Zone Labs server name using the name command. Before using the name command, use the names command to enable it.
Note
The current release of the security appliance supports one Integrity Server at a time even though the user interfaces support the configuration of up to five Integrity Servers. If the active Server fails, configure another Integrity Server on the ASA and then reestablish the client VPN session.
Examples
The following example assigns the server name ZL-Integrity-Svr to the IP address 10.0.0.5 and configures a Zone Labs Intergity Server using that name:
hostname(config)# name 10.0.0.5 ZL-Integrity-Svr
hostname(config)# zonelabs-integrity server-address ZL-Integrity-Svr
Related Commands
Command
|
Description
|
zonelabs-integrity fail-close
|
Specifies that the ASA close VPN client connections when the connection between the ASA and the Zone Labs Integrity Firewall Server fails.
|
zonelabs-integrity interface
|
Specifies the ASA interface on which it communicates with the active Zone Labs Integrity Server.
|
zonelabs-integrity port
|
Specifies a port on the ASA for communicating with a Zone Labs Integrity Firewall Server.
|
zonelabs-integrity ssl-certificate-port
|
Specifies a ASA port to which the Zone Labs Integrity Firewall Server will connect when retrieving an SSL certificate.
|
zonelabs-integrity ssl-client-authentication
|
Enables authentication of the Zone Labs Integrity Firewall Server SSL certificate by the ASA.
|
zonelabs-integrity ssl-certificate-port
To specify a ASA port to which the Zone Labs Integrity Firewall Server will connect when retrieving an SSL certificate, use the zonelabs-integrity ssl-certificate-port command in global configuration mode. To revert to the default port number (80), use the no form of this command without an argument.
zonelabs-integrity ssl-certificate-port cert-port-number
no zonelabs-integrity ssl-certificate-port
Syntax Description
cert-port-number
|
Specifies a port number on which the ASA expects the Zone Labs Integrity Firewall Server to connect when requesting an SSL certificate.
|
Defaults
By default, the ASA expects the Zone Labs Integrity Firewall Server to request an SSL certificate on port 80.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Global configuration
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
7.2(1)
|
This command was introduced.
|
Usage Guidelines
For SSL communications between the ASA and the Zone Labs Integrity Firewall Server, the ASA is the SSL server and the Zone Labs server is the SSL client. When initiating an SSL connection, the certificate of the SSL server (ASA) must be authenticated by the client (Zone Labs server). The zonelabs-integrity ssl-certificate-port command specifies the port to which the Zone Labs server connects when requesting the SSL server certificate.
Examples
The following example configures port 30 on the ASA to receive SSL certificate requests from the Zone Labs Integrity Server:
hostname(config)# zonelabs-integrity ssl-certificate-port 30
Related Commands
Command
|
Description
|
zonelabs-integrity port
|
Specifies a port on the ASA for communicating with a Zone Labs Integrity Firewall Server.
|
zonelabs-integrity interface
|
Specifies the ASA interface on which it communicates with the active Zone Labs Integrity Server.
|
zonelabs-integrity server-address
|
Adds Zone Labs Integrity Firewall Servers to the ASA configuration.
|
zonelabs-integrity ssl-client-authentication
|
Enables authentication of the Zone Labs Integrity Firewall Server SSL certificate by the ASA.
|
zonelabs-integrity ssl-client-authentication
To enable authentication of the Zone Labs Integrity Firewall Server SSL certificate by the ASA, use the zonelabs-integrity ssl-client-authentication command in global configuration mode with the enable argument. To disable authentication of the Zone Labs SSL certificate, use the disable argument or use the no form of this command without an argument.
zonelabs-integrity ssl-client-authentication {enable | disable}
no zonelabs-integrity ssl-client-authentication
Syntax Description
enable
|
Specifies that the ASA authenticates the SSL certificate of the Zone Labs Integrity Firewall Server.
|
disable
|
Specifies the IP address of the Zone Labs Integrity Firewall Server.
|
Defaults
By default, ASA authentication of the Zone Labs Integrity Firewall Server SSL certificate is disabled.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode
|
Firewall Mode
|
Security Context
|
Routed
|
Transparent
|
Single
|
Multiple
|
Context
|
System
|
Global configuration
|
•
|
—
|
•
|
—
|
—
|
Command History
Release
|
Modification
|
7.2(1)
|
This command was introduced.
|
Usage Guidelines
For SSL communications between the ASA and the Zone Labs Integrity Firewall Server, the ASA is the SSL server and the Zone Labs server is the SSL client. When initiating an SSL connection, the certificate of the SSL server (ASA) must be authenticated by the client (Zone Labs server). Authentication of the client certificate is optional, however. You use the zonelabs-integrity ssl-client-authentication command to enable or disable ASA authentication of the Zone Lab server (SSL client) certificate.
Examples
The following example configures the ASA to authenticate the SSL certificate of the Zone Labs Integrity Server:
hostname(config)# zonelabs-integrity ssl-client-authentication enable
Related Commands