Managing Security Contexts
For information about command authorization when you change between contexts, see the
"Management Access to Security Contexts" section on page
To change between the system execution space and a context, or between contexts, see the following
commands:
•
•
Managing Security Contexts
This section describes how to manage security contexts, and includes the following topics:
•
•
•
•
•
Removing a Security Context
You can only remove a context by editing the system configuration. You cannot remove the current
admin context, unless you remove all contexts using the clear context command.
If you use failover, there is a delay between when you remove the context on the active unit or group and
Note
when the context is removed on the standby unit or group. You might see an error message indicating
that the number of interfaces on the active and standby units are not consistent; this error is temporary
and can be ignored.
Use the following commands for removing contexts:
•
•
Catalyst 6500 Series Switch and Cisco 7600 Series Router Firewall Services Module Configuration Guide using ASDM
4-32
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#
Removing a Security Context, page 4-32
Changing the Admin Context, page 4-33
Changing the Security Context URL, page 4-33
Reloading a Security Context, page 4-34
Monitoring Security Contexts, page 4-35
To remove a single context, enter the following command in the system execution space:
hostname(config)# no context name
To remove all contexts (including the admin context), enter the following command in the system
execution space:
hostname(config)# clear context
Chapter 4
Configuring Security Contexts
4-9.
OL-20748-01