Cisco Cisco Packet Data Interworking Function (PDIF)
System Interfaces and Ports
▀ Contexts
▄ ASR 5000 System Administration Guide, StarOS Release 16
96
Contexts
Even though multiple contexts can be configured to perform specific functions, they are all created using the same
procedure.
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.
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.
Important:
We recommend that if your system is using Fast Ether Line Cards (FELCs, Ethernet 10/100), at least
one context be configured per physical port in order to ensure adequate bandwidth for subscriber sessions.
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.
named source and one named destination.
Context Name ContextID State
------------ --------- -----
local 1 Active
source 2 Active
destination 3 Active
------------ --------- -----
local 1 Active
source 2 Active
destination 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.
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.
Proceed to other sections for instructions on configuring specific services and options.