
5-6
Cisco Security Appliance Command Line Configuration Guide
OL-6721-01
Chapter 5 Adding and Managing Security Contexts
Changing the Security Context URL
To change between the system execution space and a context, or between contexts, see the following
commands:
• To change to a context, enter the following command:
hostname# changeto context
name
The prompt changes to the following:
hostname/
name
#
• To change to the system execution space, enter the following command:
hostname/admin# changeto system
The prompt changes to the following:
hostname#
Changing the Security Context URL
You cannot change the security context URL without reloading the configuration from the new URL.
The security appliance merges the new configuration with the current running configuration. Reentering
the same URL also merges the saved configuration with the running configuration. A merge adds any
new commands from the new configuration to the running configuration. If the configurations are the
same, no changes occur. If commands conflict or if commands affect the running of the context, then the
effect of the merge depends on the command. You might get errors, or you might have unexpected
results. If the running configuration is blank (for example, if the server was unavailable and the
configuration was never downloaded), then the new configuration is used. If you do not want to merge
the configurations, you can clear the running configuration, which disrupts any communications through
the context, and then reload the configuration from the new URL.
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.
Komentarze do niniejszej Instrukcji