5: Commands and Levels

 

 

no hostname

Clears the host name.

no ip address

Clears the IP address.

no primary dns

Clears the name of the primary DNS server.

no secondary dns

Clears the name of the secondary DNS server.

primary dns <IP address>

Sets the IP address of the primary DNS server.

secondary dns <IP address>

Sets the IP address of the secondary DNS server.

show

Displays the current configuration.

show history

Displays the last 20 commands entered during the current

 

CLI session.

show status

Show interface status

state disable

Disables the interface.

state enable

Enables the interface.

write

Stores the current configuration in permanent memory.

ip (config-ip) level commands

 

clrscrn

Clears the screen.

default ip time to live

Restores the default IP time to live.

default multicast time to live

Restores the default IP multicast time to live, which is one

 

hop.

exit

Exits to the configuration level.

ip time to live <hops>

Sets the IP time to live, known by SNMP as "ipDe-

 

faultTTL".

 

<hops> = number of hops that a typical IP packet is al-

 

lowed to live.

multicast time to live <hops>

Sets the IP multicast time to live.

 

<hops> = number of hops that a multicast IP packet is

 

allowed to live.

show

Displays the current configuration.

show history

Displays the last 20 commands entered during the current

 

CLI session.

write

Stores the current configuration in permanent memory.

line 1 (line:1) level commands

 

auto show statistics

Continuously displays line statistics.

baud rate <bits per second>

Sets the line speed.

 

<bits per second> = the speed.

 

Standard speeds include 1200, 2400, 4800, 9600, 19200,

 

and so on.

clear line counters

Sets the serial counters to zero.

clrscrn

Clears the screen.

command mode always

Sets the current line to always be in command mode.

command mode echo serial string disable

Disables user-defined serial boot string to be echoed in

 

the CLI.

command mode echo serial string enable

Enables user-defined serial boot string to be echoed in the

 

CLI.

command mode serial string

Enables user to enter a custom string at boot time to enter

 

command mode.

command mode serial string <string>

Sets a string that can be entered at boot time to enter

 

command mode.

 

<string> = text with possible binary characters.

 

Within [] use binary decimal up to 255 or hex up to 0xFF.

 

Within {} specify decimal milliseconds time delay.

command mode signon message <string>

Sets a sign-on message that is sent from the serial port

 

when the

 

device boots and when the line is in command mode.

PremierWave XN Command Reference

146

Page 146
Image 146
Lantronix 900-607 manual Ip config-ip level commands, Line 1 line1 level commands, Baud rate bits per second