CCENT/CCNA ICND 1 Chapter 9 – Implementing Ethernet Virtual LANs.
-
Upload
elfreda-stafford -
Category
Documents
-
view
233 -
download
1
Transcript of CCENT/CCNA ICND 1 Chapter 9 – Implementing Ethernet Virtual LANs.
![Page 1: CCENT/CCNA ICND 1 Chapter 9 – Implementing Ethernet Virtual LANs.](https://reader036.fdocuments.in/reader036/viewer/2022062308/56649e7c5503460f94b7e7f5/html5/thumbnails/1.jpg)
CCENT/CCNA ICND 1Chapter 9 – Implementing Ethernet Virtual LANs
![Page 2: CCENT/CCNA ICND 1 Chapter 9 – Implementing Ethernet Virtual LANs.](https://reader036.fdocuments.in/reader036/viewer/2022062308/56649e7c5503460f94b7e7f5/html5/thumbnails/2.jpg)
Objectives•Virtual LAN Concepts•VLAN and VLAN Trunking Configuration
and Verification
![Page 3: CCENT/CCNA ICND 1 Chapter 9 – Implementing Ethernet Virtual LANs.](https://reader036.fdocuments.in/reader036/viewer/2022062308/56649e7c5503460f94b7e7f5/html5/thumbnails/3.jpg)
Creating Two Broadcast Domains with Two Physical Switches and No VLANs
![Page 4: CCENT/CCNA ICND 1 Chapter 9 – Implementing Ethernet Virtual LANs.](https://reader036.fdocuments.in/reader036/viewer/2022062308/56649e7c5503460f94b7e7f5/html5/thumbnails/4.jpg)
Creating Two Broadcast Domains Using 1 Switch and VLANs
![Page 5: CCENT/CCNA ICND 1 Chapter 9 – Implementing Ethernet Virtual LANs.](https://reader036.fdocuments.in/reader036/viewer/2022062308/56649e7c5503460f94b7e7f5/html5/thumbnails/5.jpg)
A Multi-switch VLAN without VLAN Trunking
![Page 6: CCENT/CCNA ICND 1 Chapter 9 – Implementing Ethernet Virtual LANs.](https://reader036.fdocuments.in/reader036/viewer/2022062308/56649e7c5503460f94b7e7f5/html5/thumbnails/6.jpg)
A Multi-switch VLAN with Trunking
![Page 7: CCENT/CCNA ICND 1 Chapter 9 – Implementing Ethernet Virtual LANs.](https://reader036.fdocuments.in/reader036/viewer/2022062308/56649e7c5503460f94b7e7f5/html5/thumbnails/7.jpg)
VLAN Trunking Between Two Switches
![Page 8: CCENT/CCNA ICND 1 Chapter 9 – Implementing Ethernet Virtual LANs.](https://reader036.fdocuments.in/reader036/viewer/2022062308/56649e7c5503460f94b7e7f5/html5/thumbnails/8.jpg)
802.1Q Trunking
![Page 9: CCENT/CCNA ICND 1 Chapter 9 – Implementing Ethernet Virtual LANs.](https://reader036.fdocuments.in/reader036/viewer/2022062308/56649e7c5503460f94b7e7f5/html5/thumbnails/9.jpg)
Routing Between VLANs on Two Physically Separated Switches
![Page 10: CCENT/CCNA ICND 1 Chapter 9 – Implementing Ethernet Virtual LANs.](https://reader036.fdocuments.in/reader036/viewer/2022062308/56649e7c5503460f94b7e7f5/html5/thumbnails/10.jpg)
Routing Between Two VLANs on Two Physical Interfaces
![Page 11: CCENT/CCNA ICND 1 Chapter 9 – Implementing Ethernet Virtual LANs.](https://reader036.fdocuments.in/reader036/viewer/2022062308/56649e7c5503460f94b7e7f5/html5/thumbnails/11.jpg)
Routing Between Two VLANs Using a Trunk on the Router
![Page 12: CCENT/CCNA ICND 1 Chapter 9 – Implementing Ethernet Virtual LANs.](https://reader036.fdocuments.in/reader036/viewer/2022062308/56649e7c5503460f94b7e7f5/html5/thumbnails/12.jpg)
The Multilayer Switch: Layer 2 Switching with Layer 3 Routing in One Device
![Page 13: CCENT/CCNA ICND 1 Chapter 9 – Implementing Ethernet Virtual LANs.](https://reader036.fdocuments.in/reader036/viewer/2022062308/56649e7c5503460f94b7e7f5/html5/thumbnails/13.jpg)
Network with One Switch and Three VLANs
![Page 14: CCENT/CCNA ICND 1 Chapter 9 – Implementing Ethernet Virtual LANs.](https://reader036.fdocuments.in/reader036/viewer/2022062308/56649e7c5503460f94b7e7f5/html5/thumbnails/14.jpg)
Configuring VLANs and Assigning VLANs to Interfaces Part One
SW1#show vlan briefVLAN Name Status Ports---- -------------------------------- --------- -------------------------------1 default active Fa0/1, Fa0/2, Fa0/3, 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, Fa0/22, Fa0/23, Fa0/24 Gi0/1, Gi0/21002 fddi-default act/unsup1003 token-ring-default act/unsup1004 fddinet-default act/unsup1005 trnet-default act/unsup! Above, VLANs 2 and 3 do not yet exist. Below, VLAN 2 is added, with name Freds-vlan,! with two interfaces assigned to VLAN 2.
![Page 15: CCENT/CCNA ICND 1 Chapter 9 – Implementing Ethernet Virtual LANs.](https://reader036.fdocuments.in/reader036/viewer/2022062308/56649e7c5503460f94b7e7f5/html5/thumbnails/15.jpg)
Configuring VLANs and Assigning VLANs to Interfaces Part Two! Below, the show running-config command lists the interface subcommands on ! interfaces Fa0/13 and Fa0/14. SW1#show running-config! Many lines omitted for brevity! Early in the output:vlan 2 name Freds-vlan!! more lines omitted for brevityinterface FastEthernet0/13 switchport access vlan 2 switchport mode access!interface FastEthernet0/14 switchport access vlan 2 switchport mode access!
![Page 16: CCENT/CCNA ICND 1 Chapter 9 – Implementing Ethernet Virtual LANs.](https://reader036.fdocuments.in/reader036/viewer/2022062308/56649e7c5503460f94b7e7f5/html5/thumbnails/16.jpg)
Configuring VLANs and Assigning VLANs to Interfaces Part Three
SW1#show vlan brief VLAN Name Status Ports---- -------------------------------- --------- -------------------------------1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4 Fa0/5, Fa0/6, Fa0/7, Fa0/8 Fa0/9, Fa0/10, Fa0/11, Fa0/12 Fa0/15, Fa0/16, Fa0/17, Fa0/18 Fa0/19, Fa0/20, Fa0/21, Fa0/22 Fa0/23, Fa0/24, Gi0/1, Gi0/22 Freds-vlan active Fa0/13, Fa0/141002 fddi-default act/unsup1003 token-ring-default act/unsup1004 fddinet-default act/unsup1005 trnet-default act/unsup
![Page 17: CCENT/CCNA ICND 1 Chapter 9 – Implementing Ethernet Virtual LANs.](https://reader036.fdocuments.in/reader036/viewer/2022062308/56649e7c5503460f94b7e7f5/html5/thumbnails/17.jpg)
Configuring VLANs and Assigning VLANs to Interfaces Part Four
SW1#show vlan id 2VLAN Name Status Ports---- -------------------------------- --------- -------------------------------2 Freds-vlan active Fa0/13, Fa0/14 VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------2 enet 100010 1500 - - - - - 0 0 Remote SPAN VLAN----------------Disabled Primary Secondary Type Ports------- --------- ----------------- ------------------------------------------
![Page 18: CCENT/CCNA ICND 1 Chapter 9 – Implementing Ethernet Virtual LANs.](https://reader036.fdocuments.in/reader036/viewer/2022062308/56649e7c5503460f94b7e7f5/html5/thumbnails/18.jpg)
Shorter VLAN Configuration Example (VLAN 3)
SW1#configure terminalEnter configuration commands, one per line. End with CNTL/Z.SW1(config)#interface range Fastethernet 0/15 - 16SW1(config-if-range)#switchport access vlan 3% Access VLAN does not exist. Creating vlan 3SW1(config-if-range)#^Z SW1#show vlan brief VLAN Name Status Ports---- -------------------------------- --------- -------------------------------1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4 Fa0/5, Fa0/6, Fa0/7, Fa0/8 Fa0/9, Fa0/10, Fa0/11, Fa0/12 Fa0/17, Fa0/18, Fa0/19, Fa0/20 Fa0/21, Fa0/22, Fa0/23, Fa0/24 Gi0/1, Gi0/22 Freds-vlan active Fa0/13, Fa0/143 VLAN0003 active Fa0/15, Fa0/161002 fddi-default act/unsup1003 token-ring-default act/unsup1004 fddinet-default act/unsup1005 trnet-default act/unsup
![Page 19: CCENT/CCNA ICND 1 Chapter 9 – Implementing Ethernet Virtual LANs.](https://reader036.fdocuments.in/reader036/viewer/2022062308/56649e7c5503460f94b7e7f5/html5/thumbnails/19.jpg)
Trunking Administrative Mode Options with the switchport mode Command
Command Option Description
access Always act as an access (nontrunk) port
trunk Always act as a trunk port
dynamic desirable Initiates negotiation messages and responds to negotiation messages to dynamically choose whether to start using trunking
dynamic auto Passively waits to receive trunk negotiation messages, at which point the switch will respond and negotiate whether to use trunking
![Page 20: CCENT/CCNA ICND 1 Chapter 9 – Implementing Ethernet Virtual LANs.](https://reader036.fdocuments.in/reader036/viewer/2022062308/56649e7c5503460f94b7e7f5/html5/thumbnails/20.jpg)
Network with Two Switches and Three VLANs
![Page 21: CCENT/CCNA ICND 1 Chapter 9 – Implementing Ethernet Virtual LANs.](https://reader036.fdocuments.in/reader036/viewer/2022062308/56649e7c5503460f94b7e7f5/html5/thumbnails/21.jpg)
Initial (Default) State: Not Trunking Between SW1 and SW2 part 1SW1#show interfaces gigabit 0/1 switchportName: Gi0/1Switchport: EnabledAdministrative Mode: dynamic autoOperational Mode: static accessAdministrative Trunking Encapsulation: dot1qOperational Trunking Encapsulation: nativeNegotiation of Trunking: OnAccess Mode VLAN: 1 (default)Trunking Native Mode VLAN: 1 (default)Administrative Native VLAN tagging: enabledVoice VLAN: noneAccess Mode VLAN: 1 (default)Trunking Native Mode VLAN: 1 (default)Administrative Native VLAN tagging: enabled
![Page 22: CCENT/CCNA ICND 1 Chapter 9 – Implementing Ethernet Virtual LANs.](https://reader036.fdocuments.in/reader036/viewer/2022062308/56649e7c5503460f94b7e7f5/html5/thumbnails/22.jpg)
Initial (Default) State: Not Trunking Between SW1 and SW2 part 2
Voice VLAN: noneAccess Mode VLAN: 1 (default)Trunking Native Mode VLAN: 1 (default)Administrative Native VLAN tagging: enabledVoice VLAN: noneAdministrative private-vlan host-association: noneAdministrative private-vlan mapping: noneAdministrative private-vlan trunk native VLAN: noneAdministrative private-vlan trunk Native VLAN tagging: enabledAdministrative private-vlan trunk encapsulation: dot1qAdministrative private-vlan trunk normal VLANs: noneAdministrative private-vlan trunk private VLANs: noneOperational private-vlan: none
![Page 23: CCENT/CCNA ICND 1 Chapter 9 – Implementing Ethernet Virtual LANs.](https://reader036.fdocuments.in/reader036/viewer/2022062308/56649e7c5503460f94b7e7f5/html5/thumbnails/23.jpg)
Initial (Default) State: Not Trunking Between SW1 and SW2 part 3
Trunking VLANs Enabled: ALLPruning VLANs Enabled: 2-1001Capture Mode DisabledCapture VLANs Allowed: ALL Protected: falseUnknown unicast blocked: disabledUnknown multicast blocked: disabledAppliance trust: none ! Note that the next command results in a single empty line of output.SW1#show interfaces trunkSW1#
![Page 24: CCENT/CCNA ICND 1 Chapter 9 – Implementing Ethernet Virtual LANs.](https://reader036.fdocuments.in/reader036/viewer/2022062308/56649e7c5503460f94b7e7f5/html5/thumbnails/24.jpg)
SW1 Changes from Dynamic Auto to Dynamic Desirable part 1
SW1#configure terminalEnter configuration commands, one per line. End with CNTL/Z.SW1(config)#interface gigabit 0/1SW1(config-if)#switchport mode dynamic desirableSW1(config-if)#^ZSW1#01:43:46: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to down01:43:49: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to upSW1#show interfaces gigabit 0/1 switchportName: Gi0/1Switchport: EnabledAdministrative Mode: dynamic desirableOperational Mode: trunkAdministrative Trunking Encapsulation: dot1qOperational Trunking Encapsulation: dot1qNegotiation of Trunking: OnAccess Mode VLAN: 1 (default)Trunking Native Mode VLAN: 1 (default)
![Page 25: CCENT/CCNA ICND 1 Chapter 9 – Implementing Ethernet Virtual LANs.](https://reader036.fdocuments.in/reader036/viewer/2022062308/56649e7c5503460f94b7e7f5/html5/thumbnails/25.jpg)
SW1 Changes from Dynamic Auto to Dynamic Desirable part 2
! The next command formerly listed a single empty line of output; now it lists! information about the 1 operational trunk.SW1#show interfaces trunk Port Mode Encapsulation Status Native vlanGi0/1 desirable 802.1q trunking 1 Port Vlans allowed on trunkGi0/1 1-4094 Port Vlans allowed and active in management domainGi0/1 1-3 Port Vlans in spanning tree forwarding state and not prunedGi0/1 1-3
![Page 26: CCENT/CCNA ICND 1 Chapter 9 – Implementing Ethernet Virtual LANs.](https://reader036.fdocuments.in/reader036/viewer/2022062308/56649e7c5503460f94b7e7f5/html5/thumbnails/26.jpg)
SW1 Changes from Dynamic Auto to Dynamic Desirable part 3
SW1#show interfaces trunk Port Mode Encapsulation Status Native vlanGi0/1 desirable 802.1q trunking 1 Port Vlans allowed on trunkGi0/1 1-4094 Port Vlans allowed and active in management domainGi0/1 1-3 Port Vlans in spanning tree forwarding state and not prunedGi0/1 1-3 SW1#show vlan id 2VLAN Name Status Ports---- -------------------------------- --------- -------------------------------2 Freds-vlan active Fa0/13, Fa0/14, G0/1 VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------2 enet 100010 1500 - - - - - 0 0 Remote SPAN VLAN----------------Disabled Primary Secondary Type Ports------- --------- ----------------- ------------------------------------------
![Page 27: CCENT/CCNA ICND 1 Chapter 9 – Implementing Ethernet Virtual LANs.](https://reader036.fdocuments.in/reader036/viewer/2022062308/56649e7c5503460f94b7e7f5/html5/thumbnails/27.jpg)
Expected Trunking Operational Mode Based on the Configured Administrative Modes
Administrative Mode
Access
Dynamic Auto
Trunk Dynamic Desirable
access Access Access Do Not Use1 Access
dynamic auto Access Access Trunk Trunk
trunk Do Not Use1
Trunk Trunk Trunk
dynamic desirable
Access Trunk Trunk Trunk
1When two switches configure a mode of “access” on one end, and “trunk” on the other, problems occur. Avoid this combination.
![Page 28: CCENT/CCNA ICND 1 Chapter 9 – Implementing Ethernet Virtual LANs.](https://reader036.fdocuments.in/reader036/viewer/2022062308/56649e7c5503460f94b7e7f5/html5/thumbnails/28.jpg)
Allowed VLAN List and the List of Active VLANs part 1
! The three lists of VLANs in the next command list allowed VLANs (1-4094), ! Allowed and active VLANs (1-3), and allowed/active/not pruned/STP forwarding ! VLANs (1-3)SW1#show interfaces trunk Port Mode Encapsulation Status Native vlanGi0/1 desirable 802.1q trunking 1 Port Vlans allowed on trunkGi0/1 1-4094 Port Vlans allowed and active in management domainGi0/1 1-3 Port Vlans in spanning tree forwarding state and not prunedGi0/1 1-3
![Page 29: CCENT/CCNA ICND 1 Chapter 9 – Implementing Ethernet Virtual LANs.](https://reader036.fdocuments.in/reader036/viewer/2022062308/56649e7c5503460f94b7e7f5/html5/thumbnails/29.jpg)
Allowed VLAN List and the List of Active VLANs part 2
! Next, the switch is configured with new VLAN 4; VLAN 2 is shutdown;! and VLAN 3 is removed from the allowed VLAN list on the trunk.SW1#configure terminalEnter configuration commands, one per line. End with CNTL/Z.SW1(config)#vlan 4SW1(config-vlan)#vlan 2SW1(config-vlan)#shutdownSW1(config-vlan)#interface gi0/1SW1(config-if)#switchport trunk allowed vlan remove 3SW1(config-if)#^Z ! The three lists of VLANs in the next command list allowed VLANs (1-2, 4-4094), ! allowed and active VLANs (1,4), and allowed/active/not pruned/STP forwarding ! VLANs (1,4)SW1#show interfaces trunk Port Mode Encapsulation Status Native vlanGi0/1 desirable 802.1q trunking 1
![Page 30: CCENT/CCNA ICND 1 Chapter 9 – Implementing Ethernet Virtual LANs.](https://reader036.fdocuments.in/reader036/viewer/2022062308/56649e7c5503460f94b7e7f5/html5/thumbnails/30.jpg)
Allowed VLAN List and the List of Active VLANs part 3
! VLAN 3 is omitted next, because it was removed from the allowed VLAN list.Port Vlans allowed on trunkGi0/1 1-2,4-4094 ! VLAN 2 is omitted below because it is shutdown. VLANs 5-4094 are omitted below! because SW1 does not have them configured.Port Vlans allowed and active in management domainGi0/1 1,4 Port Vlans in spanning tree forwarding state and not prunedGi0/1 1,4