SlideShare a Scribd company logo
1 of 29
Download to read offline
© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—4-1© 2002, Cisco Systems, Inc. All rights reserved. 1
Configuring VLANs
© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—4-2
Objectives
Upon completing this lesson, you will be able to:
• Use Cisco IOS commands to configure VLANs, VTP, IEEE
802.1Q trunking, and ISL trunking, given a functioning
access layer switch
• Execute an add, move, or change on an access-layer
switch, given a new network requirement
• Use show commands to identify anomalies in VLAN, VTP,
IEEE 802.1Q trunking, ISL trunking, and spanning-tree
operation within a VLAN, given an operational access
layer switch
• Use debug commands to identify events and anomalies in
VLAN, VTP, IEEE 802.1Q trunking, ISL trunking, and
spanning-tree operation, given an operational access
layer switch
© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—4-3
• VTP domain name
• VTP mode (server/client/transparent)—
VTP server mode is the default
• VTP pruning
• VTP password
• VTP trap
Use caution when adding a new switch to an existing domain.
Add a new switch in client mode to prevent the new switch from
propagating incorrect VLAN information.
Use the delete vtp command to reset the VTP revision number.
VTP Configuration Guidelines
© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—4-4
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
wg_sw_2950(vlan)#snmp-server enable traps vtp
wg_sw_2950(vlan)#exit
© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—4-5
VTP Configuration Example
wg_sw_1900(config)#vtp transparent
wg_sw_1900(config)#vtp domain switchlab pruning enable
wg_sw_1900(config)#exit
wg_sw_1900#show vtp
VTP version: 1
Configuration revision: 4
Maximum VLANs supported locally: 1005
Number of existing VLANs: 6
VTP domain name : switchlab
VTP password :
VTP operating mode : Transparent
VTP pruning mode : Enabled
VTP traps generation : Enabled
Configuration last modified by: 0.0.0.0 at 00-00-0000
00:00:00
wg_sw_1900#config terminal
wg_sw_1900(config)#interface f0/26
wg_sw_1900(config-if)#trunk on desirable
wg_sw_1900(config-if)#exit
wg_sw_1900(config)#exit
wg_sw_1900#show trunk A
DISL state: On, Trunking: On, Encapsulation type: ISL
© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—4-6
802.1Q Trunking Limitations
• Make sure the native
VLAN for an 802.1Q
trunk is the same on
both ends of the trunk
link.
• Make sure your
network is loop-free
before disabling STP.
© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—4-7
Configuring
802.1Q Trunking
(config-if)#switchport mode trunk
• Configures the port as a VLAN trunk
© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—4-8
wg_sw_1900#conf terminal
Enter configuration commands, one per line. End with CNTL/Z
wg_sw_1900(config)#interface f0/26
wg_sw_1900(config-if)#trunk on
First Trunk Port (Port A)
wg_sw_1900(config-if)#trunk [on | off | desirable | auto |
nonegotiate]
• on = Set trunk on and negotiate with other side
• off = Set trunk off and negotiate with other side
• desirable = Negotiate with other side;
trunk on if other side is on, desirable, or auto
• auto = Will be a trunk only if the other side is on or desirable
• nonnegotiate = Set trunk on and will not negotiate
Configuring ISL Trunking
• Note: The Catalyst 1900 only supports ISL encapsulation.
© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—4-9
VLAN Configuration Guidelines
• Maximum number of VLANs is switch-dependent.
• Catalyst desktop switches support 64 VLANs with a
separate spanning tree per VLAN.
• VLAN1 is the factory default Ethernet VLAN.
• CDP and VTP advertisements are sent on VLAN1.
• The Catalyst switch IP address is in the
management VLAN (VLAN1 by default).
• To add or delete VLANs, the switch must be in VTP
server or transparent mode.
© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—4-10
wg_sw_1900(config)# vlan vlan# [name vlan-name]
Adding a VLAN
wg_sw_1900#configure terminal
Enter configuration commands, one per line. End with CNTL/Z
wg_sw_1900(config)#vlan 9 name switchlab2
Catalyst 1900
Catalyst 2950
wg_sw_2950#vlan database
wg_sw_2950(vlan)# vlan vlan# [name vlan-name]
wg_sw_2950#vlan database
wg_sw_ 2950(vlan)#vlan 9 name switchlab2
wg_sw_ 2950(vlan)#exit
© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—4-11
wg_sw_a(config)#vlan vlan# name vlan-name
wg_sw_a#configure terminal
Enter configuration commands, one per line. End with CNTL/Z
wg_sw_a(config)#vlan 9 name switchlab90
wg_sw_a#show vlan 9
VLAN Name Status Ports
------------------------------------------------
9 switchlab90 Enabled
------------------------------------------------
Modifying a VLAN Name
© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—4-12
wg_sw_1900(config-if)#vlan-membership {static {vlan#} | dynamic}
Assigning Switch Ports to a VLAN
wg_sw_1900#conf terminal
Enter configuration commands, one per line. End with CNTL/Z
wg_sw_1900(config)#interface ethernet 0/8
wg_sw_1900(config-if)#vlan-membership static 9
Catalyst 1900
Catalyst 2950
wg_sw_2950(config-if)#switchport access vlan vlan#
© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—4-13
Verifying the VTP Configuration
for the Catalyst 1900
wg_sw_1900#show vtp
VTP version: 1
Configuration revision: 4
Maximum VLANs supported locally: 1005
Number of existing VLANs: 6
VTP domain name : switchlab
VTP password :
VTP operating mode : Transparent
VTP pruning mode : Enabled
VTP traps generation : Enabled
Configuration last modified by: 10.1.1.40 at 00-00-0000 00:00:00
wg_sw_1900#show vtp
© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—4-14
Verifying the VTP Configuration
for the Catalyst 2950
wg_sw_2950#show vtp status
wg_sw_2950#show vtp status
VTP Version : 2 <--- Indicates v2-capable
Configuration Revision : 4
Maximum VLANs supported locally : 68
Number of existing VLANs : 6
VTP Operating Mode : Server
VTP Domain Name : switchlab
VTP Pruning Mode : Enabled
VTP V2 Mode : Disabled <--- Indicates v2 disabled; v1 set
VTP Traps Generation : Disabled <--- Catalyst 2950 default
MD5 digest : 0x3D 0x02 0xD4 0x3A 0xC4 0x46 0xA1 0x03
Configuration last modified by 10.1.1.40 at 5-4-02 22:25:
© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—4-15
wg_sw_1900#show trunk a
DISL state: On, Trunking: On, Encapsulation type: ISL
wg_sw_1900#show trunk [A | B]
Verifying a Trunk
Catalyst 1900
Catalyst 2950
wg_sw_2950#show interface interface switchport
wg_sw_2950#show interface fa0/2 switchport
Name: Fa0/2
Switchport: Enabled
Administrative mode: trunk
Operational Mode: trunk
. . .
© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—4-16
wg_sw_1900#show vlan 9
VLAN Name Status Ports
-------------------------------------------------
9 switchlab2 Enabled
-------------------------------------------------
VLAN Type SAID MTU Parent RingNo BridgeNo Stp Trans1 Trans2
---------------------------------------------------------------------------
9 Ethernet 100009 1500 0 1 1 Unkn 0 0
---------------------------------------------------------------------------
wg_sw_1900#show vlan [vlan#]
Verifying a VLAN
Catalyst 1900
Catalyst 2950
wg_sw_2950#show vlan [id vlan#]
© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—4-17
wg_sw_1900#show vlan-membership
Port VLAN Membership Type Port VLAN Membership Type
--------------------------- ------------------------------
1 5 Static 13 1 Static
2 1 Static 14 1 Static
3 1 Static 15 1 Static
4 1 Static 16 1 Static
5 1 Static 17 1 Static
6 1 Static 18 1 Static
7 1 Static 19 1 Static
8 9 Static 20 1 Static
Note: port 1=e0/1, port 2=e0/2 .....
wg_sw_1900#show vlan-membership
Verifying VLAN Membership
on a Catalyst 1900
© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—4-18
wg_sw_2950#show vlan brief
VLAN Name Status Ports
---- ------------------------ --------- -----------------------
1 default active Fa0/4, Fa0/5, Fa0/6, Fa0/7,
Fa0/8, Fa0/9, Fa0/10, Fa0/11,
Fa0/12, Fa0/13, Fa0/14, Fa0/15,
Fa0/16, Fa0/17, Fa0/18, Fa0/19,
Fa0/20, Fa0/21
5 VLAN5 active Fa0/3
9 VLAN9 active Fa0/22, Fa0/23
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
wg_sw_2950#show vlan brief
Verifying VLAN Membership
on a Catalyst 2950
wg_sw_2950#show interfaces interface switchport
© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—4-19
wg_sw_1900#show spantree 1
VLAN1 is executing the IEEE compatible Spanning Tree Protocol
Bridge Identifier has priority 32768, address 0050.F037.DA00
Configured hello time 2, max age 20, forward delay 15
Current root has priority 0, address 00D0.588F.B600
Root port is FastEthernet 0/26, cost of root path is 10
Topology change flag not set, detected flag not set
Topology changes 53, last topology change occurred 0d00h17m14s ago
Times: hold 1, topology change 8960
hello 2, max age 20, forward delay 15
Timers: hello 2, topology change 35, notification 2
Port Ethernet 0/1 of VLAN1 is Forwarding
Port path cost 100, Port priority 128
Designated root has priority 0, address 00D0.588F.B600
Designated bridge has priority 32768, address 0050.F037.DA00
Designated port is Ethernet 0/1, path cost 10
Timers: message age 20, forward delay 15, hold 1
wg_sw_1900#show spantree [vlan#]
Verifying STP for a VLAN
Catalyst 1900
Catalyst 2950 wg_sw_2950#show spanning-tree vlan [vlan#]
© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—4-20
Executing Adds, Moves, and Changes
for VLANs
wg_sw_a(config)#vlan database
• Enters the vlan database privileged EXEC command to
access VLAN configuration mode
• Writes VLAN adds, moves, and changes to the vlan.dat file
a(config)#vlan vlan-id mtu mtu-size
• Identifies a VLAN and changes the MTU size
© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—4-21
Troubleshooting Switched LANs
© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—4-22
Problem: One Device Cannot
Communicate with Another
• Make sure the IP address, subnet mask, and VLAN
membership of the switch interface is correct.
• If the host is in the same subnet as the switch
interface, make sure the switch interface and the
switch port to which the host is connected are
assigned to the same VLAN.
• If the host is in a different subnet, make sure the
default gateway on the switch is configured with the
address of a router in the same subnet as the switch
interface.
© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—4-23
Problem: One Device Cannot
Communicate with Another (Cont.)
• If the port is in listening or learning mode, wait until the
port is in forwarding mode and try to connect to the
host again.
• Make sure the speed and duplex settings on the host
and the appropriate switch ports are correct.
• If the connected device is an end station, enable
spanning-tree PortFast, disable trunking, and disable
chaneling on the port.
• Make sure the switch is learning the MAC address of
the host.
© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—4-24
Problem: A Device Cannot Establish a
Connection Across a Trunk Link
• Make sure the trunking mode configured on both
ends of the link is valid. The trunking mode
should be on or desirable on one end and on,
desirable, or auto on the other end.
• Make sure the trunk encapsulation type
configured on both ends of the link is valid.
• On IEEE 802.1Q trunks, make sure the native
VLAN is the same on both ends of the trunk.
© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—4-25
Problem: VTP Not Updating
Configuration on Other Switches
• Make sure the switches are connected through trunk
links. VTP updates are exchanged only over trunk
links.
• Make sure the VTP domain name is the same on the
appropriate switches. VTP updates are only exchanged
between switches in the same VTP domain.
• Check if the switch is in VTP transparent mode. Only
switches in VTP server or VTP client mode update their
VLAN configuration based on VTP updates from other
switches.
• If you are using VTP passwords, you must configure
the same password on all switches in the VTP domain.
© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—4-26
Summary
• Before you create VLANs, you must decide whether to use
VTP in your network. With VTP, you can make configuration
changes centrally on one or more switches and have those
changes automatically communicated to all the other
switches in the network.
• You will configure IEEE 802.1Q to carry traffic for multiple
VLANs over a single link on a multivendor network.
• ISL operates in a point-to-point environment to carry traffic
for multiple VLANs over a single link.
• Most Catalyst desktop switches support a maximum of 64
active VLANs. The Catalyst 1900 supports 1,024 VLANs with
the Enterprise Edition software. Depending on the model, the
2950 series can support up to 250 VLANs.
© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—4-27
Summary (Cont.)
• After creating a VLAN, you can statically assign a
port or a number of ports to that VLAN. A port can
belong to only one VLAN at a time.
• You can verify the VLAN configuration using the
show commands.
• As network topologies, business requirements, and
individual assignments change, VLAN requirements
also change.
• Misconfiguration of a VLAN is one of the most
common errors in switched networks.
© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—4-28
Day 14.2 configuringvla ns

More Related Content

What's hot

Inter-VLAN Routing
Inter-VLAN RoutingInter-VLAN Routing
Inter-VLAN Routingrmosate
 
Inter VLAN Routing
Inter VLAN RoutingInter VLAN Routing
Inter VLAN RoutingNetwax Lab
 
Chapter 14 : vlan
Chapter 14 : vlanChapter 14 : vlan
Chapter 14 : vlanteknetir
 
CCNA2 Verson6 Chapter6
CCNA2 Verson6 Chapter6CCNA2 Verson6 Chapter6
CCNA2 Verson6 Chapter6Chaing Ravuth
 
How to configure vlan, stp, dtp step by step guide
How to configure vlan, stp, dtp step by step guideHow to configure vlan, stp, dtp step by step guide
How to configure vlan, stp, dtp step by step guideIT Tech
 
CCNA 2 Routing and Switching v5.0 Chapter 7
CCNA 2 Routing and Switching v5.0 Chapter 7CCNA 2 Routing and Switching v5.0 Chapter 7
CCNA 2 Routing and Switching v5.0 Chapter 7Nil Menon
 
CCNA Lab 5-Configuring Inter-VLAN Routing
CCNA Lab 5-Configuring Inter-VLAN RoutingCCNA Lab 5-Configuring Inter-VLAN Routing
CCNA Lab 5-Configuring Inter-VLAN RoutingAmir Jafari
 
Tn 310 vlan-trunking
Tn 310 vlan-trunkingTn 310 vlan-trunking
Tn 310 vlan-trunkingsali Ibrahimu
 
Expl sw chapter_06_inter_vlan
Expl sw chapter_06_inter_vlanExpl sw chapter_06_inter_vlan
Expl sw chapter_06_inter_vlanaghacrom
 
Ccna 3 v 4.0 final-exam-17-07-2010
Ccna 3 v 4.0 final-exam-17-07-2010Ccna 3 v 4.0 final-exam-17-07-2010
Ccna 3 v 4.0 final-exam-17-07-2010irbas
 
Packet Tracer Simulation Lab Layer3 Routing
Packet Tracer Simulation Lab Layer3 RoutingPacket Tracer Simulation Lab Layer3 Routing
Packet Tracer Simulation Lab Layer3 RoutingJohnson Liu
 
Vlans
VlansVlans
Vlans1 2d
 
Chapter 3 vlans
Chapter 3   vlansChapter 3   vlans
Chapter 3 vlanskratos2424
 
2.3.1.5 packet tracer configuring rapid pvst+ answer
2.3.1.5 packet tracer   configuring rapid pvst+ answer2.3.1.5 packet tracer   configuring rapid pvst+ answer
2.3.1.5 packet tracer configuring rapid pvst+ answerNarayana Samy
 

What's hot (20)

Inter-VLAN Routing
Inter-VLAN RoutingInter-VLAN Routing
Inter-VLAN Routing
 
Ccna3 mod9-vtp
Ccna3 mod9-vtpCcna3 mod9-vtp
Ccna3 mod9-vtp
 
Inter VLAN Routing
Inter VLAN RoutingInter VLAN Routing
Inter VLAN Routing
 
CCNA- part 9 vlan
CCNA- part 9 vlanCCNA- part 9 vlan
CCNA- part 9 vlan
 
Chapter 14 : vlan
Chapter 14 : vlanChapter 14 : vlan
Chapter 14 : vlan
 
Cap6 intervlan routing
Cap6   intervlan routingCap6   intervlan routing
Cap6 intervlan routing
 
CCNA2 Verson6 Chapter6
CCNA2 Verson6 Chapter6CCNA2 Verson6 Chapter6
CCNA2 Verson6 Chapter6
 
How to configure vlan, stp, dtp step by step guide
How to configure vlan, stp, dtp step by step guideHow to configure vlan, stp, dtp step by step guide
How to configure vlan, stp, dtp step by step guide
 
CCNA 2 Routing and Switching v5.0 Chapter 7
CCNA 2 Routing and Switching v5.0 Chapter 7CCNA 2 Routing and Switching v5.0 Chapter 7
CCNA 2 Routing and Switching v5.0 Chapter 7
 
CCNA Lab 5-Configuring Inter-VLAN Routing
CCNA Lab 5-Configuring Inter-VLAN RoutingCCNA Lab 5-Configuring Inter-VLAN Routing
CCNA Lab 5-Configuring Inter-VLAN Routing
 
Tn 310 vlan-trunking
Tn 310 vlan-trunkingTn 310 vlan-trunking
Tn 310 vlan-trunking
 
Expl sw chapter_06_inter_vlan
Expl sw chapter_06_inter_vlanExpl sw chapter_06_inter_vlan
Expl sw chapter_06_inter_vlan
 
Ccna 3 v 4.0 final-exam-17-07-2010
Ccna 3 v 4.0 final-exam-17-07-2010Ccna 3 v 4.0 final-exam-17-07-2010
Ccna 3 v 4.0 final-exam-17-07-2010
 
Packet Tracer Simulation Lab Layer3 Routing
Packet Tracer Simulation Lab Layer3 RoutingPacket Tracer Simulation Lab Layer3 Routing
Packet Tracer Simulation Lab Layer3 Routing
 
VTP
VTPVTP
VTP
 
Vlans
VlansVlans
Vlans
 
Chapter 3 vlans
Chapter 3   vlansChapter 3   vlans
Chapter 3 vlans
 
2.3.1.5 packet tracer configuring rapid pvst+ answer
2.3.1.5 packet tracer   configuring rapid pvst+ answer2.3.1.5 packet tracer   configuring rapid pvst+ answer
2.3.1.5 packet tracer configuring rapid pvst+ answer
 
Day 14.2 inter vlan
Day 14.2 inter vlanDay 14.2 inter vlan
Day 14.2 inter vlan
 
Configure vtp
Configure vtpConfigure vtp
Configure vtp
 

Viewers also liked

KPUCC-Rs instructor ppt_chapter5_final
KPUCC-Rs instructor ppt_chapter5_finalKPUCC-Rs instructor ppt_chapter5_final
KPUCC-Rs instructor ppt_chapter5_finalFisal Anwari
 
Dynamic data structures
Dynamic data structuresDynamic data structures
Dynamic data structures9020303098
 
Lab practice 1 configuring basic routing and switching (with answer)
Lab practice 1   configuring basic routing and switching (with answer) Lab practice 1   configuring basic routing and switching (with answer)
Lab practice 1 configuring basic routing and switching (with answer) Arz Sy
 
Alphorm.com Support de la Formation Cisco CCNP SWITCH (examen 300-115)
Alphorm.com Support de la Formation Cisco CCNP SWITCH (examen 300-115)Alphorm.com Support de la Formation Cisco CCNP SWITCH (examen 300-115)
Alphorm.com Support de la Formation Cisco CCNP SWITCH (examen 300-115)Alphorm
 

Viewers also liked (11)

Virtuals LAN
Virtuals LANVirtuals LAN
Virtuals LAN
 
Lesson 16 vlan
Lesson 16   vlanLesson 16   vlan
Lesson 16 vlan
 
VLAN
VLANVLAN
VLAN
 
Ds 1
Ds 1Ds 1
Ds 1
 
KPUCC-Rs instructor ppt_chapter5_final
KPUCC-Rs instructor ppt_chapter5_finalKPUCC-Rs instructor ppt_chapter5_final
KPUCC-Rs instructor ppt_chapter5_final
 
Dynamic data structures
Dynamic data structuresDynamic data structures
Dynamic data structures
 
Vlan
Vlan Vlan
Vlan
 
Router commands
Router commandsRouter commands
Router commands
 
VLAN
VLANVLAN
VLAN
 
Lab practice 1 configuring basic routing and switching (with answer)
Lab practice 1   configuring basic routing and switching (with answer) Lab practice 1   configuring basic routing and switching (with answer)
Lab practice 1 configuring basic routing and switching (with answer)
 
Alphorm.com Support de la Formation Cisco CCNP SWITCH (examen 300-115)
Alphorm.com Support de la Formation Cisco CCNP SWITCH (examen 300-115)Alphorm.com Support de la Formation Cisco CCNP SWITCH (examen 300-115)
Alphorm.com Support de la Formation Cisco CCNP SWITCH (examen 300-115)
 

Similar to Day 14.2 configuringvla ns

Crear vlan
Crear vlanCrear vlan
Crear vlan1 2d
 
Cisco how to configure vlan
Cisco how to configure vlanCisco how to configure vlan
Cisco how to configure vlan1 2d
 
Cisco how to configure vlan
Cisco how to configure vlanCisco how to configure vlan
Cisco how to configure vlan1 2d
 
CCN3Switching_lab_5_5_2
CCN3Switching_lab_5_5_2CCN3Switching_lab_5_5_2
CCN3Switching_lab_5_5_2alan moreno
 
Creating ethernet vla ns on catalyst switches
Creating ethernet vla ns on catalyst switchesCreating ethernet vla ns on catalyst switches
Creating ethernet vla ns on catalyst switchesabeforu
 
Ccna Quick Notes –VLANs
Ccna Quick Notes –VLANsCcna Quick Notes –VLANs
Ccna Quick Notes –VLANsCCNAResources
 
Ccn pv6 switch_lab1-2_clearing_attached_switches_student
Ccn pv6 switch_lab1-2_clearing_attached_switches_studentCcn pv6 switch_lab1-2_clearing_attached_switches_student
Ccn pv6 switch_lab1-2_clearing_attached_switches_studentmart_ixu
 
Deploying Carrier Ethernet Features on Cisco ASR 9000
Deploying Carrier Ethernet Features on Cisco ASR 9000Deploying Carrier Ethernet Features on Cisco ASR 9000
Deploying Carrier Ethernet Features on Cisco ASR 9000Vinod Kumar Balasubramanyam
 
Лекц 9
Лекц 9Лекц 9
Лекц 9Muuluu
 
VIRTUAL LANS
VIRTUAL LANSVIRTUAL LANS
VIRTUAL LANSanilinvns
 
Day 5 VIRTUAL LANS
Day 5 VIRTUAL LANSDay 5 VIRTUAL LANS
Day 5 VIRTUAL LANSanilinvns
 
07 module extending switched netwroks with virtual la ns
07  module extending switched netwroks with virtual la ns07  module extending switched netwroks with virtual la ns
07 module extending switched netwroks with virtual la nsAsif
 
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 6
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 6CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 6
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 6Waqas Ahmed Nawaz
 
All Basic VLAN Configuration Topology Diagram Addressing Table Device (Hostna...
All Basic VLAN Configuration Topology Diagram Addressing Table Device (Hostna...All Basic VLAN Configuration Topology Diagram Addressing Table Device (Hostna...
All Basic VLAN Configuration Topology Diagram Addressing Table Device (Hostna...Ashley Smith
 
Sca nv6 instructorppt_chapter2
Sca nv6 instructorppt_chapter2Sca nv6 instructorppt_chapter2
Sca nv6 instructorppt_chapter2newbie2019
 
Vlan lab
Vlan labVlan lab
Vlan labtmim8
 

Similar to Day 14.2 configuringvla ns (20)

Icnd210 s02l01
Icnd210 s02l01Icnd210 s02l01
Icnd210 s02l01
 
Crear vlan
Crear vlanCrear vlan
Crear vlan
 
Cisco how to configure vlan
Cisco how to configure vlanCisco how to configure vlan
Cisco how to configure vlan
 
Cisco how to configure vlan
Cisco how to configure vlanCisco how to configure vlan
Cisco how to configure vlan
 
CCN3Switching_lab_5_5_2
CCN3Switching_lab_5_5_2CCN3Switching_lab_5_5_2
CCN3Switching_lab_5_5_2
 
Creating ethernet vla ns on catalyst switches
Creating ethernet vla ns on catalyst switchesCreating ethernet vla ns on catalyst switches
Creating ethernet vla ns on catalyst switches
 
Ccna Quick Notes –VLANs
Ccna Quick Notes –VLANsCcna Quick Notes –VLANs
Ccna Quick Notes –VLANs
 
Ccn pv6 switch_lab1-2_clearing_attached_switches_student
Ccn pv6 switch_lab1-2_clearing_attached_switches_studentCcn pv6 switch_lab1-2_clearing_attached_switches_student
Ccn pv6 switch_lab1-2_clearing_attached_switches_student
 
Lab6.4.1
Lab6.4.1Lab6.4.1
Lab6.4.1
 
Deploying Carrier Ethernet features on ASR 9000
Deploying Carrier Ethernet features on ASR 9000Deploying Carrier Ethernet features on ASR 9000
Deploying Carrier Ethernet features on ASR 9000
 
Deploying Carrier Ethernet Features on Cisco ASR 9000
Deploying Carrier Ethernet Features on Cisco ASR 9000Deploying Carrier Ethernet Features on Cisco ASR 9000
Deploying Carrier Ethernet Features on Cisco ASR 9000
 
Лекц 9
Лекц 9Лекц 9
Лекц 9
 
VIRTUAL LANS
VIRTUAL LANSVIRTUAL LANS
VIRTUAL LANS
 
Day 5 VIRTUAL LANS
Day 5 VIRTUAL LANSDay 5 VIRTUAL LANS
Day 5 VIRTUAL LANS
 
07 module extending switched netwroks with virtual la ns
07  module extending switched netwroks with virtual la ns07  module extending switched netwroks with virtual la ns
07 module extending switched netwroks with virtual la ns
 
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 6
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 6CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 6
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 6
 
All Basic VLAN Configuration Topology Diagram Addressing Table Device (Hostna...
All Basic VLAN Configuration Topology Diagram Addressing Table Device (Hostna...All Basic VLAN Configuration Topology Diagram Addressing Table Device (Hostna...
All Basic VLAN Configuration Topology Diagram Addressing Table Device (Hostna...
 
Ccnp3 lab 3_3_en
Ccnp3 lab 3_3_enCcnp3 lab 3_3_en
Ccnp3 lab 3_3_en
 
Sca nv6 instructorppt_chapter2
Sca nv6 instructorppt_chapter2Sca nv6 instructorppt_chapter2
Sca nv6 instructorppt_chapter2
 
Vlan lab
Vlan labVlan lab
Vlan lab
 

More from CYBERINTELLIGENTS (20)

Wide area networks
Wide area networksWide area networks
Wide area networks
 
Switching
SwitchingSwitching
Switching
 
Switching
SwitchingSwitching
Switching
 
Stp premdeep gill-lu045310-14aug12
Stp premdeep gill-lu045310-14aug12Stp premdeep gill-lu045310-14aug12
Stp premdeep gill-lu045310-14aug12
 
Stp premdeep gill-lu045310-14aug12
Stp premdeep gill-lu045310-14aug12Stp premdeep gill-lu045310-14aug12
Stp premdeep gill-lu045310-14aug12
 
Routerfundaments gurwinder
Routerfundaments gurwinderRouterfundaments gurwinder
Routerfundaments gurwinder
 
Rip 1 rip 2
Rip 1 rip 2Rip 1 rip 2
Rip 1 rip 2
 
Ospf new
Ospf newOspf new
Ospf new
 
Nat pat
Nat patNat pat
Nat pat
 
Nat config
Nat configNat config
Nat config
 
Ipv6^ new
Ipv6^ newIpv6^ new
Ipv6^ new
 
Ip addressing...
Ip addressing... Ip addressing...
Ip addressing...
 
Ip address
Ip address Ip address
Ip address
 
Igrp
IgrpIgrp
Igrp
 
Frame relay
Frame  relayFrame  relay
Frame relay
 
Eigrp new
Eigrp newEigrp new
Eigrp new
 
Day 25 cisco ios router configuration
Day 25 cisco ios router configurationDay 25 cisco ios router configuration
Day 25 cisco ios router configuration
 
Day 22 _ ppp
Day 22  _ ppp Day 22  _ ppp
Day 22 _ ppp
 
Day 20.i pv6 lab
Day 20.i pv6 labDay 20.i pv6 lab
Day 20.i pv6 lab
 
Day 20.3 frame relay
Day 20.3 frame relay Day 20.3 frame relay
Day 20.3 frame relay
 

Recently uploaded

30-de-thi-vao-lop-10-mon-tieng-anh-co-dap-an.doc
30-de-thi-vao-lop-10-mon-tieng-anh-co-dap-an.doc30-de-thi-vao-lop-10-mon-tieng-anh-co-dap-an.doc
30-de-thi-vao-lop-10-mon-tieng-anh-co-dap-an.docdieu18
 
AUDIENCE THEORY - PARTICIPATORY - JENKINS.pptx
AUDIENCE THEORY - PARTICIPATORY - JENKINS.pptxAUDIENCE THEORY - PARTICIPATORY - JENKINS.pptx
AUDIENCE THEORY - PARTICIPATORY - JENKINS.pptxiammrhaywood
 
Awards Presentation 2024 - March 12 2024
Awards Presentation 2024 - March 12 2024Awards Presentation 2024 - March 12 2024
Awards Presentation 2024 - March 12 2024bsellato
 
Certification Study Group - Professional ML Engineer Session 3 (Machine Learn...
Certification Study Group - Professional ML Engineer Session 3 (Machine Learn...Certification Study Group - Professional ML Engineer Session 3 (Machine Learn...
Certification Study Group - Professional ML Engineer Session 3 (Machine Learn...gdgsurrey
 
Riti theory by Vamana Indian poetics.pptx
Riti theory by Vamana Indian poetics.pptxRiti theory by Vamana Indian poetics.pptx
Riti theory by Vamana Indian poetics.pptxDhatriParmar
 
How to Customise Quotation's Appearance Using PDF Quote Builder in Odoo 17
How to Customise Quotation's Appearance Using PDF Quote Builder in Odoo 17How to Customise Quotation's Appearance Using PDF Quote Builder in Odoo 17
How to Customise Quotation's Appearance Using PDF Quote Builder in Odoo 17Celine George
 
Metabolism of lipoproteins & its disorders(Chylomicron & VLDL & LDL).pptx
Metabolism of  lipoproteins & its disorders(Chylomicron & VLDL & LDL).pptxMetabolism of  lipoproteins & its disorders(Chylomicron & VLDL & LDL).pptx
Metabolism of lipoproteins & its disorders(Chylomicron & VLDL & LDL).pptxDr. Santhosh Kumar. N
 
DNA and RNA , Structure, Functions, Types, difference, Similarities, Protein ...
DNA and RNA , Structure, Functions, Types, difference, Similarities, Protein ...DNA and RNA , Structure, Functions, Types, difference, Similarities, Protein ...
DNA and RNA , Structure, Functions, Types, difference, Similarities, Protein ...AKSHAYMAGAR17
 
LEAD6001 - Introduction to Advanced Stud
LEAD6001 - Introduction to Advanced StudLEAD6001 - Introduction to Advanced Stud
LEAD6001 - Introduction to Advanced StudDr. Bruce A. Johnson
 
2024.03.16 How to write better quality materials for your learners ELTABB San...
2024.03.16 How to write better quality materials for your learners ELTABB San...2024.03.16 How to write better quality materials for your learners ELTABB San...
2024.03.16 How to write better quality materials for your learners ELTABB San...Sandy Millin
 
LEAD6001 - Introduction to Advanced Stud
LEAD6001 - Introduction to Advanced StudLEAD6001 - Introduction to Advanced Stud
LEAD6001 - Introduction to Advanced StudDr. Bruce A. Johnson
 
POST ENCEPHALITIS case study Jitendra bhargav
POST ENCEPHALITIS case study  Jitendra bhargavPOST ENCEPHALITIS case study  Jitendra bhargav
POST ENCEPHALITIS case study Jitendra bhargavJitendra Bhargav
 
Plant Tissue culture., Plasticity, Totipotency, pptx
Plant Tissue culture., Plasticity, Totipotency, pptxPlant Tissue culture., Plasticity, Totipotency, pptx
Plant Tissue culture., Plasticity, Totipotency, pptxHimansu10
 
THYROID HORMONE.pptx by Subham Panja,Asst. Professor, Department of B.Sc MLT,...
THYROID HORMONE.pptx by Subham Panja,Asst. Professor, Department of B.Sc MLT,...THYROID HORMONE.pptx by Subham Panja,Asst. Professor, Department of B.Sc MLT,...
THYROID HORMONE.pptx by Subham Panja,Asst. Professor, Department of B.Sc MLT,...Subham Panja
 
The OERs: Transforming Education for Sustainable Future by Dr. Sarita Anand
The OERs: Transforming Education for Sustainable Future by Dr. Sarita AnandThe OERs: Transforming Education for Sustainable Future by Dr. Sarita Anand
The OERs: Transforming Education for Sustainable Future by Dr. Sarita AnandDr. Sarita Anand
 
LEAD5623 The Economics of Community Coll
LEAD5623 The Economics of Community CollLEAD5623 The Economics of Community Coll
LEAD5623 The Economics of Community CollDr. Bruce A. Johnson
 
BBA 205 BE UNIT 2 economic systems prof dr kanchan.pptx
BBA 205 BE UNIT 2 economic systems prof dr kanchan.pptxBBA 205 BE UNIT 2 economic systems prof dr kanchan.pptx
BBA 205 BE UNIT 2 economic systems prof dr kanchan.pptxProf. Kanchan Kumari
 
3.14.24 Gender Discrimination and Gender Inequity.pptx
3.14.24 Gender Discrimination and Gender Inequity.pptx3.14.24 Gender Discrimination and Gender Inequity.pptx
3.14.24 Gender Discrimination and Gender Inequity.pptxmary850239
 
Arti Languages Pre Seed Send Ahead Pitchdeck 2024.pdf
Arti Languages Pre Seed Send Ahead Pitchdeck 2024.pdfArti Languages Pre Seed Send Ahead Pitchdeck 2024.pdf
Arti Languages Pre Seed Send Ahead Pitchdeck 2024.pdfwill854175
 

Recently uploaded (20)

30-de-thi-vao-lop-10-mon-tieng-anh-co-dap-an.doc
30-de-thi-vao-lop-10-mon-tieng-anh-co-dap-an.doc30-de-thi-vao-lop-10-mon-tieng-anh-co-dap-an.doc
30-de-thi-vao-lop-10-mon-tieng-anh-co-dap-an.doc
 
Problems on Mean,Mode,Median Standard Deviation
Problems on Mean,Mode,Median Standard DeviationProblems on Mean,Mode,Median Standard Deviation
Problems on Mean,Mode,Median Standard Deviation
 
AUDIENCE THEORY - PARTICIPATORY - JENKINS.pptx
AUDIENCE THEORY - PARTICIPATORY - JENKINS.pptxAUDIENCE THEORY - PARTICIPATORY - JENKINS.pptx
AUDIENCE THEORY - PARTICIPATORY - JENKINS.pptx
 
Awards Presentation 2024 - March 12 2024
Awards Presentation 2024 - March 12 2024Awards Presentation 2024 - March 12 2024
Awards Presentation 2024 - March 12 2024
 
Certification Study Group - Professional ML Engineer Session 3 (Machine Learn...
Certification Study Group - Professional ML Engineer Session 3 (Machine Learn...Certification Study Group - Professional ML Engineer Session 3 (Machine Learn...
Certification Study Group - Professional ML Engineer Session 3 (Machine Learn...
 
Riti theory by Vamana Indian poetics.pptx
Riti theory by Vamana Indian poetics.pptxRiti theory by Vamana Indian poetics.pptx
Riti theory by Vamana Indian poetics.pptx
 
How to Customise Quotation's Appearance Using PDF Quote Builder in Odoo 17
How to Customise Quotation's Appearance Using PDF Quote Builder in Odoo 17How to Customise Quotation's Appearance Using PDF Quote Builder in Odoo 17
How to Customise Quotation's Appearance Using PDF Quote Builder in Odoo 17
 
Metabolism of lipoproteins & its disorders(Chylomicron & VLDL & LDL).pptx
Metabolism of  lipoproteins & its disorders(Chylomicron & VLDL & LDL).pptxMetabolism of  lipoproteins & its disorders(Chylomicron & VLDL & LDL).pptx
Metabolism of lipoproteins & its disorders(Chylomicron & VLDL & LDL).pptx
 
DNA and RNA , Structure, Functions, Types, difference, Similarities, Protein ...
DNA and RNA , Structure, Functions, Types, difference, Similarities, Protein ...DNA and RNA , Structure, Functions, Types, difference, Similarities, Protein ...
DNA and RNA , Structure, Functions, Types, difference, Similarities, Protein ...
 
LEAD6001 - Introduction to Advanced Stud
LEAD6001 - Introduction to Advanced StudLEAD6001 - Introduction to Advanced Stud
LEAD6001 - Introduction to Advanced Stud
 
2024.03.16 How to write better quality materials for your learners ELTABB San...
2024.03.16 How to write better quality materials for your learners ELTABB San...2024.03.16 How to write better quality materials for your learners ELTABB San...
2024.03.16 How to write better quality materials for your learners ELTABB San...
 
LEAD6001 - Introduction to Advanced Stud
LEAD6001 - Introduction to Advanced StudLEAD6001 - Introduction to Advanced Stud
LEAD6001 - Introduction to Advanced Stud
 
POST ENCEPHALITIS case study Jitendra bhargav
POST ENCEPHALITIS case study  Jitendra bhargavPOST ENCEPHALITIS case study  Jitendra bhargav
POST ENCEPHALITIS case study Jitendra bhargav
 
Plant Tissue culture., Plasticity, Totipotency, pptx
Plant Tissue culture., Plasticity, Totipotency, pptxPlant Tissue culture., Plasticity, Totipotency, pptx
Plant Tissue culture., Plasticity, Totipotency, pptx
 
THYROID HORMONE.pptx by Subham Panja,Asst. Professor, Department of B.Sc MLT,...
THYROID HORMONE.pptx by Subham Panja,Asst. Professor, Department of B.Sc MLT,...THYROID HORMONE.pptx by Subham Panja,Asst. Professor, Department of B.Sc MLT,...
THYROID HORMONE.pptx by Subham Panja,Asst. Professor, Department of B.Sc MLT,...
 
The OERs: Transforming Education for Sustainable Future by Dr. Sarita Anand
The OERs: Transforming Education for Sustainable Future by Dr. Sarita AnandThe OERs: Transforming Education for Sustainable Future by Dr. Sarita Anand
The OERs: Transforming Education for Sustainable Future by Dr. Sarita Anand
 
LEAD5623 The Economics of Community Coll
LEAD5623 The Economics of Community CollLEAD5623 The Economics of Community Coll
LEAD5623 The Economics of Community Coll
 
BBA 205 BE UNIT 2 economic systems prof dr kanchan.pptx
BBA 205 BE UNIT 2 economic systems prof dr kanchan.pptxBBA 205 BE UNIT 2 economic systems prof dr kanchan.pptx
BBA 205 BE UNIT 2 economic systems prof dr kanchan.pptx
 
3.14.24 Gender Discrimination and Gender Inequity.pptx
3.14.24 Gender Discrimination and Gender Inequity.pptx3.14.24 Gender Discrimination and Gender Inequity.pptx
3.14.24 Gender Discrimination and Gender Inequity.pptx
 
Arti Languages Pre Seed Send Ahead Pitchdeck 2024.pdf
Arti Languages Pre Seed Send Ahead Pitchdeck 2024.pdfArti Languages Pre Seed Send Ahead Pitchdeck 2024.pdf
Arti Languages Pre Seed Send Ahead Pitchdeck 2024.pdf
 

Day 14.2 configuringvla ns

  • 1. © 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—4-1© 2002, Cisco Systems, Inc. All rights reserved. 1 Configuring VLANs
  • 2. © 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—4-2 Objectives Upon completing this lesson, you will be able to: • Use Cisco IOS commands to configure VLANs, VTP, IEEE 802.1Q trunking, and ISL trunking, given a functioning access layer switch • Execute an add, move, or change on an access-layer switch, given a new network requirement • Use show commands to identify anomalies in VLAN, VTP, IEEE 802.1Q trunking, ISL trunking, and spanning-tree operation within a VLAN, given an operational access layer switch • Use debug commands to identify events and anomalies in VLAN, VTP, IEEE 802.1Q trunking, ISL trunking, and spanning-tree operation, given an operational access layer switch
  • 3. © 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—4-3 • VTP domain name • VTP mode (server/client/transparent)— VTP server mode is the default • VTP pruning • VTP password • VTP trap Use caution when adding a new switch to an existing domain. Add a new switch in client mode to prevent the new switch from propagating incorrect VLAN information. Use the delete vtp command to reset the VTP revision number. VTP Configuration Guidelines
  • 4. © 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—4-4 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 wg_sw_2950(vlan)#snmp-server enable traps vtp wg_sw_2950(vlan)#exit
  • 5. © 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—4-5 VTP Configuration Example wg_sw_1900(config)#vtp transparent wg_sw_1900(config)#vtp domain switchlab pruning enable wg_sw_1900(config)#exit wg_sw_1900#show vtp VTP version: 1 Configuration revision: 4 Maximum VLANs supported locally: 1005 Number of existing VLANs: 6 VTP domain name : switchlab VTP password : VTP operating mode : Transparent VTP pruning mode : Enabled VTP traps generation : Enabled Configuration last modified by: 0.0.0.0 at 00-00-0000 00:00:00 wg_sw_1900#config terminal wg_sw_1900(config)#interface f0/26 wg_sw_1900(config-if)#trunk on desirable wg_sw_1900(config-if)#exit wg_sw_1900(config)#exit wg_sw_1900#show trunk A DISL state: On, Trunking: On, Encapsulation type: ISL
  • 6. © 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—4-6 802.1Q Trunking Limitations • Make sure the native VLAN for an 802.1Q trunk is the same on both ends of the trunk link. • Make sure your network is loop-free before disabling STP.
  • 7. © 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—4-7 Configuring 802.1Q Trunking (config-if)#switchport mode trunk • Configures the port as a VLAN trunk
  • 8. © 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—4-8 wg_sw_1900#conf terminal Enter configuration commands, one per line. End with CNTL/Z wg_sw_1900(config)#interface f0/26 wg_sw_1900(config-if)#trunk on First Trunk Port (Port A) wg_sw_1900(config-if)#trunk [on | off | desirable | auto | nonegotiate] • on = Set trunk on and negotiate with other side • off = Set trunk off and negotiate with other side • desirable = Negotiate with other side; trunk on if other side is on, desirable, or auto • auto = Will be a trunk only if the other side is on or desirable • nonnegotiate = Set trunk on and will not negotiate Configuring ISL Trunking • Note: The Catalyst 1900 only supports ISL encapsulation.
  • 9. © 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—4-9 VLAN Configuration Guidelines • Maximum number of VLANs is switch-dependent. • Catalyst desktop switches support 64 VLANs with a separate spanning tree per VLAN. • VLAN1 is the factory default Ethernet VLAN. • CDP and VTP advertisements are sent on VLAN1. • The Catalyst switch IP address is in the management VLAN (VLAN1 by default). • To add or delete VLANs, the switch must be in VTP server or transparent mode.
  • 10. © 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—4-10 wg_sw_1900(config)# vlan vlan# [name vlan-name] Adding a VLAN wg_sw_1900#configure terminal Enter configuration commands, one per line. End with CNTL/Z wg_sw_1900(config)#vlan 9 name switchlab2 Catalyst 1900 Catalyst 2950 wg_sw_2950#vlan database wg_sw_2950(vlan)# vlan vlan# [name vlan-name] wg_sw_2950#vlan database wg_sw_ 2950(vlan)#vlan 9 name switchlab2 wg_sw_ 2950(vlan)#exit
  • 11. © 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—4-11 wg_sw_a(config)#vlan vlan# name vlan-name wg_sw_a#configure terminal Enter configuration commands, one per line. End with CNTL/Z wg_sw_a(config)#vlan 9 name switchlab90 wg_sw_a#show vlan 9 VLAN Name Status Ports ------------------------------------------------ 9 switchlab90 Enabled ------------------------------------------------ Modifying a VLAN Name
  • 12. © 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—4-12 wg_sw_1900(config-if)#vlan-membership {static {vlan#} | dynamic} Assigning Switch Ports to a VLAN wg_sw_1900#conf terminal Enter configuration commands, one per line. End with CNTL/Z wg_sw_1900(config)#interface ethernet 0/8 wg_sw_1900(config-if)#vlan-membership static 9 Catalyst 1900 Catalyst 2950 wg_sw_2950(config-if)#switchport access vlan vlan#
  • 13. © 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—4-13 Verifying the VTP Configuration for the Catalyst 1900 wg_sw_1900#show vtp VTP version: 1 Configuration revision: 4 Maximum VLANs supported locally: 1005 Number of existing VLANs: 6 VTP domain name : switchlab VTP password : VTP operating mode : Transparent VTP pruning mode : Enabled VTP traps generation : Enabled Configuration last modified by: 10.1.1.40 at 00-00-0000 00:00:00 wg_sw_1900#show vtp
  • 14. © 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—4-14 Verifying the VTP Configuration for the Catalyst 2950 wg_sw_2950#show vtp status wg_sw_2950#show vtp status VTP Version : 2 <--- Indicates v2-capable Configuration Revision : 4 Maximum VLANs supported locally : 68 Number of existing VLANs : 6 VTP Operating Mode : Server VTP Domain Name : switchlab VTP Pruning Mode : Enabled VTP V2 Mode : Disabled <--- Indicates v2 disabled; v1 set VTP Traps Generation : Disabled <--- Catalyst 2950 default MD5 digest : 0x3D 0x02 0xD4 0x3A 0xC4 0x46 0xA1 0x03 Configuration last modified by 10.1.1.40 at 5-4-02 22:25:
  • 15. © 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—4-15 wg_sw_1900#show trunk a DISL state: On, Trunking: On, Encapsulation type: ISL wg_sw_1900#show trunk [A | B] Verifying a Trunk Catalyst 1900 Catalyst 2950 wg_sw_2950#show interface interface switchport wg_sw_2950#show interface fa0/2 switchport Name: Fa0/2 Switchport: Enabled Administrative mode: trunk Operational Mode: trunk . . .
  • 16. © 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—4-16 wg_sw_1900#show vlan 9 VLAN Name Status Ports ------------------------------------------------- 9 switchlab2 Enabled ------------------------------------------------- VLAN Type SAID MTU Parent RingNo BridgeNo Stp Trans1 Trans2 --------------------------------------------------------------------------- 9 Ethernet 100009 1500 0 1 1 Unkn 0 0 --------------------------------------------------------------------------- wg_sw_1900#show vlan [vlan#] Verifying a VLAN Catalyst 1900 Catalyst 2950 wg_sw_2950#show vlan [id vlan#]
  • 17. © 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—4-17 wg_sw_1900#show vlan-membership Port VLAN Membership Type Port VLAN Membership Type --------------------------- ------------------------------ 1 5 Static 13 1 Static 2 1 Static 14 1 Static 3 1 Static 15 1 Static 4 1 Static 16 1 Static 5 1 Static 17 1 Static 6 1 Static 18 1 Static 7 1 Static 19 1 Static 8 9 Static 20 1 Static Note: port 1=e0/1, port 2=e0/2 ..... wg_sw_1900#show vlan-membership Verifying VLAN Membership on a Catalyst 1900
  • 18. © 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—4-18 wg_sw_2950#show vlan brief VLAN Name Status Ports ---- ------------------------ --------- ----------------------- 1 default active Fa0/4, Fa0/5, Fa0/6, Fa0/7, Fa0/8, Fa0/9, Fa0/10, Fa0/11, Fa0/12, Fa0/13, Fa0/14, Fa0/15, Fa0/16, Fa0/17, Fa0/18, Fa0/19, Fa0/20, Fa0/21 5 VLAN5 active Fa0/3 9 VLAN9 active Fa0/22, Fa0/23 1002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active wg_sw_2950#show vlan brief Verifying VLAN Membership on a Catalyst 2950 wg_sw_2950#show interfaces interface switchport
  • 19. © 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—4-19 wg_sw_1900#show spantree 1 VLAN1 is executing the IEEE compatible Spanning Tree Protocol Bridge Identifier has priority 32768, address 0050.F037.DA00 Configured hello time 2, max age 20, forward delay 15 Current root has priority 0, address 00D0.588F.B600 Root port is FastEthernet 0/26, cost of root path is 10 Topology change flag not set, detected flag not set Topology changes 53, last topology change occurred 0d00h17m14s ago Times: hold 1, topology change 8960 hello 2, max age 20, forward delay 15 Timers: hello 2, topology change 35, notification 2 Port Ethernet 0/1 of VLAN1 is Forwarding Port path cost 100, Port priority 128 Designated root has priority 0, address 00D0.588F.B600 Designated bridge has priority 32768, address 0050.F037.DA00 Designated port is Ethernet 0/1, path cost 10 Timers: message age 20, forward delay 15, hold 1 wg_sw_1900#show spantree [vlan#] Verifying STP for a VLAN Catalyst 1900 Catalyst 2950 wg_sw_2950#show spanning-tree vlan [vlan#]
  • 20. © 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—4-20 Executing Adds, Moves, and Changes for VLANs wg_sw_a(config)#vlan database • Enters the vlan database privileged EXEC command to access VLAN configuration mode • Writes VLAN adds, moves, and changes to the vlan.dat file a(config)#vlan vlan-id mtu mtu-size • Identifies a VLAN and changes the MTU size
  • 21. © 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—4-21 Troubleshooting Switched LANs
  • 22. © 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—4-22 Problem: One Device Cannot Communicate with Another • Make sure the IP address, subnet mask, and VLAN membership of the switch interface is correct. • If the host is in the same subnet as the switch interface, make sure the switch interface and the switch port to which the host is connected are assigned to the same VLAN. • If the host is in a different subnet, make sure the default gateway on the switch is configured with the address of a router in the same subnet as the switch interface.
  • 23. © 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—4-23 Problem: One Device Cannot Communicate with Another (Cont.) • If the port is in listening or learning mode, wait until the port is in forwarding mode and try to connect to the host again. • Make sure the speed and duplex settings on the host and the appropriate switch ports are correct. • If the connected device is an end station, enable spanning-tree PortFast, disable trunking, and disable chaneling on the port. • Make sure the switch is learning the MAC address of the host.
  • 24. © 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—4-24 Problem: A Device Cannot Establish a Connection Across a Trunk Link • Make sure the trunking mode configured on both ends of the link is valid. The trunking mode should be on or desirable on one end and on, desirable, or auto on the other end. • Make sure the trunk encapsulation type configured on both ends of the link is valid. • On IEEE 802.1Q trunks, make sure the native VLAN is the same on both ends of the trunk.
  • 25. © 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—4-25 Problem: VTP Not Updating Configuration on Other Switches • Make sure the switches are connected through trunk links. VTP updates are exchanged only over trunk links. • Make sure the VTP domain name is the same on the appropriate switches. VTP updates are only exchanged between switches in the same VTP domain. • Check if the switch is in VTP transparent mode. Only switches in VTP server or VTP client mode update their VLAN configuration based on VTP updates from other switches. • If you are using VTP passwords, you must configure the same password on all switches in the VTP domain.
  • 26. © 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—4-26 Summary • Before you create VLANs, you must decide whether to use VTP in your network. With VTP, you can make configuration changes centrally on one or more switches and have those changes automatically communicated to all the other switches in the network. • You will configure IEEE 802.1Q to carry traffic for multiple VLANs over a single link on a multivendor network. • ISL operates in a point-to-point environment to carry traffic for multiple VLANs over a single link. • Most Catalyst desktop switches support a maximum of 64 active VLANs. The Catalyst 1900 supports 1,024 VLANs with the Enterprise Edition software. Depending on the model, the 2950 series can support up to 250 VLANs.
  • 27. © 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—4-27 Summary (Cont.) • After creating a VLAN, you can statically assign a port or a number of ports to that VLAN. A port can belong to only one VLAN at a time. • You can verify the VLAN configuration using the show commands. • As network topologies, business requirements, and individual assignments change, VLAN requirements also change. • Misconfiguration of a VLAN is one of the most common errors in switched networks.
  • 28. © 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—4-28

Editor's Notes

  1. Purpose: This chapter introduces the Cisco IOS™ CLI on the Catalyst® 1900 switch and router. Timing: This chapter should take about 2 hours to present. Note: The Catalyst 1900 switch only has a subset of the router Cisco IOS commands available. Contents: Introduction to Cisco IOS. Explain to the student what is IOS? Cisco Device startup procedures in general. IOS configuration source. General introduction to the IOS CLI. Cat 1900 switch startup procedures. Intro to Cat 1900 CLI. This part covers the basic configuration on the switch, like setting the IP address and hostname. More details about the various Cat 1900 switch configuration commands are explained in Chapter 6 and 7. Router startup procedures. More details on the router startup process is discussed in chapter 5. Router IOS CLI.
  2. Slide 1 of 2 Purpose: This slide states the chapter objectives. Emphasize: Read or state each objective so that each student has a clear understanding of the chapter objectives. Note: Catalyst switches have different CLIs. The Catalyst 2900xl and the Catalyst 1900 has a Cisco IOS CLI. The Cisco IOS CLI commands available on the 2900xl is different from the 1900. The Catalyst 5000 family has no Cisco IOS CLI, and use the set commands instead. This class only covers the configuration on the Catalyst 1900 switch.
  3. 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.
  4. Layer 2 of 2 Note: The two commands shown in the slide can also be combined into one command: vtp domain switchlab transparent
  5. Layer 2 of 2
  6. Note: In the ICND lab, all the switches and routers are in VLAN1. The core server and the core router are in multiple VLANs. Each workgroup PC is on an unique VLAN.
  7. Layer 2 of 2
  8. Note: The output shows that there are currently no ports assigned to VLAN9.
  9. Layer 2 of 2 Note: In the lab, we will only be configuring static VLAN membership.
  10. Layer 2 of 2 Note: In the slide, the VLAN database was last modified locally. The IP address of wg_sw_a is 10.1.1.40. In the lab, the 1900s are running version 8.01.01, and pruning was disabled by default. In the documentation, pruning is suppose to be enabled by default.
  11. Layer 2 of 2 Note: In the slide, the VLAN database was last modified locally. The IP address of wg_sw_a is 10.1.1.40. In the lab, the 1900s are running version 8.01.01, and pruning was disabled by default. In the documentation, pruning is suppose to be enabled by default.
  12. Layer 2 of 2 Note: The Catalyst 1900,at the time of the beta, only supports ISL trunking. It does not support 802.1Q trunking.
  13. Layer 2 of 2 Note: Type: Default is Ethernet (other types are FDDI and Token Ring). SAID: Is used for FDDI trunking. MTU: Default is 1500 for Ethernet VLAN. STP: The 1900 only supports 802.1d Spanning-Tree Protocol. It does not support DEC or IBM Spanning-Tree Protocol. Routers support all three Spanning-Tree Protocol standards. Other parameters: Used for Token Ring or FDDI VLANs.
  14. Layer 2 of 2 Emphasize: Port 1 = e0/1, ……. AUI = e0/25, A = fa 0/26, B = fa 0/27
  15. Layer 2 of 2 Emphasize: Port 1 = e0/1, ……. AUI = e0/25, A = fa 0/26, B = fa 0/27
  16. Layer 2 of 2 Note: To adjust the spanning tree timers or bridge priority on the 1900, use the following global configuration command: wg_sw_a(config)#spantree-template 1 ? forwarding-time Set a Spanning Tree FORWARD Interval hello-time Set a Spanning Tree HELLO Interval max-age Set a Spanning Tree MAX AGE Interval priority Set a Spanning Tree PRIORITY vlan Assign up to ten VLANs to a bridge template On the 1900, you can assign up to four spanning tree templates, then you can assign VLANs to each template. When you modify a template, you are modifying all the VLANs belonging to that template.
  17. Purpose: This slide discuss the initial configurations on the routers and switches. Note: There is no setup mode on the Catalyst 1900 switch.
  18. Purpose: This slide discuss the initial configurations on the routers and switches. Note: There is no setup mode on the Catalyst 1900 switch.