パスワードの初期化
起動時にブレーク信号を送信 romon 1 > confreg 0x2142 romon 2 > boot ....... Would you like to enter the initial configuration dialog? [yes/no] no Router> enable Router# Router# config t Router(config)# enable secret [password] Router(config)# config-register 0x2102 ^Z Router# Router# write
telnet ログイン時のパスワードの変更
(config)# line vty 0 15 [コンソールなら line console 0] (config)# password xxxxxxx (config)# login (config)# ^Z # write
ssh の使用
(config)# ip domain-name X.Y.Z (config)# crypto key generate rsa (config)# ip ssh version 2 (config)# username user_name password 0 xxxxx (config)# line vty 0 15 (config-line)# transport input telnet ssh [telnet を使用しないのなら telnetは省く] (config-line)# login local (config)# exit (config)# ^Z # write
- もし特権モードで直接ログインするのなら
(config)# username user_name privilege 15 password 0 xxxxxx
Counter: 256,
today: 1,
yesterday: 0
最終更新: 2020-08-25 (火) 18:16:45 (JST) (1351d) by iseki