Wednesday, June 26, 2013

Lecture Notes for Day1 Switching Lab


Layer 4 - segments - Ports TCP/UDP
Layer 3 - packets - IP Address v4 32 bits - Router/Switch
Layer 2 - frames - MAC Address 48bits - Switch
Layer 1 - bits / bytes - Hub


default VLAN
-------------
1
1002
1003
1004
1005

#show flash:vlan.dat


- 1-4094

- Normal VLAN Range (2-1001) >> can create in which VTP mode ? >> vtp server / transparnet mode
- Extended VLAN Range (1006-4094) >> can create in which VTP mode ? >> vtp transparent mode

- what is VTP ? ( show vtp status )
- VTP Mode ( Server, Client, Transparent )
- vTP Client Mode >> Cannot create VLAN, delete VLAN

- IOS ( lanbase, ipbase, ipservices )

- startup config vs running config

POST
-----
POST: CPU Buffer Tests : Begin
POST: CPU Buffer Tests : End, Status Passed
POST: CPU Interface Tests : Begin
POST: CPU Interface Tests : End, Status Passed
POST: Switch Core Tests : Begin
POST: Switch Core Tests : End, Status Passed
POST: CPU Interface 2nd Stage Tests : Begin
POST: CPU Interface 2nd Stage Tests : End, Status Passed
POST: CAM Subsystem Tests : Begin
POST: CAM Subsystem Tests : End, Status Passed
POST: Ethernet Controller Tests : Begin
POST: Ethernet Controller Tests : End, Status Passed
POST: Loopback Tests : Begin
POST: Loopback Tests : End, Status Passed

- Blocking ( 20 secs ) , Listening ( 15 secs ), Learning ( 15 secs )

- how switch learns MAC address

- show mac address table vs show ip arp/show
- layer 2 broadcast (ff:ff:ff:ff:ff:ff)
- layer 3 broadcast (255.255.255.255)

Switch#show arp
Protocol  Address          Age (min)  Hardware Addr   Type   Interface
Internet  10.1.1.3                0   10dd.b1c8.3a21  ARPA   Vlan1
Internet  10.1.1.1                2   2cd4.44b7.6c6a  ARPA   Vlan1
Internet  10.1.1.254              -   000d.bc91.7f80  ARPA   Vlan1

- Creation of Interface VLAN ( so called SVI- Switched Virutal Interface )
- Why interface VLAN ?


Switch#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#ip routing
Switch(config)#end

Switch#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

C    192.168.10.0/24 is directly connected, Vlan1
     10.0.0.0/24 is subnetted, 1 subnets
C       10.1.1.0 is directly connected, Vlan20
Switch#


Scenario
---------
- set all the PCs with IP Addresses and point to their respective gateway
- do the ping test from each pc and analyze the result
- configure "no ip routing" , the ping will fail
- that proves the difference between Layer 2 Switch and Layer 3 switch

Commands
--------
show run
show ver
show vtp status
show vtp password
show etherchannel summary
show int trunk
show spanning-tree
show ip route
show vlan brief
.

1 comment:

  1. Good Notes to prepare for interviews because they are compact in size and easy to understand. Thanks for sharing.

    Regards
    Silvester Norman

    Change Mac Address


    ReplyDelete