Cli view description – H3C Technologies H3C S5120 Series Switches User Manual

Page 22

Advertising
background image

1-8

Table 1-2 Command conventions

Convention

Description

Boldface

The keywords of a command line are in Boldface. Keep keywords unchanged
when typing them in the CLI.

Italic

Command arguments are in italic. Replace arguments with actual values in the
CLI.

[ ]

Items (keywords or arguments) in square brackets [ ] are optional.

{ x | y | ... }

Alternative items are grouped in braces and separated by vertical bars. One is
selected.

[ x | y | ... ]

Optional alternative items are grouped in square brackets and separated by
vertical bars. One or none is selected.

{ x | y | ... } *

Alternative items are grouped in braces and separated by vertical bars. A
minimum of one or a maximum of all can be selected.

[ x | y | ... ] *

Optional alternative items are grouped in square brackets and separated by
vertical bars. Many or none can be selected.

&<1-n>

The argument(s) before the ampersand (&) sign can be entered 1 to n times.

#

A line starting with the # sign is comments.

H3C command lines are case insensitive.

Take the clock datetime time date command as an example to understand the command meaning

according to

Table 1-2

.

Figure 1-9 Read command line parameters

clock datetime

time date

Boldface: Keywords,

keep them unchanged

when typing them in the

CLI

Italic: Arguments,

replace them with

actual values in the

CLI

Type the following command line in the CLI of a device and press Enter. You set the device system time

to 10 o’clock 30 minutes 20 seconds, February 23, 2010.

<Sysname> clock datetime 10:30:20 2/23/2010

You can read any commands more complicated according to

Table 1-2

.

CLI View Description

CLI views are designed to meet various configuration requirements.

The following describes the most commonly used view operations: entering system view, exiting the

current view, and returning to user view.

Advertising