Cisco配置命令如下 Switch>Switch>enable//进入特权模式Switch#configureterminal//切换全局配置模式Enterconfigurationcommands,oneperline.EndwithCNTL/Z.Switch(config)#interfacevlan2//创建并进入vlan 2Switch(config-if)#ipaddress192.168.75.5255.255.255.0//为vlan 2 配置管理ip地址Switch(config-if)#noshutdown//...
cisco SSH配置 Switch(config)#enabled password 123456 (明文密码,在配置文件里面能直接看的到) Switch(config)#enabled secret 123456 (加密的密码,在配置文件中不以明文显示) 一般采用这种 Switch(config)#vlan 1 (创建虚拟VLAN用于配置接口IP(全局配置模式下)) Switch(config)#interface vlan 1 (进入VLAN接口配...
Step 3 switch(config)# exit Exits global configuration mode. Step 4 (Optional) switch# show ssh key [dsa | rsa] [md5] (Optional) Displays the SSH server keys. For Cisco NX-OS Release 7.0(3)I4(6) and any later 7...
Would you like to enter the initial configuration dialog? [yes/no]: no Switch> #进入设备特权视图 Switch>enable Switch# #进入设备全局视图,在全局视图下可进行设备的配置 Switch#configure terminal #配置设备的名称 Switch(config)#hostname Cisco_SW ...
15177 views 0 helpful 10 replies ssh configuration hi everyone i am setting up a lab on cisco packet tracer to create an access via ssh. i created both a dns server (from which the encryption keys will be generated via ssh), two pcs and a switch in the center. on the switch i ...
Building configuration... 这时候用show run命令可以看到: ip subnet-zero no ip finger ip domain-name jx.cn.net ip name-server 202.101.224.68 ip name-server 202.101.226.68 ip ssh time-out 120 ip ssh authentication-retries 3 用命令show ip ssh也能看到: ...
when you have issue of the switch, are you able to SSH to parent switch or even parent switch not able to SSH ? how does your STP configured ? who is root in the Daisy chain ? BB *** Rate All Helpful Responses *** How to Ask The Cisco Community for Help 0 Helpful Reply ...
一般交换机较多的可以设置个方便是识别的名字Switch(config)#hostname sw2960Switch(config)#ip domain-name cisco.com (//配置ssh的时候经理避免使用默认名称否则报错)Switch(config)#crypto key generate rsa (//生成一个rsa算法的密钥,密钥长度为默认长)Switch(config)#ip ssh time-out 120 (//设置ssh时间为...
rtp-evergreen#/opt/CISssh/bin/ssh -c 3des -l cisco -v 10.13.1.99 SSH Version 1.2.26 [sparc-sun-solaris2.5.1], protocol version 1.5. Compiled with RSAREF. rtp-evergreen: Reading configuration data /opt/CISssh/etc/ssh_config rtp-evergreen: ssh_connect: getuid 0 geteuid 0 anon 0 ...
cisco端口镜像 配置镜像源,可以是端口也可以是Vlan Switch(config)#monitor session 1 source interface gigabitEthernet 0/2 - 5 rx 上面命令最后一个参数: both 监听双向数据,默认为both rx 接收 tx 发送 配置镜像目的端口 Switch(config)#monitor session 1 destination interface gigabitEthernet 0/6 ...