
Configuring the Switch
3-82
3
CLI
– This example creates an IP ingress mask, and then adds two rules. Each rule
is checked in order of precedence to look for a match in the ACL entries. The first
entry matching a mask is applied to the inbound packet.
Configuring an IP ACL Mask
This mask defines the fields to check in the IP header.
Command Usage
• Masks that include an entry for a Layer 4 protocol source port or destination port
can only be applied to packets with a header length of exactly five bytes.
Command Attributes
•
Source/Destination Address Type
–
Specifies the source or destination IP address.
Use “Any” to match any address, “Host” to specify a host address (not a subnet), or “IP”
to specify a range of addresses. (Options: Any, Host, IP; Default: Any)
•
Source/Destination Subnet Mask
– Subnet mask for source or destination
address. (See the description for SubMask on page 3-75.)
•
Protocol Mask
– Check the protocol field.
•
Service Type
Mask
– Check the rule for the specified priority type.
(Options: Precedence, TOS, DSCP; Default: TOS)
•
Source/Destination Port
Bitmask
– Protocol port of rule must match this bitmask.
(Range: 0-65535)
•
Control Code Bitmask
– Control flags of rule must match this bitmask.
(Range: 0-63)
Console(config)#access-list ip mask-precedence in
4-117
Console(config-ip-mask-acl)#mask host any
4-118
Console(config-ip-mask-acl)#mask 255.255.255.0 any
Console(config-ip-mask-acl)#
Содержание Matrix-V V2H124-24P
Страница 2: ......
Страница 8: ...Notice vi...
Страница 22: ...Contents xx...
Страница 26: ...Tables xxiv...
Страница 30: ...Figures xxviii...
Страница 38: ...Introduction 1 8 1...
Страница 50: ...Initial Configuration 2 12 2...
Страница 159: ...Port Configuration 3 109 3 Figure 3 66 Displaying Etherlike and RMON Statistics...
Страница 234: ...Configuring the Switch 3 184 3...
Страница 480: ...Command Line Interface 4 246 4...
Страница 496: ...Index Index 4...
Страница 497: ......
Страница 498: ...Part 150200039400A FW 2 5 2 0 E012005 R02 ES3526G E072000 R04...