Kali ini saya mau memberikan contoh sederhna dari penerapan/implementasi router cisco yang menghubungkan 2 network menggunakan router 2600 dengan interface serial. Topologinya seperti gambar-1 dibawah ini :
Gambar-1
Langkah-langkah Konfigurasi :
Hubungkan computer anda ke Console Router A (2600A) dengan Hyperterminal untuk memulai mengkonfigurasi passwords, interface deskripsi, dan IP addresses dari interface yang digunakan. Selanjutnya lakukan configurasi seperti dibawah ini :
Router>enable
Router#config t
Router(config)#hostname 2600A
2600A(config)#enable secret cisco
2600A(config)#line console 0
2600A(config-line)# password cisco
2600A(config-line)# login
2600A(config-line)#line aux 0
2600A(config-line)# password cisco
2600A(config-line)# login
2600A(config-line)#line vty 0 4
2600A(config-line)# password cisco
2600A(config-line)# login
2600A(config-line)#interface fastethernet 0/0
2600A(config-if)#ip address 172.16.10.254 255.255.255.0
2600A(config-if)#description connection to Network 172.16.10.0
2600A(config-if)#no shutdown
2600A(config-line)#interface serial 0/0
2600A(config-if)#ip address 172.16.30.1 255.255.255.0
2600A(config-if)#description connection to 2600B
2600A(config-if)#clock rate 64000
2600A(config-if)#no shutdown
2600A(config-if)#exit
2600A(config)#banner motd #
This is the 2600A router
#
2600A(config)#exit
2600A#copy run start
2600A#
Hubungkan computer anda ke Console Router B (2600B) dengan Hyperterminal untuk memulai mengkonfigurasi passwords, interface deskripsi, dan IP addresses dari interface yang digunakan. Selanjutnya lakukan configurasi seperti dibawah ini :
Router>enable
Router#config t
Router(config)#hostname 2600B
2600B(config)#enable secret cisco
2600B(config)#line console 0
2600B(config-line)# password cisco
2600B(config-line)# login
2600B(config-line)#line aux 0
2600B(config-line)# password cisco
2600B(config-line)# login
2600B(config-line)#line vty 0 4
2600B(config-line)# password cisco
2600B(config-line)# login
2600B(config-line)#interface fastethernet 0/0
2600B(config-if)#ip address 172.16.20.254 255.255.255.0
2600B(config-if)#description connection to network 172.16.20.0
2600B(config-if)#no shutdown
2600B(config-line)#interface serial 0/0
2600B(config-if)#ip address 172.16.30.2 255.255.255.0
2600B(config-if)#description connection to 2600A
2600B(config-if)#no shutdown
2600B(config-if)#exit
2600B(config)#banner motd #
This is the 2600B router
#
2600B(config)#exit
2600B#copy run start
Fungsi dari command-command diatas dapat kita lihat dibawah ini:
Enable :Puts you into privileged mode
Disable :Takes you from privileged mode back to user mode
Logout : Logs you out of your console session
Config terminal :Puts you in global configuration mode and
changes the running-config
Config memory : Copies the startup-config to running-config
Config network : Copies a configuration stored on a tftp host to running-config
Interface : Puts you in interface configuration mode. A
lso used with show commands
Interface fastethernet 0/0 : Puts you in interface configuration mode for a
FastEthernet port. Also used with show commands
Interface fastethernet 0/0.1 : Creates a subinterface
Line :Puts you in configuration mode to change or set
your user mode passwords
Line console 0 : Puts you in console configuration mode
Router rip : Puts you in router rip configuration mode
? : Gives you a help screen
show history : Shows you the last 10 commands entered by default
show terminal : Shows you your configured history size
terminal history size : Changes your history size from the default of 10 up to 256
<ctrl A> : Moves your cursor to the beginning of the line
<ctrl E> : Moves your cursor to the end of the line
<esc B> : Moves back one word
<ctrl F> : Moves forward one character
<esc F> : Moves forward one word
<ctrl D> : Deletes a single character
Backspace : Deletes a single character
<ctrl-R> : Redisplays a line
<ctrl-U> : Erases a line
<ctrl-W> : Erases a word
<ctrl-Z> : Ends configuration mode and returns to EXEC
Tab : Finishes typing a command for you
Show version : Shows you statistics of the router
Enable password : Sets the unencrypted enable password
Enable secret : Sets the encrypted enable secret password.
Supercedes the enable password if set
Exec-timeout : Sets the timeout in seconds and minutes for the
console connection
Logging synchronous : Stops console messages from overwriting your
command line input
Line vty : Puts you in VTY (telnet) interface configuration mode
Line aux : Puts you in the auxiliary interface configuration mode
service password-encryption : Encrypts the user mode and enable password
Banner : Creates a banner for users who log in to the router
Interface serial 0/0 : Puts you in configuration mode for interface serial 0/0
and can be used for show commands
Shutdown : Puts an interface in administratively-down mode
No shutdown : Turns on an interface
Ip address : Sets an IP address on an interface
Clock rate : Provides clocking on a serial DCE interface
Bandwidth : Sets the bandwidth on a serial interface.
Hostname : Sets the name of a router
Description : Sets a description on an interface
Copy run start : Short for copy running-config startup-config.
Places a configuration into NVRAM
Show run : Short for show running-config. Shows the
configuration currently running on the router
Show start : Short for show startup-config. Shows
the backup configuration stored in NVRAM
Erase startup : Deletes the startup-config
Ping :Tests IP connectivity
Traceroute : Tests IP connectivity
telnet : Tests IP connectivity and used to configure a router
show interface s0 : Shows the statistics of interface serial 0/0
show controllers : Shows the DTE or DCE status of an interface
Untuk yang kurang jelas silahkan bertanya atau jika ada yang mau menambahkan atau mengkoreksi mari kita bahas sama2.
Untuk contoh contoh lainnya akan disampaikan pada kesempatan yang lain.
Thanks,
Mozzpunkz - Rocky Amos