Reloading a security context, Reloading by clearing the configuration – Cisco ASA 5505 User Manual

Page 226

Advertising
background image

5-26

Cisco ASA 5500 Series Configuration Guide using the CLI

Chapter 5 Configuring Multiple Context Mode

Managing Security Contexts

Detailed Steps

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 5-26

Reloading by Removing and Re-adding the Context, page 5-27

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.

Command

Purpose

Step 1

(Optional, if you do not want to perform a
merge)

changeto context

name

clear configure all

Example:

hostname(config)# changeto context ctx1

hostname/ctx1(config)# clear configure all

Changes to the context and clears its configuration. If you want to
perform a merge, skip to Step 2.

Step 2

changeto system

Example:

hostname/ctx1(config)# changeto system

hostname(config)#

Changes to the system execution space.

Step 3

context

name

Example:

hostname(config)# context ctx1

Enters the context configuration mode for the context you want to
change.

Step 4

config-url

new_url

Example:

hostname(config)# config-url

ftp://user1:[email protected]/configlets/c

tx1.cfg

Enters the new URL. The system immediately loads the context
so that it is running.

Advertising