Avaya P332G-ML manual Router-Nip access-list-copy 100, Ip simulate Command, Validate-group Command

Models: P332G-ML

1 242
Download 242 pages 24.77 Kb
Page 206
Image 206

Chapter 6

CLI – Layer 3

 

 

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>]]]

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

Example:

Router-N>ip simulate 100 192.67.85.12 193.76.54.25

validate-group Command

Use the validate-groupcommand 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

188

P332G-ML User’s Guide

Page 206
Image 206
Avaya P332G-ML manual Router-Nip access-list-copy 100, Ip simulate Command, Router-Nip simulate 100 192.67.85.12