信息安全课程笔记1

1  enable algorithm-type md5 | scrypt | sha 256 secret  对应7类8类9类

2  security passwords min-length :密码设置最小长度

3  设置用户和密码可以设置成7类8类9类,exec-timeout 最大超时工作时限,

4:dir nvram 查看文件及大小   w(wirte)存文件和权限

5:删除系统文件命令:erase startup-config 

 

补充:

1:hostname r1
2:R1(config)#username xxx secret ppp
3:R1(config)#ip domain-name baidu.com 设置域名
4:R1(config)#crypto key generate rsa 加密方式
5:How many bits in the modulus [512]: 1024
6:R1(config)#line vty 0 4
7:R1(config-line)#login local
8:R1(config-line)#transport input ssh/all

[Connection to 192.168.1.1 closed by foreign host]
C:\>ssh -l xxx 192.168.1.1
Open
Password:

You can`t login here

R1>ena
Password:


R1(config)#ip ssh time-out 60  登陆中超时时间
R1(config)#ip ssh version 2  
R1(config)#ip ssh authentication-retries 4  登录次数
R1(config-line)#exec-timeout 3 0 登录后无操作超时时间

R1#show ip ssh
R1#show crypto key mypubkey rsa  查看秘钥

R1(config)#login on-failure log 生成日志
R1(config)#login on-success log 生成日志
R1(config)#login delay 3 登录等待时间
R1(config)#ip access-list standard xpl 建立访问控制列表

R1(config-std-nacl)#permit 192.168.2.10 log
R1(config-std-nacl)#permit 192.168.2.10 0.0.0.255 log 允许访问的ip地址或者管理员
R1(config)#login quiet-mode access-class xpl 设置静默模式
R1(config)#security authentication failure rate 50 log 超出登录失败率 就生成日志。

Router#show privilege 查看等级
Router(config)#enable secret level 5 123456
Router(config)#privilege exec level 6 show running-config 设置权限等级和增加命令


 

转载于:https://www.cnblogs.com/xpl520/p/11465086.html

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值