Documente Academic
Documente Profesional
Documente Cultură
ICND2 v1.02-1
ICND2 v1.02-2
VLAN Overview
Segmentation Flexibility Security
ICND2 v1.02-4
Allocate one IP subnet per VLAN. Allocate IP address spaces in contiguous blocks.
2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.02-5
IP telephony
IP Multicast Normal data Scavenger class
ICND2 v1.02-6
ICND2 v1.02-7
VLAN Operation
ICND2 v1.02-8
ICND2 v1.02-9
VLAN Ranges
0, 4095
1 21001 10021005
Reserved for system use only Cisco default For Ethernet VLANs Cisco defaults for FDDI and Token Ring Ethernet VLANs only, unusable on specific legacy platforms
10064094
ICND2 v1.02-10
ICND2 v1.02-11
Adding a VLAN
ICND2 v1.02-12
Verifying a VLAN
SwitchX# show vlan id 2 VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------2 switchlab99 active Fa0/2, Fa0/12 VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2 ---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ -----2 enet 100002 1500 0 0 . . . SwitchX#
ICND2 v1.02-13
SwitchX# configure terminal SwitchX(config)# interface range fastethernet 0/2 - 4 SwitchX(config-if)# switchport access vlan 2 SwitchX# show vlan VLAN ---1 2 Name Status Ports -------------------------------- --------- ---------------------default active Fa0/1 switchlab99 active Fa0/2, Fa0/3, Fa0/4
ICND2 v1.02-14
SwitchX# show vlan brief VLAN Name ---- -------------------------------1 default 2 switchlab99 3 vlan3 4 vlan4 1002 fddi-default 1003 token-ring-default VLAN ---1004 1005 Name -------------------------------fddinet-default trnet-default
ICND2 v1.02-15
SwitchX# show interfaces fa0/2 switchport Name: Fa0/2 Switchport: Enabled Administrative Mode: dynamic auto Operational Mode: static access Administrative Trunking Encapsulation: dot1q Operational Trunking Encapsulation: native Negotiation of Trunking: On Access Mode VLAN: 2 (switchlab99) Trunking Native Mode VLAN: 1 (default) --- output omitted ----
ICND2 v1.02-16
802.1Q Trunking
ICND2 v1.02-17
802.1Q Frame
ICND2 v1.02-18
ISL Encapsulation
ICND2 v1.02-19
ICND2 v1.02-20
ICND2 v1.02-21
Dynamic Desirable
Trunk Trunk Trunk Access
Note: Table assumes DTP is enabled at both ends. show dtp interface to determine current setting switch 2950, all port is Dynamic Desirable by default
2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.02-22
SwitchX(config-if)#
ICND2 v1.02-23
Verifying a Trunk
SwitchX# show interfaces interface [switchport | trunk] SwitchX# show interfaces fa0/11 switchport Name: Fa0/11 Switchport: Enabled Administrative Mode: trunk Operational Mode: down Administrative Trunking Encapsulation: dot1q Negotiation of Trunking: On Access Mode VLAN: 1 (default) Trunking Native Mode VLAN: 1 (default) . . . SwitchX# show interfaces fa0/11 trunk Port Fa0/11 Port Fa0/11 Port Fa0/11 Mode desirable Encapsulation 802.1q Status trunking Native vlan 1
Vlans allowed on trunk 1-4094 Vlans allowed and active in management domain 1-13
ICND2 v1.02-24
Summary
A poorly designed network has increased support costs, reduced service availability, and limited support for new applications and solutions. VLANs provide segmentation and organizational flexibility. Ethernet trunks carry the traffic of multiple VLANs over a single link and allow you to extend VLANs across an entire network.
ICND2 v1.02-25
ICND2 v1.02-26