2094 CHAPTER 138: IPV4 ACL CONFIGURATION COMMANDS

rule (in advanced IPv4 ACL view)

Syntax rule [ rule-id ] { deny permit } protocol [ destination { dest-addr dest-wildcard any } destination-portoperator port1 [ port2 ] dscp dscp established fragment icmp-type{ icmp-type icmp-code icmp-message } logging precedence precedence reflective source { sour-addr sour-wildcard any } source-portoperator port1

[ port2 ] time-rangetime-name tos tos vpn-instancevpn-instance-name ] *

undo rule rule-id[ destination destination-port dscp established fragment icmp-type logging precedence reflective source source-port time-range tos vpn-instance ] *

View Advanced IPv4 ACL view

Parameter rule-id: Advanced IPv4 ACL rule number in the range 0 to 65534.

deny: Defines a deny statement to drop matched packets.

permit: Defines a permit statement to allow matched packets to pass.

protocol: Protocol carried by IP. It can be a number in the range 0 to 255, or in words, gre (47), icmp (1), igmp (2), ip, ipinip (4), ospf (89), tcp (6), udp (17).

Table 546 Parameters for advanced IPv4 ACL rules

Parameter

Function

Description

 

 

 

source { sour-addr

Specifies a source

The sour-addr sour-wildcard argument

sour-wildcard any }

address.

specifies a source IP address in dotted decimal

 

 

notation. Setting the wildcard to a zero

 

 

indicates a host address. The any keyword

 

 

indicates any source IP address.

destination

Specifies a

The dest-addr dest-wildcard argument

{ dest-addr

destination address.

specifies a destination IP address in dotted

dest-wildcard any }

 

decimal notation. Setting the dest-wildcard to

 

 

a zero indicates a host address. The any

 

 

keyword indicates any destination IP address.

precedence

Specifies an IP

The precedence argument can be a number in

precedence

precedence value.

the range 0 to 7, or in words, routine,

 

 

priority, immediate, flash, flash-override,

 

 

critical, internet, or network.

tos tos

Specifies a ToS

The tos argument can be a number in the

 

preference.

range 0 to 15, or in words, max-reliability

 

 

(2), max-throughput (4), min-delay (8),

 

 

min-monetary-cost (1), or normal (0).

dscp dscp

Specifies a DSCP

The dscp argument can be a number in the

 

priority.

range 0 to 63, or in words, af11, af12, af13,

 

 

af21, af22, af23, af31, af32, af33, af41,

 

 

af42, af43, cs1, cs2, cs3, cs4, cs5, cs6, cs7,

 

 

default, or ef.

logging

Specifies to log

The log provides information about ACL rule

 

matched packets.

number, whether packets are permitted or

 

 

dropped, upper layer protocol that IP carries,

 

 

source/destination address, source/destination

 

 

port number, and number of packets.

Page 2094
Image 2094
3Com MSR 30, MSR 50 manual Rule in advanced IPv4 ACL view