3Com 11.3 manual Variations in Command Syntax, Entering Service Names in Command Lines

Page 25

Learning About the User Interfaces

25

Variations in Command Syntax

Each command has its own syntax. When a command is used for configuring parameters, its syntax or values may change according to the parameter and service. For example, the SETDefault command sets the NetMapTime parameter in the SYS Service and the MaxAge parameter in the STP Service. In the following example, the general syntax is followed by the syntax variations (different values for different parameters) appropriate to each parameter:

SETDefault <parameter> = <value>

SETDefault -SYS NetMapTime = <number>(0 to 120 seconds) SETDefault -STP MaxAge = <second> (6-40)

Entering Service Names in Command Lines

When you are configuring or displaying parameters that appear in more than one service, you must provide a service name to distinguish them. You can enter the service name in abbreviated form, but the name must be preceded by a hyphen. For example, to indicate BRidge Service, type -BR.

Abbreviated service names are indicated in uppercase in this guide.

There are three exceptions:

If you have previously set the CurrentServices parameter to the desired service, you do not need to enter the service name. The system prompt indicates the current service if you set a single service with the CurrentServices parameter. For information on using the CurrentServices parameter, see Reference for Enterprise OS Software.

Environment parameters do not have a service name. For descriptions of these parameters, see Reference for Enterprise OS Software.

You do not need to enter a service name when the parameter name is unique.

Determining the Display of Ports and Virtual Ports

You can control which ports are displayed in the output of the SHow and SHowDefault commands by setting the CurrentPorts parameter. If you have a bridge/router with several ports, for example a NETBuilder II bridge/router with multiport I/O modules installed, you may want to limit the display to information on certain ports instead of all ports. If you are interested only in displaying information for port 2 and virtual port V3, as well as the paths mapped to these ports, set the CurrentPorts parameter by entering:

SET CurrentPorts = (2, V3)

Now when you enter SHow and SHowDefault commands, only information for port 2 and virtual port V3, and the paths mapped to these ports, is displayed.

If you have a NETBuilder II bridge/router with a multiport module installed, you must enter its ports individually when setting the CurrentPorts parameter. For instance, if you have an Ethernet 2-Port 10BASE-FL module, the A and B ports are distinct. If you specify port 1 with the CurrentPorts parameter, the software assumes you mean port 1A. For information on port and path numbering conventions for multiport modules, see Chapter 1 in Using Enterprise OS

Image 25
Contents New Installation for Enterprise OS Software Bayfront Plaza 3Com CorporationSanta Clara, California 95052-8145Contents 3COM Corporation Limited Warranty About this Guide How to UseIntroduction This GuideList conventions that are used throughout this guide ConventionsIcon Alerts you to Convention DescriptionOverview flash memory card for first time NETBuilder II installationsSoftware This guide apply to all software packagesInstall software from a flash memory card Install System Software and Boot See ChapterChange the Primary Boot Source See Chapter Change the primary boot source default as neededInstalling Software Performing Initial Boot Installing Software and Booting Netbuilder II SystemBooting from Flash Memory CardFlash Memory Making a BackupCard NETBuilder II SystemFlash Card Using the BackupPress Reset buttons to reboot Using the Boot Changing the Boot SourceCommand Configuring Primary Boot SourceAt the Enterprise OS prompt, enter Primary Boot Source menu is displayedChanging the Boot Source Logging on to Configuring Basic SettingsSystem Learning About Setting Up IP RoutingUser Interfaces Application Menu-Driven Versus of three ways Command-Line InterfaceWeb Link Interface Description Log in as root. TypeMain menu Level 1 is displayed Abbreviated Syntax Full-Form SyntaxSymbol Description SymbolsCan be abbreviated to Full and Abbreviated Syntax ExamplesCan be shortened by abbreviating it to Entering Service Names in Command Lines Variations in Command SyntaxDetermining the Display of Ports and Virtual Ports Command History Substitution Using AliasesPrivilege Level Numeric Values Syntax for Assigning ValuesNames StringsPort and Path Naming Restrictions Media Addresses Asynchronous Transfer Mode ATM address Bridge/router or tunnel switches. In the global addressingDecimal. The Dlci identifies a virtual circuit on the Frame An example of a Frame Relay addressNetwork Layer Addresses Followed by the MAC address For more information on Internet addresses, subnet masks,Network from all other IPX networks. The following example Addresses are the same 00003333%080002005678Getting Help Obtaining Network PasswordManager Privilege LevelSetting System Setting the Time and DateAdministrator InformationSETDefault -SYS SysCONtact = John Smith 408 IPX OSI Assign Internet addresses to individual ports usingAssigning an IP Address to a bridge/router Port DELete -SNMP COMmunity Anycom RemoteManager Enable the Snmp service by enteringCOMmunity Configuring Basic Settings Technical Support ServicesOnline Technical Access by Digital Modem Access by Analog Modem847 262 408 727Europe Country Telephone Number Asia Pacific RimEurope, South Africa, and Middle East Latin AmericaCountry Telephone Number Fax Number Numerics IndexSnmp Snmp 3Com Corporation Limited Warranty Disclaimer