cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
837
Views
5
Helpful
4
Replies

"no service password-encryption"での復号

tomo456
Level 1
Level 1


1度、"service password-encryption"を入力すると、
"no service password-encryption"と入力しても、running-configでは暗号されたままになってしまうのですか?

復号された状態のrunning-configを表示させる方法はありませんでしょうか?

機器によっては復号されるものもあるのでしょうか?

 

packet tracerを使用し、2960-24TTで以下のコマンドを打ちました。

----------------------------------------
Switch>
Switch>ena
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#
Switch(config)#ena
Switch(config)#enable pass
Switch(config)#enable password cisco
Switch(config)#
Switch(config)#service password-encryption
Switch(config)#no service password-encryption
Switch(config)#
Switch(config)#end
Switch#
%SYS-5-CONFIG_I: Configured from console by console

Switch#
Switch#sh run
Building configuration...

Current configuration : 1109 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Switch
!
enable password 7 0822455D0A16
!!
!
-----------------------------


宜しくお願い致します。

4 Replies 4

Hi,

 

once you encrypted the password, you cannot decrypt it by entering 'no service password-enc'. you can use decryption tools to view password if you need.

 

regards,

Please rate this and mark as solution/answer, if this resolved your issue
Good luck
KB

thank you for answering

tomo456
Level 1
Level 1
thank you for answering

Hi,

welcome. please mark answer helpful and and as answer if it is helped.

regards,
Please rate this and mark as solution/answer, if this resolved your issue
Good luck
KB
Review Cisco Networking for a $25 gift card