SmartWare Software Configuration Guide40 • Call router configuration

Mode: Context CS

Step

Command

Purpose

 

 

 

 

 

1

node(ctx-cs)[switch]#complex-

Create a complex function function-name.

 

function function-name

 

 

 

 

2

node(func)[function-name]#execute

Add or inserts an entry to the complex function. function can

 

function

be another complex function or a mapping table that shall be

 

 

 

or

executed.

 

node(func)[function-name]#execute

Note: Unlike routing and mapping tables, complex functions

 

index function

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.

 

 

 

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

Step

Command

Purpose

 

 

 

 

 

1

node(ctx-cs)[switch]#complex-

Enter the complex function from which you want to remove

 

function function-name

an entry.

 

 

 

2

node(func)[table-name]#no execute

Remove the entry with the specified index.

 

index

 

 

 

 

3

 

Repeat Step 2 to remove additional entries.

 

 

 

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

Call router configuration task list

491

Page 491
Image 491
Patton electronic SmartNode 4110 Series manual Example Create a complex function, Deleting complex functions