![D-Link DES-3226L Скачать руководство пользователя страница 28](http://html1.mh-extra.com/html/d-link/des-3226l/des-3226l_cli-command-reference_3319917028.webp)
28
D-Link DES-3226L Command Line Reference
Flow of Operation
This section describes the flow of operation for the CLI.
1.
Log into the CLI session and enter the User EXEC mode. In the User EXEC mode the $(exec)>
prompt displays on the screen.
You initiate the parsing process when you type a command and press
<ENTER>
. If you enter an incorrect
or unavailable command, the output message indicates where the offending entry begins. For instance,
if you enter
show arpp brief
(notice the extra
p
) instead of
show arp brief
, the output message
is
$(exec)> show arpp^ brief. $%Invalid input detected at '^' marker
. The message
shows you where the invalid input is detected. Figure 2 shows the layout of the output.
Figure 2.
Syntax Error Message
After you enter the required parameters, any additional parameters you enter are treated as optional
parameters. If any of the parameters are not recognized, a syntax error message is displayed.
2.
After the command is successfully parsed and validated, the control of execution goes to the corre-
sponding CLI callback function.
3.
For required parameters, the command tree extends until the required parameters make the leaf of
the branch. The callback function is only invoked when all the required parameters are provided.
For optional parameters, the command tree extends until the required parameters and the optional
parameters make the leaf of the branch. However, the callback function is associated with the node
where the required parameters are fetched. The call back function then takes care of the optional
parameters.
4.
Once the control has reached the callback function, the callback function has complete information
about the parameters you enter.
(exec) #show arpp brief
^
%Invalid input detected at ‘^’ marker.
Содержание DES-3226L
Страница 2: ......
Страница 11: ...List of Figures 11 List of Figures Figure 1 Mode based CLI 26 Figure 2 Syntax Error Message 28...
Страница 12: ...12 D Link DES 3226L Command Line Reference...
Страница 14: ...14 D Link DES 3226L Command Line Reference...
Страница 16: ...16 D Link DES 3226L Command Line Reference...
Страница 18: ...18 D Link DES 3226L Command Line Reference...
Страница 24: ...24 D Link DES 3226L Command Line Reference...
Страница 50: ...50 D Link DES 3226L Command Line Reference...
Страница 82: ...82 D Link DES 3226L Command Line Reference...
Страница 104: ...104 D Link DES 3226L Command Line Reference...
Страница 122: ...122 D Link DES 3226L Command Line Reference...