5-23
Catalyst 6500 Series Switch and Cisco 7600 Series Router Firewall Services Module Configuration Guide
OL-6392-01
Chapter 5 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:
FWSM# changeto context
name
The prompt changes to the following:
FWSM/
name
#
• To change to the system execution space, enter the following command:
FWSM/admin# changeto system
The prompt changes to the following:
FWSM#
Changing the Security Context URL
You cannot change the security context URL without reloading the configuration from the new URL.
When you reload the configuration, the new configuration merges with the one in running memory. 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, follow these 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.
FWSM# changeto context
name
FWSM/
name
# configuration terminal
FWSM/
name
(config)# clear config all
Step 2 If required, change to the system execution space by entering the following command:
FWSM/
name
(config)# changeto system
Step 3 To enter the context configuration mode for the context you want to change, enter the following
command:
FWSM(config)# context
name
Step 4 To enter the new URL, enter the following command:
FWSM(config)# config-url
new_url
The system immediately loads the context so that it is running.