4 conventions, 5 annotations – PLANET WGS3-24240 User Manual

Page 354

Advertising
background image

User’s Manual of WGS3-24000 / WGS3-24240

354

also be entered as a 32-bit number.

macaddr The MAC address format is six hexadecimal numbers separated by colons, for example 00:06:29:32:81:40.

areaid Area IDs may be entered in dotted-decimal notation (for example, 0.0.0.1). An area ID of 0.0.0.0 is reserved for the

backbone. Area IDs have the same form as IP addresses, but are distinct from IP addresses. The IP network number of the

sub-netted network may be used for the area ID.

slot/port This parameter denotes a valid slot number and a valid port number. For example, 0/1 represents slot number 0 and

port number 1. The <slot/port> field is composed of a valid slot number and a valid port number separated by a forward slash (/).

logical slot/port This parameter denotes a logical slot number and logical port number assigned. This is applicable in the case

of a port-channel (LAG). The operator can use the logical slot number and the logical port number to configure the port-channel.

5.1.4 Conventions

1. Network addresses are used to define a link to a remote host, workstation or network. Network addresses are shown using

the following syntax:

2. Double quotation marks such as "System Name with Spaces" set off user defined strings. If the operator wishes to use

spaces as part of a name parameter then it must be enclosed in double quotation marks.

3. Empty strings ("") are not valid user defined strings.

4. Command completion finishes spelling the command when enough letters of a command are typed to uniquely identify the

command word. The command may be executed by typing <enter> (command abbreviation) or the command word may be

completed by typing the <tab> or <space bar> (command completion).

Address Type

Format

Range

ipaddr

A.B.C.D

0.0.0.0 to 255.255.255.255 (decimal)

macaddr

YY:YY:YY:YY:YY:YY:

hexidecimal digit pairs

Table 4-1 Network Address Syntax

5. The value 'Err' designates that the requested value was not internally accessible. This should never happen and indicates

that there is a case in the software that is not handled correctly.

6. The value of '-----' designates that the value is unknown.

5.1.5 Annotations

The CLI allows the user to type single-line annotations at the command prompt for use when writing test or configuration scripts

and for better readability. The exclamation point ('!') character flags the beginning of a comment. The comment flag character

can begin a word anywhere on the command line and all input following this character is ignored. Any command line that begins

with the character '!' is recognized as a comment line and ignored by the parser. Some examples are provided below:

! Script file for displaying the ip interface

! Display information about interfaces

show ip interface 0/1 !Displays the information about the first interface

! Display information about the next interface

show ip interface 0/2

! End of the script file

Advertising
This manual is related to the following products: