A
CCESS
C
ONTROL
L
ISTS
3-103
3. Permit all TCP packets from class C addresses 192.168.1.0 with the
TCP control code set to “SYN.”
Configuring a MAC ACL
Command Attributes
•
Action
– An ACL can contain permit rules, deny rules, or a
combination of both. (Default: Permit rules)
•
Source/Destination Address Type
– Use "Any" to include all
possible addresses, "Host" to indicate a specific MAC address, or
"MAC" to specify an address range with the Address and Bitmask
fields. (Options: Any, Host, MAC; Default: Any)
•
Source/Destination MAC Address
– Source or destination MAC
address.
•
Source/Destination Bit Mask
– Hexidecimal mask for source or
destination MAC address.
•
VID
– VLAN ID. (Range: 1-4095)
•
VID Bit Mask
– VLAN bitmask. (Range: 1-4095)
•
Ethernet Type
– This option can only be used to filter Ethernet II
formatted packets. (Range: 600-fff hex.)
A detailed listing of Ethernet protocol types can be found in RFC
1060. A few of the more common types include 0800 (IP), 0806
(ARP), 8137 (IPX).
•
Ethernet Type Bit Mask
– Protocol bitmask. (Range: 600-fff hex.)
•
Packet Format
– This attribute includes the following packet types:
- Any – Any Ethernet packet type.
- Untagged-eth2 – Untagged Ethernet II packets.
- Untagged-802.3 – Untagged Ethernet 802.3 packets.
Console(config-ext-acl)#permit 10.7.1.1 255.255.255.0 any
4-117
Console(config-ext-acl)#permit 192.168.1.0 255.255.255.0 any dport 80
Console(config-ext-acl)#permit 192.168.1.0 255.255.255.0 any tcp
control-code 2 2
Console(config-std-acl)#
Содержание 6128L2
Страница 2: ......
Страница 21: ...CONTENTS xvii Glossary Index ...
Страница 22: ...CONTENTS xviii ...
Страница 26: ...TABLES xxii ...
Страница 40: ...INTRODUCTION 1 10 ...
Страница 54: ...INITIAL CONFIGURATION 2 14 ...
Страница 193: ...PORT CONFIGURATION 3 139 Figure 3 61 Displaying Etherlike and RMON Statistics ...
Страница 257: ...QUALITY OF SERVICE 3 203 Figure 3 90 Configuring Policy Maps ...
Страница 313: ...COMMAND GROUPS 4 13 PE Privileged Exec VC VLAN Database Configuration ...
Страница 592: ...TROUBLESHOOTING B 4 ...
Страница 605: ......