HP (Hewlett-Packard) 445942-001 Switch User Manual


 
Configuration Commands
172
Table 156 Ethernet Filter Configuration commands
Command Description
access-control list <1-384> ethernet
ethernet-type {ARP|IP|IPv6|MPLS|
RARP|any|0xXXXX}
Defines the Ethernet type for this ACL.
Command mode: Global configuration
access-control list <1-384> ethernet
priority <0-7>
Defines the Ethernet priority value for the ACL.
Command mode: Global configuration
default access-control list <1-384>
ethernet
Resets Ethernet parameters for the ACL to their default values.
Command mode: Global configuration
show access-control list {<1-384>}
ethernet
Displays the current Ethernet parameters for the ACL.
Command mode: All except User EXEC
ACL IP Version 4 Filter configuration
These commands allow you to define IPv4 matching criteria for an ACL. The following table describes the
IP version 4 Filter Configuration commands.
Table 157 IPv4 Filter Configuration commands
Command Description
access-control list <1-384> ipv4
source-ip-address <IP address>
{<IP mask>}
Defines a source IP address for the ACL. If defined, traffic with this
source IP address will match this ACL. Specify an IP address in
dotted decimal notation.
Command mode: Global configuration
access-control list <1-384> ipv4
destination-ip-address <IP
address> {<IP mask>}
Defines a destination IP address for the ACL. If defined, traffic
with this destination IP address will match this ACL.
Command mode: Global configuration
access-control list <1-384> ipv4
protocol <0-255>
Defines an IP protocol for the ACL. If defined, traffic from the
specified protocol matches this filter. Specify the protocol number.
Some of the well-known protocols include:
1—icmp
2—igmp
6—tcp
17—udp
89—ospf
112—vrrp
Command mode: Global configuration
access-control list <1-384> ipv4
type-of-service <0-255>
Defines a Type of Service value for the ACL. For more information
on ToS, see RFC 1340 and 1349.
Command mode: Global configuration
default access-control list <1-
384> ipv4
Resets the IPv4 parameters for the ACL to their default values.
Command mode: Global configuration
show access-control list <1-384>
ipv4
Displays the current IPV4 parameters.
Command mode: All except User EXEC