Motorola 2.1 User Manual Page 418

  • Download
  • Add to my manuals
  • Print
  • Page
    / 713
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 417
Extended ACL Instance 14-3
14.1.2 deny
Extended ACL Config Commands
Use this command to specify packets to reject.
Syntax
deny [icmp|ip|proto|tcp|udp]
deny ip [<SOURCE-IP/MASK>|host <A.B.C.D>|any] [<DESTINATION-IP/MASK>|host <A.B.C.D>|any]
{log} {(rule-description <DESCRIPTION>|rule-precedence <1-5000>)}
deny icmp [<SOURCE-IP/MASK>|host <A.B.C.D>|any] [<DESTINATION-IP/MASK>|host <A.B.C.D>|
any] {<ICMP-TYPE>|<ICMP-CODE>} {log} {rule-description <DESCRIPTION>|
rule-precedence <1-5000>)}
deny proto [<1-254>|<WORD>|eigrp|gre|igmp|igp|ospf|vrrp] [<SOURCE-IP/MASK>|
host <A.B.C.D>|any] [<DESTINATION-IP/MASK>|host <A.B.C.D>|any]
{log} {(rule-description <DESCRIPTION>|rule-precedence <1-5000>)}
deny [tcp|udp] [<SOURCE-IP/MASK>|host <A.B.C.D>|any] [<DESTINATION-IP/MASK>|
host <A.B.C.D>|any|eq <1-65535>|range <STARTING-SOURCE-PORT
> <ENDING-SOURCE-PORT>]
{log} {(rule-description <DESCRIPTION>|rule-precedence <1-5000>)}
Parameters
deny (ip)
[<SOURCE-IP/MASK>|
host <A.B.C.D>|any]
[<DESTINATION-IP/MASK>|
host <A.B.C.D>|any]
{log}
{(rule-description
<DESCRIPTION>|
rule-precedence
<1-5000>)}
Use the
deny ip
command to reject IP packets from a specified source or to
a specified destination.
Define the network or host to deny as a source of packets, using one of the
following options:
<SOURCE-IP/MASK> – The IP address and mask of the source network or
host in dotted decimal format. For example, 10.1.1.10/24 indicates the first
24 bits of the source IP are used for matching.
any – Is an abbreviation for any source IP address of 0.0.0.0 and
source-mask bits equal to 0.
host <A.B.C.D> – Is an abbreviation for exact source IP address and
source-mask bits equal to 32.
Define the network or host to deny as a destination of packets, using one of
the following options:
<DESTINATION-IP/MASK> – The IP address and mask of the destination
network or host in dotted decimal format.
any – Is an abbreviation for any destination IP address of 0.0.0.0 and
destination-mask bits equal to 0.
host <A.B.C.D> – Is an abbreviation for the exact destination IP address and
destination-mask bits equal to 32.
The following keywords are common to all of the above:
log – Optional. Generates log messages when the packet coming from the
interface matches the ACL entry. Log messages are generated only for
router ACLs.
rule-description <DESCRIPTION> – Optional. Describes this IP deny ACL
rule (should not exceed 128 characters in length).
rule-precedence <1-500> – Optional. Integer value between 1- 5000
that sets the rule precedence in the ACL.
Page view 417
1 2 ... 413 414 415 416 417 418 419 420 421 422 423 ... 712 713

Comments to this Manuals

No comments