SBC session border controllers
127
edit rule set id
PREFIX_SIGN
1-65535
Edit a rule set with a specified ID
edit rule set index
PREFIX_SIGN
0-65534
Edit a rule set with a specified index
exit
Exit from this configuration submenu to the
upper level.
quit
Terminate this CLI session
remove by id rule
set
SBC_RULE_SET_ID
1-65535
Remove a rule set with a specified ID
show
Display a list of all rule sets
4.2.7.15
Configuring a rule set
To switch to this mode, execute the
edit rule set id <ID>
or
edit rule set index <INDEX>
command in the
rule set
list configuration mode, where
<ID>
and
<INDEX>
are the ID or index of the rule
being edited.
SBC1000-[CONFIG]-RULE-SET> edit rule set id 1
Entering SBC rule set edit mode.
SBC1000-[CONFIG]-RULE-SET-ID[1>
SBC1000-[CONFIG]-RULE-SET> edit rule set index 0
Entering SBC rule set edit mode.
SBC1000-[CONFIG]-RULE-SET-INDEX[0]>
Command
Parameter
Value
Action
?
Show the list of available commands.
add rule
SBC_RULE_NAME
String, 63
characters
max.
Add a rule with the specified name to the set
edit rule
SBC_RULE_ID
1-65535
Edit a rule with a specified ID
exit
Exit from this configuration submenu to the
upper level.
quit
Terminate this CLI session
remove rule
SBC_RULE_ID
1-65535
Remove the rule with the specified ID
show info
Display a list of all rule sets
swap rules
<SBC_RULE_ID_CURRENT>
<SBC_RULE_ID_TARGET>
1-65535
1-65535
Swap CURRENT and TARGET rules
4.2.7.16
Configuring rule sets
To enter this mode, in the
rule set
configuration mode, execute the
edit rule <ID>
command,
where
<ID>
is the ID of the rule to be edited.
SBC1000-[CONFIG]-RULE-SET-INDEX[13]> edit rule 16
Entering SBC rule edit mode.
SBC1000-[CONFIG]-RULE-SET-INDEX[13]-RULE-ID[16]>
Command
Parameter
Value
Action
?
Show the list of available commands.
exit
Exit from this configuration submenu to the
upper level.
quit
Terminate this CLI session
set action reject
reject
Set rule type — reject call
set action send to
destination
<DESTINATION_ID>
1-65535
Set rule type — send call to SIP destination
with specified ID
set action send to
trunk
<SBC_TRUNK_ID>
1-65535
Set rule type — send call to SBC trunk with
specified ID
set condition all
<CONDITION>
1-5
Set condition with CONDITION number —
all
set condition none
<CONDITION>
1-5
Clear condition with number CONDITION —
all