Delete mac command, Configuration upload and download commands, Copy command – Motorola CAJUN P120 User Manual

Page 97

Advertising
background image

Chapter 7

Cajun Campus CLI (Command Line Interface)

Cajun P120 User’s Guide

83

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

Console>(enable)

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:

Console>(enable)

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

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

Console>(enable)

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

Console>(enable)

delete mac 00-65-5b-86-5b-82 1 2

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

Configuration Upload and Download Commands

Copy Command

The syntax of this command is:

copy {tftp | running-config}{running-

config | tftp} <filename*> <server IP>

*
i) The default name of the configuration file is P120.cfg.
ii) You must also include the full path where the file is located.

Caution: Before you can upload a configuration file to the TFTP server you must
first create an empty file on the server. This file must have the same name and path
as the file that you want to upload. Otherwise you will get an ‘access violation’
error message.

tftp

Keyword that allows the user to copy to or from a TFTP
server.

running-

config

Specifies the currently running configuration.

Advertising