我接管了几个 Cisco 2960x 交换机。它们配置了 telnet 登录。现在 telnet 不是那么好(我的同事害怕 CLI 但可能也必须配置一些东西)我想切换到 SSH/GUI。两个端口都打开了,但我没有用户,所以我想通过 telnet 创建一个管理员用户。
输入sh run我得到用户输出的以下几行
sw11#sh run
Building configuration...
Current configuration : 7921 bytes
!
! Last configuration change at 12:06:05 UTC Mon Feb 4 2019
! NVRAM config last updated at 13:23:44 UTC Fri Jan 11 2019
!
version 15.0
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname sw11
!
boot-start-marker
boot-end-marker
!
enable secret 5 REDACTED
!
no aaa new-model
switch 1 provision ws-c2960x-24td-l
switch 2 provision ws-c2960x-24td-l
!
ip domain-list a.co.uk
ip name-server 172.24.0.21
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
<<<<<interfaces here>>>>>
!
ip http server
ip http secure-server
!
logging trap notifications
!
snmp-server community public RO
!
alias exec ifs show interface status
alias exec backup copy system:running-config tftp://serv06/sw11-confg
!
line con 0
line vty 0 4
password <unencrypted password>
login
line vty 5 15
password <unencrypted password>
login
!
ntp server 10.123.131.1
end
我创建新用户的程序是
通过telnet登录
enable
conf t
username admin privilege 15 password 7 <good password>
现在sh run再次运行,整个输出没有任何变化
通过 SSH 或 GUI 登录也不起作用。我在哪里做错了?我如何从这里开始?