560
Configuring Access Control Lists
Configuring a MAC ACL
Beginning in Privileged EXEC mode, use the following commands to create
an MAC ACL, configure rules for the ACL, and bind the ACL to an interface.
CTRL + Z
Exit to Privileged EXEC mode.
show ip access-lists
[
name
]
Display all IPv4 access lists and all of the rules that are
defined for the IPv4 ACL. Use the optional
name
parameter to identify a specific IPv4 ACL to display.
Command
Purpose
configure
Enter global configuration mode.
mac access-list extended
name
Create a named MAC ACL. This command also enters
MAC Access List Configuration mode. If a MAC ACL
with this name already exists, this command enters the
mode to update the existing ACL.
{deny | permit}
{
srcmac
srcmacmask
|
any
} {
dstmac
dstmacmask
|
any
|
bpdu
} [{
ethertypekey
|
0x0600-0xFFFF
}] [
vlan
eq
0-4095
] [
cos
0-7
]
[
secondary-vlan eq
0-
4095
] [
secondary-cos
0-7
] [
log
] [
time-range
time-range-name
]
[
assign-queue
queue-id
]
[{
mirror
|
redirect
}
interface
]
Specify the rules (match conditions) for the MAC access
list.
•
srcmac
— Valid source MAC address in format
xxxx.xxxx.xxxx.
•
srcmacmask
— Valid MAC address bitmask for the source
MAC address in format xxxx.xxxx.xxxx.
•
any
— Packets sent to or received from any MAC address
•
dstmac
— Valid destination MAC address in format
xxxx.xxxx.xxxx.
•
destmacmask
— Valid MAC address bitmask for the
destination MAC address in format xxxx.xxxx.xxxx.
•
bpdu
— Bridge protocol data unit
•
ethertypekey
— Either a keyword or valid four-digit
hexadecimal number. (Range: Supported values are
appletalk, arp, ibmsna, ipv4, ipv6, ipx, mplsmcast,
mplsucast, Netbios, novell, pppoe, rarp.)
•
0x0600-0xFFFF
— Specify custom EtherType value
(hexadecimal range 0x0600-0xFFFF)
Command
Purpose
Содержание PowerConnect 7024
Страница 134: ...134 Setting Basic Network Information ...
Страница 290: ...290 Managing General System Settings Figure 11 14 SNTP Servers Table ...
Страница 348: ...348 Configuring SNMP ...
Страница 430: ...430 Monitoring Switch Traffic ...
Страница 444: ...444 Configuring iSCSI Optimization ...
Страница 521: ...Configuring 802 1X and Port Based Security 521 Figure 19 8 Configure Port Security Settings 5 Click Apply ...
Страница 538: ...538 Configuring 802 1X and Port Based Security ...
Страница 585: ...Configuring VLANs 585 Figure 21 5 Add Ports to VLAN 4 Click Apply 5 Verify that the ports have been added to the VLAN ...
Страница 594: ...594 Configuring VLANs Figure 21 16 GVRP Port Parameters Table ...
Страница 600: ...600 Configuring VLANs Figure 21 23 Double VLAN Port Parameter Table ...
Страница 658: ...658 Configuring the Spanning Tree Protocol ...
Страница 693: ...Configuring Port Based Traffic Control 693 Figure 24 3 Storm Control 5 Click Apply ...
Страница 780: ...780 Configuring Connectivity Fault Management ...
Страница 804: ...804 Snooping and Inspecting Traffic Figure 27 17 DAI Interface Configuration Summary ...
Страница 818: ...818 Snooping and Inspecting Traffic ...
Страница 836: ...836 Configuring Link Aggregation ...
Страница 882: ...882 Configuring DHCP Server Settings ...
Страница 916: ...916 Configuring L2 and L3 Relay Features Figure 33 3 DHCP Relay Interface Summary ...
Страница 924: ...924 Configuring L2 and L3 Relay Features Figure 33 12 IP Helper Statistics ...
Страница 930: ...930 Configuring L2 and L3 Relay Features ...
Страница 1004: ...1004 Configuring OSPF and OSPFv3 ...
Страница 1044: ...1044 Configuring VRRP ...
Страница 1057: ...Configuring IPv6 Routing 1057 Figure 37 9 IPv6 Route Preferences ...
Страница 1064: ...1064 Configuring IPv6 Routing ...
Страница 1084: ...1084 Configuring DHCPv6 Server and Relay Settings ...
Страница 1091: ...Configuring Differentiated Services 1091 Figure 39 5 DiffServ Class Criteria ...
Страница 1114: ...1114 Configuring Differentiated Services ...
Страница 1130: ...1130 Configuring Class of Service ...
Страница 1136: ...1136 Configuring Auto VoIP ...
Страница 1216: ...1216 Managing IPv4 and IPv6 Multicast ...