SlideShare ist ein Scribd-Unternehmen logo
1 von 29
Downloaden Sie, um offline zu lesen
Packet Tracer
              Simulation Lab
               L2 Switching

Johnson Liu
CCIE#11440(R&S, SP)
CCSI#31346
Agenda Slide

      • Power on a new switch

      • Assign a port as an specific VLAN membership

      • Setup hosts in the same VLAN

      • Power on another new switch

      • Assign a port as an trunk interface to pass-through
        different VLAN traffic over a single link

      • Enable a Inter-VLAN routing to route traffic between
        different VLANs



3/6/2013   Confidential | Copyright 2012 Trend Micro Inc.
Power on a new switch
Power on a new Switch




3/6/2013   Confidential | Copyright 2012 Trend Micro Inc.   4
Power on a new Switch




3/6/2013   Confidential | Copyright 2012 Trend Micro Inc.   5
Power on a new Switch




3/6/2013   Confidential | Copyright 2012 Trend Micro Inc.   6
Switch basic configuration
     Switch>enable
     Switch#conf t
     Enter configuration commands, one per line.             End with CNTL/Z.
     Switch(config)#hostname SW1
     SW1(config)#interface vlan 1
     SW1(config-if)#no shutdown

     %LINK-5-CHANGED: Interface Vlan1, changed state to up

     SW1(config-if)#ip address 10.100.1.253 255.255.255.0
     SW1(config-if)#exit
     SW1(config)#ip default-gateway 10.100.1.254
     SW1(config)#exit
     SW1#
     %SYS-5-CONFIG_I: Configured from console by console

     SW1#copy running-config startup-config
     Destination filename [startup-config]?
     Building configuration...
     [OK]




3/6/2013    Confidential | Copyright 2012 Trend Micro Inc.   7
Check switch basic configuration
     SW1#sh ip interface brief
     Interface              IP-Address                        OK? Method Status   Protocol

     FastEthernet0/1                    unassigned            YES manual down     down

     FastEthernet0/2                    unassigned            YES manual down     down

     FastEthernet0/3                    unassigned            YES manual down     down

     FastEthernet0/4                    unassigned            YES manual down     down

     …
     FastEthernet0/20                   unassigned            YES manual down     down

     FastEthernet0/21                   unassigned            YES manual down     down

     FastEthernet0/22                   unassigned            YES manual down     down

     FastEthernet0/23                   unassigned            YES manual down     down

     FastEthernet0/24                   unassigned            YES manual down     down

     Vlan1                              10.100.1.253          YES manual up       down
     SW1#




3/6/2013     Confidential | Copyright 2012 Trend Micro Inc.        8
Check switch basic configuration
     SW1#sh vlan

     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/13, Fa0/14, Fa0/15, Fa0/16
                                                     Fa0/17, Fa0/18, Fa0/19, Fa0/20
                                                     Fa0/21, Fa0/22, Fa0/23, Fa0/24
     1002 fddi-default                     act/unsup
     1003 token-ring-default               act/unsup
     1004 fddinet-default                  act/unsup
     1005 trnet-default                    act/unsup

     VLAN   Type    SAID                MTU       Parent       RingNo   BridgeNo   Stp    BrdgMode   Trans1   Trans2
     ----   -----   ----------          -----     ------       ------   --------   ----   --------   ------   ------
     1      enet    100001              1500      -            -        -          -      -          0        0
     1002   fddi    101002              1500      -            -        -          -      -          0        0
     1003   tr      101003              1500      -            -        -          -      -          0        0
     1004   fdnet   101004              1500      -            -        -          ieee   -          0        0
     1005   trnet   101005              1500      -            -        -          ibm    -          0        0

     Remote SPAN VLANs
     ------------------------------------------------------------------------------


     Primary Secondary Type              Ports
     ------- --------- ----------------- ------------------------------------------


3/6/2013      Confidential | Copyright 2012 Trend Micro Inc.              9
Check switch basic configuration
     SW1#sh run
     Building configuration…
     Current configuration : 1091 bytes
     !
     version 12.1
     no service timestamps log datetime msec
     no service timestamps debug datetime msec
     no service password-encryption
     !
     hostname SW1
     !
     interface FastEthernet0/1
     !
     interface FastEthernet0/2
     …
     interface Vlan1
       ip address 10.100.1.253 255.255.255.0
     !
     ip default-gateway 10.100.1.254
     !
     …

     SW1#




3/6/2013    Confidential | Copyright 2012 Trend Micro Inc.   10
Assign a port as an specific VLAN membership
Assign a port as an specific VLAN
     membership
     SW1#conf t
     Enter configuration commands, one per line. End with CNTL/Z.
     SW1(config)#int f0/1
     SW1(config-if)#switchport mode access
     SW1(config-if)#switchport access vlan 2
     SW1(config-if)#^Z
     SW1#
     %SYS-5-CONFIG_I: Configured from console by console
     SW1#sh vlan

     VLAN Name                             Status    Ports
     ---- -------------------------------- --------- -------------------------------
     1    default                          active    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
     2    VLAN0002                         active    Fa0/1
     1002 fddi-default                     act/unsup
     1003 token-ring-default               act/unsup
     1004 fddinet-default                  act/unsup
     1005 trnet-default                    act/unsup




3/6/2013    Confidential | Copyright 2012 Trend Micro Inc.   12
Assign a port as an specific VLAN
     membership
     SW1#conf t
     Enter configuration commands, one per line. End with CNTL/Z.
     SW1(config)#int f0/2
     SW1(config-if)#switchport mode access
     SW1(config-if)#switchport access vlan 2
     SW1(config-if)#exit
     SW1(config)#exit
     SW1#
     %SYS-5-CONFIG_I: Configured from console by console

     SW1#sh vlan

     VLAN Name                             Status    Ports
     ---- -------------------------------- --------- -------------------------------
     1    default                          active    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
     2    VLAN0002                         active    Fa0/1, Fa0/2
     1002 fddi-default                     act/unsup
     1003 token-ring-default               act/unsup
     1004 fddinet-default                  act/unsup
     1005 trnet-default                    act/unsup




3/6/2013    Confidential | Copyright 2012 Trend Micro Inc.   13
Setup hosts in the same VLAN
Setup hosts in the same VLAN




3/6/2013   Confidential | Copyright 2012 Trend Micro Inc.   15
Setup hosts in the same VLAN
      • Now this Switch has two VLAN:
           – VLAN 1: Management VLAN (SVI: 10.100.1.253/24)
           – VLAN 2: For hosts PC0 and PC1 communicates to each other (10.100.2.0/24)
      • Now PC0 can ping PC1, but PC0 and PC1 cannot ping Switch SVI interface
        (10.100.1.253/24), its normal and it was due to they belong to different subnet.
      • Switch cannot route different subnet traffic, even all hosts connect to the same Switch
        but belong to different VLAN. (We need a layer 3 device to route Inter-VLAN traffic)




3/6/2013      Confidential | Copyright 2012 Trend Micro Inc.   16
Power on another new switch
Power on another new switch




3/6/2013   Confidential | Copyright 2012 Trend Micro Inc.   18
Another new switch basic configuration

     Switch>en
     Switch#conf t
     Enter configuration commands, one per line.              End with CNTL/Z.
     Switch(config)#hostname SW2
     SW2(config)#
     SW2(config-if)#int vlan 1
     SW2(config-if)#no shutdown

     SW2(config-if)#
     %LINK-5-CHANGED: Interface Vlan1, changed state to up

     %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up

     SW2(config-if)#ip address 10.100.1.252 255.255.255.0
     SW2(config-if)#exit
     SW2(config)#ip default-gateway 10.100.1.254

     SW2(config)#int f0/1
     SW2(config-if)#switchport mode access
     SW2(config-if)#switchport access vlan 2
     % Access VLAN does not exist. Creating vlan 2




3/6/2013    Confidential | Copyright 2012 Trend Micro Inc.   19
Assign a port as an trunk interface to pass-
through different VLAN traffic over a single link
Setup trunk interconnection between two
     SW1 & SW2 F0/24
     SW1>en
     SW1#conf t
     Enter configuration commands, one per line. End with CNTL/Z.
     SW1(config)#int f0/24
     SW1(config-if)#switchport mode trunk
     SW1(config-if)#^Z
     SW1#
     %SYS-5-CONFIG_I: Configured from console by console


     SW2>en
     SW2#conf t
     Enter configuration commands, one per line. End with CNTL/Z.
     SW2(config)#int f0/24
     SW2(config-if)#switchport mode trunk
     SW2(config-if)#^Z
     SW2#
     %SYS-5-CONFIG_I: Configured from console by console

     •     Now SW2 can ping SW1 VLAN1 via Trunk interface(FastEthernet0/24)
     SW2#ping 10.100.1.253

     Type escape sequence to abort.
     Sending 5, 100-byte ICMP Echos to 10.100.1.253, timeout is 2 seconds:
     ..!!!
     Success rate is 60 percent (3/5), round-trip min/avg/max = 20/20/20 ms

3/6/2013       Confidential | Copyright 2012 Trend Micro Inc.   21
Switch Trunk allow VLAN1 & VLAN2 pass-
     through, but not for Inter-VLAN routing




3/6/2013   Confidential | Copyright 2012 Trend Micro Inc.   22
Enable a Inter-VLAN routing to route traffic
between different VLANs
Add a new Router to support Inter-VLAN
     routing




3/6/2013   Confidential | Copyright 2012 Trend Micro Inc.   24
Configure Router interface as VLAN1 &
     VLAN2 gateway
     Router>en
     Router#conf t
     Enter configuration commands, one per line. End with CNTL/Z.
     Router(config)#int f0/0
     Router(config-if)#no shutdown
     %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

     %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

     Router(config-if)#int f0/0.1
     %LINK-5-CHANGED: Interface FastEthernet0/0.1, changed state to up

     %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.1, changed state to up

     Router(config-subif)#encapsulation dot1Q 1 native
     Router(config-subif)#ip address 10.100.1.254 255.255.255.0


     Router(config-subif)#int f0/0.2
     %LINK-5-CHANGED: Interface FastEthernet0/0.2, changed state to up

     %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.2, changed state to up

     Router(config-subif)#encapsulation dot1Q 2
     Router(config-subif)#ip address 10.100.2.254 255.255.255.0
     Router(config-subif)#exit
     Router(config)#exit
     Router#

3/6/2013    Confidential | Copyright 2012 Trend Micro Inc.   25
Configure SW1 F0/23 Trunk interface uplink
     to Router F0/0
     SW1>en
     SW1#conf t
     Enter configuration commands, one per line.                 End with CNTL/Z.
     SW1(config)#int f0/23
     SW1(config-if)#switchport mode trunk

     SW1(config-if)#exit
     %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/23, changed state to down

     %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/23, changed state to up

     SW1(config)#exit
     SW1#

     •     Now SW1 can ping Router F0/0.1 via Trunk interface(FastEthernet0/23)
     SW1#
     SW1#ping 10.100.1.254

     Type escape sequence to abort.
     Sending 5, 100-byte ICMP Echos to 10.100.1.254, timeout is 2 seconds:
     .!!!!
     Success rate is 80 percent (4/5), round-trip min/avg/max = 11/17/20 ms




3/6/2013       Confidential | Copyright 2012 Trend Micro Inc.   26
Now Router support Inter-VLAN routing to
     route VLAN1 to VLAN2 and vice versa
     PC>ping 10.100.1.254

     Pinging 10.100.1.254 with 32 bytes of data:

     Reply from 10.100.1.254: bytes=32 time=39ms TTL=255
     …

     PC>ping 10.100.2.254

     Pinging 10.100.2.254 with 32 bytes of data:

     Reply from 10.100.2.254: bytes=32 time=40ms TTL=255
     …


     PC>ping 10.100.2.1

     Pinging 10.100.2.1 with 32 bytes of data:

     Reply from 10.100.2.1: bytes=32 time=10ms TTL=128
     …




3/6/2013    Confidential | Copyright 2012 Trend Micro Inc.   27
Q&A


3/6/2013   Confidential | Copyright 2012 Trend Micro Inc.    28
Appendix




3/6/2013     Confidential | Copyright 2012 Trend Micro Inc.   29

Weitere ähnliche Inhalte

Was ist angesagt?

Travaux pratiques configuration du routage entre réseaux locaux virtuels
Travaux pratiques   configuration du routage entre réseaux locaux virtuelsTravaux pratiques   configuration du routage entre réseaux locaux virtuels
Travaux pratiques configuration du routage entre réseaux locaux virtuelsMohamed Keita
 
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
 
CCNAv5 - S2: Chapter2 Basic Switching Concepts and Configuration
CCNAv5 - S2: Chapter2 Basic Switching Concepts and ConfigurationCCNAv5 - S2: Chapter2 Basic Switching Concepts and Configuration
CCNAv5 - S2: Chapter2 Basic Switching Concepts and ConfigurationVuz Dở Hơi
 
Ccna 1 practice final exam answer v5
Ccna 1 practice final exam answer v5Ccna 1 practice final exam answer v5
Ccna 1 practice final exam answer v5friv4schoolgames
 
CCNAv5 - S2: Chapter3 Vlans
CCNAv5 - S2: Chapter3 VlansCCNAv5 - S2: Chapter3 Vlans
CCNAv5 - S2: Chapter3 VlansVuz Dở Hơi
 
101 CCNA Labs with Solutions.pdf
101 CCNA Labs with Solutions.pdf101 CCNA Labs with Solutions.pdf
101 CCNA Labs with Solutions.pdfBiVnHu1
 
Cisco router configuration tutorial
Cisco router configuration tutorialCisco router configuration tutorial
Cisco router configuration tutorialIT Tech
 
CCNA 2 Routing and Switching v5.0 Chapter 2
CCNA 2 Routing and Switching v5.0 Chapter 2CCNA 2 Routing and Switching v5.0 Chapter 2
CCNA 2 Routing and Switching v5.0 Chapter 2Nil Menon
 
Ccnp workbook network bulls
Ccnp workbook network bullsCcnp workbook network bulls
Ccnp workbook network bullsSwapnil Kapate
 
Troubleshooting BGP
Troubleshooting BGPTroubleshooting BGP
Troubleshooting BGPDuane Bodle
 
1000 Ccna Questions And Answers
1000 Ccna Questions And Answers1000 Ccna Questions And Answers
1000 Ccna Questions And AnswersCCNAResources
 
CCNA 2 Routing and Switching v5.0 Chapter 4
CCNA 2 Routing and Switching v5.0 Chapter 4CCNA 2 Routing and Switching v5.0 Chapter 4
CCNA 2 Routing and Switching v5.0 Chapter 4Nil Menon
 
Huawei switch configuration commands
Huawei switch configuration commandsHuawei switch configuration commands
Huawei switch configuration commandsHuanetwork
 
Cisco Router Basic Configuration
Cisco Router Basic ConfigurationCisco Router Basic Configuration
Cisco Router Basic ConfigurationProf. Erwin Globio
 
Using GTP on Linux with libgtpnl
Using GTP on Linux with libgtpnlUsing GTP on Linux with libgtpnl
Using GTP on Linux with libgtpnlKentaro Ebisawa
 

Was ist angesagt? (20)

Travaux pratiques configuration du routage entre réseaux locaux virtuels
Travaux pratiques   configuration du routage entre réseaux locaux virtuelsTravaux pratiques   configuration du routage entre réseaux locaux virtuels
Travaux pratiques configuration du routage entre réseaux locaux virtuels
 
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)
 
CCNAv5 - S2: Chapter2 Basic Switching Concepts and Configuration
CCNAv5 - S2: Chapter2 Basic Switching Concepts and ConfigurationCCNAv5 - S2: Chapter2 Basic Switching Concepts and Configuration
CCNAv5 - S2: Chapter2 Basic Switching Concepts and Configuration
 
Ccna 1 practice final exam answer v5
Ccna 1 practice final exam answer v5Ccna 1 practice final exam answer v5
Ccna 1 practice final exam answer v5
 
CCNAv5 - S2: Chapter3 Vlans
CCNAv5 - S2: Chapter3 VlansCCNAv5 - S2: Chapter3 Vlans
CCNAv5 - S2: Chapter3 Vlans
 
JUNOS: OSPF and BGP
JUNOS: OSPF and BGPJUNOS: OSPF and BGP
JUNOS: OSPF and BGP
 
101 CCNA Labs with Solutions.pdf
101 CCNA Labs with Solutions.pdf101 CCNA Labs with Solutions.pdf
101 CCNA Labs with Solutions.pdf
 
Cisco router configuration tutorial
Cisco router configuration tutorialCisco router configuration tutorial
Cisco router configuration tutorial
 
CCNA 2 Routing and Switching v5.0 Chapter 2
CCNA 2 Routing and Switching v5.0 Chapter 2CCNA 2 Routing and Switching v5.0 Chapter 2
CCNA 2 Routing and Switching v5.0 Chapter 2
 
Spanning Tree Protocol Cheat Sheet
Spanning Tree Protocol Cheat SheetSpanning Tree Protocol Cheat Sheet
Spanning Tree Protocol Cheat Sheet
 
VTP
VTPVTP
VTP
 
Ccnp workbook network bulls
Ccnp workbook network bullsCcnp workbook network bulls
Ccnp workbook network bulls
 
Troubleshooting BGP
Troubleshooting BGPTroubleshooting BGP
Troubleshooting BGP
 
1000 Ccna Questions And Answers
1000 Ccna Questions And Answers1000 Ccna Questions And Answers
1000 Ccna Questions And Answers
 
Bgp
BgpBgp
Bgp
 
Ccna command
Ccna commandCcna command
Ccna command
 
CCNA 2 Routing and Switching v5.0 Chapter 4
CCNA 2 Routing and Switching v5.0 Chapter 4CCNA 2 Routing and Switching v5.0 Chapter 4
CCNA 2 Routing and Switching v5.0 Chapter 4
 
Huawei switch configuration commands
Huawei switch configuration commandsHuawei switch configuration commands
Huawei switch configuration commands
 
Cisco Router Basic Configuration
Cisco Router Basic ConfigurationCisco Router Basic Configuration
Cisco Router Basic Configuration
 
Using GTP on Linux with libgtpnl
Using GTP on Linux with libgtpnlUsing GTP on Linux with libgtpnl
Using GTP on Linux with libgtpnl
 

Andere mochten auch

Dynamic data structures
Dynamic data structuresDynamic data structures
Dynamic data structures9020303098
 
KPUCC-Rs instructor ppt_chapter5_final
KPUCC-Rs instructor ppt_chapter5_finalKPUCC-Rs instructor ppt_chapter5_final
KPUCC-Rs instructor ppt_chapter5_finalFisal Anwari
 
CCNA2 Verson6 Chapter6
CCNA2 Verson6 Chapter6CCNA2 Verson6 Chapter6
CCNA2 Verson6 Chapter6Chaing Ravuth
 
At8000 s configurando vla_ns
At8000 s configurando vla_nsAt8000 s configurando vla_ns
At8000 s configurando vla_nsNetPlus
 
KPUCC-Rs instructor ppt_chapter3_final
KPUCC-Rs instructor ppt_chapter3_finalKPUCC-Rs instructor ppt_chapter3_final
KPUCC-Rs instructor ppt_chapter3_finalFisal Anwari
 
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
 

Andere mochten auch (14)

Day 14.2 configuringvla ns
Day 14.2 configuringvla nsDay 14.2 configuringvla ns
Day 14.2 configuringvla ns
 
Dynamic data structures
Dynamic data structuresDynamic data structures
Dynamic data structures
 
KPUCC-Rs instructor ppt_chapter5_final
KPUCC-Rs instructor ppt_chapter5_finalKPUCC-Rs instructor ppt_chapter5_final
KPUCC-Rs instructor ppt_chapter5_final
 
VLAN
VLANVLAN
VLAN
 
CCNA2 Verson6 Chapter6
CCNA2 Verson6 Chapter6CCNA2 Verson6 Chapter6
CCNA2 Verson6 Chapter6
 
At8000 s configurando vla_ns
At8000 s configurando vla_nsAt8000 s configurando vla_ns
At8000 s configurando vla_ns
 
Lesson 16 vlan
Lesson 16   vlanLesson 16   vlan
Lesson 16 vlan
 
KPUCC-Rs instructor ppt_chapter3_final
KPUCC-Rs instructor ppt_chapter3_finalKPUCC-Rs instructor ppt_chapter3_final
KPUCC-Rs instructor ppt_chapter3_final
 
Virtuals LAN
Virtuals LANVirtuals LAN
Virtuals LAN
 
Ds 1
Ds 1Ds 1
Ds 1
 
Vlan
Vlan Vlan
Vlan
 
Router commands
Router commandsRouter commands
Router commands
 
VLAN
VLANVLAN
VLAN
 
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)
 

Ähnlich wie Packet Tracer Simulation Lab Layer 2 Switching

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
 
Configurando vlan, vtp, trunking e vmps em cisco catalyst switches comandos
Configurando vlan, vtp, trunking e vmps em cisco catalyst switches comandosConfigurando vlan, vtp, trunking e vmps em cisco catalyst switches comandos
Configurando vlan, vtp, trunking e vmps em cisco catalyst switches comandos1 2d
 
Free CCNP switching workbook by networkershome pdf
Free CCNP switching workbook by networkershome pdfFree CCNP switching workbook by networkershome pdf
Free CCNP switching workbook by networkershome pdfNetworkershome
 
Ccna 4 final lab switchi
Ccna 4 final lab switchiCcna 4 final lab switchi
Ccna 4 final lab switchiLeandro Uglar
 
Lab 6.4.1 InterVLAN routing
Lab 6.4.1 InterVLAN routingLab 6.4.1 InterVLAN routing
Lab 6.4.1 InterVLAN routingMuhd Mu'izuddin
 
CCIE R&S Real Lab Workbbok 2018 updated
CCIE R&S Real Lab Workbbok 2018 updatedCCIE R&S Real Lab Workbbok 2018 updated
CCIE R&S Real Lab Workbbok 2018 updatedCCIERNSTRICKS.COM
 
Лекц 9
Лекц 9Лекц 9
Лекц 9Muuluu
 
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
 
Vlan lab
Vlan labVlan lab
Vlan labtmim8
 
CCN3Switching_lab_5_5_2
CCN3Switching_lab_5_5_2CCN3Switching_lab_5_5_2
CCN3Switching_lab_5_5_2alan moreno
 

Ähnlich wie Packet Tracer Simulation Lab Layer 2 Switching (20)

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
 
Configurando vlan, vtp, trunking e vmps em cisco catalyst switches comandos
Configurando vlan, vtp, trunking e vmps em cisco catalyst switches comandosConfigurando vlan, vtp, trunking e vmps em cisco catalyst switches comandos
Configurando vlan, vtp, trunking e vmps em cisco catalyst switches comandos
 
Free CCNP switching workbook by networkershome pdf
Free CCNP switching workbook by networkershome pdfFree CCNP switching workbook by networkershome pdf
Free CCNP switching workbook by networkershome pdf
 
Ccna 4 final lab switchi
Ccna 4 final lab switchiCcna 4 final lab switchi
Ccna 4 final lab switchi
 
portfolio2
portfolio2portfolio2
portfolio2
 
PROYECTO VLANS
PROYECTO VLANSPROYECTO VLANS
PROYECTO VLANS
 
Lab 6.4.1 InterVLAN routing
Lab 6.4.1 InterVLAN routingLab 6.4.1 InterVLAN routing
Lab 6.4.1 InterVLAN routing
 
CCIE R&S Real Lab Workbbok 2018 updated
CCIE R&S Real Lab Workbbok 2018 updatedCCIE R&S Real Lab Workbbok 2018 updated
CCIE R&S Real Lab Workbbok 2018 updated
 
CCIE R&S Real Lab H3 Config
CCIE R&S Real Lab H3 ConfigCCIE R&S Real Lab H3 Config
CCIE R&S Real Lab H3 Config
 
CCIE R&S Real Lab H1 Config
CCIE R&S Real Lab H1 ConfigCCIE R&S Real Lab H1 Config
CCIE R&S Real Lab H1 Config
 
CCIE R&S Real Lab H2 Config
CCIE R&S Real Lab H2 ConfigCCIE R&S Real Lab H2 Config
CCIE R&S Real Lab H2 Config
 
CCIE R&S Real TS-1 Config
CCIE R&S Real TS-1 ConfigCCIE R&S Real TS-1 Config
CCIE R&S Real TS-1 Config
 
Лекц 9
Лекц 9Лекц 9
Лекц 9
 
Ccnp3 lab 3_4_en
Ccnp3 lab 3_4_enCcnp3 lab 3_4_en
Ccnp3 lab 3_4_en
 
Ccnp3 lab 3_4_en
Ccnp3 lab 3_4_enCcnp3 lab 3_4_en
Ccnp3 lab 3_4_en
 
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
 
Icnd210 s02l01
Icnd210 s02l01Icnd210 s02l01
Icnd210 s02l01
 
Vlan lab
Vlan labVlan lab
Vlan lab
 
CCN3Switching_lab_5_5_2
CCN3Switching_lab_5_5_2CCN3Switching_lab_5_5_2
CCN3Switching_lab_5_5_2
 

Mehr von Johnson Liu

Packet Tracer Simulation Lab Layer3 Routing
Packet Tracer Simulation Lab Layer3 RoutingPacket Tracer Simulation Lab Layer3 Routing
Packet Tracer Simulation Lab Layer3 RoutingJohnson Liu
 
Olive Introduction for TOI
Olive Introduction for TOIOlive Introduction for TOI
Olive Introduction for TOIJohnson Liu
 
MC-LAG Configuration with BGP-base VPLS
MC-LAG Configuration with BGP-base VPLSMC-LAG Configuration with BGP-base VPLS
MC-LAG Configuration with BGP-base VPLSJohnson Liu
 
Mobile 2G/3G Workshop
Mobile 2G/3G WorkshopMobile 2G/3G Workshop
Mobile 2G/3G WorkshopJohnson Liu
 
2011 TWNIC SP IPv6 Transition
2011 TWNIC SP IPv6 Transition2011 TWNIC SP IPv6 Transition
2011 TWNIC SP IPv6 TransitionJohnson Liu
 
CALM DURING THE STORM:Best Practices in Multicast Security
CALM DURING THE STORM:Best Practices in Multicast SecurityCALM DURING THE STORM:Best Practices in Multicast Security
CALM DURING THE STORM:Best Practices in Multicast SecurityJohnson Liu
 
ISSU A PLANNED UPGRADE TOOL
ISSU A PLANNED UPGRADE TOOLISSU A PLANNED UPGRADE TOOL
ISSU A PLANNED UPGRADE TOOLJohnson Liu
 
CONTINUOUS SYSTEMS, NONSTOP OPERATIONS WITH JUNOS
CONTINUOUS SYSTEMS, NONSTOP OPERATIONS WITH JUNOSCONTINUOUS SYSTEMS, NONSTOP OPERATIONS WITH JUNOS
CONTINUOUS SYSTEMS, NONSTOP OPERATIONS WITH JUNOSJohnson Liu
 
NG MVPN BGP ROUTE TYPES AND ENCODINGS
NG  MVPN BGP ROUTE TYPES AND ENCODINGSNG  MVPN BGP ROUTE TYPES AND ENCODINGS
NG MVPN BGP ROUTE TYPES AND ENCODINGSJohnson Liu
 
Emerging Multicast VPN Applications
Emerging  Multicast  VPN  ApplicationsEmerging  Multicast  VPN  Applications
Emerging Multicast VPN ApplicationsJohnson Liu
 
Introduction to IGMP for IPTV Networks
Introduction to IGMP for IPTV NetworksIntroduction to IGMP for IPTV Networks
Introduction to IGMP for IPTV NetworksJohnson Liu
 
Virtual Private LAN Service (VPLS)
Virtual Private LAN Service (VPLS)Virtual Private LAN Service (VPLS)
Virtual Private LAN Service (VPLS)Johnson Liu
 
R C S P Study Guide 199 01 V2.0.1
R C S P  Study Guide 199 01 V2.0.1R C S P  Study Guide 199 01 V2.0.1
R C S P Study Guide 199 01 V2.0.1Johnson Liu
 
術業有專攻,認證會說話
術業有專攻,認證會說話術業有專攻,認證會說話
術業有專攻,認證會說話Johnson Liu
 
Cisco專業認證介紹
Cisco專業認證介紹Cisco專業認證介紹
Cisco專業認證介紹Johnson Liu
 

Mehr von Johnson Liu (16)

Packet Tracer Simulation Lab Layer3 Routing
Packet Tracer Simulation Lab Layer3 RoutingPacket Tracer Simulation Lab Layer3 Routing
Packet Tracer Simulation Lab Layer3 Routing
 
Olive Introduction for TOI
Olive Introduction for TOIOlive Introduction for TOI
Olive Introduction for TOI
 
MC-LAG Configuration with BGP-base VPLS
MC-LAG Configuration with BGP-base VPLSMC-LAG Configuration with BGP-base VPLS
MC-LAG Configuration with BGP-base VPLS
 
Mobile 2G/3G Workshop
Mobile 2G/3G WorkshopMobile 2G/3G Workshop
Mobile 2G/3G Workshop
 
2011 TWNIC SP IPv6 Transition
2011 TWNIC SP IPv6 Transition2011 TWNIC SP IPv6 Transition
2011 TWNIC SP IPv6 Transition
 
CALM DURING THE STORM:Best Practices in Multicast Security
CALM DURING THE STORM:Best Practices in Multicast SecurityCALM DURING THE STORM:Best Practices in Multicast Security
CALM DURING THE STORM:Best Practices in Multicast Security
 
SEAMLESS MPLS
SEAMLESS MPLSSEAMLESS MPLS
SEAMLESS MPLS
 
ISSU A PLANNED UPGRADE TOOL
ISSU A PLANNED UPGRADE TOOLISSU A PLANNED UPGRADE TOOL
ISSU A PLANNED UPGRADE TOOL
 
CONTINUOUS SYSTEMS, NONSTOP OPERATIONS WITH JUNOS
CONTINUOUS SYSTEMS, NONSTOP OPERATIONS WITH JUNOSCONTINUOUS SYSTEMS, NONSTOP OPERATIONS WITH JUNOS
CONTINUOUS SYSTEMS, NONSTOP OPERATIONS WITH JUNOS
 
NG MVPN BGP ROUTE TYPES AND ENCODINGS
NG  MVPN BGP ROUTE TYPES AND ENCODINGSNG  MVPN BGP ROUTE TYPES AND ENCODINGS
NG MVPN BGP ROUTE TYPES AND ENCODINGS
 
Emerging Multicast VPN Applications
Emerging  Multicast  VPN  ApplicationsEmerging  Multicast  VPN  Applications
Emerging Multicast VPN Applications
 
Introduction to IGMP for IPTV Networks
Introduction to IGMP for IPTV NetworksIntroduction to IGMP for IPTV Networks
Introduction to IGMP for IPTV Networks
 
Virtual Private LAN Service (VPLS)
Virtual Private LAN Service (VPLS)Virtual Private LAN Service (VPLS)
Virtual Private LAN Service (VPLS)
 
R C S P Study Guide 199 01 V2.0.1
R C S P  Study Guide 199 01 V2.0.1R C S P  Study Guide 199 01 V2.0.1
R C S P Study Guide 199 01 V2.0.1
 
術業有專攻,認證會說話
術業有專攻,認證會說話術業有專攻,認證會說話
術業有專攻,認證會說話
 
Cisco專業認證介紹
Cisco專業認證介紹Cisco專業認證介紹
Cisco專業認證介紹
 

Kürzlich hochgeladen

Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 

Kürzlich hochgeladen (20)

Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 

Packet Tracer Simulation Lab Layer 2 Switching

  • 1. Packet Tracer Simulation Lab L2 Switching Johnson Liu CCIE#11440(R&S, SP) CCSI#31346
  • 2. Agenda Slide • Power on a new switch • Assign a port as an specific VLAN membership • Setup hosts in the same VLAN • Power on another new switch • Assign a port as an trunk interface to pass-through different VLAN traffic over a single link • Enable a Inter-VLAN routing to route traffic between different VLANs 3/6/2013 Confidential | Copyright 2012 Trend Micro Inc.
  • 3. Power on a new switch
  • 4. Power on a new Switch 3/6/2013 Confidential | Copyright 2012 Trend Micro Inc. 4
  • 5. Power on a new Switch 3/6/2013 Confidential | Copyright 2012 Trend Micro Inc. 5
  • 6. Power on a new Switch 3/6/2013 Confidential | Copyright 2012 Trend Micro Inc. 6
  • 7. Switch basic configuration Switch>enable Switch#conf t Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#hostname SW1 SW1(config)#interface vlan 1 SW1(config-if)#no shutdown %LINK-5-CHANGED: Interface Vlan1, changed state to up SW1(config-if)#ip address 10.100.1.253 255.255.255.0 SW1(config-if)#exit SW1(config)#ip default-gateway 10.100.1.254 SW1(config)#exit SW1# %SYS-5-CONFIG_I: Configured from console by console SW1#copy running-config startup-config Destination filename [startup-config]? Building configuration... [OK] 3/6/2013 Confidential | Copyright 2012 Trend Micro Inc. 7
  • 8. Check switch basic configuration SW1#sh ip interface brief Interface IP-Address OK? Method Status Protocol FastEthernet0/1 unassigned YES manual down down FastEthernet0/2 unassigned YES manual down down FastEthernet0/3 unassigned YES manual down down FastEthernet0/4 unassigned YES manual down down … FastEthernet0/20 unassigned YES manual down down FastEthernet0/21 unassigned YES manual down down FastEthernet0/22 unassigned YES manual down down FastEthernet0/23 unassigned YES manual down down FastEthernet0/24 unassigned YES manual down down Vlan1 10.100.1.253 YES manual up down SW1# 3/6/2013 Confidential | Copyright 2012 Trend Micro Inc. 8
  • 9. Check switch basic configuration SW1#sh vlan 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/13, Fa0/14, Fa0/15, Fa0/16 Fa0/17, Fa0/18, Fa0/19, Fa0/20 Fa0/21, Fa0/22, Fa0/23, Fa0/24 1002 fddi-default act/unsup 1003 token-ring-default act/unsup 1004 fddinet-default act/unsup 1005 trnet-default act/unsup VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2 ---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------ 1 enet 100001 1500 - - - - - 0 0 1002 fddi 101002 1500 - - - - - 0 0 1003 tr 101003 1500 - - - - - 0 0 1004 fdnet 101004 1500 - - - ieee - 0 0 1005 trnet 101005 1500 - - - ibm - 0 0 Remote SPAN VLANs ------------------------------------------------------------------------------ Primary Secondary Type Ports ------- --------- ----------------- ------------------------------------------ 3/6/2013 Confidential | Copyright 2012 Trend Micro Inc. 9
  • 10. Check switch basic configuration SW1#sh run Building configuration… Current configuration : 1091 bytes ! version 12.1 no service timestamps log datetime msec no service timestamps debug datetime msec no service password-encryption ! hostname SW1 ! interface FastEthernet0/1 ! interface FastEthernet0/2 … interface Vlan1 ip address 10.100.1.253 255.255.255.0 ! ip default-gateway 10.100.1.254 ! … SW1# 3/6/2013 Confidential | Copyright 2012 Trend Micro Inc. 10
  • 11. Assign a port as an specific VLAN membership
  • 12. Assign a port as an specific VLAN membership SW1#conf t Enter configuration commands, one per line. End with CNTL/Z. SW1(config)#int f0/1 SW1(config-if)#switchport mode access SW1(config-if)#switchport access vlan 2 SW1(config-if)#^Z SW1# %SYS-5-CONFIG_I: Configured from console by console SW1#sh vlan VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------- 1 default active 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 2 VLAN0002 active Fa0/1 1002 fddi-default act/unsup 1003 token-ring-default act/unsup 1004 fddinet-default act/unsup 1005 trnet-default act/unsup 3/6/2013 Confidential | Copyright 2012 Trend Micro Inc. 12
  • 13. Assign a port as an specific VLAN membership SW1#conf t Enter configuration commands, one per line. End with CNTL/Z. SW1(config)#int f0/2 SW1(config-if)#switchport mode access SW1(config-if)#switchport access vlan 2 SW1(config-if)#exit SW1(config)#exit SW1# %SYS-5-CONFIG_I: Configured from console by console SW1#sh vlan VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------- 1 default active 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 2 VLAN0002 active Fa0/1, Fa0/2 1002 fddi-default act/unsup 1003 token-ring-default act/unsup 1004 fddinet-default act/unsup 1005 trnet-default act/unsup 3/6/2013 Confidential | Copyright 2012 Trend Micro Inc. 13
  • 14. Setup hosts in the same VLAN
  • 15. Setup hosts in the same VLAN 3/6/2013 Confidential | Copyright 2012 Trend Micro Inc. 15
  • 16. Setup hosts in the same VLAN • Now this Switch has two VLAN: – VLAN 1: Management VLAN (SVI: 10.100.1.253/24) – VLAN 2: For hosts PC0 and PC1 communicates to each other (10.100.2.0/24) • Now PC0 can ping PC1, but PC0 and PC1 cannot ping Switch SVI interface (10.100.1.253/24), its normal and it was due to they belong to different subnet. • Switch cannot route different subnet traffic, even all hosts connect to the same Switch but belong to different VLAN. (We need a layer 3 device to route Inter-VLAN traffic) 3/6/2013 Confidential | Copyright 2012 Trend Micro Inc. 16
  • 17. Power on another new switch
  • 18. Power on another new switch 3/6/2013 Confidential | Copyright 2012 Trend Micro Inc. 18
  • 19. Another new switch basic configuration Switch>en Switch#conf t Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#hostname SW2 SW2(config)# SW2(config-if)#int vlan 1 SW2(config-if)#no shutdown SW2(config-if)# %LINK-5-CHANGED: Interface Vlan1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up SW2(config-if)#ip address 10.100.1.252 255.255.255.0 SW2(config-if)#exit SW2(config)#ip default-gateway 10.100.1.254 SW2(config)#int f0/1 SW2(config-if)#switchport mode access SW2(config-if)#switchport access vlan 2 % Access VLAN does not exist. Creating vlan 2 3/6/2013 Confidential | Copyright 2012 Trend Micro Inc. 19
  • 20. Assign a port as an trunk interface to pass- through different VLAN traffic over a single link
  • 21. Setup trunk interconnection between two SW1 & SW2 F0/24 SW1>en SW1#conf t Enter configuration commands, one per line. End with CNTL/Z. SW1(config)#int f0/24 SW1(config-if)#switchport mode trunk SW1(config-if)#^Z SW1# %SYS-5-CONFIG_I: Configured from console by console SW2>en SW2#conf t Enter configuration commands, one per line. End with CNTL/Z. SW2(config)#int f0/24 SW2(config-if)#switchport mode trunk SW2(config-if)#^Z SW2# %SYS-5-CONFIG_I: Configured from console by console • Now SW2 can ping SW1 VLAN1 via Trunk interface(FastEthernet0/24) SW2#ping 10.100.1.253 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.100.1.253, timeout is 2 seconds: ..!!! Success rate is 60 percent (3/5), round-trip min/avg/max = 20/20/20 ms 3/6/2013 Confidential | Copyright 2012 Trend Micro Inc. 21
  • 22. Switch Trunk allow VLAN1 & VLAN2 pass- through, but not for Inter-VLAN routing 3/6/2013 Confidential | Copyright 2012 Trend Micro Inc. 22
  • 23. Enable a Inter-VLAN routing to route traffic between different VLANs
  • 24. Add a new Router to support Inter-VLAN routing 3/6/2013 Confidential | Copyright 2012 Trend Micro Inc. 24
  • 25. Configure Router interface as VLAN1 & VLAN2 gateway Router>en Router#conf t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#int f0/0 Router(config-if)#no shutdown %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up Router(config-if)#int f0/0.1 %LINK-5-CHANGED: Interface FastEthernet0/0.1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.1, changed state to up Router(config-subif)#encapsulation dot1Q 1 native Router(config-subif)#ip address 10.100.1.254 255.255.255.0 Router(config-subif)#int f0/0.2 %LINK-5-CHANGED: Interface FastEthernet0/0.2, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.2, changed state to up Router(config-subif)#encapsulation dot1Q 2 Router(config-subif)#ip address 10.100.2.254 255.255.255.0 Router(config-subif)#exit Router(config)#exit Router# 3/6/2013 Confidential | Copyright 2012 Trend Micro Inc. 25
  • 26. Configure SW1 F0/23 Trunk interface uplink to Router F0/0 SW1>en SW1#conf t Enter configuration commands, one per line. End with CNTL/Z. SW1(config)#int f0/23 SW1(config-if)#switchport mode trunk SW1(config-if)#exit %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/23, changed state to down %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/23, changed state to up SW1(config)#exit SW1# • Now SW1 can ping Router F0/0.1 via Trunk interface(FastEthernet0/23) SW1# SW1#ping 10.100.1.254 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.100.1.254, timeout is 2 seconds: .!!!! Success rate is 80 percent (4/5), round-trip min/avg/max = 11/17/20 ms 3/6/2013 Confidential | Copyright 2012 Trend Micro Inc. 26
  • 27. Now Router support Inter-VLAN routing to route VLAN1 to VLAN2 and vice versa PC>ping 10.100.1.254 Pinging 10.100.1.254 with 32 bytes of data: Reply from 10.100.1.254: bytes=32 time=39ms TTL=255 … PC>ping 10.100.2.254 Pinging 10.100.2.254 with 32 bytes of data: Reply from 10.100.2.254: bytes=32 time=40ms TTL=255 … PC>ping 10.100.2.1 Pinging 10.100.2.1 with 32 bytes of data: Reply from 10.100.2.1: bytes=32 time=10ms TTL=128 … 3/6/2013 Confidential | Copyright 2012 Trend Micro Inc. 27
  • 28. Q&A 3/6/2013 Confidential | Copyright 2012 Trend Micro Inc. 28
  • 29. Appendix 3/6/2013 Confidential | Copyright 2012 Trend Micro Inc. 29