Use Telnet to manage network devices
This management mode requires the configuration of commands on the routing and switching devices, which is less than the command configured in the SSH management mode. The following figure uses the topology of Figure 1 as an example to configure the vswitch so that you can manage the PC and use Telnet to manage the configuration of Cisco 4506.
The management VLAN 20 configuration on Cisco 4506 and Cisco 3750 is the same as the IP address of the PC, as well as the configuration of the port connected to Cisco 3750 and the configuration managed by SSH in "1, as shown below.
Configuration on Cisco 4506:
1. interface GigabitEthernet3/1
2. switchport trunk encapsulation dot1q
3. switchport trunk allowed vlan 20, 30-300
4. switchport mode trunk
5. interface Vlan20
6. ip address 10.10.20.1 255.255.0
Configuration on Cisco 3750:
1. interface GigabitEthernet1/0/1
2. switchport access vlan 20
3. switchport mode access
4. interface GigabitEthernet1/0/25
5. switchport trunk encapsulation dot1q
6. switchport trunk allowed vlan 20, 30-300
7. switchport mode trunk
8. interface Vlan20
9. ip address 10.10.20.2 255.255.255.0
Use Telnet to manage the device and perform the following configuration on Cisco 4506:
1. line vty 0 15
2. password 7 525E0305E3595551E4
3. login
After the preceding commands are configured on Cisco 4506 and Cisco 3750, you can also use the SecureCRT software in the PC to Telnet to 4506 for management and configuration. In SecureCRT, only the IP address 10.10.20.1/24, 6 of the Cisco 4506 IP address must be configured:
Figure 6 parameter configuration on SecureCRT virtual terminal software
Of course, you can also run "telnet 10.10.20.1" directly in the "command line" of the PC, or Telnet to the Cisco 4506 switch for management and configuration.