Cisco switch initialization Management

Source: Internet
Author: User
Tags ssh access cisco switch

Cisco switch initialization Management
To properly manage and simplify troubleshooting, the following parameters should be configured during initial installation: 1. system name 2. manage ip configuration 3. clock and ntp settings 4. telnet and SSH access configuration 5. DNS6. system log 7. snmp is used to configure the switch system name on the cisco ios switch: switch (config) # hostname-stringEg: Sw4thF1Ro2, Room 2, 4 th floor, abbreviated name: Router (config) # banner login $ enter user and password # $ manage ip configuration: switch (config-if) # ip address ip-address subnet-mask IP address management address occupies a specific VLAN layer 2nd switch and does not perform any routing selection function, therefore, you must configure the default gateway ip address for the layer-3 switch to reach a subnet other than the local subnet. Run the following command: switch (config) # ip de Fault-gateway ip-address in a layer-2 Switch Based on cisco catos, these switches use a specific management interface, that is, sc0 interface. Sc0 interface configuration parameters include ip address, subnet mask, and vlanset interface sc0 [vlan] [ip-address] [netmask broadcast] set ip route default gateway [primary] clock and NTP settings: configure the time on the cisco ios switch. Use the following command to set the date and time zone. The clock set command has two replaceable formats: clock set hh: mm: ss day month yearclock set hh: mm: ss month day yearclock timezone zone hours-offset [minutes-offset] clock set is an executable command; the clock timezone command is a global configuration command. zone represents the time zone (EST/PST) hours-offset represents the offset hours between the current time zone and UTC. For example: switch # c Lock set 12:30:00 may 1 2005 NTP helps to synchronize all system clocks of Enterprise Neide. To synchronize clock between cisco ios-based switches and NTP servers, you need to configure the following command: switch (config) # ntp server ip-address Telnet and SSH in order to be able to configure the virtual terminal password and enable password on the ios-based switch (config-line) # password switch (config) # enable password to enable SSH on ios switches, use the following command to generate the key required for SSH: switch (config) # crypto key generate rsa Eg: Router (config) # hostname

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.