Kita Gunakakn Topologi yang siple dulu seperti berikut :
Switch A
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vtp mode transparent
Setting device to VTP TRANSPARENT mode.
Switch(config)#vtp domain ccna
Changing VTP domain name from NULL to ccna
Switch(config)#exit
Switch#
%SYS-5-CONFIG_I: Configured from console by console
Switch#sh vtp status
VTP Version : 2
Configuration Revision : 0
Maximum VLANs supported locally : 255
Number of existing VLANs : 7
VTP Operating Mode : Transparent
VTP Domain Name : ccna
VTP Pruning Mode : Disabled
VTP V2 Mode : Disabled
VTP Traps Generation : Disabled
MD5 digest : 0xFF 0xBF 0x7A 0x4A 0x28 0xF8 0x88 0x56
Configuration last modified by 0.0.0.0 at 3-1-93 00:20:01
Switch#
Switch B
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vtp mode transparent
Setting device to VTP TRANSPARENT mode.
Switch(config)#vtp domain ccna
Changing VTP domain name from NULL to ccna
Switch(config)#exit
Switch#
%SYS-5-CONFIG_I: Configured from console by console
Switch#sh vtp status
VTP Version : 2
Configuration Revision : 0
Maximum VLANs supported locally : 255
Number of existing VLANs : 7
VTP Operating Mode : Transparent
VTP Domain Name : ccna
VTP Pruning Mode : Disabled
VTP V2 Mode : Disabled
VTP Traps Generation : Disabled
MD5 digest : 0xFF 0xBF 0x7A 0x4A 0x28 0xF8 0x88 0x56
Configuration last modified by 0.0.0.0 at 3-1-93 00:20:01
Switch#
Switch A
Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int fa0/12
Switch(config-if)#description link to switch-B
Switch(config-if)#switchport mode trunk
Switch(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/12, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/12, changed state to up
Switch(config-if)#no shutdown
Switch(config-if)#exit
Switch(config)#int fa0/10
Switch(config-if)#description link to router
Switch(config-if)#switchport mode trunk
Switch(config-if)#no shutdown
Switch(config-if)#do wr
Building configuration...
[OK]
Switch(config-if)#
Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vlan 2
Switch(config-vlan)#name vlan-2
Switch(config-vlan)#exit
Switch(config)#vlan 3
Switch(config-vlan)#name vlan-3
Switch(config-vlan)#exit
Switch(config)#
Switch B
Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int fa0/12
Switch(config-if)#des
Switch(config-if)#description lin
Switch(config-if)#description link to switch-A
Switch(config-if)#switchport mode trunk
Switch(config-if)#exit
Switch(config)#vlan 2
Switch(config-vlan)#name vlan-2
Switch(config-vlan)#exit
Switch(config)#vlan 3
Switch(config-vlan)#name vlan-3
Switch(config-vlan)#exit
Switch(config)#do wr
Building configuration...
[OK]
Switch(config)#
Switch A
Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int fa0/2
Switch(config-if)#des
Switch(config-if)#description ***To Laptop-A***
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 2
Switch(config-if)#do wr
Building configuration...
[OK]
Switch(config-if)#
Switch b
Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int fa0/2
Switch(config-if)#des
Switch(config-if)#description ***To Laptop-B***
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 3
Switch(config-if)#do wr
Building configuration...
[OK]
Switch(config-if)#
Router
Press RETURN to get started!
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#host Router-Cisco
Router-Cisco(config)#enable secret cisco
Router-Cisco(config)#line vty 0 4
Router-Cisco(config-line)#no login
Router-Cisco(config-line)#exit
Router-Cisco(config)#int fa0/0
Router-Cisco(config-if)#no shut
Router-Cisco(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Router-Cisco(config-if)#int fa0/0.1
Router-Cisco(config-subif)#
%LINK-5-CHANGED: Interface FastEthernet0/0.1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.1, changed state to up
Router-Cisco(config-subif)#desc ***to VLAN-1***
Router-Cisco(config-subif)#encapsulation dot1Q 1 native
Router-Cisco(config-subif)#ip add
Router-Cisco(config-subif)#ip address 10.1.1.1 255.255.255.0
Router-Cisco(config-subif)#exit
Router-Cisco(config)#
Router-Cisco(config)#int fa0/1
%Invalid interface type and number
Router-Cisco(config)#int fa0/0
Router-Cisco(config-if)#int fa0/0.2
Router-Cisco(config-subif)#
%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-Cisco(config-subif)#encapsulation dot1Q 2
Router-Cisco(config-subif)#desc **to VLAN-2***
Router-Cisco(config-subif)#ip add
Router-Cisco(config-subif)#ip address 10.1.2.1 255.255.255.0
Router-Cisco(config-subif)#int fa0/0.3
Router-Cisco(config-subif)#
%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-Cisco(config-subif)#desc ***to VLAN-3***
Router-Cisco(config-subif)#encapsulation dot1Q 3
Router-Cisco(config-subif)#ip add
Router-Cisco(config-subif)#ip address 10.1.3.1 255.255.255.0
Router-Cisco(config-subif)#end
Router-Cisco#
%SYS-5-CONFIG_I: Configured from console by console
Router-Cisco#
Lebih jelasnya lagi sesuaikan dengan gambar dibawah.
SEKIAN TERIMA KASIH SEMOGA BERMANFAAT
BY : DAVID SEPTIANO RONALDO
0 komentar:
Posting Komentar