zoukankan      html  css  js  c++  java
  • cisco路由交换常用命令

    登录超时设置

    route#configure terminal
    route(config)#line vty 0 4
    route(config-line)#exec-timeout 10 0 #登录路由器以后,不做任何操作的情况下,10分0秒后与路由器断开连接(默认就是10分钟)

    登录次数限制与超过次数锁定时间

    route#configure terminal
    route(config)#login block-for 1800 attempts 10 within 600 #600秒内,登录10次错误的情况下,锁定1800秒

    任何用户错误10次,设备锁定30分钟,所有用户都不能登录

    创建一个用户audit 级别为2 密码为password

    route#configure terminal
    route(config)#username audit privilege 2 secret password

    将show logging命令级别调整为2

    route#configure terminal
    route(config)#privilege exec all level 2 show logging

  • 相关阅读:
    字典列表元组的推导式使用方法
    算法之排序
    闭包与装饰器
    循环(打印一些小东西)
    iOS内存小知识
    NSset
    字典
    NSNumber
    NSString
    NSArray
  • 原文地址:https://www.cnblogs.com/luniverseg/p/15545055.html
Copyright © 2011-2022 走看看