Command Line Interface
7271553-KDU 137 365 Uen D 2006-06-16
Example
Related Commands
vlan access-map (section 7.8.18 on page 720)
mask (IP Mask) (section 7.8.23 on page 727)
mask (MAC Mask) (section 7.8.24 on page 729)
7.8.23 mask (IP Mask)
This command sets a precedence mask for packet filtering used in IP ACL rules.
This mask defines the fields to check in the IP header. Use the no form to
remove a mask.
Syntax
[no] mask [protocol]
{any | host | <source-bitmask>}
{any | host | <destination-bitmask>}
[precedence] [tos] [dscp]
[source-port [port-bitmask]]
[destination-port [port-bitmask]]
[control-flag [flag-bitmask]]
• protocol – Check the protocol field.
• any – Any address will be matched.
• host – The address must be for a host device, not a subnetwork.
• source-bitmask – Source address of rule must match this
bitmask.
• destination-bitmask – Destination address of rule must match
this bitmask.
• precedence – Check the IP precedence field.
• tos – Check the TOS field.
• dscp – Check the DSCP field.
Console(config)#access-list ip mask-precedence vlan
Console(config-ip-mask-acl)#