Switch(config)# enable cret 密码 |
Switch(config)#enable cret level 特权级别 特权级别密码 |
Switch(config)#urname 用户名 password 用户密码 |
Switch(config)#urname 用户名 cret 用户密码 |
Switch(config)# privilege 模式 level 特权级别 命令关键字 |
1 | Switch(config)# Privilege configure level 5 ntp | 配置特权级别5允许在在全局配置模式下使用ntp命令。 |
2 | Switch(config)# Privilege exec level 2 vlan databa | 配置特权级别2允许创建新的VLAN命令。 |
3 | Switch(config)# privilege interface level 2 switchport access vlan | 配置特权级别2允许使用把某端口划归某VLAN的命令 |
Step1 | Switch# Privilege exec level 2 vlan databa |
Step2 | Switch# Privilege exec level 5 vlan databa | 石泉
Step3 | Switch# Privilege exec level 3 vlan databa |
Switch(config)#urname 用户名 privilege 特权级别 |
Switch(config)#urname 用户名 privilege 特权级别 password 用户密码 |
特权级别 |
本地用户 |
桓玄相应用户权限 |
用户授权 |
多级权限配置 |
!!!filename: Sample !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!请首先进入交换机en特权模式,然后执行本配置脚本!!! 县中!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!注意: 请根据实际情况修改文中黑体带下划线的部分!!! !进入配置模式 configure terminal !设置交换机enable密码 enable cret jeming !设置交换机主机名 hostname Switch !设置交换机IP地址 interface vlan 1 ip address 10.10.10.1 255.255.255.0 no shutdown exit !设置Telnet登录密码 line vty 0 15 password 12345 login exit !新建用户ur,无密码,赋予level11特权级 urname ur privilege 11 nopass !配置权限(可建立VLAN,可进行基于端口的VLAN划分) privilege EXEC level 11 vlan databa privilege EXEC level 11 configure terminal privilege configure level 11 interface privilege interface level 11 switchport mode access privilege interface level 11 switchport access vlan privilege interface level 11 no shutdown !退出配置模式 exit !保存配置信息 write !重启动交换机 reload 演员用英语怎么说 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 税收征管法!!! 结束 !!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
本文发布于:2023-07-07 20:05:40,感谢您对本站的认可!
本文链接:https://www.wtabcd.cn/fanwen/fan/89/1072041.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
留言与评论(共有 0 条评论) |