Network Address Translation
Left running head:
Chapter name (automatic)
712
Beta Beta
OmniAccess 5740 Unified Services Gateway CLI Configuration Guide
Alcatel-Lucent
T
O CHANGE THE RULE/LINE NUMBERS
To change the rule/line number of a pre-defined NAT rule, use the “change”
command. This allows you to just change the line number and not to swap
between two numbers. This command changes the order of a rule to the new
number position.
E
XAMPLE
Consider the following example:
ip nat N1
10 match M1 source-nat
20 match M2 source-nat
30 match M3 source-nat
40 match M4 source-nat
In the above sequence, if m4 has a priority 40. Use the “change“ keyword to
change the priority of m4.
ALU(config-nat-N1)# change 40 25
To view the NAT configuration after changing the priority, use the show command.
The output appears as shown:
ip nat N1
10 match M1 source-nat
20 match M2 source-nat
25 match M4 source-nat
30 match M3 source-nat
Now, to generate a numbering scheme with a proper order, use the keyword
“renumber” as explained in the section “To Renumber the List”.