3Com 11.3 manual Syntax for Assigning Values, Numeric Values, Names, Strings

Page 28

28CHAPTER 4: CONFIGURING BASIC SETTINGS

Syntax for Assigning Values

Most parameters must be assigned a value of a particular type. Table 4 shows the possible types.

Table 4 Parameter Value Types

Type

Meaning

Example

 

 

 

Numbers

Represent the numerical value of a parameter.

15, 1024

 

 

 

Names

Usually represent either system-defined parameter or

Route, None

 

parameter values (written as param-nameor value) or

 

 

user-defined macros or files (written as macroname or

 

 

filename).

 

 

 

 

Strings

Some parameter values can be set to user-defined strings,

“A,” “B,”

 

ranging from a single character (written as char) to a

“password”

 

multicharacter string (written as string).

 

 

 

 

Addresses

Two types of addresses can be assigned: media addresses for

#311040800245,

 

Ethernet, FDDI, token ring, and wide area protocols (SMDS,

129.213.24.30

 

X.25, Frame Relay) and network layer addresses.

 

 

 

 

The SET, SETDefault, and SYSgen commands require both parameter names and parameter values. The parameter name is followed by an equal sign (=) and a value. Spaces are permitted, but not required, before and after the equal sign, for example:

SETDefault -SYS ScreenLength = 30

The ADD and DELete commands also require both parameter names and parameter values. These commands modify sets of objects. No equal sign precedes the value that is added or deleted as a set member, for example:

ADD -IP ADDRess 10.0.0.1 %080002001234

Numeric Values

To assign a hexadecimal value to a parameter, precede the number with a percent sign (%). Alphabetic characters can be entered in upper- or lowercase letters.

To assign a decimal number, type the number without any preceding symbol.

Names

To assign a name, type the name in the command. Names, unlike strings, do not require quotation marks; however, the character length of the name may be limited.

Strings

String values fall into two categories: single characters and variable-length strings.

Table 5 lists the conventions for entering string values.

Table 5 Conventions for Entering Strings

String Type

Characters

Valid Characters

Examples

Single characters

Enclose in

All alphanumeric characters and

'S', 's','$'

 

apostrophes.

symbols

 

Variable-length

Enclose in

All alphanumeric characters and

“Hello!”

strings

quotation marks.

symbols

 

 

 

 

 

Characters in a string are case-sensitive. For example, “ABC” is different from “abc.”

A few characters have special meaning to the bridge/router and must be preceded by a backslash (\) in string text to prevent them from being misinterpreted. These symbols are the apostrophe ('), backslash (\), caret (^), and quotation mark (“). For

Image 28
Contents New Installation for Enterprise OS Software 3Com Corporation Bayfront PlazaSanta Clara, California 95052-8145Contents 3COM Corporation Limited Warranty How to Use About this GuideIntroduction This GuideConventions List conventions that are used throughout this guideIcon Alerts you to Convention Descriptionflash memory card for first time NETBuilder II installations OverviewSoftware This guide apply to all software packagesInstall System Software and Boot See Chapter Install software from a flash memory cardChange the Primary Boot Source See Chapter Change the primary boot source default as neededInstalling Software and Booting Netbuilder II System Installing Software Performing Initial BootBooting from Flash Memory CardMaking a Backup Flash MemoryCard NETBuilder II SystemUsing the Backup Flash CardPress Reset buttons to reboot Using the Boot Changing the Boot SourceCommand Primary Boot Source ConfiguringPrimary Boot Source menu is displayed At the Enterprise OS prompt, enterChanging the Boot Source Logging on to Configuring Basic SettingsSystem Learning About Setting Up IP RoutingUser Interfaces Menu-Driven Versus of three ways Command-Line Interface ApplicationLog in as root. Type Web Link Interface DescriptionMain menu Level 1 is displayed Full-Form Syntax Abbreviated SyntaxSymbols Symbol DescriptionCan 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 Using Aliases Command History SubstitutionPrivilege Level Syntax for Assigning Values Numeric ValuesNames StringsPort and Path Naming Restrictions Media Addresses Bridge/router or tunnel switches. In the global addressing Asynchronous Transfer Mode ATM addressDecimal. The Dlci identifies a virtual circuit on the Frame An example of a Frame Relay addressNetwork Layer Addresses For more information on Internet addresses, subnet masks, Followed by the MAC addressNetwork from all other IPX networks. The following example Addresses are the same 00003333%080002005678Getting Help Password Obtaining NetworkManager Privilege LevelSetting the Time and Date Setting SystemAdministrator InformationSETDefault -SYS SysCONtact = John Smith 408 Assign Internet addresses to individual ports using IPX OSIAssigning 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 Analog Modem Access by Digital Modem847 262 408 727Country Telephone Number Asia Pacific Rim EuropeEurope, South Africa, and Middle East Latin AmericaCountry Telephone Number Fax Number Index NumericsSnmp Snmp 3Com Corporation Limited Warranty Disclaimer