access-list

OVERVIEW FOR IPV4 ACLS

Category:

Primary context:

config

Related Commands

Note: This information is preliminary; the final detailed command list is coming soon.

Usage for commands:

access-list <number> remark <remark> access-list <1-99> permit <ACL-IP-SPEC-SRC> access-list <1-99> deny <ACL-IP-SPEC-SRC> [log]

access-list <100-199> permit <ip <protocol>> <ACL-IP-SPEC-SRC> <ACL-IP-SPEC-DST>

[precedence <precedence>] [tos <tos>]

access-list <100-199> deny <ip <protocol>> <ACL-IP-SPEC-SRC> <ACL-IP-SPEC-DST>

[precedence <precedence>] [tos <tos>] [log] access-list <100-199> permit icmp <ACL-IP-SPEC-SRC> <ACL-IP-SPEC-DST>

[<icmp-type> [<icmp-code>] <icmp-message>] [precedence <precedence>] [tos <tos>] [log]

access-list <100-199> deny icmp <ACL-IP-SPEC-SRC> <ACL-IP-SPEC-DST> [<icmp-type> [<icmp-code>] <icmp-message>] [precedence <precedence>] [tos <tos>] [log]

access-list <100-199> permit igmp <ACL-IP-SPEC-SRC> <ACL-IP-SPEC-DST> [<igmp-type>] [precedence <precedence>] [tos <tos>]

access-list <100-199> deny igmp <ACL-IP-SPEC-SRC> <ACL-IP-SPEC-DST> [<igmp-type>] [precedence <precedence>] [tos <tos>] [log]

access-list <100-199> permit tcp <ACL-IP-SPEC-SRC> [<ACL-PORT-SPEC-SRC>] <ACL-IP-SPEC-DST> [<ACL-PORT-SPEC-DST>] [established] [precedence <precedence>] [tos <tos>]

access-list <100-199> deny tcp <ACL-IP-SPEC-SRC> [<ACL-PORT-SPEC-SRC>] <ACL-IP-SPEC-DST> [<ACL-PORT-SPEC-DST>] [established] [precedence <precedence>] [tos <tos>] [log]

access-list <100-199> permit udp <ACL-IP-SPEC-SRC> [<ACL-PORT-SPEC-SRC>] <ACL-IP-SPEC-DST> [<ACL-PORT-SPEC-DST>] [precedence <precedence>] [tos <tos>]

access-list <100-199> deny udp <ACL-IP-SPEC-SRC> [<ACL-PORT-SPEC-SRC>] <ACL-IP-SPEC-DST> [<ACL-PORT-SPEC-DST>] [precedence <precedence>] [tos <tos>] [log]

[no] access-list <number>

[no] access-list <number> remark <remark>

Description: Configure an entry in a standard (1-99) or extended (100-199) access control list.

Parameters:

o <denypermit> - specify action to take on a match.

© 2009 Hewlett-Packard Development Company, L.P.

59