Untuk men-setting router, digunakan PC atau notebook yang keduanya dihubungkan oleh kebel console.Jadi, PC disini yang dihubungkan dengan router berfungsi sebagai console.
Lapisan pada Router dibagi beberapa bagian,
- Exec
- Privilage
- Configured terminal (jika keluar dari ‘configured terminal’ dan di exit, maka akan ke privilege. Karena dalam configurasi, dan keluar ke tahap bawahnya agar setting yang dilakukan tidak hilang.
disini dijelaskan bagaiman men-create password pada lapisan
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#line console 0
Router(config-line)#password cisco -================>>> buat password Exec
Router(config-line)#login
Router(config-line)#exit
Router(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
Router#exit
=======================================================================================
Password:
Router>
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#line vty 0 4
Router(config-line)#password tkj =================== buat password privilage
Router(config-line)#login
Router(config-line)#exit
Router(config)#eneble password tkj
^
% Invalid input detected at ‘^’ marker.
Router(config)#enable password tkj
Router(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
Router#exit
Password:
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#enable secret class ==============>>> untuk mengubah password di privilage
Router(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
Router#disable
Router>exit
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#line console 0
Router(config-line)#password tempe ====================>>>> mengubah password di Exec
Router(config-line)#login
Router(config-line)#exit
Router(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
Router#exit