Learn Cisco Packet Tracer

hostname SAWANGAN
ntp server 192.168.30.30
int lo0
 ip add 3.3.3.3 255.255.255.255
int se0/0/0
 ip add 10.10.10.1 255.255.255.252
 no sh
int gig 0/0
 ip add 172.16.10.1 255.255.255.252
 no sh
int gig 0/1
 ip add 172.16.20.1 255.255.255.252
 no sh
router ospf 10
 router-id 3.3.3.3
 network 3.3.3.3 0.0.0.0 area 0
 network 10.10.10.0 0.0.0.3 area 0
 network 172.16.10.0 0.0.0.3 area 0
 network 172.16.20.0 0.0.0.3 area 0
hostname DS1
ntp server 192.168.30.30
ip routing
vlan 10
vlan 20
int lo0
 ip add 1.1.1.1 255.255.255.255
int fa 0/1
 no sw
 ip add 172.16.10.2 255.255.255.252
int vlan 10
 ip add 192.168.10.10 255.255.255.0
int vlan 20
 ip add 192.168.20.20 255.255.255.0
int ra fa 0/2-4
 sw trunk encapsulation dot1q 
 sw mode tr
router ospf 10
 router-id 1.1.1.1
 network 1.1.1.1 0.0.0.0 area 0
 network 172.16.10.0 0.0.0.3 area 0
 network 192.168.10.0 0.0.0.255 area 0
 network 192.168.20.0 0.0.0.255 area 0
int vlan 10
 standby 110 priority 110
 standby 110 preempt 
 standby 110 ip 192.168.10.1
int vlan 20
 standby 105 preempt 
 standby 105 ip 192.168.20.1
hostname DS2
ntp server 192.168.30.30
ip routing
vlan 10
vlan 20
int lo0
 ip add 2.2.2.2 255.255.255.255
int fa 0/1
 no sw
 ip add 172.16.20.2 255.255.255.252
int vlan 10
 ip add 192.168.10.11 255.255.255.0
int vlan 20
 ip add 192.168.20.21 255.255.255.0
int ra fa 0/2-4
 sw trunk encapsulation dot1q 
 sw mode tr
router ospf 10
 router-id 2.2.2.2
 network 2.2.2.2 0.0.0.0 area 0
 network 172.16.10.0 0.0.0.3 area 0
 network 192.168.10.0 0.0.0.255 area 0
 network 192.168.20.0 0.0.0.255 area 0
int vlan 20
 standby 120 priority 110
 standby 120 preempt 
 standby 120 ip 192.168.20.1
int vlan 10
 standby 105 preempt
 standby 105 ip 192.168.10.1
hostname SW_SAWANGAN_1
vlan 10
vlan 20
int ra fa 0/1-2
 sw mode tr
int fa 0/3
 sw acc vl 10
hostname SW_SAWANGAN_2
vlan 10
vlan 20
int ra fa 0/1-2
 sw mode tr
int fa 0/3
 sw acc vl 20
hostname BOJONGSARI
ntp server 192.168.30.30
int lo0
 ip add 4.4.4.4 255.255.255.255
int se0/0/0
 ip add 10.10.10.2 255.255.255.252
 no sh
int se0/0/1
 ip add 10.10.10.5 255.255.255.252
 no sh
int gig0/0
 ip add 172.16.1.1 255.255.255.0
 no sh
router ospf 10
 router-id 4.4.4.4
 network 4.4.4.4 0.0.0.0 area 0
 network 10.10.10.0 0.0.0.3 area 0
 network 10.10.10.4 0.0.0.3 area 0
 network 172.16.1.0 0.0.0.255 area 0
! config telepony service dilakukan ketika sudah mengconfigurasi ip seluruh router dan ospf, dan buat dhcp di cimanggis
telephony-service 
 max-ephones 5
 max-dn 5
 ip source-address 172.16.1.1 port 2000
 auto assign 1 to 5
int gig0/0
 ip helper-address 192.168.50.50
ephone-dn 1
 number 1001
ephone-dn 2
 number 1002
ephone-dn 3
 number 1003
dial-peer voice 1 voip 
 ! destination-pattern 200*
 destination-pattern 2...
 session target ipv4:172.16.2.1
hostname SW_BOJONGSARI
ntp server 192.168.30.30
int fa 0/1
 sw mode tr
int ra fa 0/2-4
 sw voice vlan 1
 sw mode acc
hostname CINERE
ntp server 192.168.30.30
int lo0
 ip add 5.5.5.5 255.255.255.255
int se0/0/0
 ip add 10.10.10.6 255.255.255.252
 no sh
int se0/0/1
 ip add 10.10.10.9 255.255.255.252
 no sh
int gig0/0
 ip add 192.168.30.1 255.255.255.0
 no sh
int gig0/1
 ip add 192.168.1.1 255.255.255.0
 no sh
 ip helper-address 192.168.50.50
router ospf 10
 router-id 5.5.5.5
 network 5.5.5.5 0.0.0.0 area 0
 network 10.10.10.4 0.0.0.3 area 0
 network 10.10.10.8 0.0.0.3 area 0
 network 192.168.1.0 0.0.0.255 area 0
 network 192.168.30.0 0.0.0.255 area 0
hostname SW_CINERE
int fa 0/1
 sw mode tr
hostname CIPAYUNG
ntp server 192.168.30.30
int lo0
 ip add 6.6.6.6 255.255.255.255
int se0/0/0
 ip add 10.10.10.10 255.255.255.252
 no sh
int se0/0/1
 ip add 10.10.10.13 255.255.255.252
 no sh
int gig0/0
 no sh
int gig0/0.40
 encapsulation dot1Q 40
 ip add 192.168.40.1 255.255.255.0
int gig0/0.200
 encapsulation dot1Q 200
 ip add 200.200.200.1 255.255.255.0
 ip helper-address 192.168.50.50
router ospf 10
 router-id 6.6.6.6
 network 6.6.6.6 0.0.0.0 area 0
 network 10.10.10.8 0.0.0.3 area 0
 network 192.168.40.0 0.0.0.255 area 0
 network 200.200.200.0 0.0.0.255 area 0
 ! redistribute eigrp 100 
 redistribute eigrp 100 subnets
router eigrp 100
 eigrp router-id 6.6.6.6
 no auto-summary
 ! network 6.6.6.6 0.0.0.0
 network 10.10.10.12 0.0.0.3
 ! redistribute ospf 10
 redistribute ospf 10 metric 10000 100 255 1 1500
hostname SW_CIPAYUNG_1
vlan 40
vlan 200
spanning-tree mode rapid-pvst
spanning-tree vlan 40 root primary 
spanning-tree vlan 200 root primary
int fa0/1
 sw mode tr
int ra fa 0/2-3
 channel-group 1 mode active
 channel-protocol lacp
int ra fa 0/4-5
 channel-group 1 mode auto
 channel-protocol pagp
int port-channel 1
 sw mode tr
int port-channel 2
 sw mode tr
hostname SW_CIPAYUNG_2
vlan 40
vlan 200
spanning-tree mode rapid-pvst
! spanning-tree vlan 40 root secondary 
int ra fa 0/1-2
 channel-group 1 mode passive
 channel-protocol lacp
int fa 0/3
 sw mode tr
int fa 0/4
 sw acc vlan 40
int port-channel 1
 sw mode tr
 spanning-tree vlan 200 cost 100
hostname SW_CIPAYUNG_3
vlan 40
vlan 200
spanning-tree mode rapid-pvst
! spanning-tree vlan 200 root secondary 
int ra fa 0/1-2
 channel-group 1 mode desirable
 channel-protocol pagp
int fa 0/3
 sw mode tr
int fa 0/4
 sw acc vlan 200
int port-channel 1
 sw mode tr
 spanning-tree vlan 40 cost 100
hostname CIMANGGIS
ntp server 192.168.30.30
int lo0
 ip add 7.7.7.7 255.255.255.255
int se0/0/0
 ip add 10.10.10.14 255.255.255.252
 no sh
int se0/0/1
 ip add 10.10.10.17 255.255.255.252
 no sh
int gig0/0
 no sh
int gig0/0.50
 encapsulation dot1Q 50
 ip add 192.168.50.1 255.255.255.0
int gig0/0.100
 encapsulation dot1Q 100
 ip add 100.100.100.1 255.255.255.0
 ip helper-address 192.168.50.50
router eigrp 100
 eigrp router-id 7.7.7.7
 no auto-summary
 network 7.7.7.7 0.0.0.0
 network 10.10.10.12 0.0.0.3
 network 10.10.10.16 0.0.0.3
 network 192.168.50.0 0.0.0.255
 network 100.100.100.0 0.0.0.255
hostname SW_CIMANGGIS_1
vlan 50
vlan 100
spanning-tree mode pvst
spanning-tree vlan 50 root primary 
spanning-tree vlan 100 root primary
int fa 0/1
 sw mode tr
int ra fa 0/2-3
 channel-group 1 mode active 
 channel-protocol lacp
int ra fa 0/4-5
 channel-group 2 mode auto
 channel-protocol pagp
int port-channel 1
 sw mode tr
int port-channel 2
 sw mode tr
hostname SW_CIMANGGIS_2
vlan 50
vlan 100
spanning-tree mode pvst 
spanning-tree vlan 50 root secondary 
int ra fa 0/1-2
 channel-group 1 mode active 
 channel-protocol lacp
int fa 0/3
 sw mode tr
int fa 0/4
 sw acc vlan 50
int port-channel 1
 sw mode tr
 spanning-tree vlan 100 cost 100
hostname SW_CIMANGGIS_3
vlan 50
vlan 100
spanning-tree mode pvst 
spanning-tree vlan 100 root secondary 
int ra fa 0/1-2
 channel-group 1 mode desirable
 channel-protocol pagp
int fa 0/3
 sw mode tr
int fa 0/4
 sw acc vlan 100
int port-channel 1
 sw mode tr
 spanning-tree vlan 50 cost 100
hostname TAPOS1
ntp server 192.168.30.30
int lo0
 ip add 8.8.8.8 255.255.255.255
int se0/0/0
 ip add 10.10.10.18 255.255.255.252
 no sh
int gig0/0
 ip add 172.16.2.1 255.255.255.0
 no sh
! int gig0/0.100
 ! encapsulation dot1Q 100
 ! ip add 80.80.80.1 255.255.255.0
int gig0/1
 ip add 80.80.80.1 255.255.255.0
 no sh
router eigrp 100
 eigrp router-id 8.8.8.8
 no auto-summary 
 network 8.8.8.8 0.0.0.0
 network 10.10.10.16 0.0.0.3
 network 172.16.2.0 0.0.0.255
 network 80.80.80.0 0.0.0.255
! config telepony service dilakukan ketika sudah mengconfigurasi ip seluruh router dan ospf, dan buat dhcp di cimanggis
telephony-service 
 max-ephones 5
 max-dn 5
 ip source-address 172.16.2.1 port 2000
 auto assign 1 to 5
int gig0/0
 ip helper-address 192.168.50.50
ephone-dn 1
 number 2001
ephone-dn 2
 number 2002
ephone-dn 3
 number 2003
dial-peer voice 1 voip 
 ! destination-pattern 100*
 destination-pattern 1...
 session target ipv4:172.16.1.1
hostname TAPOS2
ntp server 192.168.30.30
int lo0
 ip add 9.9.9.9 255.255.255.255
int gig0/0
 ip add 80.80.80.2 255.255.255.0
 no sh
int gig0/1
 ip add 192.168.60.1 255.255.255.0
 no sh
router eigrp 100
 eigrp router-id 9.9.9.9
 no auto-summary 
 network 9.9.9.9 0.0.0.0
 network 80.80.80.80 0.0.0.255
 network 192.168.60.0 0.0.0.255
! ip access-list extended ACL_FTP
 ! permit ip 100.100.100.100 0.0.0.0 192.168.60.60 0.0.0.0
 ! permit ip 200.200.200.200 0.0.0.0 192.168.60.60 0.0.0.0
 ! permit eigrp any any
 ! deny ip any any
access-list 100 permit ip 100.100.100.100 0.0.0.0 192.168.60.60 0.0.0.0
access-list 100 permit ip 200.200.200.200 0.0.0.0 192.168.60.60 0.0.0.0
access-list 100 permit eigrp any any 
access-list 100 deny ip any any 
int gig0/1
 ! ip access-group ACL_FTP out
 ip access-group 100 out
hostname SW_TAPOS
int fa0/1
 sw mode tr
int ra fa 0/2-4
 sw mode acc
 sw voice vlan 1
show ip route
show ip proto
clear ip route