Building configuration...
!
version 12.4
service timestamps debug datetime
service timestamps log datetime
service password-encryption
!
hostname AAA-SER
!
boot-start-marker
boot-end-marker
!
enable password 7 030F
!
aaa new-model
!
!
aaa authentication login default local //登录验证缺省本地
aaa authentication login console line //名为con的验证列表,使用line的密码列表
aaa authorization exec default local //授权缺省列表
!
aaa session-id common
!
resource policy
!
clock timezone China 8
ip subnet-zero
!
!
ip cef
no ip domain lookup
!
!
no ip bootp server
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
username admin privilege 15 password 7 045802150C2E //创建15级的用户
username user password 7 01100F175804 //创建普通用户名和密码
!
!
!
!
!
!
interface Loopback0
ip address 1.1.1.1 255.255.255.255
!
interface FastEthernet0/0
no ip address
shutdown
duplex half
!
interface Serial1/0
no ip address
shutdown
serial restart-delay 0
no fair-queue
!
interface Serial1/1
ip address 202.1.1.1 255.255.255.252
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
interface FastEthernet2/0
ip address 10.1.1.11 255.255.255.0
shutdown
duplex auto
speed auto
!
interface FastEthernet2/1
no ip address
shutdown
duplex auto
speed auto
!
ip classless
!
no ip http server
no ip http secure-server
!
!
!
!
!
!
control-plane
!
!
!
!
!
!
gatekeeper
shutdown
!
alias exec s cop run startup-config
alias exec c sh run
alias exec a sh ip int bri
alias exec r sh ip route
!
line con 0
exec-timeout 0 0
password 7 110A1016141D5A5E57
login authentication console //将验证列表加载到console端口
stopbits 1
line aux 0
stopbits 1
line vty 0 4
!
!
end
User Access Verification
Password:
AAA-SER#

















