Cisco command-nine

Creative Commons License Creative Commons
  1. Modified on Cisco equipment control port code: Rl (config) # Line Console 0
    Rl (config-Line) # Login
    Rl (config-Line) # password, Lisbon
    Rl (config) # enable password Lilbao
    Rl (config) # Login local
    Rl (config) # username student password cisco
  2. Provided the console and vty ports on Cisco equipment session timeout: Rl (config) Console Line # 0
    Rl (config-Line) Exec-timeout. 5 # 10
    Rl (config) Line # 0. 4 vty
    Rl (config-Line) # exec-timeout 5 2
  3. 在Cisco设备上设定特权级: R1(config)# privilege configure level 3 username
    R1(config)# privilege configure level 3 copy run start
    R1(config)# privilege configure level 3 ping
    R1(config)# privilege configure level 3 show run
    R1(config)# enable secret level 3 cisco
  4. Use the command privilege can be defined for use in this privileged command: router (config) # privilege mode level level command
  5. 设定用户特权级: router(config)# enable secret level 3 dallas
    router(config)# enable secret san-fran
    router(config)# username student password cisco
  6. Flag display: R1 (config) # banner motd 'unauthorized access will be prosecuted!
  7. 设置vty访问: R1(config)# access-list 1 permit 192.168.2.5
    R1(config)# line vty 0 4
    R1(config)# access-class 1 in
  8. 配置HTTP访问: Router3(config)# access-list 1 permit 192.168.10.7
    Router3(config)# ip http sever
    Router3(config)# ip http access-class 1
    Router3(config)# ip http authentication local
    Router3(config)# username student password cisco
  9. To enable HTTP access, type the following command: switch (config) # ip http sever
  10. With setCL1 start and verify port security on the switch on the set command: Switch (enable) set Port Security mod_num / port_num ... enable mac address
    Switch (enable) Show Port mod_num / port_num
    start and verify port security on the switch based CiscoIOS command : Switch (config-IF) Secure Port # [MAC-MAC-maximum-the MAC-COUNT COUNT]
    Switch MAC-address-# Show Table Security [type Module1 / Port]

Guess you like

Origin blog.csdn.net/weixin_44774638/article/details/91848252