beautypg.com

Brocade FastIron Ethernet Switch Security Configuration Guide User Manual

Page 113

background image

If you prefer to specify the wildcard (mask value) in Classless Interdomain Routing (CIDR) format, you
can enter a forward slash after the IP address, then enter the number of significant bits in the mask. For
example, you can enter the CIDR equivalent of "10.157.22.26 0.0.0.255" as "10.157.22.26/24". The CLI
automatically converts the CIDR number into the appropriate ACL mask (where zeros instead of ones
are the significant bits) and changes the non-significant portion of the IP address into zeros. For
example, if you specify 10.157.22.26/24 or 10.157.22.26 0.0.0.255, then save the changes to the
startup-config file, the value appears as 10.157.22.0/24 (if you have enabled display of subnet lengths)
or 10.157.22.0 0.0.0.255 in the startup-config file.

If you enable the software to display IP subnet masks in CIDR format, the mask is saved in the file in "/
mask-bits " format. To enable the software to display the CIDR masks, enter the ip show-subnet-
length
command at the global CONFIG level of the CLI. You can use the CIDR format to configure the
ACL entry regardless of whether the software is configured to display the masks in CIDR format.

NOTE
If you use the CIDR format, the ACL entries appear in this format in the running-config and startup-
config files, but are shown with subnet mask in the display produced by the show ip access-list
command.

The destination-ip | hostname parameter specifies the destination IP host for the policy. If you want the
policy to match on all destination addresses, enter any .

The icmp-type | icmp-num parameter specifies the ICMP protocol type:

• This parameter applies only if you specified icmp as the ip-protocol value.
• If you use this parameter, the ACL entry is sent to the CPU for processing.
• If you do not specify a message type, the ACL applies to all types of ICMP messages.

The icmp-num parameter can be a value from 0 - 255.

The icmp-type parameter can have one of the following values, depending on the software version the
device is running:

• any-icmp-type
• echo
• echo-reply
• information-request
• log
• mask-reply
• mask-request
• parameter-problem
• redirect
• source-quench
• time-exceeded
• timestamp-reply
• timestamp-request
• traffic policy
• unreachable
• num

NOTE
The QoS options listed below are only available if a specific ICMP type is specified for the icmp-type
parameter and cannot be used with the any-icmp-type option above. See

QoS options for IP ACLs

on

page 135 for more information on using ACLs to perform QoS.

Rule-Based IP ACLs

FastIron Ethernet Switch Security Configuration Guide

113

53-1003088-03