3com MSR 20-20 참조 매뉴얼

다운로드
페이지 2742
2094
C
HAPTER
 138: IP
V
4 ACL C
ONFIGURATION
 C
OMMANDS
rule (in advanced IPv4 ACL view)
Syntax
rule [ rule-id ] { deny | permit protocol [ destination { dest-addr dest-wildcard | 
any } | destination-port operator 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-port operator port1 
port2 ] | time-range time-name | tos tos | vpn-instance vpn-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), ipipinip (4), ospf (89), tcp (6), udp (17).
Table 546   Parameters for advanced IPv4 ACL rules
Parameter Function  Description 
source { sour-addr 
sour-wildcard | any 
Specifies a source 
address. 
The sour-addr sour-wildcard argument 
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 
{ dest-addr 
dest-wildcard | any 
Specifies a 
destination address. 
The dest-addr dest-wildcard argument 
specifies a destination IP address in dotted 
decimal notation. Setting the dest-wildcard to 
a zero indicates a host address. The any 
keyword indicates any destination IP address. 
precedence 
precedence 
Specifies an IP 
precedence value. 
The precedence argument can be a number in 
the range 0 to 7, or in words, routine
priorityimmediateflashflash-override
criticalinternet, or network
tos tos 
Specifies a ToS 
preference. 
The tos argument can be a number in the 
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 
priority. 
The dscp argument can be a number in the 
range 0 to 63, or in words, af11af12af13
af21af22af23af31af32af33af41
af42af43cs1cs2cs3cs4cs5cs6cs7
default, or ef
logging 
Specifies to log 
matched packets. 
The log provides information about ACL rule 
number, whether packets are permitted or 
dropped, upper layer protocol that IP carries, 
source/destination address, source/destination 
port number, and number of packets.