Role-Based CLI Access
Packet Tracer 5.3可以做,较旧的IOS版本做不了。
1。启用AAA
2。设置enable密码(pass、secret均可)
使用方法
进入管理模式
Router#enable view root
Password:
Router#%PARSER-6-VIEW_SWITCH: successfully set to view ‘root’.
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#parser view test
!创建新视图test
Router(config-view)#%PARSER-6-VIEW_CREATED: view ‘test’ successfully created.
Router(config-view)#secret 0 ipcpu
Router(config-view)#?
View commands:
commands Configure commands for a view //设置可以执行的命令
default Set a command to its defaults
exit Exit from view configuration mode
no Negate a command or set its defaults
secret Set a secret for the current view
Router(config-view)# 阅读全文 »