ping-y

PC直接连在交换机端口上,PC的ip地址是:192.168.1.1/24

在交换机的操作步骤如下:

1.设置交换机管理ip

Switch#conf t
Switch(config)#int vlan 1
Switch(config-if)#ip add 192.168.1.2 255.255.255.0
Switch(config-if)#no sh

2.设置交换机enable密码

Switch(config)#enable secret level 15 cisco

3.设置域名

Switch(config)#ip domain-name rtp.cisco.com

4.设置SSH key

Switch(config)#crypto key generate rsa general-keys modulus 1024

5.设置允许SSH

Switch(config-line)#transport input ssh
Switch(config-line)#login local

6.建立本地用户名和密码

Switch(config)#username 12345 privilege 15 secret abcde

然后用SecCRT连接:用户名12345,密码abcde

 

分类:

技术点:

相关文章:

  • 2021-09-25
  • 2021-10-17
  • 2021-11-26
  • 2022-01-01
  • 2022-01-01
  • 2021-06-04
  • 2021-12-15
  • 2021-11-17
猜你喜欢
  • 2021-11-07
  • 2021-11-07
  • 2021-11-07
  • 2021-11-07
  • 2021-11-07
  • 2021-11-07
  • 2021-11-07
相关资源
相似解决方案