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接口配...
登陆交换机,进入全局配置模式 SWITCH>en Password: SWITCH# SWITCH#config t Enter configuration commands, one per line. End with CNTL/Z. SWITCH(config)# #配置登陆用户及密码/进入全局配置密码 SWITCH(config)# username admin secret PASSWORD SWITCH(config)# enable secret PASSWORD #配置交换机SSH SWITCH(c...
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 ...
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...
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 configured the vlan 1 (the only vlan), with ip ...
一般交换机较多的可以设置个方便是识别的名字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时间为...
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 ...
Would you like to enter the initial configuration dialog? [yes/no]: no Switch> #进入设备特权视图 Switch>enable Switch# #进入设备全局视图,在全局视图下可进行设备的配置 Switch#configure terminal #配置设备的名称 Switch(config)#hostname Cisco_SW ...
Switch#configure terminal Enters the global configuration mode. hostnamehostname Example: Switch(config)#hostname your_hostname Configures a hostname and IP domain name for yourSwitch. Note Follow this procedure only if you are configuring theSwit...