![D-Link xStack DWS-3200 Series Скачать руководство пользователя страница 45](http://html1.mh-extra.com/html/d-link/xstack-dws-3200-series/xstack-dws-3200-series_cli-manual_4140557045.webp)
ACL Commands
Page 42
permit (MAC)
The
permit
MAC-Access List Configuration mode command defines
permit conditions of an MAC ACL.
Syntax
permit
{
any
| {
host
source source-wildcard
}
any
| {
destination destination-wildcard
}} [
vlan
vlan-id
] [
cos
cos cos-
wildcard
] [
ethtype
eth-type
]
Parameters
•
source
— Specifies the source MAC address of the packet.
•
source-wildcard
— Specifies wildcard bits to be applied to the source MAC address. Use 1s in bit positions to
be ignored.
•
destination
— Specifies the MAC address of the host to which the packet is being sent.
•
destination-wildcard
— Specifies wildcard bits to be applied to the destination MAC address. Use 1s in bit
positions to be ignored.
•
vlan-id
— Specifies the ID of the packet vlan. (Range: 0-4095)
•
cos
— Specifies the Class of Service (CoS) for the packet. (Range: 0-7)
•
cos-wildcard
— Specifies wildcard bits to be applied to the CoS.
•
eth-type
— Specifies the Ethernet type of the packet .(Range: 0-65535)
Default Configuration
No MAC ACL is defined.
Command Mode
MAC-Access List Configuration mode
User Guidelines
Before an Access Control Element (ACE) is added to an ACL, all packets are permitted. After an ACE is added, an
implied
deny-any-any
condition exists at the end of the list and those packets that do not match the conditions
defined in the permit statement are denied.
If the VLAN ID is specified, the policy map cannot be connected to the VLAN interface.
Example
The following example shows how to create a MAC ACL with permit rules.
Console(config)#
mac access-list
macl-acl1
Console(config-mac-al)#
permit
6:6:6:6:6:6 0:0:0:0:0:0
any vlan
6
Содержание xStack DWS-3200 Series
Страница 2: ......
Страница 3: ......
Страница 17: ...Table of Contents Page 14 Appendix A Troubleshooting 571 Problem Management 572 Troubleshooting Solutions 572 ...
Страница 25: ...Using the CLI Editing Features Page 22 ...
Страница 91: ...Clock Commands show sntp status Page 88 ...
Страница 101: ...Configuration and Image File Commands show bootvar Page 98 ...
Страница 137: ...GVRP Commands show gvrp error statistics Page 134 ...
Страница 147: ...IGMP Snooping Commands show ip igmp snooping groups Page 144 ...
Страница 163: ...IP Address Commands show hosts Page 160 ...
Страница 177: ...LACP Commands show lacp port channel Page 174 ...
Страница 187: ...Line Commands show line Page 184 ...
Страница 195: ...Management ACL Commands show management access class Page 192 ...
Страница 201: ...PHY Cable Diagnostics Commands show fiber ports optical transceiver Page 198 ...
Страница 217: ...Port Monitor Commands Page 214 ...
Страница 341: ...Spanning Tree Commands show spanning tree Page 338 ...
Страница 395: ...System Management Commands show system mode Page 392 ...
Страница 413: ...User Interface Commands show privilege Page 410 ...
Страница 437: ...VLAN Commands show vlan protocols groups Page 434 ...
Страница 451: ...Web Server Commands show ip https Page 448 ...
Страница 477: ...802 1x Commands show dot1x advanced Page 474 ...
Страница 483: ...Wireless AP BSS Commands data rates Page 480 ...
Страница 517: ...WLAN Domain Commands wlan domain member approve Page 514 ...
Страница 547: ...Wireless AP Radio Commands beacon period Page 544 ...
Страница 555: ...Wireless Rogue AP Commands show wlan rogue aps neighborhood Page 552 ...
Страница 573: ...Wireless WLAN Commands show wlan stations counters Page 570 ...
Страница 581: ...Page 578 ...