Switch>ena
Switch#conf
t
Enter
configuration commands, one per line.
End with CNTL/Z.
Switch(config)#hostname
SERVER
SERVER(config)#ena
pass cisco
SERVER(config)#line
console 0
SERVER(config-line)#pass
cisco
SERVER(config-line)#login
SERVER(config-line)#exit
SERVER(config)#line
vty 015
SERVER(config-line)#pass
cisco
SERVER(config-line)#login
SERVER(config-line)#exit
SERVER(config)#banner
motd &
Enter
TEXT message. End with the character
'&'.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!
Cyber Linggau !!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!&
SERVER(config)#exit
Configuration
VLAN
SERVER#vlan
database
%
Warning: It is recommended to configure VLAN from config mode,
as VLAN database mode is being deprecated.
Please consult user
documentation for configuring VTP/VLAN in
config mode.
SERVER(vlan)#vlan
10 name guru
VLAN
10 added:
Name: guru
SERVER(vlan)#vlan
100 name siswa
VLAN
100 added:
Name: siswa
SERVER(vlan)#exit
APPLY
completed.
Exiting....
CONFIGURATION
VTP
SERVER#config
t
Enter
configuration commands, one per line.
End with CNTL/Z.
SERVER(config)#vtp
domain cyberlinggau.com
Changing
VTP domain name from NULL to cyberlinggau.com
SERVER(config)#vtp
mode server
Device
mode already VTP SERVER.
SERVER(config)#int
fa0/1
SERVER(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
SERVER(config-if)#exit
SERVER(config)#int
fa1/1
SERVER(config-if)#switchport
mode trunk
%LINEPROTO-5-UPDOWN:
Line protocol on Interface FastEthernet1/1, changed state to down
%LINEPROTO-5-UPDOWN:
Line protocol on Interface FastEthernet1/1, changed state to up
SERVER(config-if)#exit
SERVER(config)#exit
SERVER#
%SYS-5-CONFIG_I:
Configured from console by console
Client 1
Switch>ena
Switch#configure
terminal
Enter
configuration commands, one per line.
End with CNTL/Z.
Switch(config)#hostname
CLIENT_1
CLIENT_1(config)#INT
FA0/1
CLIENT_1(config-if)#SWItchport
mode trunk
CLIENT_1(config-if)#exit
VTP CLIENT_1
CLIENT_1(config)#vtp
domain cyberlinggau.com
Domain
name already set to cyberlinggau.com.
CLIENT_1(config)#vtp
mode client
Setting
device to VTP CLIENT mode.
CLIENT_1(config)#ex
VLAN CLIENT_1
CLIENT_1(config)#int
fa1/1
CLIENT_1(config-if)#switchport
mode acc
CLIENT_1(config-if)#switchport
acc vlan 10
CLIENT_1(config-if)#description guru
CLIENT_1(config-if)#ex
CLIENT_1(config)#int
fa2/1
CLIENT_1(config-if)#switchport
mode acc
CLIENT_1(config-if)#switchport
acc vlan 100
CLIENT_1(config-if)#description siswa
CLIENT_1(config-if)#exit
CLIENT_2
Switch>ENA
Switch#conf
t
Enter
configuration commands, one per line.
End with CNTL/Z.
Switch(config)#hostname
CLIENT_2
CLIENT_2(config)#int
fa0/1
CLIENT_2(config-if)#switchport
mode trunk
CLIENT_2(config-if)#ex
VTP CLIENT_2
CLIENT_2(config)#vtp
domain cyberinggau.com
Changing
VTP domain name from cyberlinggau.com to cyberinggau.com
CLIENT_2(config)#vtp
mode client
Setting
device to VTP CLIENT mode.
VLAN CLIENT_2
CLIENT_2(config)#int
fa1/1
CLIENT_2(config-if)#switchport
mode acc
CLIENT_2(config-if)#switchport
access vlan 10
CLIENT_2(config-if)#description
guru
CLIENT_2(config-if)#exit
CLIENT_2(config)#00:27:40
%DTP-5-DOMAINMISMATCH: Unable to perform trunk negotiation on port Fa0/1
because of VTP domain mismatch.
CLIENT_2(config)#int
fa2/1
CLIENT_2(config-if)#switchport
mode acc
CLIENT_2(config-if)#switchport
access vlan 100
CLIENT_1(config-if)#description siswa
CLIENT_1(config-if)#exit
Dilanjutkan
dengan memasuk kan Ip pada komputer
Contoh
:
PC Guru
PC Guru
IP
Address : 192.168.3.2 ( Dst )
Subnet
Mask : 255.255.255.0
Defaul
Gateway : 192.168.3.1
PC
Siswa
IP
Address : 192.168.4.2 (Dst )
Subnet
Mask : 255.255.255.0
Defaul
Gateway : 192.168.4.1
Trimakasih
semoga bermanfaat.
EmoticonEmoticon