D-Link CLI Reference Guide
Page 40
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
Содержание DXS-3227 - xStack Switch - Stackable
Страница 12: ...Page 11 ...
Страница 46: ...ACL Commands Page 45 ...
Страница 68: ...Address Table Commands Page 67 ...
Страница 124: ...Ethernet Configuration Commands Page 123 ...
Страница 134: ...GVRP Commands Page 133 ...
Страница 144: ...IGMP Snooping Commands Page 143 ...
Страница 158: ...IP Addressing Commands Page 157 Console config ip helper address 172 16 9 9 49 53 ...
Страница 166: ...IP Addressing Commands Page 165 ...
Страница 170: ...IP Routing Commands Page 169 Ethernet 1 Specifies the interface through which the specified network can be reached ...
Страница 186: ...Line Commands Page 185 ...
Страница 194: ...Management ACL Commands Page 193 ...
Страница 200: ...PHY Diagnostics Commands Page 199 ...
Страница 208: ...Port Monitor Commands Page 207 ...
Страница 216: ...Power over Ethernet Commands Page 215 ...
Страница 272: ...RMON Commands Page 271 ...
Страница 334: ...Spanning Tree Commands Page 333 ...
Страница 428: ...VLAN Commands Page 427 ...
Страница 465: ...D Link CLI Reference Guide Page 464 Trap frequency 100 Status Single host locked Violations since last trap 9 ...
Страница 466: ...802 1x Commands Page 465 ...