Basic Configuration Plus Vlan VTP Trunking
Basic Configuration Plus Vlan VTP Trunking
Basic Configuration Plus Vlan VTP Trunking
banner motd &AUTHORIZED PERSONNEL ONLY& enable secret class line con 0 password cisco login logging synch no exec-timeout line vty 0 15 password cisco login service password-encryption no ip domain-lookup ip default-gateway 172.17.99.1 hostname S !! ! ! !-1-@@ Configure Mgt VLANs ! Each switch gets an ip add int vlan 99 ip add 172.17.99.3x ! be sure to do it !! ip add 172.17.00.3x 255.255.255.0 !-2-@@ Configure VTP mode, domain, password !S1 vtp mode server vtp domain CCNA vtp password cisco !S2&3 vtp mode client vtp domain CCNA vtp password cisco !-3-@@ Configure trunking !S1 int r fa0/1-5 switchport mode trunk switchport trunk native vlan 99 no shut !!S2&3 int r fa0/1-4 switchport mode trunk switchport trunk native vlan 99 no shut !-4-@@ Configure VLANs !S1 vlan 10 name Faculty/Staff vlan 20 name Students vlan 88 name Wireless(Guest) vlan 99 name Management&Default
do sh vlan b sh vtp stat !-5-@@ Assign VLANs to ports S2 S3 int r fa0/7, fa0/11, fa0/18 switchport mode access int fa0/7 switchport switchport int fa0/11 switchport int fa0/18 switchport sh vlan b !--6- @@ Configure STP !S1 spanning-tree vlan 1-1005 priority 4096 do sh spann !-7- @@ Configure Router on a stick inter-vlan routing !R1 int fa0/0 ip add 172.17.50.1 255.255.255.0 no shut int fa0/1 no shut int fa0/1.10 encap dot1q 10 ip add 172.17.10.1 255.255.255.0 int fa0/1.20 encap dot1q 20 ip add 172.17.20.1 255.255.255.0 int fa0/1.88 encap dot1q 88 ip add 172.17.88.1 255.255.255.0 int fa0/1.99 encap dot1q 99 native ip add 172.17.99.1 255.255.255.0 mode access access vlan 88 access vlan 10 access vlan 20