BLOGGER TEMPLATES - TWITTER BACKGROUNDS »

Selasa, 14 Juni 2011

Trunk Port and Inter VLAN Routing



Setting Router :

Router>ena
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname ISR_Rtr
ISR_Rtr(config)#enable pass cisco123
ISR_Rtr(config)#line vty
% Incomplete command.
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)#pass class
ISR_Rtr(config-line)#login
ISR_Rtr(config-subif)#encapsulation dot1q 20
ISR_Rtr(config-subif)#int fa0/0.25
ISR_Rtr(config-subif)#encapsulation dot1q 25
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
ISR_Rtr(config-if)#int fa0/0.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)#ip add 192.168.25.1 255.255.255.0
ISR_Rtr(config-subif)#exit


Setting Switch Floor 1 (Server) :

Router>ena
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname Floor1_Sw
Floor1_Sw(config)#enable pass cisco123
Floor1_Sw(config)#line vty
% Incomplete command.
Floor1_Sw(config)#line vty 0 4
Floor1_Sw(config-line)#pass class
Floor1_Sw(config-line)#login
Floor1_Sw(config-line)#line console 0
Floor1_Sw(config-line)#pass class
Floor1_Sw(config-line)#login
Floor1_Sw(config)#int gi1/1
Floor1_Sw(config-if)#switchport mode trunk
Floor1_Sw(config-if)#int fa0/24
Floor1_Sw(config-if)#switchport mode trunk
Floor1_Sw(config-if)#exit
Floor1_Sw(config)#int fa0/1
Floor1_Sw(config-if)#switchport mode access
Floor1_Sw(config-if)#switchport access vlan 20
Floor1_Sw(config)#vtp mode server
Floor1_Sw(config)#vlan 20
Floor1_Sw(config-vlan)#name Admin
Floor1_Sw(config-vlan)#vlan 25
Floor1_Sw(config-vlan)#name Management
Floor1_Sw(config-vlan)#vlan 30
Floor1_Sw(config-vlan)#name Finance
Floor2_Sw(config)#vtp mode server
Floor2_Sw(config)#vtp pass ciscoVTP
Floor3_Sw(config)#vtp domain SiteX

Setting Switch Floor2 (Client) :

Router>ena
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname Floor1_Sw
Floor1_Sw(config)#enable pass cisco123
Floor1_Sw(config)#line vty
% Incomplete command.
Floor1_Sw(config)#line vty 0 4
Floor1_Sw(config-line)#pass class
Floor1_Sw(config-line)#login
Floor1_Sw(config-line)#line console 0
Floor1_Sw(config-line)#pass class
Floor1_Sw(config-line)#login
Floor1_Sw(config)#int gi1/1
Floor1_Sw(config-if)#switchport mode trunk
Floor1_Sw(config-if)#int gi1/2
Floor1_Sw(config-if)#switchport mode trunk
Floor1_Sw(config-if)#int fa0/24
Floor1_Sw(config-if)#switchport mode trunk
Floor1_Sw(config-if)#exit
Floor1_Sw(config)#int fa0/1
Floor1_Sw(config-if)#switchport mode access
Floor1_Sw(config-if)#switchport access vlan 25
Floor2_Sw(config)#vtp mode client
Floor2_Sw(config)#vtp pass ciscoVTP
Floor3_Sw(config)#vtp domain SiteX


Setting Switch Floor3 (Client) :

Router>ena
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname Floor1_Sw
Floor1_Sw(config)#enable pass cisco123
Floor1_Sw(config)#line vty
% Incomplete command.
Floor1_Sw(config)#line vty 0 4
Floor1_Sw(config-line)#pass class
Floor1_Sw(config-line)#login
Floor1_Sw(config-line)#line console 0
Floor1_Sw(config-line)#pass class
Floor1_Sw(config-line)#login
Floor1_Sw(config)#int gi1/1
Floor1_Sw(config-if)#switchport mode trunk
Floor1_Sw(config-if)#int fa0/24
Floor1_Sw(config-if)#switchport mode trunk
Floor1_Sw(config-if)#exit
Floor1_Sw(config)#int fa0/1
Floor1_Sw(config-if)#switchport mode access
Floor1_Sw(config-if)#switchport access vlan 30
Floor3_Sw(config)#vtp domain SiteX
Floor2_Sw(config)#vtp mode client
Floor2_Sw(config)#vtp pass ciscoVTP

0 komentar: