Konfigurasi Vlan di Cisco Packet Tracer

Cara membuat Vlan Di Cisco memang agak Susah tapi kalau Terus coba pasti terasa muda, Kalian yang ingin mencoba bisa mengikuti caranya Di Bawah ini.

Topologi


Konfigurasi Di Router

Router>en
Router#vla
Router#vlan da
Router#vla
Router#vlan dat
Router#vlan database
Router(vlan)#vlan 10 na
Router(vlan)#vlan 10 name kacrut
VLAN 10 added:
    Name: kacrut
Router(vlan)#vlan 20 na
Router(vlan)#vlan 20 name kucrut
VLAN 20 added:
    Name: kucrut
Router(vlan)#exit
APPLY completed.
Exiting....
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#int fa0/1.10
Router(config-subif)#enca
Router(config-subif)#encapsulation d
Router(config-subif)#encapsulation dot1Q 10
Router(config-subif)#ip add
Router(config-subif)#ip address 10.10.10.1 255.255.255.0
Router(config-subif)#no sh
Router(config-subif)#exit
Router(config)#int fa0/1.20
Router(config-subif)#emc
Router(config-subif)#enc
Router(config-subif)#encapsulation do
Router(config-subif)#encapsulation dot1Q 20
 Router(config-subif)#ip add
Router(config-subif)#ip address 20.20.20.1 255.255.255.0
Router(config-subif)#no sh
Router(config-subif)#exit
Router(config)#exit
Router#wr
Building configuration...
[OK]
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#int
Router(config)#interface fa0/1
Router(config-if)#no sh

%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up

%LINK-5-CHANGED: Interface FastEthernet0/1.10, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1.10, changed state to up

%LINK-5-CHANGED: Interface FastEthernet0/1.20, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1.20, changed state to up

Router(config-if)#exit
Router(config)#exit
Router# 
Router#vl
Router#vlan dat
Router#vlan database 
Router(vlan)#vlan 2 name sw
VLAN 2 added:
    Name: sw
Router(vlan)#exit
APPLY completed.
Exiting....
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#int fa0/1
Router(config-if)#exit
Router(config)#int fa0/1.2
Router(config-subif)#encapsulation dot1Q 2
Router(config-subif)#ip address 2.2.2.1 255.255.255.252
Router(config-subif)#no sh
Router(config-subif)#des "to-sw"
Router(config-subif)#exit

Konfigurasi Switch
Switch
Switch>EN
Switch#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#int fa0/1
Switch(config-if)#sw
Switch(config-if)#switchport mode
Switch(config-if)#switchport mode tr
Switch(config-if)#switchport mode trunk

Switch(config-if)#no sh
Switch(config-if)#exit
Switch(config)#end
Switch#
%SYS-5-CONFIG_I: Configured from console by console

Switch#vla
Switch#vlan dat
Switch#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.

Switch(vlan)#vlan 10 na
Switch(vlan)#vlan 10 name kacrut
VLAN 10 added:
    Name: kacrut
Switch(vlan)#vlan 20 na
Switch(vlan)#vlan 20 name kucrut
VLAN 20 added:
    Name: kucrut
Switch(vlan)#exit
APPLY completed.
Exiting....
Switch#sh vla
Switch#sh vlan
Switch#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#int fa0/2
Switch(config-if)#sw
Switch(config-if)#switchport mode ac
Switch(config-if)#switchport mode access
Switch(config-if)#sw
Switch(config-if)#switchport av
Switch(config-if)#switchport ac
Switch(config-if)#switchport access vl
Switch(config-if)#switchport access vlan 10
Switch(config-if)#no sh
Switch(config-if)#des
Switch(config-if)#des
Switch(config-if)#description "kacrut"
Switch(config-if)#exit
Switch(config)#int fa0/3
Switch(config-if)#sw
Switch(config-if)#switchport mo
Switch(config-if)#switchport mode ac
Switch(config-if)#switchport mode access
Switch(config-if)#sw
Switch(config-if)#switchport ac
Switch(config-if)#switchport access vl
Switch(config-if)#switchport access vlan 20
Switch(config-if)#no sh
Switch(config-if)#des "kucrut"
Switch(config-if)#exit
Switch(config)#end
Switch#
%SYS-5-CONFIG_I: Configured from console by console

Switch#wr
Building configuration...
[OK]
Switch#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up

Switch#vl
Switch#vlan da
Switch#vlan database
Switch(vlan)#vla
Switch(vlan)#vlan 2 na
Switch(vlan)#vlan 2 name to-ro
VLAN 2 added:
    Name: to-ro
Switch(vlan)#exit
APPLY completed.
Exiting....
Switch#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#int vla
Switch(config)#int vlan 2

%LINK-5-CHANGED: Interface Vlan2, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan2, changed state to up
Switch(config-if)#no sh
Switch(config-if)#ip ad
Switch(config-if)#ip address 2.2.2.2 255.255.255.252
Switch(config-if)#no sh
Switch(config-if)#ex
Switch(config)#ip def
Switch(config)#ip default-gateway 2.2.2.1
Switch(config)#exit

Share this

Related Posts

Previous
Next Post »