Senin, 10 Januari 2011

Konfigurasi vlan pada cisco packet tracer



Langkah pertama konfigurasi pada Router,,,,,,,!!!!!!!

--- System Configuration Dialog ---
Continue with configuration dialog? [yes/no]: no
Press RETURN to get started!
Router>enable
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface fa0/0
Router(config-if)#no shutdown =>perintah untuk meng hidupkan interface fa0/0
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Router(config-if)#exit
Router(config)#interface fa0/0.2
%LINK-5-CHANGED: Interface FastEthernet0/0.2, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.2, changed state to up
Router(config-subif)#encapsulation dot1Q 2
Router(config-subif)#ip address 10.10.0.1 255.255.255.0
Router(config-subif)#exit
Router(config)#interface fa0/0.3
%LINK-5-CHANGED: Interface FastEthernet0/0.3, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.3, changed state to up
Router(config-subif)#encapsulation dot1Q 3
Router(config-subif)#ip address 10.10.1.1 255.255.255.0
Router(config-subif)#exit
Router(config)#interface fa0/0.4
%LINK-5-CHANGED: Interface FastEthernet0/0.4, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.4, changed state to up
Router(config-subif)#encapsulation dot1Q 4
Router(config-subif)#ip address 172.16.16.1 255.255.255.0
Router(config-subif)#exit
Router(config) => Ctrl + Z untuk menyimpan
Router(config)#^Z`
Router#
%SYS-5-CONFIG_I: Configured from console by console => Enter
Router#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
Konfigurasi Router anda telah selesai,,,,,,,,,,,!!!!!
Langkah selanjutnya konfigurasi switch manageable,,,,,,
Press RETURN to get started!
%LINK-5-CHANGED: Interface FastEthernet1/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/1, changed state to up
%LINK-5-CHANGED: Interface FastEthernet2/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet2/1, changed state to up
%LINK-5-CHANGED: Interface FastEthernet3/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet3/1, changed state to up
%LINK-5-CHANGED: Interface FastEthernet3/1, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet3/1, changed state to down
%LINK-5-CHANGED: Interface FastEthernet3/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet3/1, changed state to up
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
Switch>enable
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#interface fa0/1
Switch(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
Switch(config-if)#exit
Switch(config)#interface fa1/1
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 2
% Access VLAN does not exist. Creating vlan 2
Switch(config-if)#exit
Switch(config)#interface fa2/1
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 3
% Access VLAN does not exist. Creating vlan 3
Switch(config-if)#exit
Switch(config)#interface fa3/1
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 4
% Access VLAN does not exist. Creating vlan 4
Switch(config-if)#ex
Switch(config)# => Ctrl + Z untuk menyimpan
Switch(config)#^Z
Switch#
%SYS-5-CONFIG_I: Configured from console by console => Enter
Switch#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
Switch#
Konfigurasi swuicht anda sudah selesai,,,,,,,,,!!!!!!!!
Langkah selanjutnya pemberian IP pada PC Vlan menurut Gatway nya,,,,, lalu ping kesemua Gatway dan kesemua Client,,,,,,,,,,
Selamat mencoba semoga berhasil,,,,,,,

Tidak ada komentar:

Posting Komentar