Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

IOS XR Command to disable default cisco/cisco username/password

Hi All,

I was in the middle of hardening our router's VTY login (access-class VTYs, limiting the VTY to 2 sessions),  then I found out username: cisco and password: cisco is working even it's not shown in the configuration. Does anyone  know the command  to disable/remove this user account. I've tried the 'no username' command but it didn't work.

BTW, the router is an ASR9K, with XR asr9k-ce-4.2.3 IOS code. Thanks in advance!


RP/0/RSP1/CPU0:RTR#sh run | i username
Mon Jun  2 13:31:39.848 GMT
Building configuration...
username admin
RP/0/RSP1/CPU0:RTR#

  • Other Service Provider Subjects
1 ACCEPTED SOLUTION

Accepted Solutions
New Member

Hi, mark.decastro hope these

4 REPLIES
New Member

I meant, when I issued the

I meant, when I issued the 'no username cisco password cisco', I could still telnet using the cisco/cisco user account.

 

RP/0/RSP1/CPU0:RTR(config)#no username cisco password cisco
RP/0/RSP1/CPU0:RTR(config)#commit
Mon Jun  2 13:39:55.575 GMT

 

Still works after removing the cisco/cisco:

User Access Verification

Username: cisco
Password:
Last switch-over Fri Mar 28 12:10:48 2014: 9 weeks, 3 days, 1 hour, 30 minutes ago

RP/0/RSP1/CPU0:RTR#

New Member

Hi, mark.decastro hope these

New Member

Thanks a lot Salman, the 2nd

Thanks a lot Salman, the 2nd link helped me solved the issue. I had to go to admin mode and there I was able to edit the cisco user account. :-)

New Member

Nice to hear that problem has

Nice to hear that problem has been solved. 

 

Good luck

1030
Views
5
Helpful
4
Replies
This widget could not be displayed.