SlideShare a Scribd company logo
1 of 114
Switching
Layer 2 Switching ,[object Object],[object Object],[object Object],[object Object]
Switching Services ,[object Object],[object Object],[object Object],[object Object]
How Switches and Bridges Learn Addresses ,[object Object],[object Object],[object Object],[object Object]
Ethernet Access with Hubs
Ethernet Access with Switches
[object Object],[object Object],[object Object],Ethernet Switches and Bridges
Switch Features ,[object Object],[object Object],[object Object],[object Object]
MAC Address Table ,[object Object]
Learning Addresses ,[object Object],[object Object],[object Object]
Learning Addresses (Cont.) ,[object Object],[object Object],[object Object]
Filtering Frames ,[object Object],[object Object]
Broadcast and Multicast Frames ,[object Object],[object Object]
Forward/Filter Decision  ,[object Object],[object Object],[object Object],[object Object]
Learning Mac Address
Learning Mac Address
Learning Mac Address
Learning Mac Address
Learning Mac Address
Learning Mac Address
Learning Mac Address
Forward/Filter PC3 to PC1
Forward/Filter PC3 to PC2
Loop Avoidance ,[object Object],[object Object],[object Object]
Network Broadcast Loops ,[object Object],[object Object],[object Object],[object Object],[object Object]
Multiple Frame Copies
Spanning Tree Protocol
Overview ,[object Object],[object Object],[object Object],[object Object]
Spanning-Tree Protocol ,[object Object]
Spanning Tree Protocol ,[object Object],[object Object]
Spanning-Tree Port States ,[object Object],Disabled
Selecting the Root Bridge ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Spanning Tree Protocol Terms ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],Spanning-Tree Protocol  Root Bridge Selection
[object Object],[object Object],[object Object],[object Object],Spanning-Tree Operation
Selecting the Root Port ,[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],Spanning-Tree Operation 19 100
Switching Methods 1. Cut-Through (Fast Forward) The frame is forwarded through the switch before the entire frame is received. At a minimum the frame destination address must be read before the frame can be forwarded. This mode decreases the latency of the transmission, but also reduces error detection. 2. Fragment-Free (Modified Cut-Through) Fragment-free switching filters out collision fragments before forwarding begins. Collision fragments are the majority of packet errors. In Fragment-Free mode, the switch checks the first 64 bytes of a frame. 3. Store-and-Forward The entire frame is received before any forwarding takes place. Filters are applied before the frame is forwarded. Most reliable and also most latency especially when frames are large.
Switching Methods
Switch Configuration
Physical Startup of the Catalyst Switch ,[object Object],[object Object],[object Object],[object Object]
Switch LED Indicators ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Verifying Port LEDs During Switch POST ,[object Object],[object Object],[object Object]
Switch Command Modes ,[object Object],[object Object],[object Object],[object Object],[object Object]
Show Commands in User-Exec Mode
Tasks ,[object Object],[object Object],[object Object],[object Object]
Setting Switch Hostname Setting Passwords on Lines
Switch Configuration ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Configuring Interface Descriptions ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Switch Configuration ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
VLANs
VLAN’s ,[object Object],[object Object],[object Object],[object Object],[object Object]
VLANs ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
VLAN Overview A VLAN = A Broadcast Domain = Logical Network (Subnet)  ,[object Object],[object Object],[object Object]
History ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Definition ,[object Object],[object Object],[object Object],[object Object]
Security ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
How VLANs Simplify Network Management  ,[object Object],[object Object],[object Object],[object Object]
VLAN Memberships ,[object Object],[object Object]
VLAN Membership Modes
Static VLANs ,[object Object],[object Object],[object Object]
Dynamic VLANs ,[object Object],[object Object],[object Object]
LAB – Creating VLAN ,[object Object],[object Object],[object Object],[object Object],port1 port5 To see the existing VLAN #Show vlan To create VLAN #vlan database Switch(vlan)#vlan 2 name red Switch(vlan)#vlan 3 name blue Assigning ports to VLAN Sw(config)# int fastEthernet 0/1 Sw(config-if)#switch mode access Sw(config-if)#switchport access vlan2
LAB – Deleting VLAN port1 port5 To delete VLAN Sw(config)# no vlan 2 Sw(config)# no vlan 3 To bring port back to VLAN 1 Sw(config-if)#switchport mode acces Sw(config-if)#switch port access vlan1 For a Range Sw(config)#int range fastethernet 0/1 - 5 Sw(config-if)#switch port access vlan1
[object Object],[object Object],[object Object],VLAN Operation
Types of Links  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Access links
Trunk links
Frame Tagging  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Frame Tagging Methods ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],ISL Tagging ISL trunks enable VLANs across a backbone.
LAB-Creating Trunk ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Trunk Port Configuration sw#config t sw(config)#int fastethernet 0/24 sw(config-if)#switchport trunk encapsulation dot1q sw(config-if)#switchport mode trunk * 2950 Only dot1q Encapsulation 10.0.0.3 10.0.0.4 1 2 3 4 1 2 3 4 10.0.0.1 10.0.0.2 24 12
Assigning Access Ports to a VLAN  Switch(config)#interface gigabitethernet 1/1 ,[object Object],Switch(config-if)#switchport mode access ,[object Object],Switch(config-if)#switchport access vlan 3 ,[object Object]
Verifying the VLAN Configuration   Switch#show vlan [id | name]  [vlan_num  |  vlan_name] VLAN Name  Status  Ports ---- -------------------------------- --------- ------------------------------- 1  default  active  Fa0/1, Fa0/2, Fa0/5, Fa0/7 Fa0/8, Fa0/9, Fa0/11, Fa0/12 Gi0/1, Gi0/2 2  VLAN0002  active 51  VLAN0051  active 52  VLAN0052  active … VLAN Type  SAID  MTU  Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2 ---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------ 1  enet  100001  1500  -  -  -  -  -  1002  1003 2  enet  100002  1500  -  -  -  -  -  0  0 51  enet  100051  1500  -  -  -  -  -  0  0 52  enet  100052  1500  -  -  -  -  -  0  0 … Remote SPAN VLANs ------------------------------------------------------------------------------ Primary Secondary Type  Ports ------- --------- ----------------- ------------------------------------------
Verifying the VLAN Port Configuration   Switch#show running-config interface {fastethernet | gigabitethernet}  slot/port ,[object Object],Switch#show interfaces [{fastethernet | gigabitethernet}  slot/port ] switchport ,[object Object],Switch#show mac-address-table interface  interface-id  [vlan  vlan-id ] [ | {begin | exclude | include}  expression ] ,[object Object]
[object Object],[object Object],[object Object],VTP Protocol Features
VLAN Trunking Protocol (VTP) ,[object Object],[object Object],[object Object],[object Object]
VTP Modes ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
VTP Operation ,[object Object],[object Object],[object Object]
VTP Pruning ,[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],VTP Pruning
VTP Configuration Guidelines ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
wg_sw_1900#configure terminal Enter configuration commands, one per line.  End with CNTL/Z wg_sw_1900(config)#vtp transparent  wg_sw_1900(config)#vtp domain switchlab wg_sw_1900(config)#vtp [server | transparent | client] [domain  domain-name ] [trap {enable | disable}] [password  password ] [pruning {enable | disable}] Creating a VTP Domain Catalyst 1900 Catalyst 2950 wg_sw_2950#vlan database wg_sw_2950(vlan)#vtp [ server | client | transparent ] wg_sw_2950(vlan)#vtp domain  domain-name   wg_sw_2950(vlan)#vtp password  password wg_sw_2950(vlan)#vtp pruning
Verifying the VTP Configuration Switch#show vtp status Switch# show vtp status   VTP Version  : 2 Configuration Revision  : 247 Maximum VLANs supported locally : 1005 Number of existing VLANs  : 33 VTP Operating Mode  : Client VTP Domain Name  : Lab_Network VTP Pruning Mode  : Enabled VTP V2 Mode  : Disabled VTP Traps Generation  : Disabled MD5 digest  : 0x45 0x52 0xB6 0xFD 0x63 0xC8 0x49 0x80 Configuration last modified by 0.0.0.0 at 8-12-99 15:04:49 Switch#
Verifying the VTP Configuration (Cont.) Switch#show vtp counters  Switch# show vtp counters VTP statistics: Summary advertisements received  : 7 Subset advertisements received  : 5 Request advertisements received  : 0 Summary advertisements transmitted : 997 Subset advertisements transmitted  : 13 Request advertisements transmitted : 3 Number of config revision errors  : 0 Number of config digest errors  : 0 Number of V1 summary errors  : 0 VTP pruning statistics: Trunk  Join Transmitted Join Received  Summary advts received from non-pruning-capable device ---------------- ---------------- ---------------- --------------------------- Fa5/8  43071  42766  5
VLAN to VLAN ,[object Object]
Router on Stick ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],SW1 SW2 R1 Trunk Port Configuration sw#config t sw(config)#int fastethernet 0/24 sw(config-if)#switchport trunk encapsulation dot1q sw(config-if)#switchport mode trunk Router Configuration R1#config t R1(config)#int fastethernet 0/0.1 R1(config-if)#encapsulation dot1q 2 R1(config-if)#ip address 10..0.0.1 255.0.0.0 R1(config-if# No shut R1(config-Iif)# EXIT R1(config)#int fastethernet 0/0.2 R1(config-if)# encapsulation dot1q 3 R1(config-if)#ip address 20..0.0.1 255.0.0.0 R1(config-if# No shut Router-Switch Port to be made as Trunk sw(config)#int fastethernet 0/9 sw(config-if)#switchport trunk enacapsulation dot1q sw(config-if)#switchport mode trunk 10.0.0.1 20.0.0.1 FA0/0 9 10.0.0.3 20.0.0.3 1 2 3 4 1 2 3 4 10.0.0.2 20.0.0.2 24 12
Fig. 3 NAT (TI1332EU02TI_0003 New Address Concepts, 7) NAT  Network Address Translator
New Addressing Concepts Fig. 2 Address shortage and possible solutions (TI1332EU02TI_0003 New Address Concepts, 5) Problems with IPv4 Shortage of IPv4 addresses Allocation of the last IPv4 addresses was for the year 2005 Address classes were replaced by usage of CIDR, but this is not sufficient Short term solution NAT: Network Address Translator Long term solution IPv6 = IPng (IP next generation) Provides an extended address range
NAT: Network Address Translator Fig. 4 How does NAT work? (TI1332EU02TI_0003 New Address Concepts, 9) NAT Translates between local addresses and public ones Many private hosts share few global addresses Public Network Uses public addresses Public addresses are  globally unique Private Network Uses private address range  (local addresses) Local addresses may not  be used externally
NAT Addressing Terms ,[object Object],[object Object],[object Object],[object Object],[object Object]
Inside/Outside
Inside/Outside
NAT Addressing Terms ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Network Address Translation ,[object Object],[object Object]
Types Of NAT ,[object Object],[object Object],[object Object],[object Object]
Static NAT ,[object Object],[object Object]
Dynamic NAT ,[object Object],[object Object]
Overloading NAT with PAT (NAPT) ,[object Object],[object Object]
Static NAT Configuration ,[object Object],Fig. 2 Address shortage and possible solutions (TI1332EU02TI_0003 New Address Concepts, 5) R1 E0 10.0.0.1 S0 200.0.0.1 Internet 10.0.0.2 10.0.0.3 10.0.0.254 R1(config)#Int fastethernet 0/0 R1(config-if)# IP NAT inside R1(config-if)##Int s 0/0 R1(config-if)# IP NAT outside R1(config-if)# Exit R1(config)# ip NAT inside source static 10.0.0.1 200.0.0.1 To see the table R1(config)#show ip nat translations R1(config)#show ip nat statistics B A C
INSIDE/OUTSIDE
Dynamic NAT ,[object Object],[object Object],[object Object],Fig. 2 Address shortage and possible solutions (TI1332EU02TI_0003 New Address Concepts, 5)
Dynamic NAT ,[object Object],[object Object],[object Object],Fig. 2 Address shortage and possible solutions (TI1332EU02TI_0003 New Address Concepts, 5)
Dynamic NAT Configuration ,[object Object],R1 S0 200.0.0.1/200.0.0.254 Internet Create an Access List R1(config)# Access-list 1 permit 10.0.0.0 0.255.255.255 Configure NAT dynamic Pool R1(config)# IP NAT pool pool1 200.0.0.1 200.0.0.254 netmask 255.255.255.0 Link Access List to Pool R1(config)# IP NAT inside source list 1 pool pool1 E0 B A 10.0.0.1 C 10.0.0.2 10.0.0.3 10.0.0.254
PAT ,[object Object],[object Object],Fig. 2 Address shortage and possible solutions (TI1332EU02TI_0003 New Address Concepts, 5) 200.0.0.1 Internet Shared Global IP 200.0.0.1:1025 200.0.0.1:1026 200.0.0.1:1027 E0 B A 10.0.0.1 C 10.0.0.2 10.0.0.3 10.0.0.254
PAT
PAT
PAT
PAT
PAT
PAT
PAT
Configuration
PAT LAB ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],S0 S0 E0 E0 192.168.10.2 200.0.0.2 192.168.10.1 200.0.0.1 192.168.20.2 192.168.20.1 R1 R2 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],A B

More Related Content

What's hot (20)

IEEE STANDARDS 802.3,802.4,802.5
IEEE STANDARDS 802.3,802.4,802.5IEEE STANDARDS 802.3,802.4,802.5
IEEE STANDARDS 802.3,802.4,802.5
 
Avr309 Usb
Avr309 UsbAvr309 Usb
Avr309 Usb
 
Some Ccna basic detail
Some Ccna basic detailSome Ccna basic detail
Some Ccna basic detail
 
Switching
SwitchingSwitching
Switching
 
LiveAction Spanning Tree Protocol (STP) Application Note
LiveAction Spanning Tree Protocol (STP) Application NoteLiveAction Spanning Tree Protocol (STP) Application Note
LiveAction Spanning Tree Protocol (STP) Application Note
 
Alp Stp
Alp StpAlp Stp
Alp Stp
 
Spannig tree
Spannig treeSpannig tree
Spannig tree
 
Spanning tree protocol (stp)
Spanning tree protocol (stp)Spanning tree protocol (stp)
Spanning tree protocol (stp)
 
813 Ieeestds 090330072026 Phpapp01
813 Ieeestds 090330072026 Phpapp01813 Ieeestds 090330072026 Phpapp01
813 Ieeestds 090330072026 Phpapp01
 
Ccna day4-140715152437-phpapp01
Ccna day4-140715152437-phpapp01Ccna day4-140715152437-phpapp01
Ccna day4-140715152437-phpapp01
 
RSTP (rapid spanning tree protocol)
RSTP (rapid spanning tree protocol)RSTP (rapid spanning tree protocol)
RSTP (rapid spanning tree protocol)
 
Switching units
Switching unitsSwitching units
Switching units
 
I2C Protocol
I2C ProtocolI2C Protocol
I2C Protocol
 
Token ring
Token ringToken ring
Token ring
 
Stp premdeep gill-lu045310-14aug12
Stp premdeep gill-lu045310-14aug12Stp premdeep gill-lu045310-14aug12
Stp premdeep gill-lu045310-14aug12
 
Day 4 LAYER 2 SWITCHING
Day 4 LAYER 2 SWITCHINGDay 4 LAYER 2 SWITCHING
Day 4 LAYER 2 SWITCHING
 
token bus
 token bus token bus
token bus
 
Spanning Tree Protocol
Spanning Tree ProtocolSpanning Tree Protocol
Spanning Tree Protocol
 
8251 a basic
8251 a basic8251 a basic
8251 a basic
 
Routing
RoutingRouting
Routing
 

Similar to C C N A Day4

ccna-day4-switching_1234567890123456.pdf
ccna-day4-switching_1234567890123456.pdfccna-day4-switching_1234567890123456.pdf
ccna-day4-switching_1234567890123456.pdfcisco49
 
Switching vla ns_secugenius_harksh_mikemclain_secugenius security solutions
Switching vla ns_secugenius_harksh_mikemclain_secugenius security solutionsSwitching vla ns_secugenius_harksh_mikemclain_secugenius security solutions
Switching vla ns_secugenius_harksh_mikemclain_secugenius security solutionsMike McLain
 
LAYER 2 SWITCHING
LAYER 2 SWITCHINGLAYER 2 SWITCHING
LAYER 2 SWITCHINGanilinvns
 
Networking interview questions and answers
Networking interview questions and answersNetworking interview questions and answers
Networking interview questions and answersAmit Tiwari
 
Lec1 lan switching
Lec1 lan switchingLec1 lan switching
Lec1 lan switchingkarthiketrx
 
Networking hardware-objectives-identify-major-hardware4986
Networking hardware-objectives-identify-major-hardware4986Networking hardware-objectives-identify-major-hardware4986
Networking hardware-objectives-identify-major-hardware4986sherifmeetme
 
Cisco switching and spanning tree protocol (stp) basics
Cisco switching and spanning tree protocol (stp) basicsCisco switching and spanning tree protocol (stp) basics
Cisco switching and spanning tree protocol (stp) basicsIT Tech
 
Ccna free chapter
Ccna free chapterCcna free chapter
Ccna free chapterkvs062003
 
Networks-part17-Bridges-RP1.pptjwhwhsjshh
Networks-part17-Bridges-RP1.pptjwhwhsjshhNetworks-part17-Bridges-RP1.pptjwhwhsjshh
Networks-part17-Bridges-RP1.pptjwhwhsjshhVijayKaran7
 
Spaning Tree Protocol
Spaning Tree ProtocolSpaning Tree Protocol
Spaning Tree ProtocolAtakan ATAK
 
Ch5 ccna exploration 3 lan swtching and wireless
Ch5 ccna exploration 3 lan swtching and wirelessCh5 ccna exploration 3 lan swtching and wireless
Ch5 ccna exploration 3 lan swtching and wirelesskratos2424
 
Ccna 3 chapter 5 v4.0 answers 2011
Ccna 3 chapter 5 v4.0 answers 2011Ccna 3 chapter 5 v4.0 answers 2011
Ccna 3 chapter 5 v4.0 answers 2011Dân Chơi
 

Similar to C C N A Day4 (20)

Ccna day4
Ccna day4Ccna day4
Ccna day4
 
CCNA PPT
CCNA PPTCCNA PPT
CCNA PPT
 
Ccna day4
Ccna day4Ccna day4
Ccna day4
 
ccna-day4-switching_1234567890123456.pdf
ccna-day4-switching_1234567890123456.pdfccna-day4-switching_1234567890123456.pdf
ccna-day4-switching_1234567890123456.pdf
 
Switching vla ns_secugenius_harksh_mikemclain_secugenius security solutions
Switching vla ns_secugenius_harksh_mikemclain_secugenius security solutionsSwitching vla ns_secugenius_harksh_mikemclain_secugenius security solutions
Switching vla ns_secugenius_harksh_mikemclain_secugenius security solutions
 
LAYER 2 SWITCHING
LAYER 2 SWITCHINGLAYER 2 SWITCHING
LAYER 2 SWITCHING
 
Networking interview questions and answers
Networking interview questions and answersNetworking interview questions and answers
Networking interview questions and answers
 
Bridging.ppt
Bridging.pptBridging.ppt
Bridging.ppt
 
Lec1 lan switching
Lec1 lan switchingLec1 lan switching
Lec1 lan switching
 
Networking hardware-objectives-identify-major-hardware4986
Networking hardware-objectives-identify-major-hardware4986Networking hardware-objectives-identify-major-hardware4986
Networking hardware-objectives-identify-major-hardware4986
 
Cisco switching and spanning tree protocol (stp) basics
Cisco switching and spanning tree protocol (stp) basicsCisco switching and spanning tree protocol (stp) basics
Cisco switching and spanning tree protocol (stp) basics
 
Ccna free chapter
Ccna free chapterCcna free chapter
Ccna free chapter
 
Networks-part17-Bridges-RP1.pptjwhwhsjshh
Networks-part17-Bridges-RP1.pptjwhwhsjshhNetworks-part17-Bridges-RP1.pptjwhwhsjshh
Networks-part17-Bridges-RP1.pptjwhwhsjshh
 
6.switching vla ns
6.switching vla ns6.switching vla ns
6.switching vla ns
 
ENCOR_Capitulo 2.pptx
ENCOR_Capitulo 2.pptxENCOR_Capitulo 2.pptx
ENCOR_Capitulo 2.pptx
 
Spaning Tree Protocol
Spaning Tree ProtocolSpaning Tree Protocol
Spaning Tree Protocol
 
Switching
SwitchingSwitching
Switching
 
Ch5 ccna exploration 3 lan swtching and wireless
Ch5 ccna exploration 3 lan swtching and wirelessCh5 ccna exploration 3 lan swtching and wireless
Ch5 ccna exploration 3 lan swtching and wireless
 
Stp
StpStp
Stp
 
Ccna 3 chapter 5 v4.0 answers 2011
Ccna 3 chapter 5 v4.0 answers 2011Ccna 3 chapter 5 v4.0 answers 2011
Ccna 3 chapter 5 v4.0 answers 2011
 

More from darulquthni

I P Routing Foundations
I P  Routing  FoundationsI P  Routing  Foundations
I P Routing Foundationsdarulquthni
 
English 2 Word Order And Derivatives
English 2    Word  Order And  DerivativesEnglish 2    Word  Order And  Derivatives
English 2 Word Order And Derivativesdarulquthni
 
English 1 Reading Strategy
English 1    Reading  StrategyEnglish 1    Reading  Strategy
English 1 Reading Strategydarulquthni
 
Bahasa Inggris Dasar Dasar Tenses
Bahasa  Inggris    Dasar  Dasar  TensesBahasa  Inggris    Dasar  Dasar  Tenses
Bahasa Inggris Dasar Dasar Tensesdarulquthni
 
H P2 K19 Selling Storage Business Class. R2
H P2  K19  Selling  Storage  Business  Class. R2H P2  K19  Selling  Storage  Business  Class. R2
H P2 K19 Selling Storage Business Class. R2darulquthni
 
Al Azhar Arabic Centre
Al  Azhar  Arabic  CentreAl  Azhar  Arabic  Centre
Al Azhar Arabic Centredarulquthni
 
Lokakarya Banten Sertifikasi Dosen
Lokakarya  Banten  Sertifikasi  DosenLokakarya  Banten  Sertifikasi  Dosen
Lokakarya Banten Sertifikasi Dosendarulquthni
 
P O T R E T I N T E L E K T U A L M A H A S I S W A
P O T R E T  I N T E L E K T U A L  M A H A S I S W AP O T R E T  I N T E L E K T U A L  M A H A S I S W A
P O T R E T I N T E L E K T U A L M A H A S I S W Adarulquthni
 
SalakaNagara Pulosari
SalakaNagara PulosariSalakaNagara Pulosari
SalakaNagara Pulosaridarulquthni
 
H A S I L P E N E L I T I A N D I C I T A M A N J I P U T P A N D E G L ...
H A S I L  P E N E L I T I A N  D I  C I T A M A N  J I P U T  P A N D E G L ...H A S I L  P E N E L I T I A N  D I  C I T A M A N  J I P U T  P A N D E G L ...
H A S I L P E N E L I T I A N D I C I T A M A N J I P U T P A N D E G L ...darulquthni
 
Strategy Organisasi
Strategy  OrganisasiStrategy  Organisasi
Strategy Organisasidarulquthni
 
Pengertian Internet
Pengertian InternetPengertian Internet
Pengertian Internetdarulquthni
 
Wireless Fidelity (WIFI)
Wireless Fidelity (WIFI)Wireless Fidelity (WIFI)
Wireless Fidelity (WIFI)darulquthni
 
Gambar Networking
Gambar  NetworkingGambar  Networking
Gambar Networkingdarulquthni
 

More from darulquthni (20)

Matan Zubaid
Matan ZubaidMatan Zubaid
Matan Zubaid
 
I P Routing Foundations
I P  Routing  FoundationsI P  Routing  Foundations
I P Routing Foundations
 
English 2 Word Order And Derivatives
English 2    Word  Order And  DerivativesEnglish 2    Word  Order And  Derivatives
English 2 Word Order And Derivatives
 
English 1 Reading Strategy
English 1    Reading  StrategyEnglish 1    Reading  Strategy
English 1 Reading Strategy
 
Bahasa Inggris Dasar Dasar Tenses
Bahasa  Inggris    Dasar  Dasar  TensesBahasa  Inggris    Dasar  Dasar  Tenses
Bahasa Inggris Dasar Dasar Tenses
 
H P2 K19 Selling Storage Business Class. R2
H P2  K19  Selling  Storage  Business  Class. R2H P2  K19  Selling  Storage  Business  Class. R2
H P2 K19 Selling Storage Business Class. R2
 
Masjid Al Aqsa
Masjid  Al  AqsaMasjid  Al  Aqsa
Masjid Al Aqsa
 
Al Azhar Arabic Centre
Al  Azhar  Arabic  CentreAl  Azhar  Arabic  Centre
Al Azhar Arabic Centre
 
Lokakarya Banten Sertifikasi Dosen
Lokakarya  Banten  Sertifikasi  DosenLokakarya  Banten  Sertifikasi  Dosen
Lokakarya Banten Sertifikasi Dosen
 
P O T R E T I N T E L E K T U A L M A H A S I S W A
P O T R E T  I N T E L E K T U A L  M A H A S I S W AP O T R E T  I N T E L E K T U A L  M A H A S I S W A
P O T R E T I N T E L E K T U A L M A H A S I S W A
 
SalakaNagara Pulosari
SalakaNagara PulosariSalakaNagara Pulosari
SalakaNagara Pulosari
 
H A S I L P E N E L I T I A N D I C I T A M A N J I P U T P A N D E G L ...
H A S I L  P E N E L I T I A N  D I  C I T A M A N  J I P U T  P A N D E G L ...H A S I L  P E N E L I T I A N  D I  C I T A M A N  J I P U T  P A N D E G L ...
H A S I L P E N E L I T I A N D I C I T A M A N J I P U T P A N D E G L ...
 
Strategy Organisasi
Strategy  OrganisasiStrategy  Organisasi
Strategy Organisasi
 
Web 2.0
Web 2.0Web 2.0
Web 2.0
 
Pengertian Internet
Pengertian InternetPengertian Internet
Pengertian Internet
 
Wireless Fidelity (WIFI)
Wireless Fidelity (WIFI)Wireless Fidelity (WIFI)
Wireless Fidelity (WIFI)
 
V L S
V L SV L S
V L S
 
Gambar Networking
Gambar  NetworkingGambar  Networking
Gambar Networking
 
HP StorageWorks
HP StorageWorksHP StorageWorks
HP StorageWorks
 
H P E V A
H P  E V AH P  E V A
H P E V A
 

C C N A Day4

  • 2.
  • 3.
  • 4.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 24.
  • 25.
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33.
  • 34.
  • 35.
  • 36.
  • 37.
  • 38. Switching Methods 1. Cut-Through (Fast Forward) The frame is forwarded through the switch before the entire frame is received. At a minimum the frame destination address must be read before the frame can be forwarded. This mode decreases the latency of the transmission, but also reduces error detection. 2. Fragment-Free (Modified Cut-Through) Fragment-free switching filters out collision fragments before forwarding begins. Collision fragments are the majority of packet errors. In Fragment-Free mode, the switch checks the first 64 bytes of a frame. 3. Store-and-Forward The entire frame is received before any forwarding takes place. Filters are applied before the frame is forwarded. Most reliable and also most latency especially when frames are large.
  • 41.
  • 42.
  • 43.
  • 44.
  • 45. Show Commands in User-Exec Mode
  • 46.
  • 47. Setting Switch Hostname Setting Passwords on Lines
  • 48.
  • 49.
  • 50.
  • 51. VLANs
  • 52.
  • 53.
  • 54.
  • 55.
  • 56.
  • 57.
  • 58.
  • 59.
  • 61.
  • 62.
  • 63.
  • 64. LAB – Deleting VLAN port1 port5 To delete VLAN Sw(config)# no vlan 2 Sw(config)# no vlan 3 To bring port back to VLAN 1 Sw(config-if)#switchport mode acces Sw(config-if)#switch port access vlan1 For a Range Sw(config)#int range fastethernet 0/1 - 5 Sw(config-if)#switch port access vlan1
  • 65.
  • 66.
  • 69.
  • 70.
  • 71.
  • 72.
  • 73.
  • 74. Verifying the VLAN Configuration Switch#show vlan [id | name] [vlan_num | vlan_name] VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------- 1 default active Fa0/1, Fa0/2, Fa0/5, Fa0/7 Fa0/8, Fa0/9, Fa0/11, Fa0/12 Gi0/1, Gi0/2 2 VLAN0002 active 51 VLAN0051 active 52 VLAN0052 active … VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2 ---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------ 1 enet 100001 1500 - - - - - 1002 1003 2 enet 100002 1500 - - - - - 0 0 51 enet 100051 1500 - - - - - 0 0 52 enet 100052 1500 - - - - - 0 0 … Remote SPAN VLANs ------------------------------------------------------------------------------ Primary Secondary Type Ports ------- --------- ----------------- ------------------------------------------
  • 75.
  • 76.
  • 77.
  • 78.
  • 79.
  • 80.
  • 81.
  • 82.
  • 83. wg_sw_1900#configure terminal Enter configuration commands, one per line. End with CNTL/Z wg_sw_1900(config)#vtp transparent wg_sw_1900(config)#vtp domain switchlab wg_sw_1900(config)#vtp [server | transparent | client] [domain domain-name ] [trap {enable | disable}] [password password ] [pruning {enable | disable}] Creating a VTP Domain Catalyst 1900 Catalyst 2950 wg_sw_2950#vlan database wg_sw_2950(vlan)#vtp [ server | client | transparent ] wg_sw_2950(vlan)#vtp domain domain-name wg_sw_2950(vlan)#vtp password password wg_sw_2950(vlan)#vtp pruning
  • 84. Verifying the VTP Configuration Switch#show vtp status Switch# show vtp status VTP Version : 2 Configuration Revision : 247 Maximum VLANs supported locally : 1005 Number of existing VLANs : 33 VTP Operating Mode : Client VTP Domain Name : Lab_Network VTP Pruning Mode : Enabled VTP V2 Mode : Disabled VTP Traps Generation : Disabled MD5 digest : 0x45 0x52 0xB6 0xFD 0x63 0xC8 0x49 0x80 Configuration last modified by 0.0.0.0 at 8-12-99 15:04:49 Switch#
  • 85. Verifying the VTP Configuration (Cont.) Switch#show vtp counters Switch# show vtp counters VTP statistics: Summary advertisements received : 7 Subset advertisements received : 5 Request advertisements received : 0 Summary advertisements transmitted : 997 Subset advertisements transmitted : 13 Request advertisements transmitted : 3 Number of config revision errors : 0 Number of config digest errors : 0 Number of V1 summary errors : 0 VTP pruning statistics: Trunk Join Transmitted Join Received Summary advts received from non-pruning-capable device ---------------- ---------------- ---------------- --------------------------- Fa5/8 43071 42766 5
  • 86.
  • 87.
  • 88. Fig. 3 NAT (TI1332EU02TI_0003 New Address Concepts, 7) NAT Network Address Translator
  • 89. New Addressing Concepts Fig. 2 Address shortage and possible solutions (TI1332EU02TI_0003 New Address Concepts, 5) Problems with IPv4 Shortage of IPv4 addresses Allocation of the last IPv4 addresses was for the year 2005 Address classes were replaced by usage of CIDR, but this is not sufficient Short term solution NAT: Network Address Translator Long term solution IPv6 = IPng (IP next generation) Provides an extended address range
  • 90. NAT: Network Address Translator Fig. 4 How does NAT work? (TI1332EU02TI_0003 New Address Concepts, 9) NAT Translates between local addresses and public ones Many private hosts share few global addresses Public Network Uses public addresses Public addresses are globally unique Private Network Uses private address range (local addresses) Local addresses may not be used externally
  • 91.
  • 94.
  • 95.
  • 96.
  • 97.
  • 98.
  • 99.
  • 100.
  • 102.
  • 103.
  • 104.
  • 105.
  • 106. PAT
  • 107. PAT
  • 108. PAT
  • 109. PAT
  • 110. PAT
  • 111. PAT
  • 112. PAT
  • 114.

Editor's Notes

  1. Emphasize: The next few slides discuss the basic function of a bridge/switch: 1. How it learns the location of the hosts by reading the source MAC address of incoming frames. 2. How it makes forwarding/filtering decisions. There are three conditions in which a switch will flood a frame out on all ports except to the port on which the frame came in, as follows: Unknown unicast address Broadcast frame Multicast frame 3. How STP is used to avoid loops in a switched/bridged network.
  2. Slide 1 of 3 Emphasize: The 1900en max MAC address table size is 1024. Once the table is full, it will flood all new addresses until existing entries age out. The command to change the MAC address table aging time is, as follows: wg_sw_a(config)# mac-address-table aging-time ? <10-1000000> Aging time value The default is 300 sec. The MAC address table is also referred to as the CAM table (Content Address Memory) on some switches.
  3. Slide 2 of 3
  4. Slide 3 of 3 Emphasize: Once C replies, the switch will also cache station C’s MAC address to port E2, as shown in the next slide.
  5. The server in the figure sends a unicast frame to Router C. Since it’s a unicast frame, Switch A forwards the frame, and Switch B provides the same service—it forwards the unicast. This is bad because it means that Router C receives that unicast frame twice, causing additional overhead on the network.one: The MAC address filter table will be totally confused about the device’s location because the switch can receive the frame from more than one link.
  6. Emphasize: A looped topology is often desired to provide redundancy, but looped traffic is undesirable. The Spanning-Tree protocol was originally designed for bridges. Today, it is also applied to LAN switches and routers operating as a bridge. Spanning-Tree protocol ensures that all bridged segments are reachable but any points where loops occur will be blocked.
  7. a company called Digital Equipment Corporation (DEC) created the original version of Spanning Tree Protocol (STP) . The IEEE later created its own version of STP called 802.1D. All Cisco switches run the IEEE 802.1D version of STP, which isn’t compatible with the DEC version. STP uses the spanning-tree algorithm (STA) to first create a topology database, then search out and destroy redundant links.
  8. Emphasize: Using the default Spanning-Tree protocol timers setting, the times it takes to go from the blocking state to the forwarding state is 50 sec (20 + 15 + 15). Blocking A blocked port won’t forward frames; it just listens to BPDUs. The purpose of the blocking state is to prevent the use of looped paths. All ports are in blocking state by default when the switch is powered up. Listening The port listens to BPDUs to make sure no loops occur on the network before passing data frames. A port in listening state prepares to forward data frames without populating the MAC address table. Learning The switch port listens to BPDUs and learns all the paths in the switched network. A port in learning state populates the MAC address table but doesn’t forward data frames. Forwarding The port sends and receives all data frames on the bridged port. If the port is still a designated or root port at the end of the learning state, it enters this state. Disabled A port in the disabled state (administratively) does not participate in the frame forwarding or STP. A port in the disabled state is virtually nonoperational. Switch ports are most often in either the blocking or forwarding state. A forwarding port is one that has been determined to have the lowest (best) cost to the root bridge. But when and if the network experiences a topology change (because of a failed link or because someone adds in a new switch), you’ll find the ports on a switch in listening and learning states.
  9. BPDUs are sent every two seconds, BPDUs are sent every two seconds, If more than one link connects to the root bridge, then a port cost is determined by checking the bandwidth of each link.The lowest-cost port becomes the root port. If multiple links have the same cost, the bridge with the lower advertising bridge ID is used. Since multiple links can be from the same device, the lowest port number will be used.
  10. Emphasize: By default, the switch with the lowest MAC address will be the root bridge. Note: The Catalyst switches support an instance of spanning tree per VLAN. Each VLAN will use a unique MAC address for spanning tree purposes. On the Catalyst 1900, the address it uses for spanning tree is the MAC address on the various ports. VLAN is discussed in the next chapter. The IEEE 802.1d specification specifies for a 16-bit priority field. The Catalyst 1900 switch only supports the 802.1d Spanning-Tree protocol. The default priority on the Catalyst 1900 is 32768 in decimal or 8000 in hex, the midrange value. BPDU contain the following fields: Protocol ID version Message type Flags Root ID Cost of path Bridge ID Port ID Message age Max age Hello time Forward delay
  11. Emphasize: The three general rules when dealing with STP are as follows: 1. One root bridge per network. The root is the bridge with the lowest bridge ID. All the ports on the root bridge are designated ports (forwarding). 2. For every non-root bridge, there is a root port (forwarding). The root port is the port with the lowest accumulated path cost to the root bridge. 3. For every segment, there is only one designated port. The designated port forwards traffic for the segment. The designated port has the lowest accumulated path cost to the root bridge.
  12. Selecting the Root Port If more than one link leads to the root bridge, then cumulative outbound port costs along the path to the root bridge becomes the factor used to determine which port will be the root port
  13. Emphasize: The three general rules when dealing with STP are as follows: 1. One root bridge per network. The root is the bridge with the lowest bridge ID. All the ports on the root bridge are designated ports (forwarding). 2. For every non-root bridge, there is a root port (forwarding). The root port is the port with the lowest accumulated path cost to the root bridge. 3. For every segment, there is only one designated port. The designated port forwards traffic for the segment. The designated port has the lowest accumulated path cost to the root bridge.
  14. Series – 1900 – Stopped 2900 – Will be used in LAB 3500 – layer 3 Switch
  15. When the 1900 switch is first powered on, it runs through a power-on self-test (POST). At first, all port LEDs are green, and if upon completion the POST determines that all ports are in good shape, all the LEDs blink and then turn off. But if the POST finds a port that has failed, both the System LED and the port’s LED turn amber.
  16. There are several benefits to using VLANs, including: 1. Increased performance 2. Improved manageability 3. Network tuning and simplification of software configurations 4. Physical topology independence 5. Increased security options Increased performance Switched networks by nature will increase performance over shared media devices in use today, primarily by reducing the size of collision domains. Grouping users into logical networks will also increase performance by limiting broadcast traffic to users performing similar functions or within individual workgroups. Additionally, less traffic will need to be routed, and the latency added by routers will be reduced.
  17. Purpose: Emphasize: A VLAN is a broadcast domain. Note: In order to have inter-VLAN communications, a router is required.
  18. Note: Once a port has been assigned to a VLAN, it cannot send or receive traffic from devices in another VLAN without the intervention of a Layer 3 device like a router. The 1900 can’t be configure as the VMPS. A CiscoWorks 2000 or CWSI management station or a Catalyst 5000 switch can be configured as the VMPS. In the future, dynamic VLANs may also offer membership based on other criteria such as protocol or application. Dynamic VLANs are covered in the Managing Cisco Switched Internetworks class.
  19. VMPS VMP S is a server process that supports dynamic ports. Dynamic ports enable end-user nodes to remain on the same VLAN after being moved and plugged into another physical port without the intervention of manual port reconfiguration. To support dynamic ports, there must be at least one Catalyst 5000 switch running VMPS per domain on the network. When a workstation or other end-user node is attached to a dynamic port, the switch uses VMPS information to assign that port to a particular VLAN based on the MAC address of the network interface card in the device. When the device is moved and plugged into another port, VMPS provides configuration information from the MAC-VLAN mapping that allows the device to remain on the same VLAN as before without manual reconfiguration. Without VMPS, each port is statically assigned to a single VLAN. Changing the VLAN assigned to a static port requires manually changing the VLAN assignment of the port. Thus, when you most a device and connect it to a different port, you need to manually reconfigure the port. You can use VlanDirector, CiscoView, or the command-line interface to do this reconfiguration; with VMPS, however, it is automatic.
  20. Layer 3 of 3 Emphasize: A trunk is used to connect two switches together. A trunk carries traffic for multiple VLANs. Only the Fast Ethernet ports on the 1900 can be configured as trunk port. Trunking is off by default on the 1900 Fast Ethernet ports (fa 0/26 and fa 0/27). Note: The 1900 supports DISL. At the time of the beta, the core switch (2900xl) doesn’t support DISL.
  21. Access port – single VLAN Trunk – Between switches and cannot be part of only one VLAN Trunk port can carry multiple VLANS Creating VLAN on each port should be consistent Port can be anything Trunk port is a fastethernet port Since trunk need to carry this to all VLAN’s there should be an ID This ID is frame Tagging
  22. Trunking allows you to make a single port part of multiple VLANs at the same time. This can be a real advantage. For instance, you can actually set things up to have a server in two broadcast domains simultaneously, so that your users won’t have to cross a layer 3 device (router) to log in and access it.
  23. The basic purpose of ISL and 802.1Q frame-tagging methods is to provide inter-switch VLAN communication..
  24. Note: The 1900 only supports ISL trunking. ISL is Cisco proprietary. 802.1Q is an IEEE standard. Other trunk types: LANE (VLANSs over ATM) 802.10 (FDDI trunk)
  25. Two Switches are connected and there are four hosts machines Configure 4 VM with 10.0.0.1 to 10.0.0.4 Ping and see all are pining Have connected thru switches and connect switches using cross cable Create VLAN red and blue on both Switches Now see only the same VLAN’s can communicate
  26. Notes: VTP is a Cisco proprietary feature. VTP is a Layer 2 messaging protocol that maintains VLAN configuration consistency by managing the addition, deletion, and renaming of VLANs on a network-wide basis. VTP minimizes misconfigurations and configuration inconsistencies that can cause several problems, such as duplicate VLAN names, incorrect VLAN-type specifications, and security violations. A VTP domain (also called a VLAN management domain) is one switch or several interconnected switches sharing the same VTP domain. A switch is configured to be in only one VTP domain. You make global VLAN configuration changes for the domain by using the Cisco IOS command-line interface (CLI), Cisco Visual Switch Manager Software, or Simple Network Management Protocol (SNMP). By default, a 1900 switch is in the no-management-domain state until it receives an advertisement for a domain over a trunk link or you configure a management domain. The default VTP mode is server mode, but VLANs are not propagated over the network until a management domain name is specified or learned. If the switch receives a VTP advertisement over a trunk link, it inherits the management domain name and configuration revision number. The switch then ignores advertisements with a different management domain name or an earlier configuration revision number. When you make a change to the VLAN configuration on a VTP server, the change is propagated to all switches in the VTP domain. VTP advertisements are transmitted out all trunk connections, including Inter-Switch Link (ISL), IEEE 802.1Q, IEEE 802.10, and ATM LAN Emulation (LANE). If you configure a switch from VTP transparent mode, you can create and modify VLANs, but the changes are not transmitted to other switches in the domain, and they affect only the individual switch.
  27. Emphasize: Default VTP mode on the Catalyst switches is server. Be careful when adding new switches into an existing network. This is covered in more detail later.
  28. Layer 2 of 2 Emphasize: The latest revision number is what the switches will synchronize to.
  29. Emphasize: VTP prunning provides optimized flooding. Without VTP prunning, station A’s broadcast will be flooded to all switches whether they have any port in the red VLAN or not. Note: VLAN1 can’t be prunned. STP, CDP, VTP updates are sent on VLAN1. All switches in the switched network must support prunning or prunning will be disabled. Each trunk port maintains a state variable per VLAN indicating if the switch has any port assigned to a particular VLAN or not.
  30. Be cautious when adding a new switch into an existing domain. Add a new switch in a Client mode to get the last up-to-date information from the network then convert it to Server mode. Add all new configurations to switch in transparent mode and check your configuration well then convert it to Server mode to prevent the switch from propagating incorrect VLAN information. Notes: All switches in a VTP domain must run the same VTP version. The password entered with a domain name should be the same for all switches in the domain. If you configure a VTP password, the management domain will not function properly if you do not assign the management domain password to each switch in the domain. A VTP version 2-capable switch can operate in the same VTP domain as a switch running VTP version 1, provided version 2 is disabled on the version 2-capable switch (version 2 is disabled by default). Do not enable VTP version 2 on a switch unless all of the switches in the same VTP domain are version 2-capable. When you enable version 2 on a switch, all of the version 2-capable switches in the domain must have version 2 enabled. If there is a version 1-only switch, it will not exchange VTP information with switches with version 2 enabled. If there are Token Ring networks in your environment, you must enable VTP version 2 for Token Ring VLAN switching to function properly. Enabling or disabling VTP pruning on a VTP server enables or disables VTP pruning for the entire management domain. In the lab, all the switches are set to VTP transparent mode.
  31. Layer 2 of 2 Note: The two commands shown in the slide can also be combined into one command: vtp domain switchlab transparent
  32. What Does NAT Do? NAT is like the receptionist in a large office. Let's say you have left instructions with the receptionist not to forward any calls to you unless you request it. Later on, you call a potential client and leave a message for that client to call you back. You tell the receptionist that you are expecting a call from this client and to put her through. The client calls the main number to your office, which is the only number the client knows. When the client tells the receptionist that she is looking for you, the receptionist checks a lookup table that matches your name with your extension. The receptionist knows that you requested this call, and therefore forwards the caller to your extension.
  33. Like static NAT, the NAT router creates a one-to-one mapping between an inside local and inside global address and changes the IP addresses in packets as they exit and enter the inside network. However, the mapping of an inside local address to an inside global address happens dynamically.
  34. There should be router 2600 configured To verify whether router supports IP NAT static go to config and # IP NAT inside source ? (there should be a static Entry) Configure router 2600 with an IP address on Fastethernet port 10.0.0.254 and Serial 0/0 200.0.0.1, need not to connect any cables, configure IP and no shut then see the above commands
  35. There should be router 2600 configured Configure router 2600 with an IP address on Fastethernet port 10.0.0.254 and Serial 0/0 200.0.0.1, need not to connect any cables, configure IP and no shut then see the above commands
  36. Can have 65000 concurrent connection sharing one connection