Using the Command Line Interface
Navigating the Command Line Interface
Getting Help with CLI Syntax
The SecureStack C2 switch allows you to display usage and syntax information for individual
commands by typing help or ? after the command.
CLI Command Defaults Descriptions
Each command description in this guide includes a section entitled "Defaults" which contains
different information from the factory default settings on the switch described in Table
Table
1‐2. The section defines CLI behavior if the user enters a command without typing optional
parameters (indicated by square brackets [ ]). For commands without optional parameters, the
defaults section lists "None". For commands with optional parameters, this section describes how
the CLI responds if the user opts to enter only the keywords of the command syntax. Figure
provides an example.
Figure 1-2
Syntax
show port status [port-string]
Defaults
If port‐string is not specified, status information for all ports will be displayed.
CLI Command Modes
Each command description in this guide includes a section entitled "Mode" which states whether
the command is executable in Admin (Super User), Read‐Write, or Read‐Only mode. Users with
Read‐Only access will only be permitted to view Read‐Only (show) commands. Users with Read‐
Write access will be able to modify all modifiable parameters in set and show commands, as well
as view Read‐Only commands. Administrators or Super Users will be allowed all Read‐Write and
Read‐Only privileges, and will be able to modify local user accounts. The SecureStack C2 switch
indicates which mode a user is logged in as by displaying one of the following prompts:
•
Admin: C2(su)‐>
•
Read‐Write: C2(rw)‐>
•
Read‐Only: C2(ro)‐>
Performing Keyword Lookups
Entering a space and a question mark (?) after a keyword will display all commands beginning
with the keyword. Figure
command. In this case, four additional keywords are used by the show snmp command. Entering
a space and a question mark (?) after any of these parameters (such as show snmp community)
will display additional parameters nested within the syntax.
Figure 1-3
C2(su)->show snmp ?
community
notify
targetaddr
targetparams
1-8 Introduction
Sample CLI Defaults Description
1‐3 shows how to perform a keyword lookup for the show snmp
Performing a Keyword Lookup
SNMP v1/v2c community name configuration
SNMP notify configuration
SNMP target address configuration
SNMP target parameters configuration
1‐1 and
1‐2
Need help?
Do you have a question about the SecureStack C2 and is the answer not in the manual?
Questions and answers