CN2668 Routers and Switches (V2) Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+

Slides:



Advertisements
Similar presentations
Virtual Trunk Protocol
Advertisements

© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—2-1 Extending Switched Networks with Virtual LANs Introducing VLAN Operations.
Part 2: Preventing Loops in the Network
Virtual LANs.
Cisco 3 - Switch Perrine. J Page 15/8/2015 Chapter 8 What happens to the member ports of a VLAN when the VLAN is deleted? 1.They become inactive. 2.They.
VLANs Virtual LANs CIS 278.
VLANs Module 2. 2 VLANs  VLANs  Trunking  VLAN Trunking Protocol (VTP)
STP Spanning tree protocol. Trunk port : A trunk port is a port that is assigned to carry traffic for all the VLANs that are accessible by a specific.
VLANs (Virtual LANs) CS 158B Elaine Lim Allison Nham.
Virtual LANs. VLAN Overview Segmentation Flexibility Security 3rd floor 2nd floor 1st floor SALESHRENG A VLAN = A broadcast domain = Logical network (subnet)
© Wiley Inc All Rights Reserved. CCNA: Cisco Certified Network Associate Study Guide CHAPTER 8: Virtual LANs (VLANs)
(part 3).  Switches, also known as switching hubs, have become an increasingly important part of our networking today, because when working with hubs,
LOGO Local Area Network (LAN) Layer 2 Switching and Virtual LANs (VLANs) Local Area Network (LAN) Layer 2 Switching and Virtual LANs (VLANs) Chapter 6.
Virtual LANs. VLAN introduction VLANs logically segment switched networks based on the functions, project teams, or applications of the organization regardless.
Sybex CCNA Chapter 9: VLAN’s Instructor & Todd Lammle.
Ethernet Errors and Problems
Connecting LANs, Backbone Networks, and Virtual LANs
Instructor & Todd Lammle
Sybex CCNA Chapter 11: VLAN’s Instructor & Todd Lammle.
VLAN Trunking Protocol
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 7 Spanning-Tree Protocol Cisco Networking Academy.
CCNA Guide to Cisco Networking Fundamentals Fourth Edition
Switching in an Enterprise Network
CIT 384: Network AdministrationSlide #1 CIT 384: Network Administration VLANs.
VLAN Trunking Protocol (VTP)
Saeed Darvish Pazoki – MCSE, CCNA Abstracted From: Cisco Press – ICND 2 – Chapter 2 Spanning tree Protocol 1.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Implement Spanning Tree Protocols LAN Switching and Wireless – Chapter 5 Part.
CS 350 Chapter-11Switching. Switching Service Hardware-based bridging (ASIC: application-specific integrated circuits) Wire speed Low latency Low cost.
Building Cisco Multilayer Switched Networks (BCMSN)
Click to edit Master subtitle style Chapter 11: Switching and VLANs Instructor:
Chapter 9 Virtual LANs (VLANs). Setup 1 Setup 2.
Chapter 8: Virtual LAN (VLAN)
Cisco 3 - LAN Perrine. J Page 110/20/2015 Chapter 8 VLAN VLAN: is a logical grouping grouped by: function department application VLAN configuration is.
© 2002, Cisco Systems, Inc. All rights reserved..
Created By NGIT. LAN Switching  A LAN switch is a device that provides much higher port density at a lower cost than traditional bridges. For this.
1 Kyung Hee University Chapter 15 Connecting LANs, Backbone Networks, and Virtual LANs.
LOGO Local Area Network (LAN) Layer 2 Switching and Virtual LANs (VLANs) Local Area Network (LAN) Layer 2 Switching and Virtual LANs (VLANs) Chapter 6.
Medium-Sized Switched Network Construction NetPro-ITI Implementing VLANs and Trunks.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 8 Virtual LANs.
Switching Basics and Intermediate Routing CCNA 3 Chapter 8.
Click to edit Master subtitle style
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 9 Virtual Trunking Protocol.
Switch Features Most enterprise-capable switches have a number of features that make the switch attractive for large organizations. The following is a.
Cisco S3C3 Virtual LANS. Why VLANs? You can define groupings of workstations even if separated by switches and on different LAN segments –They are one.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 8 Virtual LANs Cisco Networking Academy.
STP LAN Redundancy Introduction Network redundancy is a key to maintaining network reliability. Multiple physical links between devices provide redundant.
Chapter 3 - VLANs. VLANs Logical grouping of devices or users Configuration done at switch via software Not standardized – proprietary software from vendor.
Switching Topic 2 VLANs.
Finish up from Monday:. Today’s Agenda…  Day 1 Switching Technologies (Chapter 2 Sybex)Switching Technologies (Chapter 2 Sybex) VIRTUAL LAN’s [VLAN’S]
1 Version 3.0 Module 7 Spanning Tree Protocol. 2 Version 3.0 Redundancy Redundancy in a network is needed in case there is loss of connectivity in one.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Switching in an Enterprise Network Introducing Routing and Switching in the.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 9 VLAN Trunking Protocol Cisco Networking Academy.
Configuring VLAN Chapter 14 powered by DJ 1. Chapter Objectives At the end of this Chapter you will be able to:  Understand basic concept of VLAN  Configure.
Chapter 4 Version 1 Virtual LANs. Introduction By default, switches forward broadcasts, this means that all segments connected to a switch are in one.
W&L Page 1 CCNA CCNA Training 2.5 Describe how VLANs create logically separate networks and the need for routing between them Jose Luis.
Topic 5 Spanning tree protocol
Chapter-5 STP. Introduction Examine a redundant design In a hierarchical design, redundancy is achieved at the distribution and core layers through additional.
LAN Switching Virtual LANs. Virtual LAN Concepts A LAN includes all devices in the same broadcast domain. A broadcast domain includes the set of all LAN-connected.
Switching and VLANs.
Switching and VLANs.
VLAN Trunking Protocol
Virtual LANs.
Connecting LANs, Backbone Networks,
Switching and VLANs.
CCNA 3 v3 JEOPARDY Module 8 CCNA3 v3 Module 8 K. Martin.
CCNA 3 v3 JEOPARDY Module 8 CCNA3 v3 Module 8 K. Martin.
Chapter 16 Connecting LANs, Backbone Networks, and Virtual LANs
Cisco networking CNET-448
Virtual LAN VLAN Trunking Protocol and Inter-VLAN Routing
Presentation transcript:

CN2668 Routers and Switches (V2) Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+

Agenda Chapter 13: Advanced Switching Concepts Exercise Quiz

Spanning Tree Protocol Physical path loops ▫A physical connection created when connected with two or more physical media links ▫Help improve a network’s fault tolerance ▫Drawback  Can result in endless packet looping ▫See Figure 13-1 on Page 366 Spanning Tree Protocol (STP) ▫A layer 2 link management protocol designed to prevent looping on bridges and switches ▫The specification for STP is IEEE 802.1d

Spanning Tree Protocol (continued) Spanning Tree Algorithm (STA) ▫To interrupt the logical loop created by a physical loop in a bridged/switched environment  Some or certain ports on are configured to discard the frames Building a logical path ▫Switches and bridges on a network use an election process to configure a single logical path  A root bridge (root device) is selected  Then, the other switches and bridges configure their ports, using the root bridge as a point of reference  The decision based on the lowest number of priority or lowest MAC address if both have same priority number

Spanning Tree Protocol (continued) Bridges use STP to transfer the information about each bridge’s MAC address and priority number Bridge protocol data units (BPDU) or Configuration bridge protocol data units (CBPDU) ▫The messages the devices send to one another Each bridge or switch determines which of its own ports offers the best path to the root bridge Root ports ▫The BPDU messages are sent between the root bridge and the best ports on the other devices

Spanning Tree Protocol (continued) If BPDUs are not received for a certain period of time ▫The non-root-bridge devices will assume that the root bridge has failed, and a new root bridge will be elected ▫Once the root bridge is determined and the switches and bridges have calculated their paths to the root bridge  The logical loop is removed by one of the switches or bridges

Spanning Tree Protocol (continued) Port states ▫STP will cause the ports on a switch or bridge to settle into a stable state Stable states ▫The normal operating states of ports Transitory states ▫Prevent logical loops during a period of transition from one root bridge to another while a new root bridge is being elected

Spanning Tree Protocol (continued) The stable states are as follows: ▫Blocking  Send and receive STP messages, not the data frames ▫Forwarding  Receive and send all data frames, STP messages, and learn new MAC address ▫Disabled The transitory states are as follows: ▫Listening ▫Learning

Spanning Tree Protocol (continued) Ports on STP-enabled devices move through the different states as indicated in the following list: ▫From bridge/switch bootup to blocking ▫From blocking to listening (or to disabled) ▫From listening to learning (or to disabled) ▫From learning to forwarding (or to disabled) ▫From forwarding to disabled

Spanning Tree Protocol (continued) Topology changes ▫When the topology is changed, STP-enabled devices react automatically  If CBPDUs are not received, Device will claim to be the root bridge and continue the path build process Per-VLAN STP (PVSTP) ▫Operates on VLANs and treats all VLANs connected as separate physical networks

Spanning Tree Protocol (continued) Spanning Tree PortFast ▫Allows you to configure a switch to bypass some of the latency (delay)  Only if that device will not create the loop Configuring STP ▫See Table 13-1 on Page 369 Rapid STP (RSTP) ▫Use IEEE 802.1w

Virtual LANs A grouping of network devices that is not restricted to a physical segment or switch Can be configured on most switches to restructure broadcast domains Broadcast domain ▫Group of network devices that will receive LAN broadcast traffic from each other

Virtual LANs (continued) Management VLAN (also known as the default VLAN) ▫By default, every port on a switch is in VLAN 1 ▫You can create multiple VLANs on a single switch ▫Or create one VLAN across multiple switches A VLAN is a layer 2 implementation, and does not affect layer 3 logical addressing See Figure 13-2 and 13-3 on Page 371

Benefits of VLANs Benefits: ▫Ease of adding and moving stations on the LAN ▫Ease of reconfiguring the LAN ▫Better traffic control  Because the administrator can set the size of the broadcast domain ▫Increased security  VLANs can be configured by network administrators to allow membership only for certain devices  See Figure 13-4 on Page 373

Dynamic vs. Static VLANs Static VLANs ▫Configured port-by-port ▫The network administrator manually types in the mapping for each port and VLAN Dynamic VLAN ▫Uses a software database of MAC address-to- VLAN mappings that is created manually  Ports can automatically determine their VLAN configuration

VLAN Standardization Frame filtering ▫One table for each VLAN ▫Master table that was shared by all VLANs Frame tagging ▫Also known as frame identification ▫IEEE 802.1q specification

VLAN Standardization (continued) Frame tagging ▫Involves adding a four-byte field to the actual Ethernet frame to identify the VLAN and other pertinent information  Makes it easier and more efficient to ship VLAN frames across network backbones  Switches on the other side of the backbone can simply read the frame instead of being required to refer back to a frame-filtering table Inter-Switch Link (ISL) protocol ▫Cisco-based that supports only

Creating VLANs To use the config-vlan mode, you type the following: ▫ Rm410HL(config)#VLAN 2 ▫ Rm410HL(config-vlan)name production To use the VLAN configuration mode, you start by entering the VLAN database ▫ Rm410HL #VLAN database ▫ Rm410HL(vlan)#vlan 2 name production

Creating VLANs (continued) To assign switch ports to the new VLANs ▫Ports can be assigned as static or dynamic ▫ Rm410HL(config)#int f0/5 ▫ Rm410HL(config-if)#switchport access vlan 2 To remove a VLAN, use the no parameter: ▫ Rm410HL(config)#no vlan 2

Link Types and Configuration Trunk links ▫Switch-to- switch or switch-to-router links that can carry traffic from multiple VLANs Access links ▫Links to non-VLAN-aware devices such as hubs and individual workstations

Link Types and Configuration (continued) 5 different states for a trunk link: ▫Auto – if connected device is set to on or desireable ▫Desirable – if connected device is set to on or desireable, or auto ▫Nonegotiate – will not negotiate that status with any other device ▫Off – is not a trunk interface and will try to disable ▫On – is not a trunk interface and will try to disable

Link Types and Configuration (continued) To configure a trunk link on a Catalyst 2950 ▫Rm401HL# Conf t ▫Rm401HL(config)# int fastethernet 0/24 ▫Rm401HL(config-if)# switchport mode trunk You can prevent ports from using VLAN ▫Rm401HL# Conf t ▫Rm401HL(config)# int fastethernet 0/24 ▫Rm401HL(config-if)# switchport trunk allowed vlan remove 4

Link Types and Configuration (continued) Switch interface descriptions ▫You can configure a name for each port on a switch ▫Rm401HL# Conf t ▫Rm401HL(config)# int f0/1 ▫Rm401HL(config-if)# description productionVlan ▫Rm401HL(config-if)# int f0/24 ▫Rm401HL(config-if)# description trunkbldg777

VLAN Trunking Protocol To manage all of the configured VLANs that traverse trunks between switches A layer 2 messaging protocol VTP domains ▫VTP devices are organized into domains ▫Each switch can only be in one VTP domain at a time  All devices that need to share information must be in the same VTP domain  Rm410HL#vlan database  Rm410HL(vlan)#vtp domain domainname

VTP Device Modes Server ▫Device can add, rename, and delete VLANs and propagate those changes to the rest of the VTP devices Client ▫Device is not allowed to make changes to the VLAN structure, but it can receive, interpret, and propagate changes made by a server Transparent ▫A device is not participating in VTP communications, other than to forward that information through its configured trunk links

VLAN Trunking Protocol (continued) VTP pruning option ▫Reduces the number of VTP updates that traverse a link ▫Off by default on all switches If you turn VTP pruning on ▫VTP message broadcasts are only sent through trunk links that must have the information VLAN 1 is not eligible to be pruned because it is an administrative (and default) VLAN

Nonswitching Hubs and VLANs Important considerations: ▫All the systems attached to the hub will be in the same VLAN ▫You will have to physically attach the device to another hub or switch port to change its VLAN assignment, if you move the device

Routers and VLANs To increase security ▫Must be used to manage traffic between different VLANs ▫Implement access lists  Increase inter-VLAN security A router allows restrictions to be placed on station addresses, application types, and protocol types

Routers and VLANs (continued) The router will accept the frame tagged by the sending VLAN and determine the best path to the destination address ▫The router will then switch the packet to the appropriate interface and forward it to the destination address

CCNA Guide to Cisco Networking Fundamentals, Fourth Edition 30 Routers and VLANs (continued) Router-on-a-stick ▫If a single link is used to connect an external router with the switch containing multiple VLANs  Trunking is required for inter-VLAN routing Trunking is the process of using either ISL or 802.1q to allow multiple VLAN traffic on the same link ▫For instance, an ISL trunk link would encapsulate each packet with the associated VLAN information and allow the router to route the packet accordingly

Assignment Review Questions ▫1 – 25 Exercise

Place 2 switches and 2 workstation, do not connect the cables On first switch rename it to server (for easier understanding) Create VLAN as shown on Page Set the VTP domain ▫Server#vlan database ▫Server (vlan)#VTP domain RM403 Create the trunk link on Server. See page 376.

Exercise On second switch rename it to client (for easier understanding) Connect UTP cable from WS1 to port 5 Connect cross-over cable to port 24 on Server and Client Type the following on Client switches ▫Enable ▫Show vlan