EasyManua.ls Logo

Enterasys b5

Enterasys b5
714 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Using the Command Line Interface
1-8 Introduction
Navigating the Command Line Interface
Getting Help with CLI Syntax
TheEnterasysB5switchallowsyoutodisplayusageandsyntaxinformationforindividual
commandsbytypinghelpor?afterthecommand.
CLI Command Defaults Descriptions
Eachcommanddescriptioninthisguideincludesasectionentitled“Defaults”whichcontains
differentinformationfromthefactorydefaultsettingsontheswitchdescribedinTable 11.The
sectiondefinesCLIbehavioriftheuserentersacommandwithouttypingoptionalparameters
(indicatedby squarebrackets[]).Forcommands
withoutoptionalparameters,thedefaults
sectionlists“None”. Forcommandswithoptionalparameters,thissectiondescribeshowthe CLI
respondsiftheuseroptstoenteronlythekeywordsofthecommandsyntax.Figure 12provides
anexample.
Figure 1-2 Sample CLI Defaults Description
CLI Command Modes
Eachcommanddescriptioninthisguideincludesasectionentitled“Mode”whichstateswhether
thecommandisexecutableinAdmin(SuperUser),ReadWrite,orReadOnlymode.Userswith
ReadOnlyaccesswillonlybepermittedtoviewReadOnly(show)commands.UserswithRead
Writeaccesswillbe
abletomodifyallmodifiableparametersinsetandshowcommands,aswell
asviewReadOnlycommands.AdministratorsorSuperUserswillbeallowedallReadWriteand
ReadOnlyprivileges,andwillbeabletomodifylocaluseraccounts.TheEnterasysB5switch
indicateswhichmodeauser
isloggedinasbydisplayingoneofthefollowingprompts:
•Admin:B5(su)>
•ReadWrite:B5(rw)>
•ReadOnly:B5(ro)>
Performing Keyword Lookups
Enteringaspaceandaquestionmark(?)afterakeywordwilldisplayallcommandsbeginning
withthekeyword.Figure 13showshowtoperformakeywordlookupfortheshowsnmp
command.Inthiscase,fouradditionalkeywordsareusedbytheshowsnmpcommand.Entering
aspaceand
aquestionmark(?)afteranyoftheseparameters(suchasshowsnmpcommunity)
willdisplayadditionalparametersnestedwithinthesyntax.
Figure 1-3 Performing a Keyword Lookup
Syntax
show port status [port-string]
Defaults
Ifportstringisnotspecified,statusinformationforallportswillbedisplayed.
B5(su)->show snmp ?
community SNMP v1/v2c community name configuration
notify SNMP notify configuration
targetaddr SNMP target address configuration
targetparams SNMP target parameters configuration

Table of Contents