Password in cisco router not svae?

I have cisco router 2800 my  "#show startup-config" or "#show run" in below of my question but the problem when I reload the router I can access without any password to enable mode how I can secure the router
i need simple security with user name cisco and password is 1234
 
DMAM10-DMAM10-IP127#show startup-config 
Using 923 out of 196600 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname DMAM10-DMAM10-IP127
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
ip cef
!
!
!
!
no ip domain lookup
multilink bundle-name authenticated
!
!
!         
username cisco privilege 15 secret 5 $1$QIrc$wNeC.aDI8DTvS4j8B.tO1
archive   
 log config
  hidekeys
!         
!         
!         
!         
!         
interface FastEthernet0/0
 no ip address
 duplex auto
 speed auto
!
interface FastEthernet0/0.208
 encapsulation dot1Q 208
 ip address 172.31.106.206 255.255.255.252
!
interface FastEthernet0/1
 ip address 172.16.5.1 255.255.0.0
 duplex auto
 speed auto
!
router bgp 65360
 no synchronization
 bgp log-neighbor-changes
 neighbor 172.31.106.205 remote-as 65000
 no auto-summary
!
ip forward-protocol nd
!
!
no ip http server
!
!
!         
control-plane
!         
!         
line con 0
line aux 0
line vty 0 4
 login    
!         
scheduler allocate 20000 1000
end

Open in new window

AymanDasaAsked:
Who is Participating?
 
Don JohnstonConnect With a Mentor InstructorCommented:
If you're trying to use the local account to authenticate, then you don't have the console and vty lines set to local authentication.

line con 0
 login local
line vty 0 4
 login local

Open in new window

0
 
totziCommented:
How do you connect to your router? With a console cable or via ethernet?

If you come over the network, you have to configure the vty lines probably:

ena
conf t
line vty 0 4
login local
end
wr

Open in new window

0
 
totziCommented:
For console:
ena
conf t
 
line con 0
login local
 
line aux 0
login local
 
end
wr

Open in new window

0
Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

 
AymanDasaAuthor Commented:
the new conf. is in below but its the same i can access to router without any password
--------------------------------------------------------------------------------
Cisco 2801 (revision 7.0) with 115712K/15360K bytes of memory.
Processor board ID FCZ1313135Z
2 FastEthernet interfaces
DRAM configuration is 64 bits wide with parity disabled.
191K bytes of NVRAM.
62720K bytes of ATA CompactFlash (Read/Write)

Press RETURN to get started!

DMAM10-DMAM10-IP127>enable
DMAM10-DMAM10-IP127#
-----------------------------------------------------------
!
!
control-plane
!
!
line con 0
line aux 0
line vty 0 4
 login local
!
scheduler allocate 20000 1000
end       

Open in new window

0
 
totziCommented:
How are you connected with your router?
Please try the second config
0
 
totziCommented:
You can find it out with:
show users

Open in new window

0
 
AymanDasaAuthor Commented:
I access throw serial-to-rj45-cable
serial-to-rj45-cable.jpg
0
 
AymanDasaAuthor Commented:
Dear totzi
DMAM10-DMAM10-IP127#show users 
    Line       User       Host(s)              Idle       Location
*  0 con 0                idle                 00:00:00   
 
  Interface    User               Mode         Idle     Peer Address

Open in new window

0
 
AymanDasaAuthor Commented:
its work mr donjohnston

THANKS FOR THAT
0
 
totziCommented:
I said this already...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.