CLI Reference
Using Smart CLI
B-2
SpectraComm IP Router Card
076R200-000
Installation and Operation Manual
Issue 2
•
When you type
show ?
the screen displays Help for all of the
show
sub commands:
Demo_unit% show ?
___________Help for "show "______________________
arp-cache Show ARP cache entries
config Show configuration as batch script text commands
directory Show flash directory file info
frame-relay Show frame relay parameters
history Show command history (last 20 commands)
interfaces Show status and statistics for one or more interfaces
ip-route Show ip static route table
modem Show modem parameters
snmp Show SNMP Server parameters
supervisor Show supervisor/admin mode
t1 Show T1 parameters
term-serv Show terminal server parameters
version Show system H/W and S/W status
•
When you type
configure ?
in SUPERVISOR/ADMIN mode, the screen displays all the
subcommands for the
configure
command.
Demo_unit% configure ?
___________Help for "configure "______________________
frame-relay Configure frame relay parameters
interfaces Configure interface parameters
ip-route Configure ip static route table
modem Configure modem parameters
prompt Configure custom prompt; requires 1 parameter(s)
snmp Configure SNMP Server parameters
t1 Configure T1 parameters
term-serv Configure terminal server parameters
•
When you type
configure interfaces ?
the screen displays help for that specific
subcommand:
___________Help for "configure interfaces "______________________
add-sub Add new sub-interface; requires 1 parameter(s)
remove-sub Remove existing sub-interface; requires 1 parameter(s)
ip-address Configure interface IP address; requires 3 parameter(s)
delete-ip Delete interface IP address; requires 2 parameter(s)
description Change interface description; requires 2 parameter(s)
enable Set admin state ON (allow xmit & recv); requires 1 parameter(s)
disable Set admin state OFF (stop xmit & recv); requires 1 parameter(s)
link-encap Set link encapsulation; requires 2 parameter(s)
•
Parameters separated by spaces may be entered after the last subcommand on the command
line. If you do not enter all required arguments on the command line, you will be prompted for
the missing ones after pressing
Enter
or the carriage return.
Arguments
If a command or subcommand requires arguments, you can type the
?
character after the last
subcommand to display a description of the required parameters to complete the command line.
For example:
When you type
configure interfaces ip-address ?
the screen will show the three
required parameters and one optional parameter used to configure an IP address for an interface:
Demo_unit%> configure interfaces ip-address ?