SlideShare a Scribd company logo
1 of 4
Download to read offline
CCNPv6 SWITCH




Chapter 1 Lab 1-2, Clearing a Switch Connected to a Larger Network
Topology




Objective
           •     Clear the configuration of a switch that is connected to other switches and prepare it for a new lab.

Background
     When working with a switch that has been previously configured, any new commands entered are merged
     with the existing configuration, causing unpredictable results. Additionally, if the switch is connected to other
     switches in the network, you can remove the VLANs but they might be relearned from another switch via VTP.
     In this lab, you prepare a Catalyst 2960 or 3560 switch for use with a lab by erasing the startup configuration
     from NVRAM and deleting the VLAN database. You also ensure that VLANs will not be relearned from
     another switch after the VLAN database has been deleted.
     Note: This lab uses the Cisco WS-C2960-24TT-L switch with the Cisco IOS image c2960-lanbasek9-mz.122-
     46.SE.bin, and the Catalyst 3560-24PS switch with the Cisco IOS image c3560-advipservicesk9-mz.122-
     46.SE.bin. You can use other switches (such as a 2950 or a 3550) and Cisco IOS Software versions if they
     have comparable capabilities and features. Depending on the switch model and Cisco IOS Software version,
     the commands available and output produced might vary from what is shown in this lab.

Required Resources
           •     2 switches (Cisco 2960 with the Cisco IOS Release 12.2(46)SE C2960-LANBASEK9-M image or
                 comparable)
           •     2 switches (Cisco 3560 with the Cisco IOS Release 12.2(46)SE C3560-ADVIPSERVICESK9-M
                 image or comparable)

All contents are Copyright © 1992–2010 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information.   Page 1 of 4
CCNPv6 SWITCH


           •     Console and Ethernet cables

Step 1: Connect to the switch console port and enter privileged EXEC mode.
     This lab assumes that you have completed Lab 1-1, Clearing a Switch.

Step 2: Delete the VLAN database file.
     In privileged EXEC mode, type delete vlan.dat and press Enter. If you are asked to confirm, press Enter
     until you are back to the original prompt.
     Switch# delete vlan.dat
     Delete flash:vlan.dat? [confirm]
     Switch#

Step 3: Erase the startup config from NVRAM.
     After deleting the vlan.dat file, you can erase the startup configuration on the switch by typing erase
     startup-config. You again have to press Enter to confirm. Reload the switch.
     Switch# erase startup-config
     Erasing the nvram filesystem will remove all configuration files! Continue?
     [confirm]
     [OK]
     Erase of nvram: complete
     Switch#
     Switch# reload

Step 4: Display the existing configured VLANs.
     The difficulty with clearing a switch that is cabled to other switches is removing the VLANs. When the switch
     is finished reloading, it is possible for it to relearn VLANs from another connected switch that is in VTP server
     or client mode.
     To determine if the VLANs have been relearned, use the show vlan command.
     Switch# 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/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/2
     1002 fddi-default                     act/unsup
     1003 token-ring-default               act/unsup
     1004 fddinet-default                  act/unsup
     1005 trnet-default                    act/unsup
     In this sample output, the switch has not learned any VLANs from another switch. You are finished clearing
     both the configuration and VLANs from the switch.
     However, if the show vlan command displays nondefault VLANs after you have deleted the vlan.dat file,
     your switch has learned the VLANs dynamically from another switch. For example:
     Switch# show vlan brief


All contents are Copyright © 1992–2010 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information.   Page 2 of 4
CCNPv6 SWITCH

     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
                                                     Gi0/1, Gi0/2
     10   OFFICE                           active
     20   VOICE                            active
     30   GUEST                            active
     50   SERVERS                          active
     100 MGMT                              active
     200 TRANS                             active
     900 NATIVE                            active
     999 UNUSED                            active

     1002      fddi-default                                                   act/unsup
     1003      token-ring-default                                             act/unsup
     1004      fddinet-default                                                act/unsup
     1005      trnet-default                                                  act/unsup

Step 5: Shut down interfaces and remove the VLANs.
     To eliminate these VLANS, shut down all interfaces and remove the existing VLANs.

     Switch(config)# interface range FastEthernet 0/1 - 24
     Switch(config-if-range)# shutdown
     Switch(config-if-range)#
     15:44:06: %LINK-5-CHANGED: Interface FastEthernet0/1,                                                   changed state to
     administratively down
     15:44:06: %LINK-5-CHANGED: Interface FastEthernet0/2,                                                   changed state to
     administratively down
     15:44:06: %LINK-5-CHANGED: Interface FastEthernet0/3,                                                   changed state to
     administratively down
     15:44:06: %LINK-5-CHANGED: Interface FastEthernet0/4,                                                   changed state to
     administratively down
     15:44:06: %LINK-5-CHANGED: Interface FastEthernet0/5,                                                   changed state to
     administratively down
     15:44:06: %LINK-5-CHANGED: Interface FastEthernet0/6,                                                   changed state to
     administratively down
     <output omitted>

     Switch(config-if-range)# interface range GigabitEthernet 0/1 - 2
     Switch(config-if-range)# shutdown
     Switch(config-if-range)#
     15:45:59: %LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to
     administratively down
     15:45:59: %LINK-5-CHANGED: Interface GigabitEthernet0/2, changed state to
     administratively down


     Switch(config-if-range)# exit
     Switch(config)# no vlan 2-999
     Switch(config)#exit



All contents are Copyright © 1992–2010 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information.      Page 3 of 4
CCNPv6 SWITCH

     Switch# 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/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/2
     1002 fddi-default                     act/unsup
     1003 token-ring-default               act/unsup
     1004 fddinet-default                  act/unsup
     1005 trnet-default                    act/unsup

Step 6: (Optional) Configure transparent VTP mode.
     Now that both the startup configuration and the VLANs have been erased, you are ready to start a new lab.
     For interfaces that need to be up, use the no shutdown command in the new lab. If you want to do some
     configuration before the switch learns VLANs from the network, put it into VTP transparent mode until you are
     ready.
     Switch# conf t
     Enter configuration commands, one per line.                                            End with CNTL/Z.
     Switch(config)# vtp mode transparent
     Setting device to VTP TRANSPARENT mode.




All contents are Copyright © 1992–2010 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information.   Page 4 of 4

More Related Content

What's hot

Ccnp3 lab 3_5_en (hacer)
Ccnp3 lab 3_5_en (hacer)Ccnp3 lab 3_5_en (hacer)
Ccnp3 lab 3_5_en (hacer)Omar Herrera
 
Cisco 2960 basic configuration – vlan configuration
Cisco 2960 basic configuration – vlan configurationCisco 2960 basic configuration – vlan configuration
Cisco 2960 basic configuration – vlan configuration3Anetwork com
 
Cisco lab, guide to configure interface stp attributes
Cisco lab, guide to configure interface stp attributesCisco lab, guide to configure interface stp attributes
Cisco lab, guide to configure interface stp attributesIT Tech
 
Cisco how to configure vlan
Cisco how to configure vlanCisco how to configure vlan
Cisco how to configure vlan1 2d
 
0.0.0.1 lab initializing and reloading a router and switch - ilm
0.0.0.1 lab   initializing and reloading a router and switch - ilm0.0.0.1 lab   initializing and reloading a router and switch - ilm
0.0.0.1 lab initializing and reloading a router and switch - ilmPedro César Carrasco Nova
 
3.4.6-lab---configure-vlans-and-trunking.pdf
3.4.6-lab---configure-vlans-and-trunking.pdf3.4.6-lab---configure-vlans-and-trunking.pdf
3.4.6-lab---configure-vlans-and-trunking.pdfarif hamidi
 
Ccna Commands In 10 Minutes
Ccna Commands In 10 MinutesCcna Commands In 10 Minutes
Ccna Commands In 10 MinutesCCNAResources
 
Final exam ccna exploration 3 lan switching and wireless
Final exam ccna exploration 3 lan switching and wirelessFinal exam ccna exploration 3 lan switching and wireless
Final exam ccna exploration 3 lan switching and wirelesskratos2424
 
Configuring the cisco switch with the cli based setup program
Configuring the cisco switch with the cli based setup programConfiguring the cisco switch with the cli based setup program
Configuring the cisco switch with the cli based setup program3Anetwork com
 

What's hot (17)

Ccnp3 lab 3_5_en (hacer)
Ccnp3 lab 3_5_en (hacer)Ccnp3 lab 3_5_en (hacer)
Ccnp3 lab 3_5_en (hacer)
 
PROYECTO VLANS
PROYECTO VLANSPROYECTO VLANS
PROYECTO VLANS
 
Ccnp3 lab 3_4_en
Ccnp3 lab 3_4_enCcnp3 lab 3_4_en
Ccnp3 lab 3_4_en
 
Day 14.2 configuringvla ns
Day 14.2 configuringvla nsDay 14.2 configuringvla ns
Day 14.2 configuringvla ns
 
Cisco 2960 basic configuration – vlan configuration
Cisco 2960 basic configuration – vlan configurationCisco 2960 basic configuration – vlan configuration
Cisco 2960 basic configuration – vlan configuration
 
Cisco lab, guide to configure interface stp attributes
Cisco lab, guide to configure interface stp attributesCisco lab, guide to configure interface stp attributes
Cisco lab, guide to configure interface stp attributes
 
Cisco how to configure vlan
Cisco how to configure vlanCisco how to configure vlan
Cisco how to configure vlan
 
0.0.0.1 lab initializing and reloading a router and switch - ilm
0.0.0.1 lab   initializing and reloading a router and switch - ilm0.0.0.1 lab   initializing and reloading a router and switch - ilm
0.0.0.1 lab initializing and reloading a router and switch - ilm
 
Nat report2
Nat report2Nat report2
Nat report2
 
3.4.6-lab---configure-vlans-and-trunking.pdf
3.4.6-lab---configure-vlans-and-trunking.pdf3.4.6-lab---configure-vlans-and-trunking.pdf
3.4.6-lab---configure-vlans-and-trunking.pdf
 
Vo ip avanzado pt
Vo ip avanzado ptVo ip avanzado pt
Vo ip avanzado pt
 
Labmannual
LabmannualLabmannual
Labmannual
 
Ccna4 cs diaz_&_romero
Ccna4 cs diaz_&_romeroCcna4 cs diaz_&_romero
Ccna4 cs diaz_&_romero
 
Ccna Commands In 10 Minutes
Ccna Commands In 10 MinutesCcna Commands In 10 Minutes
Ccna Commands In 10 Minutes
 
portfolio2
portfolio2portfolio2
portfolio2
 
Final exam ccna exploration 3 lan switching and wireless
Final exam ccna exploration 3 lan switching and wirelessFinal exam ccna exploration 3 lan switching and wireless
Final exam ccna exploration 3 lan switching and wireless
 
Configuring the cisco switch with the cli based setup program
Configuring the cisco switch with the cli based setup programConfiguring the cisco switch with the cli based setup program
Configuring the cisco switch with the cli based setup program
 

Similar to Clearing a Switch Connected to a Larger Network

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
 
Vlan lab
Vlan labVlan lab
Vlan labtmim8
 
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
 
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
 
CCN3Switching_lab_5_5_2
CCN3Switching_lab_5_5_2CCN3Switching_lab_5_5_2
CCN3Switching_lab_5_5_2alan moreno
 
Ccna3 lab 9_1_5b_en
Ccna3 lab 9_1_5b_enCcna3 lab 9_1_5b_en
Ccna3 lab 9_1_5b_envin424
 
Cisco how to configure vlan
Cisco how to configure vlanCisco how to configure vlan
Cisco how to configure vlan1 2d
 
How to create and delete vlan on cisco catalyst switch
How to create and delete vlan on cisco catalyst switchHow to create and delete vlan on cisco catalyst switch
How to create and delete vlan on cisco catalyst switchIT Tech
 
Лекц 9
Лекц 9Лекц 9
Лекц 9Muuluu
 
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
 
Exercise 4c stp rapid pvst+ question
Exercise 4c   stp rapid pvst+ questionExercise 4c   stp rapid pvst+ question
Exercise 4c stp rapid pvst+ questionsufi1248
 
The bryant advantage 150 commands
The bryant advantage 150 commandsThe bryant advantage 150 commands
The bryant advantage 150 commandsAreej Khasawneh
 

Similar to Clearing a Switch Connected to a Larger Network (20)

Ccna 4 final lab switchi
Ccna 4 final lab switchiCcna 4 final lab switchi
Ccna 4 final lab switchi
 
Lab 6.4.1 InterVLAN routing
Lab 6.4.1 InterVLAN routingLab 6.4.1 InterVLAN routing
Lab 6.4.1 InterVLAN routing
 
Vlan lab
Vlan labVlan lab
Vlan lab
 
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
 
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
 
CCN3Switching_lab_5_5_2
CCN3Switching_lab_5_5_2CCN3Switching_lab_5_5_2
CCN3Switching_lab_5_5_2
 
Ccna3 lab 9_1_5b_en
Ccna3 lab 9_1_5b_enCcna3 lab 9_1_5b_en
Ccna3 lab 9_1_5b_en
 
Cisco how to configure vlan
Cisco how to configure vlanCisco how to configure vlan
Cisco how to configure vlan
 
Configure vtp
Configure vtpConfigure vtp
Configure vtp
 
Ccnp3 lab 3_4_en
Ccnp3 lab 3_4_enCcnp3 lab 3_4_en
Ccnp3 lab 3_4_en
 
Lab6.4.1
Lab6.4.1Lab6.4.1
Lab6.4.1
 
How to create and delete vlan on cisco catalyst switch
How to create and delete vlan on cisco catalyst switchHow to create and delete vlan on cisco catalyst switch
How to create and delete vlan on cisco catalyst switch
 
Лекц 9
Лекц 9Лекц 9
Лекц 9
 
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
 
Exercise 4c stp rapid pvst+ question
Exercise 4c   stp rapid pvst+ questionExercise 4c   stp rapid pvst+ question
Exercise 4c stp rapid pvst+ question
 
Ccnp3 lab 3_3_en
Ccnp3 lab 3_3_enCcnp3 lab 3_3_en
Ccnp3 lab 3_3_en
 
18763980 ccna-lab-manual-640802-ii-2009-ii
18763980 ccna-lab-manual-640802-ii-2009-ii18763980 ccna-lab-manual-640802-ii-2009-ii
18763980 ccna-lab-manual-640802-ii-2009-ii
 
18763980 ccna-lab-manual-640802-ii-2009-ii
18763980 ccna-lab-manual-640802-ii-2009-ii18763980 ccna-lab-manual-640802-ii-2009-ii
18763980 ccna-lab-manual-640802-ii-2009-ii
 
Aruba mobility access switch useful commands v2
Aruba mobility access switch useful commands v2Aruba mobility access switch useful commands v2
Aruba mobility access switch useful commands v2
 
The bryant advantage 150 commands
The bryant advantage 150 commandsThe bryant advantage 150 commands
The bryant advantage 150 commands
 

Recently uploaded

Gurgaon Call Girls: Free Delivery 24x7 at Your Doorstep G.G.N = 8377087607
Gurgaon Call Girls: Free Delivery 24x7 at Your Doorstep G.G.N = 8377087607Gurgaon Call Girls: Free Delivery 24x7 at Your Doorstep G.G.N = 8377087607
Gurgaon Call Girls: Free Delivery 24x7 at Your Doorstep G.G.N = 8377087607dollysharma2066
 
LinkedIn for Your Job Search in April 2024
LinkedIn for Your Job Search in April 2024LinkedIn for Your Job Search in April 2024
LinkedIn for Your Job Search in April 2024Bruce Bennett
 
办理哈珀亚当斯大学学院毕业证书文凭学位证书
办理哈珀亚当斯大学学院毕业证书文凭学位证书办理哈珀亚当斯大学学院毕业证书文凭学位证书
办理哈珀亚当斯大学学院毕业证书文凭学位证书saphesg8
 
办澳洲詹姆斯库克大学毕业证成绩单pdf电子版制作修改
办澳洲詹姆斯库克大学毕业证成绩单pdf电子版制作修改办澳洲詹姆斯库克大学毕业证成绩单pdf电子版制作修改
办澳洲詹姆斯库克大学毕业证成绩单pdf电子版制作修改yuu sss
 
Introduction to phyton , important topic
Introduction to phyton , important topicIntroduction to phyton , important topic
Introduction to phyton , important topicakpgenious67
 
Spanish Classes Online In India With Tutor At Affordable Price
Spanish Classes Online In India With Tutor At Affordable PriceSpanish Classes Online In India With Tutor At Affordable Price
Spanish Classes Online In India With Tutor At Affordable PriceFluent Fast Academy
 
原版快速办理MQU毕业证麦考瑞大学毕业证成绩单留信学历认证
原版快速办理MQU毕业证麦考瑞大学毕业证成绩单留信学历认证原版快速办理MQU毕业证麦考瑞大学毕业证成绩单留信学历认证
原版快速办理MQU毕业证麦考瑞大学毕业证成绩单留信学历认证nhjeo1gg
 
LinkedIn Strategic Guidelines April 2024
LinkedIn Strategic Guidelines April 2024LinkedIn Strategic Guidelines April 2024
LinkedIn Strategic Guidelines April 2024Bruce Bennett
 
AICTE PPT slide of Engineering college kr pete
AICTE PPT slide of Engineering college kr peteAICTE PPT slide of Engineering college kr pete
AICTE PPT slide of Engineering college kr peteshivubhavv
 
Human Rights are notes and helping material
Human Rights are notes and helping materialHuman Rights are notes and helping material
Human Rights are notes and helping materialnadeemcollege26
 
Jumark Morit Diezmo- Career portfolio- BPED 3A
Jumark Morit Diezmo- Career portfolio- BPED 3AJumark Morit Diezmo- Career portfolio- BPED 3A
Jumark Morit Diezmo- Career portfolio- BPED 3Ajumarkdiezmo1
 
Introduction to Political Parties (1).ppt
Introduction to Political Parties (1).pptIntroduction to Political Parties (1).ppt
Introduction to Political Parties (1).pptSohamChavan9
 
Digital Marketing Training Institute in Mohali, India
Digital Marketing Training Institute in Mohali, IndiaDigital Marketing Training Institute in Mohali, India
Digital Marketing Training Institute in Mohali, IndiaDigital Discovery Institute
 
原版定制卡尔加里大学毕业证(UC毕业证)留信学历认证
原版定制卡尔加里大学毕业证(UC毕业证)留信学历认证原版定制卡尔加里大学毕业证(UC毕业证)留信学历认证
原版定制卡尔加里大学毕业证(UC毕业证)留信学历认证diploma001
 
Back on Track: Navigating the Return to Work after Parental Leave
Back on Track: Navigating the Return to Work after Parental LeaveBack on Track: Navigating the Return to Work after Parental Leave
Back on Track: Navigating the Return to Work after Parental LeaveMarharyta Nedzelska
 
办理学位证(Massey证书)新西兰梅西大学毕业证成绩单原版一比一
办理学位证(Massey证书)新西兰梅西大学毕业证成绩单原版一比一办理学位证(Massey证书)新西兰梅西大学毕业证成绩单原版一比一
办理学位证(Massey证书)新西兰梅西大学毕业证成绩单原版一比一A SSS
 
Protection of Children in context of IHL and Counter Terrorism
Protection of Children in context of IHL and  Counter TerrorismProtection of Children in context of IHL and  Counter Terrorism
Protection of Children in context of IHL and Counter TerrorismNilendra Kumar
 
定制英国克兰菲尔德大学毕业证成绩单原版一比一
定制英国克兰菲尔德大学毕业证成绩单原版一比一定制英国克兰菲尔德大学毕业证成绩单原版一比一
定制英国克兰菲尔德大学毕业证成绩单原版一比一z zzz
 
8377877756 Full Enjoy @24/7 Call Girls in Pitampura Delhi NCR
8377877756 Full Enjoy @24/7 Call Girls in Pitampura Delhi NCR8377877756 Full Enjoy @24/7 Call Girls in Pitampura Delhi NCR
8377877756 Full Enjoy @24/7 Call Girls in Pitampura Delhi NCRdollysharma2066
 

Recently uploaded (20)

Gurgaon Call Girls: Free Delivery 24x7 at Your Doorstep G.G.N = 8377087607
Gurgaon Call Girls: Free Delivery 24x7 at Your Doorstep G.G.N = 8377087607Gurgaon Call Girls: Free Delivery 24x7 at Your Doorstep G.G.N = 8377087607
Gurgaon Call Girls: Free Delivery 24x7 at Your Doorstep G.G.N = 8377087607
 
LinkedIn for Your Job Search in April 2024
LinkedIn for Your Job Search in April 2024LinkedIn for Your Job Search in April 2024
LinkedIn for Your Job Search in April 2024
 
办理哈珀亚当斯大学学院毕业证书文凭学位证书
办理哈珀亚当斯大学学院毕业证书文凭学位证书办理哈珀亚当斯大学学院毕业证书文凭学位证书
办理哈珀亚当斯大学学院毕业证书文凭学位证书
 
办澳洲詹姆斯库克大学毕业证成绩单pdf电子版制作修改
办澳洲詹姆斯库克大学毕业证成绩单pdf电子版制作修改办澳洲詹姆斯库克大学毕业证成绩单pdf电子版制作修改
办澳洲詹姆斯库克大学毕业证成绩单pdf电子版制作修改
 
Introduction to phyton , important topic
Introduction to phyton , important topicIntroduction to phyton , important topic
Introduction to phyton , important topic
 
Spanish Classes Online In India With Tutor At Affordable Price
Spanish Classes Online In India With Tutor At Affordable PriceSpanish Classes Online In India With Tutor At Affordable Price
Spanish Classes Online In India With Tutor At Affordable Price
 
原版快速办理MQU毕业证麦考瑞大学毕业证成绩单留信学历认证
原版快速办理MQU毕业证麦考瑞大学毕业证成绩单留信学历认证原版快速办理MQU毕业证麦考瑞大学毕业证成绩单留信学历认证
原版快速办理MQU毕业证麦考瑞大学毕业证成绩单留信学历认证
 
LinkedIn Strategic Guidelines April 2024
LinkedIn Strategic Guidelines April 2024LinkedIn Strategic Guidelines April 2024
LinkedIn Strategic Guidelines April 2024
 
Students with Oppositional Defiant Disorder
Students with Oppositional Defiant DisorderStudents with Oppositional Defiant Disorder
Students with Oppositional Defiant Disorder
 
AICTE PPT slide of Engineering college kr pete
AICTE PPT slide of Engineering college kr peteAICTE PPT slide of Engineering college kr pete
AICTE PPT slide of Engineering college kr pete
 
Human Rights are notes and helping material
Human Rights are notes and helping materialHuman Rights are notes and helping material
Human Rights are notes and helping material
 
Jumark Morit Diezmo- Career portfolio- BPED 3A
Jumark Morit Diezmo- Career portfolio- BPED 3AJumark Morit Diezmo- Career portfolio- BPED 3A
Jumark Morit Diezmo- Career portfolio- BPED 3A
 
Introduction to Political Parties (1).ppt
Introduction to Political Parties (1).pptIntroduction to Political Parties (1).ppt
Introduction to Political Parties (1).ppt
 
Digital Marketing Training Institute in Mohali, India
Digital Marketing Training Institute in Mohali, IndiaDigital Marketing Training Institute in Mohali, India
Digital Marketing Training Institute in Mohali, India
 
原版定制卡尔加里大学毕业证(UC毕业证)留信学历认证
原版定制卡尔加里大学毕业证(UC毕业证)留信学历认证原版定制卡尔加里大学毕业证(UC毕业证)留信学历认证
原版定制卡尔加里大学毕业证(UC毕业证)留信学历认证
 
Back on Track: Navigating the Return to Work after Parental Leave
Back on Track: Navigating the Return to Work after Parental LeaveBack on Track: Navigating the Return to Work after Parental Leave
Back on Track: Navigating the Return to Work after Parental Leave
 
办理学位证(Massey证书)新西兰梅西大学毕业证成绩单原版一比一
办理学位证(Massey证书)新西兰梅西大学毕业证成绩单原版一比一办理学位证(Massey证书)新西兰梅西大学毕业证成绩单原版一比一
办理学位证(Massey证书)新西兰梅西大学毕业证成绩单原版一比一
 
Protection of Children in context of IHL and Counter Terrorism
Protection of Children in context of IHL and  Counter TerrorismProtection of Children in context of IHL and  Counter Terrorism
Protection of Children in context of IHL and Counter Terrorism
 
定制英国克兰菲尔德大学毕业证成绩单原版一比一
定制英国克兰菲尔德大学毕业证成绩单原版一比一定制英国克兰菲尔德大学毕业证成绩单原版一比一
定制英国克兰菲尔德大学毕业证成绩单原版一比一
 
8377877756 Full Enjoy @24/7 Call Girls in Pitampura Delhi NCR
8377877756 Full Enjoy @24/7 Call Girls in Pitampura Delhi NCR8377877756 Full Enjoy @24/7 Call Girls in Pitampura Delhi NCR
8377877756 Full Enjoy @24/7 Call Girls in Pitampura Delhi NCR
 

Clearing a Switch Connected to a Larger Network

  • 1. CCNPv6 SWITCH Chapter 1 Lab 1-2, Clearing a Switch Connected to a Larger Network Topology Objective • Clear the configuration of a switch that is connected to other switches and prepare it for a new lab. Background When working with a switch that has been previously configured, any new commands entered are merged with the existing configuration, causing unpredictable results. Additionally, if the switch is connected to other switches in the network, you can remove the VLANs but they might be relearned from another switch via VTP. In this lab, you prepare a Catalyst 2960 or 3560 switch for use with a lab by erasing the startup configuration from NVRAM and deleting the VLAN database. You also ensure that VLANs will not be relearned from another switch after the VLAN database has been deleted. Note: This lab uses the Cisco WS-C2960-24TT-L switch with the Cisco IOS image c2960-lanbasek9-mz.122- 46.SE.bin, and the Catalyst 3560-24PS switch with the Cisco IOS image c3560-advipservicesk9-mz.122- 46.SE.bin. You can use other switches (such as a 2950 or a 3550) and Cisco IOS Software versions if they have comparable capabilities and features. Depending on the switch model and Cisco IOS Software version, the commands available and output produced might vary from what is shown in this lab. Required Resources • 2 switches (Cisco 2960 with the Cisco IOS Release 12.2(46)SE C2960-LANBASEK9-M image or comparable) • 2 switches (Cisco 3560 with the Cisco IOS Release 12.2(46)SE C3560-ADVIPSERVICESK9-M image or comparable) All contents are Copyright © 1992–2010 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 1 of 4
  • 2. CCNPv6 SWITCH • Console and Ethernet cables Step 1: Connect to the switch console port and enter privileged EXEC mode. This lab assumes that you have completed Lab 1-1, Clearing a Switch. Step 2: Delete the VLAN database file. In privileged EXEC mode, type delete vlan.dat and press Enter. If you are asked to confirm, press Enter until you are back to the original prompt. Switch# delete vlan.dat Delete flash:vlan.dat? [confirm] Switch# Step 3: Erase the startup config from NVRAM. After deleting the vlan.dat file, you can erase the startup configuration on the switch by typing erase startup-config. You again have to press Enter to confirm. Reload the switch. Switch# erase startup-config Erasing the nvram filesystem will remove all configuration files! Continue? [confirm] [OK] Erase of nvram: complete Switch# Switch# reload Step 4: Display the existing configured VLANs. The difficulty with clearing a switch that is cabled to other switches is removing the VLANs. When the switch is finished reloading, it is possible for it to relearn VLANs from another connected switch that is in VTP server or client mode. To determine if the VLANs have been relearned, use the show vlan command. Switch# 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/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/2 1002 fddi-default act/unsup 1003 token-ring-default act/unsup 1004 fddinet-default act/unsup 1005 trnet-default act/unsup In this sample output, the switch has not learned any VLANs from another switch. You are finished clearing both the configuration and VLANs from the switch. However, if the show vlan command displays nondefault VLANs after you have deleted the vlan.dat file, your switch has learned the VLANs dynamically from another switch. For example: Switch# show vlan brief All contents are Copyright © 1992–2010 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 2 of 4
  • 3. CCNPv6 SWITCH 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 Gi0/1, Gi0/2 10 OFFICE active 20 VOICE active 30 GUEST active 50 SERVERS active 100 MGMT active 200 TRANS active 900 NATIVE active 999 UNUSED active 1002 fddi-default act/unsup 1003 token-ring-default act/unsup 1004 fddinet-default act/unsup 1005 trnet-default act/unsup Step 5: Shut down interfaces and remove the VLANs. To eliminate these VLANS, shut down all interfaces and remove the existing VLANs. Switch(config)# interface range FastEthernet 0/1 - 24 Switch(config-if-range)# shutdown Switch(config-if-range)# 15:44:06: %LINK-5-CHANGED: Interface FastEthernet0/1, changed state to administratively down 15:44:06: %LINK-5-CHANGED: Interface FastEthernet0/2, changed state to administratively down 15:44:06: %LINK-5-CHANGED: Interface FastEthernet0/3, changed state to administratively down 15:44:06: %LINK-5-CHANGED: Interface FastEthernet0/4, changed state to administratively down 15:44:06: %LINK-5-CHANGED: Interface FastEthernet0/5, changed state to administratively down 15:44:06: %LINK-5-CHANGED: Interface FastEthernet0/6, changed state to administratively down <output omitted> Switch(config-if-range)# interface range GigabitEthernet 0/1 - 2 Switch(config-if-range)# shutdown Switch(config-if-range)# 15:45:59: %LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to administratively down 15:45:59: %LINK-5-CHANGED: Interface GigabitEthernet0/2, changed state to administratively down Switch(config-if-range)# exit Switch(config)# no vlan 2-999 Switch(config)#exit All contents are Copyright © 1992–2010 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 3 of 4
  • 4. CCNPv6 SWITCH Switch# 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/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/2 1002 fddi-default act/unsup 1003 token-ring-default act/unsup 1004 fddinet-default act/unsup 1005 trnet-default act/unsup Step 6: (Optional) Configure transparent VTP mode. Now that both the startup configuration and the VLANs have been erased, you are ready to start a new lab. For interfaces that need to be up, use the no shutdown command in the new lab. If you want to do some configuration before the switch learns VLANs from the network, put it into VTP transparent mode until you are ready. Switch# conf t Enter configuration commands, one per line. End with CNTL/Z. Switch(config)# vtp mode transparent Setting device to VTP TRANSPARENT mode. All contents are Copyright © 1992–2010 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 4 of 4