Contexts
Even though multiple contexts can be configured to perform specific functions, they are all created using the same procedure.
Creating Contexts
Important |
Commands used in the configuration examples in this section represent the most common or likely commands and/or keyword options. In many cases, other commands and/or keyword options are available. Refer to the Command Line Interface Reference for complete information regarding all commands. |
To create a context, apply the following example configuration:
configure
context name
end
Repeat to configure additional contexts.
Viewing and Verifying Contexts
Procedure
Step 1 |
Verify that your contexts were successfully created by entering the following command:
The output is a two-column table similar to the example below. This example shows that two contexts were created: one named source and one named destination.
The left column lists the contexts that are currently configured. The center column lists the corresponding context ID for each of the configured contexts. The third column lists the current state of the context. |
Step 2 |
Save your configuration as described in the Verifying and Saving Your Configuration chapter. |
Step 3 |
Now that the context has been created, interfaces and specific functionality can be configured within the context. Proceed to other sections for instructions on configuring specific services and options. |