#Change the tftp get command in user view (shell) from level 3 to level 0. (Originally, only level 3 users can change the level of a command.)

<device> system-view

[device] command-privilege level 0 view shell tftp

[device] command-privilege level 0 view shell tftp 192.168.0.1

[device] command-privilege level 0 view shell tftp 192.168.0.1 get

[device] command-privilege level 0 view shell tftp 192.168.0.1 get bootrom.btm

After the above configuration, general Telnet users can use the tftp get command to download file bootrom.btm and other files from TFTP server 192.168.0.1 and other TFTP servers.

CLI Views

CLI views are designed for different configuration tasks. They are both correlated and distinguishing. For example, once a user logs into a device successfully, the user enters user view, where the user can perform some simple operations such as checking the operation status and statistics information of the device. After executing the system-viewcommand, the user enters system view, where the user can go to other views by entering corresponding commands.

Table 1-1 lists the CLI views provided by the device, operations that can be performed in different CLI views and the commands used to enter specific CLI views.

Table 1-1 CLI views

 

View

 

 

Available

 

 

Prompt example

 

 

Enter method

 

 

Quit method

 

 

 

 

operation

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Display

 

 

 

 

 

 

 

Execute the

 

 

 

 

operation

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

quit

 

User view

 

status and

 

<device>

 

Enter user view once logging

 

 

 

statistical

 

 

into the device.

 

command to

 

 

 

 

 

 

 

 

 

log out of the

 

 

 

 

information of

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

device.

 

 

 

 

the device

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Configure

 

 

 

 

 

 

 

Execute the

 

System

 

 

[device]

 

Execute the system-view

 

quit or return

 

 

system

 

 

command to

 

view

 

 

 

command in user view.

 

 

parameters

 

 

 

 

return to user

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

view.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1-4

Page 11
Image 11
3Com WX3000 operation manual CLI Views, Display Execute Operation, Quit or return