Cisco PT Simulation Lab (3) vswitch Telnet remote login configuration, ciscotelnet

Source: Internet
Author: User

Cisco PT Simulation Lab (3) vswitch Telnet remote login configuration, ciscotelnet

Cisco PT Simulation Lab (3) vswitch Telnet Remote logon Configuration

Objective: To master the vty line configuration of a vswitch and implement remote management of the vswitch through telnet.

Tutorial Background: After you configure the switch for the first time in the equipment room, you can remotely manage the switch in the office or on a business trip. Configure the vswitch.

Technical Principles:

Configure the management IP address of the vswitch to ensure that the IP address of the computer and the management IP address of the vswitch are in the same CIDR block.

In a layer-2 switch, IP addresses are only used to remotely log on to the Management Switch. They are not required for the operation of the switch. However, if no management IP address is configured, the switch can only use the control port console for local configuration and management.

By default, all ports of a vswitch belong to VLAN1, and VLAN1 is automatically created and managed by the vswitch. Each VLAN has only one active management address, which is disabled by default and needs to be opened manually.

The permission levels on Cisco devices are from 0 ~ 15. The default Telnet mode is 1, and the maximum permission is 15. (Privilege level [0-15])

The login function is enabled for the vty line by default, which means you must set a password for it to log on.

Password 7 ***** cannot be used to set plain text. For example, if you set enable password cisco and encryption the service password-encryption command to enable encryption, you can see the enable password 70822455D0A16 in the configuration, where 0822455D0A16 is the ciphertext of the plaintext cisco encrypted.

It is equivalent to setting enable password 70822455D0A16 without enabling global password encryption. This ciphertext can be copied and used directly when backup configuration is restored. We can see that when you set password 7 *****, the password should be entered later.

Lab devices: Switch_2960, 1 PC, 2 configuration lines, and direct connections.

Tutorial topology:

Tutorial steps:

Enter VLAN port mode (interface vlan 1)

Configure the vswitch management ip address (IP address ***** ip ****** submask **)

Select a specific line configuration mode (line vty [0-15] [0-15])

Configure the logon password (password ******)

Manually enable VLAN1 port (no shutdown)

Connect the two PCs to the vswitch, and ensure that the IP address and the vswitch management IP address are in the same CIDR block.

PC0: 192.168.1.2255.255.255.0192.168.1.1
PC1: 192.168.1.3255.255.255.0192.168.1.1
PC0 (under a Super Terminal) Switch> enSwitch # conf tSwitch (config) # interface vlan 1 // Switch to port mode (config-if) # ip address 192.168.1.1 255.255.255.0 // set the Switch management ip address Switch (config-if) # no shutdown // open this port Switch (config-if) # exitSwitch (config) # line vty 0 // enter the vty line configuration mode Switch (config-line) numbered 0) # password cisco0 // set the logon password Switch (config-line) where the vty line number is 0 # exitSwitch (config) # line vty 1 4 // enter the Id 1 ~ 4. vty line configuration mode Switch (config-line) # password cisco1 // set the logon password Switch (config-line) with the vty line number 1) # privilege level 15 // set the line permission level to 15 Switch (config-line) # exitSwitch (config) # service password-encryption // enable the global password encryption function Switch (config) # ^ z // shortcut key (Ctrl + z): Switch to privileged mode # show r
PC0 (command prompt CMD) ping 192.168.1.1 // link to telnet 192.168.1.1 // enter the password: cisco0Switch>
PC1 (command prompt CMD) ping 192.168.1.1 // link to telnet 192.168.1.1 // enter the password: cisco1Switch # show users // display the console in use and the vtp lines in all connections

Lab environment: Windows 7, Cisco PT 6.3

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.