C
ONFIGURING
THE
S
WITCH
3-84
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 any combination of permit or deny
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 Bitmask
– Hexidecimal mask for source or
destination MAC address.
•
VID
– VLAN ID. (Range: 1-4094)
•
Ethernet Type
– This option can only be used to filter Ethernet II
formatted packets. (Range: 0-65535)
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).
Console(config-ext-acl)#permit 10.7.1.1 255.255.255.0 any
4-120
Console(config-ext-acl)#permit tcp 192.168.1.0 255.255.255.0 any
destination-port 80
Console(config-ext-acl)#permit tcp 192.168.1.0 255.255.255.0 any
control-flag 2 2
Console(config-std-acl)#
Содержание 8724M INT - annexe 1
Страница 2: ......
Страница 20: ...CONTENTS xvi ...
Страница 24: ...TABLES xx ...
Страница 28: ...FIGURES xxiv ...
Страница 38: ...INTRODUCTION 1 10 ...
Страница 54: ...INITIAL CONFIGURATION 2 16 ...
Страница 248: ...CONFIGURING THE SWITCH 3 194 ...
Страница 508: ...TROUBLESHOOTING B 4 ...
Страница 521: ......