Call router configuration task list
486
SmartWare Software Configuration Guide
40 • Call router configuration
Mode:
Context CS
Example:
Create a complex function
node(cfg)#context cs
node(ctx-cs)[switch]#complex function CARRIER-TO-LOCAL
node(func)[CARRIER~]#execute 1 TRUNCATE-3-CNPN
node(func)[CARRIER~]#execute 2 DDI-TO-PISN
Deleting complex functions
To remove individual complex functions you can use the
no
form of the
complex function
command. Alter-
natively you can remove specific entries of a complex function by entering the complex function configuration
mode and use the
no
form of the
execute
command.
Procedure:
To delete an entry from a complex function
Mode:
Context CS
Example:
Remove entries from a complex function
The running-config shows the following complex function:
complex function MY-FUNC
execute 1 MAP1
execute 2 MAP2
execute 3 MAP3
execute 4 MAP4
Step
Command
Purpose
1
node
(ctx-cs)[
switch
]#
complex-
function
function-name
Create a complex function
function-name
.
2
node(func)[function-name]#
execute
function
or
node(func)[function-name]#
execute
index
function
Add or inserts an entry to the complex function.
function
can
be another complex function or a mapping table that shall be
executed.
Note: Unlike routing and mapping tables, complex functions
are ordered lists of entries, which means that the entries are
executed in the order of appearance. You can optionally
specify an
index
of where to insert the function.
3
Repeat step 2 to add lines for additional functions to execute.
Step
Command
Purpose
1
node
(ctx-cs)[
switch
]#
complex-
function
function-name
Enter the complex function from which you want to remove
an entry.
2
node
(func)[
table-name
]#
no execute
index
Remove the entry with the specified index.
3
Repeat Step 2 to remove additional entries.