Вопрос 1 к файлу 1.1.pka. Укажите две команды командной строки Cisco IOS, доступные из приглашения CustomerRouter#, которые не доступны из приглашения CustomerRouter>.
В режиме пользователя доступны следующие команды:
CustomerRouter>?
Exec commands:
<1-99> Session number to resume
connect Open a terminal connection
disconnect Disconnect an existing network connection
enable Turn on privileged commands
exit Exit from the EXEC
ipv6 ipv6
logout Exit from the EXEC
ping Send echo messages
resume Resume an active network connection
show Show running system information
ssh Open a secure shell client connection
telnet Open a telnet connection
terminal Set terminal line parameters
traceroute Trace route to destination
Перейдем в привилегированный командный режим и просмотрим доступные команды:
CustomerRouter>enable
CustomerRouter#?
Exec commands:
<1-99> Session number to resume
clear Reset functions
clock Manage the system clock
configure Enter configuration mode
connect Open a terminal connection
copy Copy from one file to another
debug Debugging functions (see also 'undebug')
delete Delete a file
dir List files on a filesystem
disable Turn off privileged commands
disconnect Disconnect an existing network connection
enable Turn on privileged commands
erase Erase a filesystem
exit Exit from the EXEC
logout Exit from the EXEC
more Display the contents of a file
no Disable debugging informations
ping Send echo messages
reload Halt and perform a cold restart
resume Resume an active network connection
|
|
setup Run the SETUP command facility
show Show running system information
ssh Open a secure shell client connection
telnet Open a telnet connection
terminal Set terminal line parameters
traceroute Trace route to destination
undebug Disable debugging functions (see also 'debug')
vlan Configure VLAN parameters
write Write running configuration to memory, network, or terminal
Выйдем из привилегированного режима и проверим работоспособность двух его команд в клиентском режиме:
CustomerRouter#exit
CustomerRouter con0 is now available
Press RETURN to get started.
CustomerRouter> clock
Translating "clock"
% Unknown command or computer name, or unable to find computer address
CustomerRouter> dir
Translating "dir"
% Unknown command or computer name, or unable to find computer address
Командная строка не может распознать введенные команды.
Проверим работоспособность этих же команд в привилегированном режиме:
CustomerRouter>enable
CustomerRouter# clock
% Incomplete command.
CustomerRouter# dir
Directory of flash:/
1 -rw- 13832032 <no date> c1841-ipbase-mz.123-14.T7.bin
32514048 bytes total (18682016 bytes free)
Командная строка распознает введенные команды.
Вопрос 2 к файлу 1.1.pka. Что означает <cr> в конце списка команд после запроса справки?
Вывод <cr> в примере указывает, что других параметров, которые можно было бы добавить к команде, в данной IOS нет.