User's Manual

Table Of Contents
193
Users Manual of CS-6306R
Chapter 14. Configuring MAC List
MAC List Configuration Task 14.1
14.1.1 Creating MAC List
To apply the MAC list on the port, you must first create the MAC list. After the MAC list is successfully created,
you log in to the MAC list configuration mode and then you can configure items of the MAC access list.
Perform the following operations to add and delete a MAC list in privilege mode:
Run… To
configure
Log in to the global configuration mode.
[no] mac access-listname
Add or delete a MAC list.
name means the name of the MAC list.
14.1.2 Configuring Items of MAC List
You can use the permit or deny command to configure the permit or deny items of the MAC list. Multiple
permit or deny items can be configured on a MAC list.
The mask of multiple items configured in a MAC list must be the same. Otherwise, the configuration may be
out of effect (see the following example). The same item can only be configured once in the same MAC
address.
Perform the following operations in MAC list configuration mode to configure the items of the MAC list:
Run… To
[no] {deny | permit} {any | host
src-mac-addr} {any | host
dst-mac-addr}[ethertype]
Add/Delete an item of the MAC list. You can
rerun the command to add or delete multiple
items of the MAC list.
any means any MAC address can be
compatible;
src-mac-addr means the source MAC
address;
dst-mac-addr means the destination MAC
address.
ethertype means the type of matched
Ethernet packet.
exit
Log out from the MAC list configuration mode
and enter the global configuration mode
again.
exit
Enter the management mode again.
write
Save configuration.