Chapter 6 Cajun Campus CLI – Layer 2

Hostname Command

Use the hostname command to change the Command Line Interface (CLI) prompt. The current module number always appears at the end of the prompt.

The syntax for this command is:

hostname [<hostname_string>]

hostname_string none – displays current hostname

string – the string to be used as the hostname (up to 20 characters).

Clear Commands Summary Table

Following is a Table of the Privileged Level clear commands.

• clear timezone

Returns the timezone to its default, UTC

Page 64

• clear ip route

Clear IP routing table entries

Page 64

• clear snmp trap

Clear SNMP trap on the system

Page 65

• clear vlan

Clears VLAN entries

Page 65

• clear cam

Clears all the CAM entries

Page 66

• clear log

Clears the Log entries of a module

Page 66

• clear port mirror

Cancel port mirroring

Page 66

• clear secure mac

Clear a MAC address

Page 66

Clear timezone Command

Returns the timezone to its default, Coordinated Universal Time (UTC)

Clear ip route Command

Use the clear ip route command to delete IP routing table entries.

The syntax for this command is:

clear ip route <destination> <gateway>

destination

IP address of the network, or specific host to be added

gateway

IP address of the router.

64

Cajun P332MF User’s Guide

Page 78
Image 78
Lucent Technologies P332MF Hostname Command, Clear Commands Summary Table, Clear timezone Command, Clear ip route Command