Specifications
Using the Command Line Interface
SecureStack B2 Configuration Guide 1-7
Figure 1-2 Sample CLI Defaults Description
CLI Command Modes
Eachcommanddescriptioninthisguideincludesasectionentitled“Mode”whichstateswhether
thecommandisexecutableinAdmin(SuperUser),Read‐Write,orRead‐Onlymode.Userswith
Read‐OnlyaccesswillonlybepermittedtoviewRead‐Only(show)commands.UserswithRead‐
Writeaccesswillbe
abletomodifyallmodifiableparametersinsetandshowcommands,aswell
asviewRead‐Onlycommands.AdministratorsorSuperUserswillbeallowedallRead‐Writeand
Read‐Onlyprivileges,andwillbeabletomodifylocaluseraccounts.TheSecureStackB2switch
indicateswhichmodeauser
isloggedinasbydisplayingoneofthe followingprompts:
•Admin:B2(su)‐>
•Read‐Write:B2(rw)‐>
•Read‐Only:B2(ro)‐>
Performing Keyword Lookups
Enteringaspaceandaquestionmark(?)afterakeywordwilldisplayallcommandsbeginning
withthekeyword.Figure 1‐3showshowtoperformakeywordlookupfortheshowsnmp
command.Inthiscase,fouradditionalkeywordsareusedbytheshowsnmpcommand.Entering
aspaceand
aquestionmark(?)afteranyoftheseparameters(s uchasshowsnmpcommunity)
willdisplayadditionalparametersnestedwithinthesyntax.
Figure 1-3 Performing a Keyword Lookup
Enteringaquestionmark(?)withoutaspaceafterapartialkeywordwilldisplayalistof
commandsthatbeginwiththepartialkeyword.Figure 1‐4shows
howtousethisfunctionforall
commandsbeginningwithco:
Figure 1-4 Performing a Partial Keyword Lookup
Syntax
show port status [port-string]
Defaults
Ifport‐stringisnotspecified,statusinformationforallportswillbedisplayed.
B2(su)->show snmp ?
community SNMP v1/v2c community name configuration
notify SNMP notify configuration
targetaddr SNMP target address configuration
targetparams SNMP target parameters configuration
B2(rw)->co?
configure copy
B2(su)->co
Note: At the end of the lookup display, the system will repeat the command you entered without the
?.