侧边栏壁纸
  • 累计撰写 21 篇文章
  • 累计创建 62 个标签
  • 累计收到 0 条评论

目 录CONTENT

文章目录

cisco交换机管理IP及密码设置

余上
2022-10-14 / 0 评论 / 0 点赞 / 52 阅读 / 0 字 / 正在检测是否收录...
syisan>
syisan>en             用户模式进入特权模式
syisan#conf t        特权模式进入配置模式      
Enter configuration commands, one per line.  End with CNTL/Z.
syisan(config)#username syisan password cisco   设置更改用户名为syisan和密码为cisco   
syisan(config)#enable password 234567             设置enable密码            
syisan(config)#line vty 0 4      开启telnet允许5个用户登陆
syisan(config-line)#password 234567     设置telnet密码为234567     
syisan(config-line)#exit          退出到特权模式      
%SYS-5-CONFIG_I: Configured from console by console
syisan#cop r s                   保存配置文件      
Destination filename [startup-config]?
Building configuration…
[OK]                                       保存成功

Cisco2960 telnet密码修改:

(config)#line vty 0 4

(config)#password XXXX

首先,如果你要在别的vlan中也能够telnet那么 必须要有三层设备,同时,在三层设备上的ip routing 必须开启,开启方式是,在config模式下 输入命令 ip routing 即可,然后就可以在任何一个vlan中用交换机的ip地址来登陆 具体方法如下

1,设置管理ip 就用来登陆交换机的ip

conf t

int vlan 1

ip add

2.必须要设置enalbe密码 否则telnet时 会提示 交换机没有设置密码 无法telnet

conf t

enab pass ****

3. 然后进入到 vty模式下 开启交换机的远程telnet功能

conf t

line vty 0 4

pass ****

login

0
  1. 支付宝打赏

    qrcode alipay
  2. 微信打赏

    qrcode weixin
    1. 支付宝打赏

      qrcode alipay
    2. 微信打赏

      qrcode weixin

评论区