How to realize remote Control of cisco switch
Refer to the following command for details:
1 Local operation
(1) set the password for the privileged mode
Switch > enable// enters privileged mode
Switch#configure terminal / / enter configuration mode
Switch (config) # enable password 123456 / / set privileged mode password
(2) enable vlan1 and configure IP address
Switch (config) # interface vlan1 / / enter vlan1
Switch (config-if) # no shutdown / / enable vlan1
Switch (config-if) # ip address 192.168.1.100 255.225.255.0 / / configure valn1 with IP address
(3) set the password for vty (virtual line)
Switch (config) # line vty0 4 / / enter the vty0--4 interface
Switch (config-line) # password 456789 / / set password
2 remote control
Pc > telnet 192.168.1.100
Password 456789 (enter the password for vty)
Switch > en
Password 123456 (enter privileged mode password)
Switch#- completes the remote control, and the switch can be remotely controlled at the PC terminal.