Cli command modes, Performing keyword lookups, Sample cli defaults description -7 – Enterasys Networks D-Series User Manual
Page 35: Performing a keyword lookup -7, Performing a partial keyword lookup -7, Figure 1‐2
Using the Command Line Interface
Enterasys D-Series CLI Reference
1-7
Figure 1-2
Sample CLI Defaults Description
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 D‐Series switch
indicates which mode a user is logged in as by displaying one of the following prompts:
•
Admin: D2(su)‐>
•
Read‐Write: D2(rw)‐>
•
Read‐Only: D2(ro)‐>
Performing Keyword Lookups
Entering a space and a question mark (?) after a keyword will display all commands beginning
with the keyword.
shows how to perform a keyword lookup for the show snmp
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
Performing a Keyword Lookup
Entering a question mark (?) without a space after a partial keyword will display a list of
commands that begin with the partial keyword.
shows how to use this function for all
commands beginning with co:
Figure 1-4
Performing a Partial Keyword Lookup
Syntax
show port status [port-string]
Defaults
If port‐string is not specified, status information for all ports will be displayed.
D2(su)->show snmp ?
community SNMP v1/v2c community name configuration
notify SNMP notify configuration
targetaddr SNMP target address configuration
targetparams SNMP target parameters configuration
D2(rw)->co?
configure copy
D2(su)->co
Note: At the end of the lookup display, the system will repeat the command you entered without the
?.