АМАТЕК AN-SGM28P24-400 [18/322] The role of cli model

АМАТЕК AN-SGM28P24-400 [18/322] The role of cli model
17 / 322
1.2.1 The role of CLI model
There are two main functions of the CLI model
Convenient classification of usersPrevent unauthorized users from using CLI illegally
Users can be divided into two levelsThat's the two categoryCommon users and privileged
users
Ordinary users can only see some of the running state of the switchUse only display
commands
Privileged users can not only view the running state of the switch, but also maintain and
configure the switch to change the behavior of the switch
Convenient for users to configure switches
Switches have a lot of configuration, and if you put all the configuration in one mode, it's
very inconvenient for the user to use. To this end, the establishment of multiple modes on the CLI,
the similar commands placed in a mode, user-friendly understanding and use. For example, put the
commands associated with VLAN in the VLAN configuration mode.Put the interface related
commands in the interface configuration mode
1.2.2 Identification of CLI mode
The CLI prompt is the identity of the CLI modeWhen the user is using CLIBy looking at
the CLI prompt, you know the CLI model that you're currently in
The CLI prompt consists of two partsPart identifies the hostAnother part identifies
patterns
The host part of the CLI prompt uses the hostname of the systemThe host name of the
system is configurablethe default is SwitchSo the CLI prompt defaults to Switchthe CLI
descriptor mentioned later generally uses the default host name
The schema section in the CLI prompt is not configurableeach pattern has its own
corresponding pattern stringsome pattern strings are immutablesome pattern strings are
mutableIf the pattern string of the VLAN configuration pattern is fixed, the pattern string of the
interface configuration pattern is variable
For example

Содержание

Похожие устройства

Скачать
Случайные обсуждения