Annotations, Annotations -4 – NETGEAR 7200 Series Layer 2 Managed Switch Software User Manual

Page 24

Advertising
background image

User Manual for the NETGEAR 7200 Series Layer 2 Managed Switch Software

3-4

Command Line Interface Syntax

202-10010-01

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