Annotations, Annotations -4 – NETGEAR 7300 Series User Manual

Page 50

Advertising
background image

User Manual for the NETGEAR 7300 Series Layer 3 Managed Switch Software

5-4

Command Line Interface Structure

202-10009-01_060204

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