Delete mac command – Motorola CAJUN P120 User Manual

Page 65

Advertising
background image

Chapter 6

Legacy CLI (Command Line Interface)

Cajun P120 User’s Guide

51

If you try to add a MAC address to a non-secured port (Port #1 in this case) you get
the following error message:

CajunP120-priv# add mac 00-65-5b-86-5b-82 1 2

ERROR: Try to add secured MAC to non-secured port 1

Delete MAC Command

Use this command to delete an address from the secure table. The required
parameter is the address and the VLAN number. If the port was not specified, the
address shall be cleared from all ports.

The syntax of this command is:

Delete MAC {MAC_address [port_number [vlan_number]]}

Examples:

CajunP120-priv# delete mac 00-60-5c-86-5b-81 2 3

Address 00-60-5c-86-5b-81 was deleted from the secure list !

CajunP120-priv#

If you try to delete a MAC address from a non-secured port (Port #1 in this case)
you get the following error message:

CajunP120-priv# delete mac 00-65-5b-86-5b-82 1 2

ERROR: Try to delete secured MAC to non-secured port 1

Advertising