session-translation > session-trans-rule
In the session-trans-rule element, you can enable or disable specific rules, declare whether a rule is required, and define the order in which your rules execute.
Parameters
- rule-id
- Enter the id value of the translation rule you want to group within this session translation.
- mandatory
- Declare whether this rule is required.
If a mandatory rule fails, all the translation rules in the parent session-translation object are rolled back. If a non-mandatory rule fails, the other rules within the session-translation element continue to execute.
- Default: disabled
- Values: disabled | enabled
- state
- Declare whether this rule is enabled or disabled.
- Default: enabled
- Values: disabled | enabled
- move
- Change the order of
execution.
move <from-position> <to-position>
For example, to move the group's second rule to the first position so that it gets executed first, run this command:
move 2 1
Path
The session-trans-rule element is under the
session-router path.
ORACLE# conf t
ORACLE(configure)# session-router
ORACLE(session-router)# session-translation
ORACLE(session-translation)# session-trans-rule
ORACLE(session-trans-rule)#