前往顾页
以后地位: 主页 > 精通Office > Ubuntu教程 >

Cisco IOS权限品级

时候:2012-02-25 21:55来源:知行网www.zhixing123.cn 编辑:麦田守望者

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>


从level0进入level1提示暗码没有设置。
给level1设置暗码:

Router(config)#enable password level 1 0 ipcpu
% Converting to a secret. Please use "enable secret" in the future.

!这内里的0表示明文显现,但是IOS主动把password转为secret。

Router#enable 0
Router>en
Router>enable 1
Password:
Router>
号令以下:
Router>?
Exec commands:
access-enable Create a temporary Access-List entry
access-profile Apply user-profile to interface
clear Reset functions
connect Open a terminal connection
disable Turn off privileged commands
disconnect Disconnect an existing network connection
enable Turn on privileged commands
exit Exit from the EXEC
help Description of the interactive help system
lock Lock the terminal
login Log in as a particular user
logout Exit from the EXEC
mrinfo Request neighbor and version information from a multicast
router
mstat Show statistics after multiple multicast traceroutes
mtrace Trace reverse multicast path from destination to source
name-connection Name an existing network connection
pad Open a X.29 PAD connection
ping Send echo messages
ppp Start IETF Point-to-Point Protocol (PPP)
resume Resume an active network connection
rlogin Open an rlogin connection
show Show running system information
slip Start Serial-line IP (SLIP)
systat Display information about terminal lines
telnet Open a telnet connection
terminal Set terminal line parameters
traceroute Trace route to destination
tunnel Open a tunnel connection
udptn Open an udptn connection
where List active connections
x28 Become an X.28 PAD
x3 Set X.3 parameters on PAD

Router>


其实level1级别就是从console登录到路由router> 的最后级别

接上去我们设置几个用户,将15级的号令clear line放到1级:

Router(config)#username wss privilege 1 password wss
登岸后
Router>clear ?
% Unrecognized command
Router>en
Password:
Router#conf t
Router(config)#privilege exec level 1 clear line
再次用wss登岸
Router>clear line ?
<0-70> Line number
aux Auxiliary line
console Primary terminal line
tty Terminal controller
vty Virtual terminal

Router>clear line


IOS可利用privilege号令将1或15的号令抠出来,放到此中的几个级别。

我们平常平凡利用的enable实际就是enable 15的简写

Router(config)#enable secret level 15 0 ncist
再次登岸考证!
H3C装备的号令级别分4个: 拜候级0级、监控级1级、体系级2级、办理级3级。

顶一下
(1)
100%
踩一下
(0)
0%
------分开线----------------------------
标签(Tag):Linux 操纵体系 Unix Android
------分开线----------------------------
颁发评论
请自发遵循互联网相关的政策法规,严禁公布色情、暴力、革命的谈吐。
评价:
神色:
考证码:点击我更换图片
猜你感兴趣