3Com 11.3 manual Using Aliases, Command History Substitution

Page 26

26CHAPTER 4: CONFIGURING BASIC SETTINGS

Software. For more information about the CurrentPorts parameter, see Reference for Enterprise OS Software.

The syntax convention for ports, virtual ports, and group ports is:

!<port>

For a port, <port> is a variable ID number, for example, !1. For a virtual port or group port, <port> is the letter V followed by a variable ID number, for example, !V1.

When you create a virtual port or group port, it functions in the same way as a port. Unless otherwise specified, the term “port” refers to virtual ports and group ports as well as ports. For more information on ports, virtual ports, and group ports, see Chapter 1 in Using Enterprise OS Software.

Using Aliases

To avoid entering lengthy commands, you can create an alias to represent any command. To define an alias, use:

ADD -SYS ALias <alias name> <arguments…>

For example, if you use the SHow -SYS NetMAP command often, create an alias called ntmap by entering:

ADD -SYS ALias ntmap SHow -SYS NetMAP

When you want to display the network map, at the bridge/router prompt enter:

ntmap

For more information about aliases, see Reference for Enterprise OS Software.

Command History Substitution

The bridge/router “remembers” the last 10 commands you enter. To display a list of these commands, at the bridge/router prompt enter:

SHow History

For more information see Reference for Enterprise OS Software. Each command in the display is numbered. To repeat any of the commands, use the event designator, represented by an exclamation point (!).

You can use history substitution with the following options:

!!

Repeats the previous command.

!<n>

Repeats the command numbered <n>. For example,

 

entering !100 repeats the command numbered 100. If

 

you know the command number, you do not need to

 

display it first.

!-<n>

Repeats the command whose number is the current

 

command number minus <n>. The current command

 

number is shown on the screen preceding the

 

bridge/router prompt. For example, if the current

 

command is 100 and <n> is 2, command number 98 is

 

repeated.

Image 26
Contents New Installation for Enterprise OS Software Santa Clara, California 3Com CorporationBayfront Plaza 95052-8145Contents 3COM Corporation Limited Warranty Introduction How to UseAbout this Guide This GuideIcon Alerts you to ConventionsList conventions that are used throughout this guide Convention DescriptionSoftware flash memory card for first time NETBuilder II installationsOverview This guide apply to all software packagesChange the Primary Boot Source See Chapter Install System Software and Boot See ChapterInstall software from a flash memory card Change the primary boot source default as neededBooting from Installing Software and Booting Netbuilder II SystemInstalling Software Performing Initial Boot Flash Memory CardCard Making a BackupFlash Memory NETBuilder II SystemUsing the Backup Flash CardPress Reset buttons to reboot Command Changing the Boot SourceUsing the Boot Primary Boot Source ConfiguringPrimary Boot Source menu is displayed At the Enterprise OS prompt, enterChanging the Boot Source System Configuring Basic SettingsLogging on to User Interfaces Setting Up IP RoutingLearning About 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 shortened by abbreviating it to Full and Abbreviated Syntax ExamplesCan be abbreviated to Determining the Display of Ports and Virtual Ports Variations in Command SyntaxEntering Service Names in Command Lines Using Aliases Command History SubstitutionPrivilege Level Names Syntax for Assigning ValuesNumeric Values StringsPort and Path Naming Restrictions Media Addresses Decimal. The Dlci identifies a virtual circuit on the Frame Bridge/router or tunnel switches. In the global addressingAsynchronous Transfer Mode ATM address An example of a Frame Relay addressNetwork Layer Addresses Network from all other IPX networks. The following example For more information on Internet addresses, subnet masks,Followed by the MAC address Addresses are the same 00003333%080002005678Getting Help Manager Privilege PasswordObtaining Network LevelAdministrator Setting the Time and DateSetting System 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 COMmunity Enable the Snmp service by enteringRemoteManager Configuring Basic Settings Online Technical ServicesTechnical Support 847 262 Access by Analog ModemAccess by Digital Modem 408 727Europe, South Africa, and Middle East Country Telephone Number Asia Pacific RimEurope Latin AmericaCountry Telephone Number Fax Number Index NumericsSnmp Snmp 3Com Corporation Limited Warranty Disclaimer