Cisco switched telnet, http login configuration, and security reinforcement ACL instance

Source: Internet
Author: User

Cisco switched telnet, http login configuration, and security reinforcement ACL instance
1. cisco switch telnet logon configuration and Security Enhancement 1.1 configuration: (config) # Enable telnet to log on to line vty 0 4 # specify telnet to log on using the local password to authenticate login local # specify logon using the SSH mode transport input telnet # Set the username, permission, and password username kjh privilege 15 secret cisco # Delete Login User Switch (config) # no username zhangxy 1.2 security reinforcement: # access restriction ACL, which allows the specified IP address to log on. All IP addresses not listed in the list are deny; access-list 110 permit tcp 192.168.18.0 0.0.255 any eq telnetaccess-list 110 permit tcp 223. ***. 16.12 0.0.0.0 any eq t Elnetaccess-list 110 deny tcp any # apply ACLline vty 0 4access-class 110 in 2. cisco configuration http Login 2.1 configuration command: Enable: ip http server Disable: no ip http server function: Enable Web configuration; no operation of this command is to disable Web configuration. Command mode: global configuration mode User Guide: Web configuration provides users with an HTTP configuration interface. Web configuration is intuitive and easy to understand. This command is equivalent to selecting [2] in the main menu of Setup configuration mode for Web Server configuration. For example, enable the Web Server function to enable Web configuration. Switch (Config) # allow http login to ip http server # idle 600 http # connection timeout (#10 # automatic disconnection if no operation is performed within minutes) # life 86400 http # maximum connection time (up to 24 hours) # request 10000 http # maximum number of concurrent connections ip http timeout-policy idle 600 life 86400 request 10 # specify the local authentication ip http authentication local # Set the username, permission, and password username kjh privilege 15 secret cisco # disable http service use command no ip domain lookupno ip bootp serverno ip http secure-server

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.