YY-LIN 发表于 2018-7-15 14:58:36

Cisco IOS基本安全配置详

line vty 0 4  access-class 1 in 使用acl 1来控制telnet的源地址
  login
  password 0 rererkerlf    配置telnet密码
  exec-timeout 2 0       配置虚终羰超时参数,这里是2分钟
  !
  line con 0
  login
  password 0 aeroer 配置console口的密码
  exec-timeout 2 0      配置console口超时参数,这里是两分钟
  !
  line aux 0
  transport input none
  password 0 asfdkalsfj    
  no exec
  exit
  banner motd #        配置提示信息
  This is a private system operated for UltraTeam.
  Authorization from UltraTeam is required to use this system
  Use by unauthorized persons is prohibited
  #
  !
  clock timezone PST-8 设置时区
  ntp authenticate       启用NTP认证
  ntp authentication-key 1 md5 uadsf 设置NTP认证用的密码,使用MD5加密。需要和ntp server一致
  ntp trusted-key 1          可以信任的Key.
  ntp acess-group peer 98 设置ntp服务,只允许对端为符合access-list 98条件的主机
  ntp server 192.168.0.1 key 1     配置ntp server,server为192.168.0.1,使用1号key做为密
页: [1]
查看完整版本: Cisco IOS基本安全配置详