Rabu, 15 Juni 2011
TRUNK PORT AND INTER VLAN ROUTER
• Configurasi ROUTER (ISR_RTr) :
Router>ena
Router#conf t
Router(config)#hostname ISR_RTr
ISR_RTr(config)#enable password cisco123
ISR_RTr(config)#line vty 0 4
ISR_RTr(config-line)#pass class
ISR_RTr(config-line)#login
ISR_RTr(config-line)#line console 0
ISR_RTr(config-line)#password class
ISR_RTr(config-line)#login
Password: (class)
ISR_RTr>ena
Password: (cisco123)
ISR_RTr#conf t
ISR_RTr(config)#int fa0/0
ISR_RTr(config-if)#no shut
ISR_RTr(config-if)#int fa 0/0.20
ISR_RTr(config-subif)#encapsulation dot1q 20
ISR_RTr(config-subif)#ip add 192.168.20.1 255.255.255.0
ISR_RTr(config-subif)#int fa0/0.25
ISR_RTr(config-subif)#encapsulation dot1q 25
ISR_RTr(config-subif)#ip add 192.168.25.1 255.255.255.0
ISR_RTr(config-subif)#int fa0/0.30
ISR_RTr(config-subif)#encapsulation dot1q 30
ISR_RTr(config-subif)#ip add 192.168.30.1 255.255.255.0
Configurasi SWITCH:
• Floor1 :
Switch>ena
Switch#conf t
Switch(config)#hostname Floor1_Sw
Floor1_Sw(config)#ena password cisco123
Floor1_Sw(config)#line vty 0 4
Floor1_Sw(config-line)#password class
Floor1_Sw(config-line)#login
Floor1_Sw(config-line)#line console 0
Floor1_Sw(config-line)#password class
Floor1_Sw(config-line)#login
Floor1_Sw(config-line)#^Z
Floor1_Sw#conf t
Floor1_Sw(config)#int gi1/1
Floor1_Sw(config-if)#switchport mode trunk
Floor1_Sw(config-if)#int fa 0/24
Floor1_Sw(config-if)#switchport mode trunk
Switch>ena
Switch#conf t
Switch(config)#hostname Floor1_Sw
Floor1_Sw(config)#ena password cisco123
Floor1_Sw(config)#line vty 0 4
Floor1_Sw(config-line)#password class
Floor1_Sw(config-line)#login
Floor1_Sw(config-line)#line console 0
Floor1_Sw(config-line)#password class
Floor1_Sw(config-line)#login
Floor1_Sw(config-line)#^Z
Floor1_Sw#conf t
Floor1_Sw(config)#int gi1/1
Floor1_Sw(config-if)#switchport mode trunk
Floor1_Sw(config-if)#int fa 0/24
Floor1_Sw(config-if)#switchport mode trunk
Floor1_Sw(config-lif)#^Z
Password:
Floor1_Sw>ena
Password:
Floor1_Sw#conf t
Floor1_Sw(config)#vtp domain SiteX
Floor1_Sw(config)#vtp mode server
Floor1_Sw(config)#vtp password ciscoVTP
Floor1_Sw(config)#int fa0/1
Floor1_Sw(config-if)#switchport mode access
Floor1_Sw(config-if)#switchport access vlan 20
Floor1_Sw(config-if)#exit
Floor1_Sw(config)#exit
Floor1_Sw#conf t
Floor1_Sw(config)#vlan 20
Floor1_Sw(config-vlan)#name Admin
Floor1_Sw(config-vlan)#exit
Floor1_Sw(config)#vlan 25
Floor1_Sw(config-vlan)#name Management
Floor1_Sw(config-vlan)#exit
Floor1_Sw(config)#vlan 30
Floor1_Sw(config-vlan)#name Finance
Floor1_Sw(config-vlan)#exit
• Floor2 :
Switch>ena
Switch#conf t
Switch(config)#hostname Floor2_Sw
Floor2_Sw(config)#ena password cisco123
Floor2_Sw(config)#line vty 0 4
Floor2_Sw(config-line)#password class
Floor2_Sw(config-line)#login
Floor2_Sw(config-line)#line console 0
Floor2_Sw(config-line)#password class
Floor2_Sw(config-line)#login
Floor2_Sw(config-line)#^Z
Floor2_Sw#conf t
Floor2_Sw(config)#int gi1/1
Floor2_Sw(config-if)#switchport mode trunk
Floor2_Sw(config-if)#int gi1/2
Floor2_Sw(config-if)#switchport mode trunk
Password:
Floor2_Sw>ena
Password:
Floor2_Sw#conf t
Floor2_Sw(config)#vtp domain SiteX
Floor2_Sw(config)#vtp mode client
Floor2_Sw(config)#vtp password ciscoVTP
Floor2_Sw(config)#exit
Floor2_Sw#conf t
Floor2_Sw(config)#int fa0/1
Floor2_Sw(config-if)#switchport mode access
Floor2_Sw(config-if)#switchport access vlan 25
Floor2_Sw(config-if)#^Z
Floor2_Sw#show vlan
• Floor 3:
Switch>ena
Switch#conf t
Switch(config)#hostname Floor3_Sw
Floor3_Sw(config)#ena password cisco123
Floor3_Sw(config)#line vty 0 4
Floor3_Sw(config-line)#password class
Floor3_Sw(config-line)#login
Floor3_Sw(config-line)#line console 0
Floor3_Sw(config-line)#password class
Floor3_Sw(config-line)#login
Floor3_Sw(config-line)#^Z
Floor3_Sw#conf t
Floor3_Sw(config)#int gi1/1
Floor3_Sw(config-if)#switchport mode trunk
Floor3_Sw(config-if)#^Z
Floor3_Sw#conf t
Floor3_Sw(config)#vtp domain SiteX
Floor3_Sw(config)#vtp mode client
Floor3_Sw(config)#vtp password ciscoVTP
Floor3_Sw(config)#^Z
Floor3_Sw#conf t
Floor3_Sw(config)#int fa 0/1
Floor3_Sw(config-if)#switchport mode access
Floor3_Sw(config-if)#switchport access vlan 30
Selasa, 07 Juni 2011
Router Summarization
ROUTER 3
Router>ena
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa0/0
Router(config-if)#ip add 192.168.2.1 255.255.255.0
Router(config-if)#no shut
%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)#int ser 2/0
Router(config-if)#ip add 192.168.1.2 255.255.255.0
Router(config-if)#no shut
%LINK-5-CHANGED: Interface Serial2/0, changed state to down
Router(config-if)#exit
Router(config)#ip route 172.16.0.0 255.255.252.0 ser 2/0
Router(config)#
ROUTER 2
Router>ena
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa0/0
Router(config-if)#ip add 172.16.1.1 255.255.255.0
Router(config-if)#no shut
%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)#int ser 2/0
Router(config-if)#ip add 172.16.2.2 255.255.255.0
Router(config-if)#description ke router R1
Router(config-if)#no shut
%LINK-5-CHANGED: Interface Serial2/0, changed state to down
Router(config-if)#exit
Router(config)#int ser 3/0
Router(config-if)#ip add 192.168.1.1 255.255.255.0
Router(config-if)#clock rate 9600
Router(config-if)#description ke router R3
Router(config-if)#no shut
%LINK-5-CHANGED: Interface Serial3/0, changed state to up
Router(config-if)#exit
Router(config)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial3/0, changed state to up
Router(config)#ip route 172.16.3.0 255.255.255.0 ser 2/0
Router(config)#ip route 192.168.2.0 255.255.255.0 ser 3/0
Router(config)#
ROUTER 1
Router>ena
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa 0/0
Router(config-if)#ip add 172.16.3.1 255.255.255.0
Router(config-if)#no shut
%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)#int ser2/0
Router(config-if)#ip add 172.16.2.1 255.255.255.0
Router(config-if)#clock rate 9600
Router(config-if)#no shut
%LINK-5-CHANGED: Interface Serial2/0, changed state to up
Router(config-if)#exit
Router(config)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up
Router(config)#ip route 0.0.0.0 0.0.0.0 ser2/0
Router(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
Router#