20.01
Diposting oleh Unknown
Vlan
Trunk
TRUNK
berfungsi untuk melewatkan traffic VLAN dari switch yang berbeda, antara switch
1 ke switch ke 2 yang terhubung, PC0,PC1,PC2,PC3 ini masuk VLAN 100.
PC8,PC5,PC6,PC7 ini masuk VLAN 200.
2 Segment 2 Switch
Konfigurasi Switch :
Switch Pertama :
Switch>enable
Switch#configure terminal
Enter configuration commands, one per
line. End with CNTL/Z.
Switch(config)#vlan 100
Switch(config-vlan)#name Guru
Switch(config-vlan)#exit
Switch(config)#vlan 200
Switch(config-vlan)#name Siswa
Switch(config-vlan)#exit
Switch(config)#
Switch(config)#interface
FastEthernet0/1
Switch(config-if)#
Switch(config-if)#
Switch(config-if)#switchport access
vlan 100
Switch(config-if)#
Switch(config-if)#exit
Switch(config)#interface
FastEthernet0/2
Switch(config-if)#
Switch(config-if)#
Switch(config-if)#switchport access
vlan 100
Switch(config-if)#
Switch(config-if)#exit
Switch(config)#interface
FastEthernet0/3
Switch(config-if)#
Switch(config-if)#
Switch(config-if)#switchport access
vlan 200
Switch(config-if)#
Switch(config-if)#exit
Switch(config)#interface
FastEthernet0/4
Switch(config-if)#
Switch(config-if)#
Switch(config-if)#switchport access
vlan 200
Switch(config-if)#
Switch(config-if)#exit
Switch(config)#interface
FastEthernet0/5
Switch(config-if)#
Switch(config-if)#switchport mode trunk
Switch(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface
FastEthernet0/5, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on
Interface FastEthernet0/5, changed state to up
Switch(config-if)#exit
Switch(config)#do wr
Building configuration...
[OK]
Switch kedua :
Switch>enable
Switch#configure terminal
Enter configuration
commands, one per line. End with CNTL/Z.
Switch(config)#vlan 100
Switch(config-vlan)#name
Guru
Switch(config-vlan)#exit
Switch(config)#vlan 200
Switch(config-vlan)#name
Siswa
Switch(config-vlan)#exit
Switch(config)#
Switch(config)#interface
FastEthernet0/1
Switch(config-if)#
%LINEPROTO-5-UPDOWN: Line
protocol on Interface FastEthernet0/5, changed state to down
%LINEPROTO-5-UPDOWN: Line
protocol on Interface FastEthernet0/5, changed state to up
Switch(config-if)#
Switch(config-if)#switchport
access vlan 100
Switch(config-if)#
Switch(config-if)#exit
Switch(config)#interface
FastEthernet0/2
Switch(config-if)#
Switch(config-if)#
Switch(config-if)#switchport
access vlan 100
Switch(config-if)#
Switch(config-if)#exit
Switch(config)#interface
FastEthernet0/3
Switch(config-if)#
Switch(config-if)#
Switch(config-if)#switchport
access vlan 200
Switch(config-if)#
Switch(config-if)#exit
Switch(config)#interface
FastEthernet0/4
Switch(config-if)#
Switch(config-if)#
Switch(config-if)#switchport
access vlan 200
Switch(config-if)#
Switch(config-if)#exit
Switch(config)#interface
FastEthernet0/5
Switch(config-if)#
Switch(config-if)#switchport
mode trunk
Switch(config-if)#
Switch(config-if)#exit
Switch(config)#do wr
Building configuration...
[OK]
Hasil Konfigurasi :
Test Ping dari PC0 ke PC1 , PC2, & PC3
Test Ping dari PC8 ke PC5,PC6, & PC7
This entry was posted on October 4, 2009 at 12:14 pm, and is filed under
Cisco
. Follow any responses to this post through RSS. You can leave a response, or trackback from your own site.
Langganan:
Posting Komentar (Atom)
Posting Komentar