5302410020_A>enable
5302410020_A#conf t
Enter configuration commands, one
per line. End with CNTL/Z
5302410020_A(config)#ip dhcp pool
Gedung-FT
5302410020_A(dhcp-config)#network
192.168.1.0 255.255.255.0
5302410020_A(dhcp-config)#default
5302410020_A(dhcp-config)#default-router
192.168.1.1
5302410020_A(dhcp-config)#dns
5302410020_A(dhcp-config)#dns-server
8.8.8.8
5302410020_A(dhcp-config)#exit
5302410020_A(config)#inter
5302410020_A(config)#interface
fast
5302410020_A(config)#interface
fastEthernet 0/1
5302410020_A(config-if)#switc
5302410020_A(config-if)#switchport
tru
5302410020_A(config-if)#switchport
trunk enca
5302410020_A(config-if)#switchport
trunk encapsulation do
5302410020_A(config-if)#switchport
trunk encapsulation dot1q
5302410020_A(config-if)#swit
5302410020_A(config-if)#switchport
mode
5302410020_A(config-if)#switchport
mode tr
5302410020_A(config-if)#switchport
mode trunk
5302410020_A(config-if)#
%LINEPROTO-5-UPDOWN: Line
protocol on Interface FastEthernet0/1, changed state to down
%LINEPROTO-5-UPDOWN: Line
protocol on Interface FastEthernet0/1, changed state to up
5302410020_A(config-if)#exit
5302410020_A(config)#exit
%SYS-5-CONFIG_I: Configured from
console by console
5302410020_A#sh run
Building configuration...
Current configuration : 1216
bytes
version 12.2
no service timestamps log
datetime msec
no service timestamps debug
datetime msec
no service password-encryption
hostname 5302410020_A
ip dhcp pool Gedung-FT
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
dns-server 8.8.8.8
5302410020_A#conf t
Enter configuration commands, one
per line. End with CNTL/Z.
5302410020_A(config)#inter
5302410020_A(config)#interface
vlan1
5302410020_A(config-if)#ip ad
5302410020_A(config-if)#ip
address 192.168.1.1 255.255.255.0
5302410020_A(config-if)#exit
5302410020_A(config)#ip route
0.0.0.0 0.0.0.0 11.11.11.2
5302410020_A(config)#exit
%SYS-5-CONFIG_I: Configured from
console by console
5302410020_A#copy run
5302410020_A#copy running-config
star
5302410020_A#copy running-config
startup-config
Destination filename
[startup-config]?
Building configuration...
[OK]
Pengaturan pada switch 5302410020_B
5302410020_01>enable
5302410020_01#configure terminal
Enter configuration commands, one
per line. End with CNTL/Z.
5302410020_01(config)#hostname 5302410020_B
5302410020_B(config)#ip dhcp pool
Gedung-FIK
5302410020_B(dhcp-config)#net
5302410020_B(dhcp-config)#network
192.168.2.0 255.255.255.0
5302410020_B(dhcp-config)#defsult
5302410020_B(dhcp-config)#default
5302410020_B(dhcp-config)#default-router
192.168.2.1
5302410020_B(dhcp-config)#dns
5302410020_B(dhcp-config)#dns-server
8.8.8.8
5302410020_B(dhcp-config)#exit
5302410020_B(config)#inter
5302410020_B(config)#interface
fast
5302410020_B(config)#interface
fastEthernet 0/1
5302410020_B(config-if)#switch
5302410020_B(config-if)#switchport
trunk enc
5302410020_B(config-if)#switchport
trunk encapsulation dot1q
5302410020_B(config-if)#switch
5302410020_B(config-if)#switchport
5302410020_B(config-if)#switchport
mode trunk
%LINEPROTO-5-UPDOWN: Line
protocol on Interface FastEthernet0/1, changed state to down
%LINEPROTO-5-UPDOWN: Line
protocol on Interface FastEthernet0/1, changed state to up
5302410020_B(config-if)#exit
5302410020_B(config)#exit
5302410020_B#
%SYS-5-CONFIG_I: Configured from
console by console
5302410020_B#sh run
Building configuration...
Current configuration : 1278
bytes
version 12.2
no service timestamps log
datetime msec
no service timestamps debug
datetime msec
no service password-encryption
hostname 5302410020_B
ip dhcp pool Gedung-FIK
network 192.168.2.0 255.255.255.0
default-router 192.168.2.1
dns-server 8.8.8.8
5302410020_B#conf t
Enter configuration commands, one
per line. End with CNTL/Z.
5302410020_B(config)#inter
5302410020_B(config)#interface
vlan2
5302410020_B(config-if)#description
vlan2 Gedung-FIK
5302410020_B(config-if)#ip add
5302410020_B(config-if)#ip
address 192.168.2.1 255.255.255.0
5302410020_B(config-if)#exit
5302410020_B(config)#ip route
0.0.0.0 0.0.0.0 11.11.11.1
5302410020_B(config)#exit
%SYS-5-CONFIG_I: Configured from
console by console
5302410020_B#copy running-con
5302410020_B#copy running-config
startup
5302410020_B#copy running-config
startup-config
Destination filename [startup-config]?
Building configuration...
[OK]






Leave a Reply