Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
SWITCH v1.01-1
Objectives
Describe the different VLAN segmentation models Given an enterprise VLAN network design, describe the information needed to create an implementation plan, indentify choices that need to be made, and analyze the consequences of those choices Given an enterprise VLAN network design that contains endto-end VLANs and trunks, create an implementation and verification plan; then successfully execute that plan Given an enterprise VLAN network design that contains VTP, create an implementation and verification plan; then successfully execute the plan
SWITCH v1.01-2
VLAN Deployment
End-to-End VLANs Users are grouped into VLANs independent of physical location. If users are moved within the campus, their VLAN membership remains the same. Local VLANs This is recommended solution in the Cisco Enterprise Campus Architecture Users are grouped into VLANs depending on physical location If users are moved within the campus, their VLAN membership changes
2009 Cisco Systems, Inc. All rights reserved. SWITCH v1.01-3
Cons:
More routing devices are required than in end-to-end models Users belong to the same broadcast domain when they are at the same location
Cons:
All switches need to know all VLANs Broadcast messages flood all switches Troubleshooting may be challenging
The end-to-end VLANs design model was attractive when IP addressing was static and network traffic follow the 80/20 rule
2009 Cisco Systems, Inc. All rights reserved. SWITCH v1.01-4
SWITCH v1.01-5
VLAN Configuration
Configure VLANs on all switches Configure access mode on port Configure access VLAN on port
Switch(config)# vlan 3 Switch(config-vlan)# name Accounting Switch(config-vlan)# exit Switch(config)# interface Fa0/1 Switch(config-if)# switchport mode access Switch(config-if)# switchport access vlan 3 Switch(config-if)# end
SWITCH v1.01-6
SWITCH v1.01-7
SWITCH v1.01-8
Implementing Trunks
SWITCH v1.01-9
Trunk Configuration
Configure VLANs Disable trunk negotiation Configure trunk mode Set native VLAN to unused VLAN Allow only required VLANs on trunks
Switch(config)#vlan 5,7-9 Switch(config-vlan)#exit Switch(config)#interface fastethernet 0/1 Switch(config-if)#shutdown Switch(config-if)#switchport trunk encapsulation dot1q Switch(config-if)#switchport nonegotiate Switch(config-if)#switchport mode trunk Switch(config-if)#switchport trunk allowed vlan 3,5,8,99 Switch(config-if)#switchport trunk native vlan 99 Switch(config-if)#no shutdown
2009 Cisco Systems, Inc. All rights reserved. SWITCH v1.01-10
SWITCH v1.01-11
ISL Encapsulation
SWITCH v1.01-12
SWITCH v1.01-13
SWITCH v1.01-14
VTP Configuration
Configure VTP mode transparent (mode server is default) VLAN information is stored in switch configuration No VTP advertisement to other switches Recommended configuration
SWITCH v1.01-15
SWITCH v1.01-16
SWITCH v1.01-17
C:\> ping 10.1.1.2 pinging 10.1.1.2 with 32 bytes of data: Reply from 10.1.1.2: bytes=32 time=1ms TTL=64
SWITCH v1.01-18
SWITCH v1.01-20
10
SWITCH v1.01-21
Summary
VLAN segmentation is based on traffic flow patterns The creation of a VLAN implementation plan depends on the business and technical requirements VLAN configuration includes creating the VLAN, configuring access ports, and configuring trunk ports VTP configuration sometimes needs to be added to small network deployments, while VTP transparent mode is usually priviledged for larger networks When configuring VLANs over several switches, ensure that the configuration in compatible throughout switches in the same domain
SWITCH v1.01-22
11
SWITCH v1.01-23
SWITCH v1.01-24
12
interface FastEthernet0/1 switchport access vlan 30 switchport mode dot1q-tunnel l2protocol-tunnel cdp no cdp enable
SWITCH v1.01-25
SWITCH v1.01-26
13
SWITCH v1.01-27
SWITCH v1.01-28
14
interface FastEthernet0/13 switchport access vlan 100 switchport mode dot1q-tunnel l2protocol-tunnel cdp l2protocol-tunnel stp l2protocol-tunnel point-to-point pagp interface FastEthernet0/14 switchport access vlan 200 switchport mode dot1q-tunnel l2protocol-tunnel cdp l2protocol-tunnel stp l2protocol-tunnel point-to-point pagp
SWITCH v1.01-29
Swi(config-if)# switchport Swi(config-if)# l2protocol-tunnel shutdown-threshold cdp 400 Swi(config-if)# l2protocol-tunnel shutdown-threshold stp 400 Swi(config-if)# l2protocol-tunnel shutdown-threshold vtp 400 Swi(config-if)# l2protocol-tunnel drop-threshold vtp 200 Swi(config-if)# end Swi# show l2protocol-tunnel summary
SWITCH v1.01-30
15