Command Guide of WGSW-28040
53
[sequence <1-2147483647>] deny (A:B:C:D:E:F/A:B:C:D:E:F|any)
(A:B:C:D:E:F/A:B:C:D:E:F|any) [vlan <1-4094>] [cos <0-7> <0-7>] [ethtype
<1501-65535>] [shutdown]
no sequence <1-2147483647>
Parameter:
<1-2147483647>
(Optional) Specify sequence index of ACE, the sequence index represent the priority of
an ACE in ACL.
(A:B:C:D:E:F/A:B:C
:D:E:F|any)
Specify the source MAC address and mask of packet or any MAC address.
(A:B:C:D:E:F/A:B:C
:D:E:F|any)
Specify the destination MAC address and mask of packet or any MAC address.
[vlan <1-4094>]
(Optional) Specify the vlan ID of packet.
[cos <0-7> <0-7>]
(Optional) Specify the Class of Service value and mask of packet.
[ethtype
<1501-65535>]
(Optional) Specify Ethernet protocol number of packet
[shutdown]
(Optional) Shutdown interface while ACE hit
Mode:
MAC ACL Configuration
Usage Guide:
Use the deny command to add deny conditions for a mac ACE that drop those packets hit the ACE. The “
sequence
”
also represents hit priority when ACL bind to an interface. An ACE not specifies “
sequence
” index would assign a
sequence index which is the largest existed index plus 20. If packet content can match more than one ACE, the
lowest sequence ACE is hit. An ACE can not be added if has the same conditions as existed ACE. Use “
shutdown
”
to shutdown interface while ACE hit.
Example:
The example shows how to add an ACE that denies packets with destination MAC address aa:bb:cc:xx:xx:xx and
VLAN 9. You can verify settings by the following
show acl
command
Switch(config)#
mac acl test
Switch(mac-al)#
sequence 30 permit any any
Switch(mac-al)#
deny any aa:bb:cc:00:0:00/FF:FF:FF:00:00:00 vlan 9 shutdown
Switch(mac-al)#
show acl
MAC access list test
sequence 30 permit any any
Содержание WGSW-28040
Страница 1: ...Command Guide of WGSW 28040 1 ...
Страница 163: ...Command Guide of WGSW 28040 163 gi1 replace gi2 deny gi3 deny gi4 deny gi5 deny More ...
Страница 167: ...Command Guide of WGSW 28040 167 gi1 1 00 11 22 33 44 55 192 168 1 55 255 255 255 255 Static NA ...
Страница 173: ...Command Guide of WGSW 28040 173 7 8 ...
Страница 300: ...Command Guide of WGSW 28040 300 fa1 enable 200 Off 10000 Off 10000 Shutdown ...