从PC1上对交换机进行telnet登录测试
PC>telnet 192.168.1.1 //远程登录
Trying 192.168.1.1 ...Open
User Access Verification
Password: //vty密码
Switch>en
Password: //enable密码
Switch#show running-config
Building configuration...
Current configuration : 1063 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Switch
!
enable password 123456
!
!
!
interface FastEthernet0/1
!
......
interface FastEthernet0/24
!
interface GigabitEthernet1/1
!
interface GigabitEthernet1/2
!
interface Vlan1
ip address 192.168.1.1 255.255.255.0
!
!
line con 0
password asdf
login
!
line vty 0 4
password abc123
login
line vty 5 15
login
!
!
end
Switch#

浙公网安备 33010602011771号