A context can only be removed by editing the system configuration.
To remove a context, use the no form of the
context command
. The current
admin context, cannot be removed unless all other contexts are removed. To
clear all context configurations in the system configuration, use the
clear configure context command in global configuration
mode. Context can be created or removed without a reboot.
 |
NOTE:
If failover is used, there is a delay between when the context is
removed on the active unit and when the context is removed on the standby unit.
An error message indicating that the number of interfaces on the active and
standby units are not consistent may be displayed. This error is temporary and
can be ignored.
|
Use the admin-context command in global
configuration mode to set the admin context for the system configuration
. Any
context can be set to be the admin context, as long as the context
configuration resides on the Flash memory DIMM.
When logged into the
system execution space or the admin context, administrators can change between
contexts and perform configuration and monitoring tasks within each context.
Use the changeto command in privileged EXEC mode to change
between security contexts and the system context
.
Use the
show context command to view all contexts
. From the system
execution space, a list of contexts can be viewed including the name,
interfaces, and configuration file. In the system execution space, the PIX
Security Appliance displays all contexts if no name is specified.
The
show context detail command reveals additional details
about the context(s), including the running state and information for internal
use
.
The
show context count command lists the number of contexts
configured.