与‘IOS’有关的日志

Cisco IOS基于角色的CLI视图

admin 发表于 网络技术 分类,标签: , , , ,
0

Role-Based CLI Access

Packet Tracer 5.3可以做,较旧的IOS版本做不了。

要使用基于角色CLI视图,需满足:

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)# 阅读全文 »

Cisco IOS权限等级

admin 发表于 网络技术 分类,标签: , ,
0

Cisco IOS的权限等级有三个level0、level1、level15
其中level0有5条命令,level1有大概40条命令,其余的都在level15中。
高等级可以调用低等级的命令。

用户EXEC模式-权限等级1   特权EXEC模式-权限等级15

我们先看level0的命令:
Router#enable 0
Router>?
Exec commands:
  disable  Turn off privileged commands
  enable   Turn on privileged commands
  exit     Exit from the EXEC
  help     Description of the interactive help system
  logout   Exit from the EXEC
Router>enable 1
% No password set
Router> 阅读全文 »