本文共 2599 字,大约阅读时间需要 8 分钟。
jingshihai-01#jingshihai-01#config terminalEnter configuration commands, one per line. End with CNTL/Z.jingshihai-01(config)#enable secret 111111jingshihai-01(config)#endjingshihai-01#%SYS-5-CONFIG_I: Configured from console by consolejingshihai-01#show running-config Building configuration...Current configuration : 1204 bytes!version 12.2no service timestamps log datetime msecno service timestamps debug datetime msecno service password-encryption!enable secret 5 $1$mERr$gsT/Ol5GvccluWxu2cQ1I. (加密密码)!!
(即:加密密码的优先级大于明文密码)
jingshihai-01#config terminjingshihai-01#config terminal Enter configuration commands, one per line. End with CNTL/Z.jingshihai-01(config)#line console 0jingshihai-01(config-line)#password 123456jingshihai-01(config-line)#loginjingshihai-01(config-line)#endjingshihai-01#show running-config Building configuration...Current configuration : 1228 bytes!version 12.2no service timestamps log datetime msecno service timestamps debug datetime msecno service password-encryption!line con 0password 999999logging synchronousloginjingshihai-01#jingshihai-01#exit
jingshihai-01 con0 is now available
Press RETURN to get started.User Access VerificationPassword: (输入console密码)jingshihai-01>enablePassword: (输入特权模式密码)jingshihai-01#
jingshihai-01#jingshihai-01#config terminalEnter configuration commands, one per line. End with CNTL/Z.jingshihai-01(config)#interface vlan 1jingshihai-01(config-if)#ip address 192.168.1.1 255.255.255.0jingshihai-01(config-if)#no shutdownjingshihai-01(config-if)#%LINK-5-CHANGED: Interface Vlan1, changed state to upjingshihai-01(config-if)#endjingshihai-01#%SYS-5-CONFIG_I: Configured from console by consolejingshihai-01#show running-jingshihai-01#show running-config Building configuration...Current configuration : 1241 bytes!version 12.2no service timestamps log datetime msecno service timestamps debug datetime msecno service password-encryption!interface Vlan1 ip address 192.168.1.1 255.255.255.0!
jingshihai-01# show interface vlan 1Vlan1 is up, line protocol is down Hardware is CPU Interface, address is 00d0.ff07.0d95 (bia 00d0.ff07.0d95) Internet address is 192.168.1.1/24 MTU 1500 bytes, BW 100000 Kbit, DLY 1000000 usec
转载地址:http://effyl.baihongyu.com/