Академический Документы
Профессиональный Документы
Культура Документы
Module 9
CCNA3 Module 9
VLAN Communication
Devices on different VLANS must
CCNA3 Module 9
Access Links
An access link is a link on the
CCNA3 Module 9
Trunk Links
A trunk link is capable of supporting
multiple VLANs.
Trunk links are typically used to connect
switches to other switches or routers.
Switches support trunk links on both Fast
Ethernet and Gigabit Ethernet ports.
Switches, routers, and some servers can be
connected to a VLAN trunk (NIC must
support trunking)
Perrine / Brierley modifications
CCNA3 Module 9
CCNA3 Module 9
Trunk Links
A trunk link does not belong to a specific VLAN.
acts as a conduit for VLANs between switches and
routers.
The trunk link can be configured to transport all
The native VLAN of the trunk is the VLAN that the trunk
uses if the trunk link fails for any reason .
CCNA3 Module 9
Trunk Links
In Ethernet, the switch has two
proprietary)
IEEE
802.1Q (standards-based)
CCNA3 Module 9
VLAN Identification
ISL - This protocol is a Cisco
proprietary encapsulation
protocol for interconnecting
multiple switches; it is supported
in switches as well as routers.
CCNA3 Module 9
VLAN Identification
IEEE 802.1Q - This protocol is an
CCNA3 Module 9
802.1q
NIC cards and networking devices can understand this
baby giant frame (1522 bytes). However, a Cisco switch
must remove this encapsulation before sending the frame
out on an access link.
SA and
802.1q
DA
MACsTag
MACs
Type/Length
Field
2-byte TPID
2-byte TCI
CRC
New
CRC
10
10
CCNA3 Module 9
802.1q
A 4-byte tag header containing a tag
11
11
CCNA3 Module 9
802.1q
A TCI
12
12
CCNA3 Module 9
Trunking
A trunk is a point-to-point link that
13
13
CCNA3 Module 9
Trunking
14
14
CCNA3 Module 9
Configuring Trunking
Fast Ethernet and Gigabit Ethernet
trunking modes:
On
Off
Desirable
Auto
Non
negotiate
15
15
CCNA3 Module 9
Configuring Trunking
On - This mode puts the port into
16
16
CCNA3 Module 9
Configuring Trunking
Off - This mode puts the port into
17
17
CCNA3 Module 9
Configuring Trunking
Desirable - This mode makes the
18
18
CCNA3 Module 9
Configuring Trunking
Auto - This mode makes the port willing to
19
19
CCNA3 Module 9
Configuring Trunking
Non negotiate - This mode puts the
20
20
CCNA3 Module 9
Configuring Trunking
For trunking to be auto negotiated
21
21
CCNA3 Module 9
Configuring Trunking
IOS-Based Switch
Switch(config)# interface fastethernet 0
Switch(config-if)# switchport mode [access | multi |
trunk]
Switch(config-if)# switchport trunk encapsulation {isl|
dot1q}
Switch(config-if)# switchport trunk allowed vlan remove
vlan-list
Switch(config-if)# switchport trunk allowed vlan add vlanlist
22
22
CCNA3 Module 9
23
23
CCNA3 Module 9
VTP Benefits
24
24
CCNA3 Module 9
VTP
All switches in the same management
25
25
CCNA3 Module 9
VTP
Switches can be configured not to
26
26
CCNA3 Module 9
VTP
By default, management domains are set
27
27
CCNA3 Module 9
VTP
The VTP database contains a
revision number.
Each time a change is made, the
switch increments the revision
number
28
28
CCNA3 Module 9
VTP
A higher configuration revision number indicates
29
29
CCNA3 Module 9
VTP Modes
Switches can operate in any one
30
30
CCNA3 Module 9
VTP Modes
Server - If you configure the switch for server
31
31
CCNA3 Module 9
VTP Modes
Client - VTP clients behave the
32
32
CCNA3 Module 9
VTP Modes
Transparent - VTP transparent switches do
33
33
CCNA3 Module 9
Configuring VTP
Different version
numbers are not
compatible
34
34
CCNA3 Module 9
Configuring VTP
IOS-Based Switch
Switch(vlan)# vtp
Switch(vlan)# vtp
transparent}
Switch(vlan)# vtp
Switch(vlan)# vtp
domain domain-name
{server | client |
password password
v2-mode (version2)
35
35
CCNA3 Module 9
36
36
CCNA3 Module 9
37
37
CCNA3 Module 9
Requires four
ports for four
VLANs; this
router is getting
expen$ive!
38
38
CCNA3 Module 9
39
39
CCNA3 Module 9
40
40
CCNA3 Module 9
41
41
CCNA3 Module 9
Switch Configuration
Switch(config)#interface FastEthernet0/1
Switch(config-if)#switchport mode trunk
Switch(config-if)#switchport trunk
encapsulation dot1q
Switch(config)#interface FastEthernet0/2
Switch(config-if)#switchport access vlan 1
Switch(config)#interface FastEthernet0/3
Switch(config-if)#switchport access vlan 10
42
42
CCNA3 Module 9
Module 9
VLAN Trunking Protocol
Perrine / Brierley Modifications
43