7000 Series L3 Managed Switch Reference Manual for Software v2.0

Table 1. Network Address Syntax

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

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.

Entering '@' in front of any command will allow the user to reference any root command from anywhere in the tree. For example, '>config router>@show arp table' will display the ARP table even though the command was not executed from the root level.

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).

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.

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

CLI 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

Command Line Interface Syntax

5-3

Page 41
Image 41
NETGEAR L3 manual CLI Annotations, MacAddr