ABKYH 发表于 2018-7-17 11:27:48

cisco telnet开多用户权限及log查看

conf t  
int range f0/1-48
  
swi port-sec
  
switchport port-security mac-address sticky
  
switchport port-security maximum 1
  
switchport port-security violation restrict
  
exit
  
username yunwei privilege 15 secret test
  
username yunwei_1 privilege 7 secret test
  
username yunwei_1 privilege 7 secret test
  
username yunwei_2 privilege 7 secret test
  
username yunwei_3 privilege 7 secret test
  
username yunwei_4 privilege 7 secret test
  
username yunwei_5 privilege 7 secret test
  
privilege exec level 7 show
  
privilege exec level 7 enable
  
privilege exec level 7 conf t
  
privilege exec level 7 no shutdown
  
privilege exec level 7 show run
  
privilege exec level 7 show conf
  
privilege exec level 7 show vlan
  
privilege exec level 7 show port-security
  
privilege exec level 7 show port-sec add
  
privilege exec level 7 showport-security
  
privilege configure level 7 interface
  
privilege interface level 7 switchport port-security mac-address sticky
  
privilege interface level 7no
  
privilege interface level 7shutdown
  
logging on
  
logging trap debugging
  
logging host 192.168.6.105
  
ip access-list extended 101
  
permit ip host 192.168.6.126 any
  
deny ip any any
  
exit
  
line vty 0 4
  
access-class 101 in
  
login local
  
end
  
wr
页: [1]
查看完整版本: cisco telnet开多用户权限及log查看