Switch C

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

SWITCH C

Switch>ena
Switch#conf t
Switch(config)#host Switch_C

// Konfigurasi VTP //

Switch_C(config)#vtp mo server
Device mode already VTP SERVER.
Switch_C(config)#vtp do Switch_c
Changing VTP domain name from NULL to Switch_c
Switch_C(config)#vtp pass Switch_c
Setting device VLAN database password to Switch_c

// Konfigurasi interface //

Switch_C(config)#int ra f0/1-3
Switch_C(config-if-range)#sw mo tr
Switch_C(config-if-range)#sw tr na vlan 1
Switch_C(config-if-range)#exit

// Konfigurasi VLAN //

Switch_C(config)#vlan 100
Switch_C(config-vlan)#name switch_c1
Switch_C(config-vlan)#vlan 200
Switch_C(config-vlan)#name switch_c2
Switch_C(config-vlan)#end
Switch_C#
SWITCH C1

Switch>ena
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#host Switch_C1

Switch_C1(config)#vtp mo cli
Setting device to VTP CLIENT mode.
Switch_C1(config)#vtp do Switch_c
Domain name already set to Switch_c.
Switch_C1(config)#vtp pass Switch_c
Setting device VLAN database password to Switch_c

Switch_C1(config)#int f0/1
Switch_C1(config-if)#sw mo tr
Switch_C1(config-if)#sw tr na vlan 1
Switch_C1(config-if)#exit

Switch_C1(config)#int ra f0/2-24
Switch_C1(config-if-range)#sw mo acc
Switch_C1(config-if-range)#sw acc vlan 100
Switch_C1(config-if-range)#ex
Switch_C1(config)#
SWITCH C2
Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#host Switch_C2

Switch_C2(config)#vtp mo cli
Setting device to VTP CLIENT mode.
Switch_C2(config)#vtp do Switch_c
Domain name already set to Switch_c.
Switch_C2(config)#vtp pass Switch_c
Setting device VLAN database password to Switch_c

Switch_C2(config)#int f0/1
Switch_C2(config-if)#sw mo tr
Switch_C2(config-if)#sw tr na vlan 1
Switch_C2(config-if)#exit

Switch_C2(config)#int ra f0/2-24
Switch_C2(config-if-range)#sw mo acc
Switch_C2(config-if-range)#sw acc vlan 200
Switch_C2(config-if-range)#exit
Switch_C2(config)#
SWITCH D
Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#host Switch_D

Switch_D(config)#vtp mo se
Device mode already VTP SERVER.
Switch_D(config)#vtp do switch_d
Changing VTP domain name from NULL to switch_d
Switch_D(config)#vtp pass switch_d
Setting device VLAN database password to switch_d

Switch_D(config)#int ra f0/1-4
Switch_D(config-if-range)#sw mo tr
Switch_D(config-if-range)#sw tr na vlan 1
Switch_D(config-if-range)#exit

Switch_D(config)#vlan 10
Switch_D(config-vlan)#name switch_d1
Switch_D(config-vlan)#vlan 20
Switch_D(config-vlan)#name switch_d2
Switch_D(config-vlan)#vlan 30
Switch_D(config-vlan)#name switch_d3
Switch_D(config-vlan)#exit
Switch_D(config)#
SWITCH D1

Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#host Switch_D1
Switch_D1(config)#vtp mo cli
Setting device to VTP CLIENT mode.
Switch_D1(config)#vtp do switch_d
Domain name already set to switch_d.
Switch_D1(config)#vtp pass switch_d
Setting device VLAN database password to switch_d

Switch_D1(config)#int f0/1
Switch_D1(config-if)#sw mo tr
Switch_D1(config-if)#sw tr na vlan 1
Switch_D1(config-if)#exit

Switch_D1(config)#int ra f0/2-24
Switch_D1(config-if-range)#sw mo acc
Switch_D1(config-if-range)#sw acc vlan 10
Switch_D1(config-if-range)#exit
Switch_D1(config)#
SWITCH D2
Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#host Switch_D2

Switch_D2(config)#vtp mo cl
Setting device to VTP CLIENT mode.
Switch_D2(config)#vtp do switch_d
Domain name already set to switch_d.
Switch_D2(config)#vtp pass switch_d
Setting device VLAN database password to switch_d

Switch_D2(config)#int f0/1
Switch_D2(config-if)#sw mo tr
Switch_D2(config-if)#sw tr na vlan 1
Switch_D2(config-if)#exit

Switch_D2(config)#int ra f0/2-24
Switch_D2(config-if-range)#sw mo acc
Switch_D2(config-if-range)#sw acc vlan 20
Switch_D2(config-if-range)#exit
Switch_D2(config)#
SWITCH D3
Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#host Switch_D3

Switch_D3(config)#vtp mo cl
Setting device to VTP CLIENT mode.
Switch_D3(config)#vtp do switch_d
Domain name already set to switch_d.
Switch_D3(config)#vtp pass switch_d
Setting device VLAN database password to switch_d

Switch_D3(config)#int f0/1
Switch_D3(config-if)#sw mo tr
Switch_D3(config-if)#sw tr na vlan 1
Switch_D3(config-if)#exit

Switch_D3(config)#int ra f0/2-24
Switch_D3(config-if-range)#sw mo acc
Switch_D3(config-if-range)#sw acc vlan 30
Switch_D3(config-if-range)#exit
Switch_D3(config)#
ROUTER A
Router>enable
Router#configure terminal
Router(config)#hostname Router_A

// Konfigurasi Interface pada router //

Router_A(config)#interface FastEthernet4/0
Router_A(config-if)#no shutdown
Router_A(config-if)#ip address 200.10.10.5 255.255.255.252
Router_A(config-if)#exit

Router_A(config)#interface FastEthernet5/0
Router_A(config-if)#no shutdown
Router_A(config-if)#ip address 200.10.10.9 255.255.255.252
Router_A(config-if)#exit

Router_A(config)#interface FastEthernet6/0
Router_A(config-if)#no shutdown
Router_A(config-if)#ip address 200.10.10.13 255.255.255.252
Router_A(config-if)#exit

Router_A(config)#interface FastEthernet7/0
Router_A(config-if)#no shutdown
Router_A(config-if)#ip address 200.10.10.1 255.255.255.252
Router_A(config-if)#exit

Router_A(config)#interface FastEthernet8/0
Router_A(config-if)#no shutdown
Router_A(config-if)#ip address 223.20.20.5 255.255.255.252
Router_A(config-if)#exit

Router_A(config)#interface FastEthernet0/0
Router_A(config-if)#no shutdown
Router_A(config-if)#ip address 200.10.10.17 255.255.255.252
Router_A(config-if)#exit

// Konfigurasi Tabel Routing //

Router_A(config)#ip route 0.0.0.0 0.0.0.0 223.20.20.6


Router_A(config)#router ospf 10
Router_A(config-router)#net 200.10.10.1 0.0.0.3 area 10
Router_A(config-router)#net 200.10.10.5 0.0.0.3 area 10
Router_A(config-router)#net 200.10.10.9 0.0.0.3 area 10
Router_A(config-router)#net 200.10.10.13 0.0.0.3 area 10
Router_A(config-router)#net 200.10.10.7 0.0.0.3 area 10
Router_A(config-router)#end
ROUTER B
Router>enable
Router#configure terminal

// Konfigurasi Interface Router B //

Router(config)#interface FastEthernet0/0
Router(config-if)#no shutdown
Router(config-if)#ip address 172.16.0.1 255.255.0.0
Router(config-if)#exit

Router(config)#interface Serial0/0
Router(config-if)#clock rate 128000
Router(config-if)#ip address 192.168.10.2 255.255.255.252
Router(config-if)#no shutdown
Router(config-if)#exit

Router(config)#interface FastEthernet1/0
Router(config-if)#no shutdown
Router(config-if)#ip address 200.10.10.2 255.255.255.252
Router(config-if)#exit

// Konfigurasi DHCP

Router(config)#ip dhcp pool server_ap0


Router(dhcp-config)#default-router 172.16.0.1
Router(dhcp-config)#network 172.16.0.0 255.255.0.0
Router(dhcp-config)#exit

// Konfigurasi Tabel Routing

Router(config)#router ospf 10
Router(config-router)#net 172.16.0.1 0.0.255.255 area 10
Router(config-router)#net 192.168.10.2 0.0.0.3 area 10
Router(config-router)#net 200.10.10.2 0.0.0.3 area 10
Router(config-router)#end
ROUTER C
Router>en
Router#conf t
Router(config)#host Router_C

// Konfigrusi interface router C //

Router_C(config)#int f0/0
Router_C(config-if)#no shutdown
Router_C(config-if)#exit

_//Konfigurasi VLAN

Router_C(config)#int f0/0.100
Router_C(config-subif)#enc dot 100
Router_C(config-subif)#ip add 172.17.0.1 255.255.128.0
Router_C(config-subif)#exit

Router_C(config)#int f0/0.200
Router_C(config-subif)#enc dot 200
Router_C(config-subif)#ip add 172.17.128.1 255.255.128.0
Router_C(config-subif)#exit

_//

Router_C(config)#interface FastEthernet0/0
Router_C(config-if)#ip address 192.168.20.1 255.255.255.252
Router_C(config-if)#exit

Router_C(config)#interface Serial0/0
Router_C(config-if)#clock rate 128000
Router_C(config-if)#ip address 192.168.10.5 255.255.255.252
Router_C(config-if)#no shutdown
Router_C(config-if)#exit

Router_C(config)#interface Serial0/1
Router_C(config-if)#clock rate 128000
Router_C(config-if)#ip address 192.168.10.1 255.255.255.252
Router_C(config-if)#no shutdown
Router_C(config-if)#exit

Router_C(config)#interface FastEthernet1/0
Router_C(config-if)#ip address 200.10.10.6 255.255.255.252
Router_C(config-if)#no shutdown

// Konfigurasi Routing Tabel //

Router_C(config)#router ospf 10
Router_C(config-router)#net 192.168.10.5 0.0.0.3 area 10
Router_C(config-router)#net 192.168.20.1 0.0.0.3 area 10
Router_C(config-router)#net 192.168.10.1 0.0.0.3 area 10
Router_C(config-router)#net 172.17.0.0 0.0.0.127 area 10
Router_C(config-router)#net 172.17.128.0 0.0.0.127 area 10
Router_C(config-router)#net 200.10.10.6 0.0.0.3 area 10
Router_C(config-router)#end
ROUTER D
Router>en
Router#conf t
Router(config)#host Router_D

// Konfigurasi Interface Router D //

Router_D(config)#int f0/0
Router_D(config-if)#no shut
Router_D(config-if)#exit

_// Konfigurasi VLAN //

Router_D(config)#int f0/0.10
Router_D(config-subif)#enc dot 10
Router_D(config-subif)#ip add 172.18.0.1 255.255.192.0
Router_D(config-subif)#exit

Router_D(config)#int f0/0.20
Router_D(config-subif)#enc dot 20
Router_D(config-subif)#ip add 172.18.64.1 255.255.192.0
Router_D(config-subif)#exit

Router_D(config)#int f0/0.30
Router_D(config-subif)#enc dot 30
Router_D(config-subif)#ip add 172.18.128.1 255.255.192.0
Router_D(config-subif)#exit

_//

Router_D(config)#interface FastEthernet0/0
Router_D(config-if)#ip address 192.168.30.1 255.255.255.252
Router_D(config-if)#no shutdown
Router_D(config-if)#exit

Router_D(config)#interface Serial0/0
Router_D(config-if)#clock rate 128000
Router_D(config-if)#ip address 192.168.10.6 255.255.255.252
Router_D(config-if)#no shutdown
Router_D(config-if)#exit

Router_D(config)#interface Serial0/1
Router_D(config-if)#clock rate 128000
Router_D(config-if)#ip address 192.168.10.9 255.255.255.252
Router_D(config-if)#no shutdown
Router_D(config-if)#exit

Router_D(config)#interface FastEthernet1/0
Router_D(config-if)#ip address 200.10.10.10 255.255.255.252
Router_D(config-if)#no shutdown
Router_D(config-if)#exit

// Konfigurasi Tabel Routing //

Router_D(config)#router ospf 10
Router_D(config-router)#net 172.18.0.0 0.0.0.63 area 10
Router_D(config-router)#net 172.18.64.0 0.0.0.63 area 10
Router_D(config-router)#net 172.18.128.0 0.0.0.63 area 10
Router_D(config-router)#net 192.168.10.9 0.0.0.3 area 10
Router_D(config-router)#net 192.168.10.6 0.0.0.3 area 10
Router_D(config-router)#net 192.168.30.1 0.0.0.3 area 10
Router_D(config-router)#net 200.10.10.10 0.0.0.3 area 10
Router_D(config-router)#end
ROUTER E
Router>enable
Router#configure terminal

// Konfigurasi Interface Router E //

Router(config)#interface FastEthernet0/0
Router(config-if)#no shutdown
Router(config-if)#ip address 172.19.0.1 255.255.0.0
Router(config-if)#exit

Router(config)#interface Serial0/0
Router(config-if)#clock rate 128000
Router(config-if)#ip address 192.168.10.10 255.255.255.252
Router(config-if)#no shutdown
Router(config-if)#exit

Router(config)#interface FastEthernet1/0
Router(config-if)#no shutdown
Router(config-if)#ip address 200.10.10.14 255.255.255.252
Router(config-if)#exit

// Konfigurasi DHCP //

Router(config)#ip dhcp pool server_ap1


Router(dhcp-config)#default-router 172.19.0.1
Router(dhcp-config)#network 172.19.0.0 255.255.0.0
Router(dhcp-config)#exit

// Konfigurasi Tabel Routing //

Router(config)#router ospf 10
Router(config-router)#net 192.168.10.10 0.0.0.3 area 10
Router(config-router)#net 172.19.0.1 0.0.255.255 area 10
Router(config-router)#net 200.10.10.14 0.0.0.3 area 10
Router(config-router)#end
ROUTER Z
Router>enable
Router#configure terminal

// Konfigurasi interface router Z //

Router(config)#interface FastEthernet0/0
Router(config-if)#no shutdown
Router(config-if)#ip address 223.10.10.9 255.255.255.252
Router(config-if)#exit

Router(config)#interface FastEthernet4/0
Router(config-if)#no shutdown
Router(config-if)#ip address 223.20.20.6 255.255.255.252
Router(config-if)#exit

Router(config)#interface FastEthernet5/0
Router(config-if)#ip address 12.13.14.2 255.255.255.0
Router(config-if)#no shutdown

// Konfigurasi default routing //

Router(config)#ip route 0.0.0.0 0.0.0.0 223.20.20.5

You might also like