1-23
Cisco ASA Series CLI Configuration Guide
Chapter 1 Configuring Multiple Context Mode
Configuring Multiple Contexts
Step 4
config-url
url
Example:
hostname(config-ctx)# config-url
ftp://user1:passw0rd@10.1.1.1/configlets/t
est.cfg
Identifies the URL from which the system downloads the context
configuration. When you add a context URL, the system
immediately loads the context so that it is running, if the
configuration is available.
Note
Enter the
allocate-interface
command(s) before you
enter the
config-url
command. If you enter the
config-url
command first, the ASA loads the context configuration
immediately. If the context contains any commands that
refer to (not yet configured) interfaces, those commands
fail.
The filename does not require a file extension, although we
recommend using “.cfg”. The server must be accessible from the
admin context. If the configuration file is not available, you see
the following message:
WARNING: Could not fetch the URL
url
INFO: Creating context with default config
For non-HTTP(S) URL locations, after you specify the URL, you
can then change to the context, configure it at the CLI, and enter
the
write memory
command to write the file to the URL location.
(HTTP(S) is read only).
Note
The admin context file must be stored on the internal flash
memory.
Available URL types include:
disk
number
(for flash memory),
ftp
,
http
,
https
, or
tftp
.
To change the URL, reenter the
config-url
command with a new
URL. See the
“Changing the Security Context URL” section on
for more information about changing the URL.
Step 5
(Optional)
member
class_name
Example:
hostname(config-ctx)# member gold
Assigns the context to a resource class. If you do not specify a
class, the context belongs to the default class. You can only assign
a context to one resource class.
Step 6
(Optional)
allocate-ips
sensor_name
[
mapped_name
]
[
default
]
Example:
hostname(config-ctx)# allocate-ips sensor1
highsec
Assigns an IPS virtual sensor to this context if you have the IPS
module installed.
See the
“Assigning Virtual Sensors to a Security Context (ASA
5510 and Higher)” section on page 1-16
for detailed information
about virtual sensors.
Command
Purpose
Summary of Contents for 5505 - ASA Firewall Edition Bundle
Page 28: ...Glossary GL 24 Cisco ASA Series CLI Configuration Guide ...
Page 61: ...P A R T 1 Getting Started with the ASA ...
Page 62: ......
Page 219: ...P A R T 2 Configuring High Availability and Scalability ...
Page 220: ......
Page 403: ...P A R T 2 Configuring Interfaces ...
Page 404: ......
Page 499: ...P A R T 2 Configuring Basic Settings ...
Page 500: ......
Page 533: ...P A R T 2 Configuring Objects and Access Lists ...
Page 534: ......
Page 601: ...P A R T 2 Configuring IP Routing ...
Page 602: ......
Page 745: ...P A R T 2 Configuring Network Address Translation ...
Page 746: ......
Page 845: ...P A R T 2 Configuring AAA Servers and the Local Database ...
Page 846: ......
Page 981: ...P A R T 2 Configuring Access Control ...
Page 982: ......
Page 1061: ...P A R T 2 Configuring Service Policies Using the Modular Policy Framework ...
Page 1062: ......
Page 1093: ...P A R T 2 Configuring Application Inspection ...
Page 1094: ......
Page 1191: ...P A R T 2 Configuring Unified Communications ...
Page 1192: ......
Page 1333: ...P A R T 2 Configuring Connection Settings and QoS ...
Page 1334: ......
Page 1379: ...P A R T 2 Configuring Advanced Network Protection ...
Page 1380: ......
Page 1475: ...P A R T 2 Configuring Modules ...
Page 1476: ......
Page 1549: ...P A R T 2 Configuring VPN ...
Page 1550: ......
Page 1965: ...P A R T 2 Configuring Logging SNMP and Smart Call Home ...
Page 1966: ......
Page 2059: ...P A R T 2 System Administration ...
Page 2060: ......
Page 2098: ...1 8 Cisco ASA Series CLI Configuration Guide Chapter 1 Troubleshooting Viewing the Coredump ...
Page 2099: ...P A R T 2 Reference ...
Page 2100: ......