
C613-50186-01 Rev B
Command Reference for AR2050V
2667
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
NAT C
OMMANDS
SHOW
NAT
RULE
CONFIG
-
CHECK
show nat rule config-check
Overview
Use this command to check configuration validity of NAT rules.
An invalid rule will not be active and cannot be hit.
This command also shows the reasons why a rule is not valid.
Syntax
show nat rule config-check
Mode
Privileged Exec
Usage
NAT rules are applied to applications and entities. A rule is not valid if either the
application, source entity or destination entity the rule applies to is not configured
properly.
To configure applications and entities, see Application and Entity Commands.
Examples
To check configuration validity of NAT rules, use the command:
awplus#
show nat rule config-check
Output
Figure 58-5:
Example output from the
show nat rule config-check
command if
rule configuration errors are detected
Output
Figure 58-6:
Example output from the
show nat rule config-check
command if
all rules are valid
awplus#show nat rule config-check
Rule 10:
Application does not have a protocol configured
"From" entity does not exist
"To" entity has no subnet or host addresses
awplus#show nat rule config-check
All rules are valid