Learning About the User Interface 6-7

can be shortened by abbreviating it to:

SETD -IP CONT = ([RO NRO], [RSR NRSR], [SL NSL], [F NF], [SEC

NSEC],[FSB NFSB], [FASB NFASB])

The following command uses this abbreviated syntax to enable IP routing, packet filtering, and security:

SETD -IP CONT = (RO, F, SEC)

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

Environment parameters do not have a service name. For descriptions of these parameters, refer to Reference for NETBuilder Family 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

Page 43
Image 43
3Com 09-1324-000 manual Can be shortened by abbreviating it to, Variations in Command Syntax