Cisco

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

Router>enable

Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R2
//setting hostname
R2(config)#enable secret class
// untuk password secret
R2(config)#enable password cisco
// untuk password enable
R2(config)#line console 0
//setting line console
R2(config-line)#pass cisco
R2(config-line)#login
R2(config-line)#exit
R2(config)#line vty 0 4
//setting line vty
R2(config-line)#pass cisco
R2(config-line)#login
R2(config-line)#exit
R2(config)#interface fa0/0
//setting ip address di fastethernet
R2(config-if)#ip address 192.168.3.254 255.255.255.0
R2(config-if)#no shutdown
R2(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state t
o up
R2(config-if)#exit
R2(config)#interface se0/0/1
//setting ip address di serial
R2(config-if)#ip address 192.168.1.2 255.255.255.252
R2(config-if)#no sh
R2(config-if)#
%LINK-5-CHANGED: Interface Serial0/0/1, changed state to up
R2(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/1, changed state to up
R2(config-if)#exit
R2(config)#router rip
//untuk router RIP
R2(config-router)#version 2
R2(config-router)#network 192.168.3.0
R2(config-router)#network 192.168.1.0
R1#copy running-config startup-config
ke NVRAM
Destination filename [startup-config]?
Building configuration
[OK]

//menyimpan konfogurasi

You might also like