6-14
Cisco Security Appliance Command Line Configuration Guide
OL-12172-03
Chapter 6 Adding and Managing Security Contexts
Managing Security Contexts
To change the URL for a context, perform the following steps:
Step 1
If you do not want to merge the configuration, change to the context and clear its configuration by
entering the following commands. If you want to perform a merge, skip to Step 2.
hostname#
changeto context
name
hostname/
name
#
configure terminal
hostname/
name
(config)#
clear configure all
Step 2
If required, change to the system execution space by entering the following command:
hostname/
name
(config)#
changeto system
Step 3
To enter the context configuration mode for the context you want to change, enter the following
command:
hostname(config)#
context
name
Step 4
To enter the new URL, enter the following command:
hostname(config)#
config-url
new_url
The system immediately loads the context so that it is running.
Reloading a Security Context
You can reload the context in two ways:
•
Clear the running configuration and then import the startup configuration.
This action clears most attributes associated with the context, such as connections and NAT tables.
•
Remove the context from the system configuration.
This action clears additional attributes, such as memory allocation, which might be useful for
troubleshooting. However, to add the context back to the system requires you to respecify the URL
and interfaces.
This section includes the following topics:
•
Reloading by Clearing the Configuration, page 6-14
•
Reloading by Removing and Re-adding the Context, page 6-15
Reloading by Clearing the Configuration
To reload the context by clearing the context configuration, and reloading the configuration from the
URL, perform the following steps:
Step 1
To change to the context that you want to reload, enter the following command:
hostname#
changeto context
name
Step 2
To access configuration mode, enter the following command:
hostname/
name
#
configure terminal
Step 3
To clear the running configuration, enter the following command:
Summary of Contents for 500 Series
Page 38: ...Contents xxxviii Cisco Security Appliance Command Line Configuration Guide OL 12172 03 ...
Page 45: ...P A R T 1 Getting Started and General Information ...
Page 46: ......
Page 277: ...P A R T 2 Configuring the Firewall ...
Page 278: ......
Page 561: ...P A R T 3 Configuring VPN ...
Page 562: ......
Page 891: ...P A R T 4 System Administration ...
Page 892: ......
Page 975: ...P A R T 5 Reference ...
Page 976: ......