Security commands, Lock port command, Unlock port command – Motorola CAJUN P120 User Manual
Page 64: Add mac command
Chapter 6
Legacy CLI (Command Line Interface)
50
Cajun P120 User’s Guide
Security Commands
Lock Port Command
Use this command to secure ports. The syntax of this command is:
lock port
{module number/port_number | all
}.
all - a shortcut for securing all ports of the device.
Examples:
CajunP120-priv# lock port 1/1
Port 1 locked
CajunP120-priv#
CajunP120-priv# lock port all
All ports locked!
CajunP120-priv#
Unlock Port Command
Use this command to unlock ports and return them to not-secured mode. The
syntax of this command is:
unlock port
{ module number/port_number | all
}
all - a shortcut for unsecuring all ports of the device
Example:
CajunP120-priv# unlock port 1/10
Port 10 unlocked
CajunP120-priv#
Add MAC Command
Use this command to add an address to the secure list of a locked ports (see Lock Port
Command on page 50). The minimal parameters are address and port. It is optional
to specify the VLAN of the address. If the VLAN is not specified the default is port's
VLAN.
The syntax of this command is:
add mac {MAC_address port_number [vlan_number]}
Examples:
CajunP120-priv# add mac 00-60-5c-86-5b-81 2 3
Address 00-60-5c-86-5b-81 was added to the secure list !
CajunP120-priv#