Configure Inter-VLAN Routing

Download Report

Transcript Configure Inter-VLAN Routing

Implement VTP
LAN Switching and Wireless – Chapter 4
ITE I Chapter 6
© 2006 Cisco Systems, Inc. All rights reserved.
Cisco Public
1
Objectives

Explain the role of VTP in a converged switched
network

Describe the operation of VTP: VTP domains, VTP
Modes, VTP Advertisements, and VTP Pruning.

Configure VTP on the switches in a converged
network.
ITE 1 Chapter 6
© 2006 Cisco Systems, Inc. All rights reserved.
Cisco Public
2
Explain the Role of VTP in a Converged
Switched Network
 Explain the role of VTP in a multi-switch network
ITE 1 Chapter 6
© 2006 Cisco Systems, Inc. All rights reserved.
Cisco Public
3
VTP modes and domain
There are three modes available for VTP
• Server
• Client
• Transparent
ITE 1 Chapter 6
© 2006 Cisco Systems, Inc. All rights reserved.
Cisco Public
4
Describe the Operation of VTP
 Describe the importance of the default VTP
configuration
ITE 1 Chapter 6
© 2006 Cisco Systems, Inc. All rights reserved.
Cisco Public
5
Describe the Operation of VTP
 Explain the role of domains in VTP
ITE 1 Chapter 6
© 2006 Cisco Systems, Inc. All rights reserved.
Cisco Public
6
Describe the Operation of VTP
 Describe how VTP exchanges domain and VLAN
information between switches in the same VTP domain
ITE 1 Chapter 6
© 2006 Cisco Systems, Inc. All rights reserved.
Cisco Public
7
Describe the Operation of VTP
 Describe the role VTP modes play in enabling VTP to
distribute and synchronize domain and VLAN
configuration information in a network
ITE 1 Chapter 6
© 2006 Cisco Systems, Inc. All rights reserved.
Cisco Public
8
Describe the Operation of VTP
 Explain how VTP pruning functions
ITE 1 Chapter 6
© 2006 Cisco Systems, Inc. All rights reserved.
Cisco Public
9
Configure VTP on the Switches in a
Converged Network
 Configure VTP on a Cisco Catalyst Switch
Switch(config)# vtp mode server
Switch(config)# vtp mode client
Switch(config)# vtp mode transparent
Switch(config)# vtp domain TEST
ITE 1 Chapter 6
© 2006 Cisco Systems, Inc. All rights reserved.
Cisco Public
10
Configure VTP on the Switches in a
Converged Network
 Identify and troubleshoot common VTP configuration
problems
ITE 1 Chapter 6
© 2006 Cisco Systems, Inc. All rights reserved.
Cisco Public
11
Summary
 VTP is a Cisco proprietary protocol used to exchange
VLAN information across trunk links.
 A switch can be in one of 3 VTP operating modes
Client
Cannot create, modify or delete VLAN
Server
Can create, modify & delete VLAN
Transparent
Can create, modify, & delete LOCAL VLAN
Forwards VTP advertisements.
ITE 1 Chapter 6
© 2006 Cisco Systems, Inc. All rights reserved.
Cisco Public
12
Summary
 VTP pruning
Limits unnecessary dissemination of VLAN information.
 Verify VTP configuration
Show VTP status
Show interfaces trunk
ITE 1 Chapter 6
© 2006 Cisco Systems, Inc. All rights reserved.
Cisco Public
13
Implement InterVLAN Routing
LAN Switching and Wireless – Chapter 6
ITE I Chapter 6
© 2006 Cisco Systems, Inc. All rights reserved.
Cisco Public
14
Objectives

Explain to the satisfaction of a qualified instructor how
network traffic is routed between VLANs in a
converged network.

Configure inter-VLAN routing on a router to enable
communications between end-user devices on
separate VLANs

Troubleshoot common inter-VLAN connectivity
issues.
ITE 1 Chapter 6
© 2006 Cisco Systems, Inc. All rights reserved.
Cisco Public
15
Explain How Network Traffic is Routed
Between VLANs in a Converged Network
 Describe the routing options between VLANs
ITE 1 Chapter 6
© 2006 Cisco Systems, Inc. All rights reserved.
Cisco Public
16
Configure Inter-VLAN Routing
 Describe the steps to configure inter-VLAN routing
ITE 1 Chapter 6
© 2006 Cisco Systems, Inc. All rights reserved.
Cisco Public
17
Configure Inter-VLAN Routing
 Describe the steps to configure inter-VLAN routing
SWR(config)# ip routing
SWR(config)# interface vlan 10
SWR(config-if)# ip address 172.17.10.1 255.255.255.0
SWR(config-if)# no shutdown
SWR(config)# interface vlan 30
SWR(config-if)# ip address 172.17.30.1 255.255.255.0
SWR(config-if)# no shutdown
ITE 1 Chapter 6
© 2006 Cisco Systems, Inc. All rights reserved.
Cisco Public
18
Explain How Network Traffic is Routed
Between VLANs in a Converged Network
 Describe the role of interfaces and subinterfaces in
supporting inter-VLAN routing
ITE 1 Chapter 6
© 2006 Cisco Systems, Inc. All rights reserved.
Cisco Public
19
Configure Inter-VLAN Routing
 Describe the steps to configure inter-VLAN routing
R1(config)# interface F0/0
R1(config-if)# no shutdown
R1(config)# interface F0/0.10
R1(config-subif)# encapsulation dot1q 10
R1(config-subif)# ip address 172.17.10.1 255.255.255.0
R1(config)# interface F0/0.30
R1(config-subif)# encapsulation dot1q 30
R1(config-subif)# ip address 172.17.30.1 255.255.255.0
ITE 1 Chapter 6
© 2006 Cisco Systems, Inc. All rights reserved.
Cisco Public
20
Troubleshoot Common Inter-VLAN
Connectivity Issues
 Describe the common switch configuration Issues
ITE 1 Chapter 6
© 2006 Cisco Systems, Inc. All rights reserved.
Cisco Public
21
Troubleshoot Common Inter-VLAN
Connectivity Issues
 Describe the common router configuration issues
ITE 1 Chapter 6
© 2006 Cisco Systems, Inc. All rights reserved.
Cisco Public
22
Troubleshoot Common Inter-VLAN
Connectivity Issues
 Describe the common IP Addressing Issues
ITE 1 Chapter 6
© 2006 Cisco Systems, Inc. All rights reserved.
Cisco Public
23
Summary
 Inter-VLAN routing is the process of routing information
between VLANs
 Inter-VLAN routing requires the use of a router or a
layer 3 switch
 Traditional inter-VLAN routing
Requires multiple router interfaces that are each connected to
separate VLANs
ITE 1 Chapter 6
© 2006 Cisco Systems, Inc. All rights reserved.
Cisco Public
24
Summary
 Router on a stick
this is an inter-VLAN routing topology that uses router sub
interfaces connected to a layer 2 switch.
Each Subinterface must be configured with:
An IP address
Associated VLAN number
 Configuration of inter VLAN routing
–Configure switch ports connected to router with correct VLAN
–Configure each router subinterface with the correct IP address
& VLAN ID
 Verify configuration on switch and router
ITE 1 Chapter 6
© 2006 Cisco Systems, Inc. All rights reserved.
Cisco Public
25
Implement Spanning
Tree Protocols
LAN Switching and Wireless – Chapter 5
ITE I Chapter 6
© 2006 Cisco Systems, Inc. All rights reserved.
Cisco Public
26
Objectives

Explain the role of redundancy in a converged
network

Summarize how STP works to eliminate Layer 2 loops
in a converged network

Explain how the STP algorithm uses three steps to
converge on a loop-free topology

Implement rapid per VLAN spanning tree (rapid
PVST+) in a LAN to prevent loops between redundant
switches.
ITE 1 Chapter 6
© 2006 Cisco Systems, Inc. All rights reserved.
Cisco Public
27
Explain the Role of Redundancy in a
Converged Switched Network
 Describe the role redundancy in a hierarchical network
ITE 1 Chapter 6
© 2006 Cisco Systems, Inc. All rights reserved.
Cisco Public
28
Explain the Role of Redundancy in a
Converged Switched Network
 Describe how redundancy can disable a hierarchical
network
ITE 1 Chapter 6
© 2006 Cisco Systems, Inc. All rights reserved.
Cisco Public
29
Explain the Role of Redundancy in a
Converged Switched Network
 Explain how Layer 2 loops occur in well managed
networks
S1
S1
S2
S2
S4
S3
S3
S4
S5
S5
ITE 1 Chapter 6
S6
S6
© 2006 Cisco Systems, Inc. All rights reserved.
Cisco Public
30
Summarize How STP works to Eliminate
Layer 2 Loops in a Converged Network
 Describe the STP port roles
ITE 1 Chapter 6
© 2006 Cisco Systems, Inc. All rights reserved.
Cisco Public
31
Summarize How STP works to Eliminate
Layer 2 Loops in a Converged Network
 Explain the role of the BPDU in STP
ITE 1 Chapter 6
© 2006 Cisco Systems, Inc. All rights reserved.
Cisco Public
32
Summarize How STP works to Eliminate
Layer 2 Loops in a Converged Network
 Explain the role of the BID in STP
ITE 1 Chapter 6
© 2006 Cisco Systems, Inc. All rights reserved.
Cisco Public
33
Summarize How STP works to Eliminate
Layer 2 Loops in a Converged Network
 Describe the how port roles support the operation of
STP
ITE 1 Chapter 6
© 2006 Cisco Systems, Inc. All rights reserved.
Cisco Public
34
Summarize How STP works to Eliminate
Layer 2 Loops in a Converged Network
 Describe the role of STP port states and BPDU timers
in the operation of STP
ITE 1 Chapter 6
© 2006 Cisco Systems, Inc. All rights reserved.
Cisco Public
35
Explain How the STP Algorithm Uses Three
Steps to Converge on a Loop-Free Topology
 Define convergence for a switched network and
summarize the 3 step process STP uses to create a
loop free topology
ITE 1 Chapter 6
© 2006 Cisco Systems, Inc. All rights reserved.
Cisco Public
36
Explain How the STP Algorithm Uses Three
Steps to Converge on a Loop-Free Topology
 Explain the STP decision sequence is used to elect a
root bridge for a network
ITE 1 Chapter 6
© 2006 Cisco Systems, Inc. All rights reserved.
Cisco Public
37
Explain How the STP Algorithm Uses Three
Steps to Converge on a Loop-Free Topology
 Describe the process of electing a root port on a switch
ITE 1 Chapter 6
© 2006 Cisco Systems, Inc. All rights reserved.
Cisco Public
38
Explain How the STP Algorithm Uses Three
Steps to Converge on a Loop-Free Topology
 Describe the process of electing designated ports and
non-designated ports on a switch
ITE 1 Chapter 6
© 2006 Cisco Systems, Inc. All rights reserved.
Cisco Public
39
Implement STP
 Special cases
MAC: 00:c0:df:f9:cc:40
ROOT
Spanning-tree PVST priority: 32768
Cost=19 PID = Port
BRIDGE
ID
Fa0/1
Fa0/1
PID = Port Priority . Port number
S2
S1
––––––––––––––––––––––––––
Fa0/2
Gi0/1
Gi0/1
Fa0/2
Cost=19
Cost=10
PID(Fa0/1)
= 128 . 1
MAC:
00:00:aa:bb:cc:dd
PID(Fa0/2)
= 128
. 2 4096
Spanning-tree
PVST
priority:
Designated Port
Root Port
Non-Designated (alternate) Port
ITE 1 Chapter 6
© 2006 Cisco Systems, Inc. All rights reserved.
Cisco Public
40
Implement Rapid per VLAN Spanning
Tree (rapid PVST+) in a LAN
 Summarize the features of the PVST+, RSTP and rapid
PVST+ variants of STP
ITE 1 Chapter 6
© 2006 Cisco Systems, Inc. All rights reserved.
Cisco Public
41
Implement Rapid per VLAN Spanning
Tree (rapid PVST+) in a LAN
 Describe the features of PVST+
ITE 1 Chapter 6
© 2006 Cisco Systems, Inc. All rights reserved.
Cisco Public
42
Implement Rapid per VLAN Spanning
Tree (rapid PVST+) in a LAN
 Describe RSTP edge ports
ITE 1 Chapter 6
© 2006 Cisco Systems, Inc. All rights reserved.
Cisco Public
43
Implement Rapid per VLAN Spanning
Tree (rapid PVST+) in a LAN
 Describe the RSTP link types
ITE 1 Chapter 6
© 2006 Cisco Systems, Inc. All rights reserved.
Cisco Public
44
Implement Rapid per VLAN Spanning
Tree (rapid PVST+) in a LAN
 Describe the RSTP port states and port roles
ITE 1 Chapter 6
© 2006 Cisco Systems, Inc. All rights reserved.
Cisco Public
45
Implement Rapid per VLAN Spanning
Tree (rapid PVST+) in a LAN
 Describe how to configure rapid PVST+
ITE 1 Chapter 6
© 2006 Cisco Systems, Inc. All rights reserved.
Cisco Public
46
Summary
 Spanning Tree Protocol (STP) is used to prevent loops
from being formed on redundant networks
 STP uses different port states & timers to logically
prevent loops
 There is at least one switch in a network that serves as
the root bridge
Root bridge is elected using information found in BPDU frames
 Root ports are determined by the spanning tree
algorithm and are closest to the root bridge
ITE 1 Chapter 6
© 2006 Cisco Systems, Inc. All rights reserved.
Cisco Public
47
Summary
 STP lengthy convergence time (50 seconds) facilitated
the development of:
RSTP
convergence time is slightly over 6 seconds
Rapid PVST+
adds VLAN support to RSTP
is the preferred spanning-tree protocol on a Cisco switch
netowrk
ITE 1 Chapter 6
© 2006 Cisco Systems, Inc. All rights reserved.
Cisco Public
48
Záver prezentácie
Ďakujem za pozornosť.
Moderné vzdelávanie pre vedomostnú
spoločnosť.
Projekt je spolufinancovaný zo zdrojov
EÚ.
ITE 1 Chapter 6
© 2006 Cisco Systems, Inc. All rights reserved.
Cisco Public
49