3Com 09-1324-000 manual Using Aliases, Command History Substitution, Display it first

Models: 09-1324-000

1 74
Download 74 pages 22.24 Kb
Page 44
Image 44

6-8CHAPTER 6: CONFIGURING BASIC SETTINGS

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, refer to Chapter 1 in Using NETBuilder Family Software. For more information about the CurrentPorts parameter, refer to Reference for NETBuilder Family 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, refer to Chapter 1 in Using NETBuilder Family 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, refer to Reference for NETBuilder Family

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 refer to Reference for NETBuilder Family 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.

Page 44
Image 44
3Com 09-1324-000 manual Using Aliases, Command History Substitution, Display it first