Cisco (Cisco)-Switch initialization configuration

Source: Internet
Author: User

First, experimental purpose: To complete the initialization of a switch configuration, and can be logged on with telnet

Second, the topology diagram is as follows:

Third, the experimental steps

1. Create a switch (S1) and a host (PC1)

2. Set the IP address to the PC1 host First:

3,S1 configuration:

Enter the S1 command line interface

switch>enable --Entering privileged mode

Switch#configure Terminal --Enter global configuration mode

switch (config) #hostname S1 --Modify switch host name S1(easy to identify)

S1 (config) #enable password 111 --Set plaintext admin password to 111

S1 (config) #enable secret 222 --Set the encryption password to 222(the plaintext will not work after the encryption password is set)

S1 (config) #line vty 0 5 --Set the number of virtual terminals (typically 5 , up to three)

S1 (config-line) #password 333 --Set the Telnet password to 333

S1 (config-line) #login --login password must be configured after login , if not, remote login password is invalid

S1 (config-line) #exit --return to the previous level (global configuration mode)

S1 (config) #interface vlan 1 --Enter VLAN 1 Port

S1 (config-if) #ip address 192.168.1.1 255.255.255.0 --Configure the vlan1 with an IP address so PC1 and S1 can ping interoperability

S1 (config-if) #no shutdown --activating VLAN 1 Port

S1 (config-if) #end --Return to privileged mode

s1#copy running-config startup-config --Save configuration (from memory RAM to hard disk NVRAM)

s1#show running-config --View switch configuration

4. Go to PC1 host command line interface

(1) First check whether interoperability:

# ping 192.168.1.1

(2)telnet Login

# telnet 192.168.1.1 --telnet telnet S1 switch

Password 333 --Enter password

#S1 --Log in successfully

Cisco (Cisco)-Switch initialization configuration

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.