DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide
304
38
MAC PROTECTION COMMANDS
The MAC Protection commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
create mac_protection <macaddr> {<macmask 000000000000-ffffffffffff>}
delete mac_protection [<macaddr> {mask <macmask>} | all]
show mac_protection
Each command is listed in detail, as follows:
create mac_protection
Purpose Used to create a MAC protection address.
Syntax
create mac_protection <macaddr> {<macmask 000000000000-
ffffffffffff>}
Description
The create mac_protection command is used to
protection address.
Parameters
<macaddr> −
Specify the MAC address for MAC protection to be
created.
{<macmask 000000000000-ffffffffffff>} –
the MAC address.
Restrictions Only Administrator or operator-level users can issue this command.
Example usage:
To set the MAC protection with MAC 11:22:33:44:aa:0b on the Switch:
DGS-1210-28MP/ME:5# create mac_protection 11:22:33:44:aa:0b 1122ffffffaa
Command: create mac_protection 11:22:33:44:aa:0b 1122ffffffaa
Success.
DGS-1210-28MP/ME:5#
delete mac_protection
Purpose Used to delete a MAC protection address.
Syntax
delete mac_protection [<macaddr> {mask <macmask
000000000000 - ffffffffffff>} | all]
Description
The delete mac_protection command is used to delete
protection address.
Parameters
<macaddr> −
Specify the MAC address for MAC protection to be
deleted.