Chapter 6 CLI – Layer 3
188 P332G-ML User’s Guide
Example:
Router-N>ip access-list-copy 100 101
ip simulate Command
Use the ip simulate command to check the policy for a simulated packet. The
command contains the addressed list number, and the packet parameters.
The syntax for this command is:
ip simulate <access-list-number> [<priority>] [<dscp-
value>]<source> <destination> [<protocol> [<source port>
<destination port> [<established>]]]
Example:
Router-N>ip simulate 100 192.67.85.12 193.76.54.25
validate-group Command
Use the validate-group command to verify that all the rules in a priority list
are valid.
If there is a configuration problem with a specific rule, or with a number of rules,
detailed error messages will be given.
The syntax for this command is:
validate-group <policy-list-number>[quiet]
quiet - does not display error messages
access-list-number integer (100..199)
priority fwd0 | fwd1 | .. | fwd7
dspc value dscp0 | dscp1 | .. | dscp63
source source ip address
destination destination ip address
protocol ip | tcp | udp | integer (1..255)
source port integer (1..65535)
destination port integer (1..65535)
established value of TCP established bit