Configuring Switch Information 253
The following is an example of the CLI commands:
Console(config)# mac access-list dell
Console(config-mac-al)# permit 6:6:6:6:6:6 0:0:0:0:0:0 any vlan 4
Console(config-mac-al)# deny 6:6:6:6:6:6 0:0:255:255:255:255
Configuring ACL Binding
When an ACL is bound to an interface, all the ACE rules that have been defined are applied to the
selected interface. Use the
ACL Bindings
page to assign ACL lists to classification methods and
interfaces.
To open the
ACL Bindings
page, select
Switch
→
Network Security
→
ACL Binding
.
Table 7-6. MAC-Based ACE CLI Commands
CLI Command Description
mac access-list
name
Creates Layer 2 MAC ACLs, and enters to
MAC-Access list configuration mode.
permit {any | host
source
source-wildcard
}
{any | destination
destination
-
wildcard
}[vlan
vlan-id
]
Allows traffic if the conditions defined in the
permit statement are matched.
deny [disable-port] {any
| source
source-
wildcard
} {any |
destination
destination-
wildcard
}[vlan
vlan-id
]
Denies traffic if the conditions defined in the
deny statement are matched.
show access-lists [
name
] Displays Access Control Lists configured on
the switch.