для Cisco Cisco Packet Data Gateway (PDG)

Скачать
Страница из 360
Interfaces and Ports   
▀  Contexts 
 
 
▄  VPC-VSM System Administration Guide, StarOS Release 19 
82 
   
Contexts 
An operator can configure multiple StarOS contexts to perform specific functions. The contexts are all created using the 
same procedure. 
Creating Contexts 
Important:
  StarOS 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 ctx_name 
      end 
Repeat to configure additional contexts.  
Viewing and Verifying Contexts 
Step 1 
Verify that your contexts were successfully created by entering the following command: 
show context all 
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
Context Name           ContextID                     State 
------------            ---------                     ----- 
local                       1                         Active 
wsg                         2                         Active 
srp                         3                         Active 
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.