computernetworkingnotes com switching vlan stp vtp dtp ether

Upload: nushran-nufail

Post on 02-Jun-2018

237 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/11/2019 Computernetworkingnotes Com Switching Vlan Stp Vtp Dtp Ether

    1/24

    pdfcrowd comopen in browser PRO version Are you a developer? Try out the HTML to PDF API

    Basic Switch configurations commands

    In this article I will introduce the Cisco Internetwork Operating System (IOS) command line

    interface (CLI) for the 2960 series switch. You will need to logon to a switch and become familiar

    with the different levels of access on the switch. You will also become familiar with the

    commands available to you in each mode (user or privileged) and the switch help facility, history,

    and editing features.

    User vs. Privileged ModeUser mode is indicated with the > next to the switch name. You can look at settings but can not

    make changes from user mode. In Privilege mode, indicated by the #, you can do anything. To

    get into privilege mode the keyword is enable.

    HELP

    To view all commands available from this mode type:?This will give you the list of all available

    commands for the switch in your current mode. You can also use the question mark after you

    have started typing a command. For example if you want to use a show command but you donot remember which one it is, use the ? as this will output all commands that you can use with

    the show command.

    The Best NetFlow Analyzerplixer.com/Scrutinizer

    -

    Cisco Commands

    Cisco CCNA 1

    Cisco IOS

    Switch Cisco Cisco Networking

    Linux Commands

    CCNA Networking

    Virtual Router

    Cisco Login

    http://googleads.g.doubleclick.net/aclk?sa=l&ai=CCKwSCPLtU5-FB4zGlQfSh4GoCLLO3agFypPdlHbAjbcBEAEg3JS1F1CKnZbFBGDJBqAB4Pu0_QPIAQGoAwHIA8MEqgTVAU_QAUXCSh2mrzfEcaQSRiAj8nmbNCB2rZUeWGmJTOdFAMtDmeubw18RPbU1SezBizJt3UrLu5ALNKNfGVutDNsJX03S6rsOK335wai1bIgu3KAe7Hn4VvyzORRRjoQYSzgt73seTWEWl4Z2TZjh-NyquuuSuGSN1G8dgb2ftbGOtkYuwzZmhbIjU7j81q-RFZV8GN_0qVQGy33KV_MXsvPCoj-SkrQmOfuIW-HP-uQzJY-Jmnw8UTCgsoM3QL-IoN7ah8A4TJxA5ee2BDe388TA4U0OFoAHiITLAg&num=1&sig=AOD64_0wB3qj9VbByPcG8nzoCWI8wMnC5w&client=ca-pub-1237473867467966&adurl=http://www.plixer.com/Scrutinizer-Netflow-Sflow/scrutinizer-download-google-text-landing.htmlhttp://googleads.g.doubleclick.net/aclk?sa=l&ai=CI258B_LtU9aIMpGblQeMuoDYB8HDtoQF0bmC5roBw-Tz_QgQASDclLUXUNnkwqz9_____wFgyQagAfPzs9YDyAECqAMByAPBBKoE1gFP0DrFWXvBQU3YR7Q_YNNbrdjUGuNmAs39E0ShuJiLd_qr3uPQZxz0ThgU_9ulob82Ygk03AXwWZRT9MMMiChS6ipLdNQh8RIlSats09B41CCdnqHqmKsX6nb8iKX9QHntuF1eIfs6OyyHmjqDtuapH38y8OczzW1TBQOgoOLEWd1lNv9U1YRCKsKQen4mwkX4mTnyrFGcNaW1eXqtuH2s0HBzYkjAMMGDhaO_8xd4WRtm5TAIoPmvUDIk_lPjeKgb799jXaW6PqEDiMWMcRj672fsysOEoAYCgAfpmeUm&num=1&sig=AOD64_2EIVyILL6jeKqIoC75k1Ugug9bhQ&client=ca-pub-1237473867467966&adurl=http://www.vmwarerecertification.com/%3Fsrc%3DPaidSearch_smbentedu_Google_LeadGen_US_EN%26lead_source%3DSearch-Paid%26mkwid%3DctK9jIXDV%26pcrid%3D50073226265%26kw%3Dvmware%2520training%26mt%3D%26utm_source%3Dgoogle%26utm_medium%3Dcpc%26utm_term%3Dvmware%2520training%26utm_content%3D50073226265%26utm_campaign%3DGD_ENTEDU_AMS_US_EN_N_BRD_Vmwaretraining%2528new3%2529http://googleads.g.doubleclick.net/aclk?sa=l&ai=CI258B_LtU9aIMpGblQeMuoDYB8HDtoQF0bmC5roBw-Tz_QgQASDclLUXUNnkwqz9_____wFgyQagAfPzs9YDyAECqAMByAPBBKoE1gFP0DrFWXvBQU3YR7Q_YNNbrdjUGuNmAs39E0ShuJiLd_qr3uPQZxz0ThgU_9ulob82Ygk03AXwWZRT9MMMiChS6ipLdNQh8RIlSats09B41CCdnqHqmKsX6nb8iKX9QHntuF1eIfs6OyyHmjqDtuapH38y8OczzW1TBQOgoOLEWd1lNv9U1YRCKsKQen4mwkX4mTnyrFGcNaW1eXqtuH2s0HBzYkjAMMGDhaO_8xd4WRtm5TAIoPmvUDIk_lPjeKgb799jXaW6PqEDiMWMcRj672fsysOEoAYCgAfpmeUm&num=1&sig=AOD64_2EIVyILL6jeKqIoC75k1Ugug9bhQ&client=ca-pub-1237473867467966&adurl=http://www.vmwarerecertification.com/%3Fsrc%3DPaidSearch_smbentedu_Google_LeadGen_US_EN%26lead_source%3DSearch-Paid%26mkwid%3DctK9jIXDV%26pcrid%3D50073226265%26kw%3Dvmware%2520training%26mt%3D%26utm_source%3Dgoogle%26utm_medium%3Dcpc%26utm_term%3Dvmware%2520training%26utm_content%3D50073226265%26utm_campaign%3DGD_ENTEDU_AMS_US_EN_N_BRD_Vmwaretraining%2528new3%2529http://googleads.g.doubleclick.net/aclk?sa=l&ai=CI258B_LtU9aIMpGblQeMuoDYB8HDtoQF0bmC5roBw-Tz_QgQASDclLUXUNnkwqz9_____wFgyQagAfPzs9YDyAECqAMByAPBBKoE1gFP0DrFWXvBQU3YR7Q_YNNbrdjUGuNmAs39E0ShuJiLd_qr3uPQZxz0ThgU_9ulob82Ygk03AXwWZRT9MMMiChS6ipLdNQh8RIlSats09B41CCdnqHqmKsX6nb8iKX9QHntuF1eIfs6OyyHmjqDtuapH38y8OczzW1TBQOgoOLEWd1lNv9U1YRCKsKQen4mwkX4mTnyrFGcNaW1eXqtuH2s0HBzYkjAMMGDhaO_8xd4WRtm5TAIoPmvUDIk_lPjeKgb799jXaW6PqEDiMWMcRj672fsysOEoAYCgAfpmeUm&num=1&sig=AOD64_2EIVyILL6jeKqIoC75k1Ugug9bhQ&client=ca-pub-1237473867467966&adurl=http://www.vmwarerecertification.com/%3Fsrc%3DPaidSearch_smbentedu_Google_LeadGen_US_EN%26lead_source%3DSearch-Paid%26mkwid%3DctK9jIXDV%26pcrid%3D50073226265%26kw%3Dvmware%2520training%26mt%3D%26utm_source%3Dgoogle%26utm_medium%3Dcpc%26utm_term%3Dvmware%2520training%26utm_content%3D50073226265%26utm_campaign%3DGD_ENTEDU_AMS_US_EN_N_BRD_Vmwaretraining%2528new3%2529http://googleads.g.doubleclick.net/aclk?sa=l&ai=CCKwSCPLtU5-FB4zGlQfSh4GoCLLO3agFypPdlHbAjbcBEAEg3JS1F1CKnZbFBGDJBqAB4Pu0_QPIAQGoAwHIA8MEqgTVAU_QAUXCSh2mrzfEcaQSRiAj8nmbNCB2rZUeWGmJTOdFAMtDmeubw18RPbU1SezBizJt3UrLu5ALNKNfGVutDNsJX03S6rsOK335wai1bIgu3KAe7Hn4VvyzORRRjoQYSzgt73seTWEWl4Z2TZjh-NyquuuSuGSN1G8dgb2ftbGOtkYuwzZmhbIjU7j81q-RFZV8GN_0qVQGy33KV_MXsvPCoj-SkrQmOfuIW-HP-uQzJY-Jmnw8UTCgsoM3QL-IoN7ah8A4TJxA5ee2BDe388TA4U0OFoAHiITLAg&num=1&sig=AOD64_0wB3qj9VbByPcG8nzoCWI8wMnC5w&client=ca-pub-1237473867467966&adurl=http://www.plixer.com/Scrutinizer-Netflow-Sflow/scrutinizer-download-google-text-landing.htmlhttp://googleads.g.doubleclick.net/aclk?sa=l&ai=CCKwSCPLtU5-FB4zGlQfSh4GoCLLO3agFypPdlHbAjbcBEAEg3JS1F1CKnZbFBGDJBqAB4Pu0_QPIAQGoAwHIA8MEqgTVAU_QAUXCSh2mrzfEcaQSRiAj8nmbNCB2rZUeWGmJTOdFAMtDmeubw18RPbU1SezBizJt3UrLu5ALNKNfGVutDNsJX03S6rsOK335wai1bIgu3KAe7Hn4VvyzORRRjoQYSzgt73seTWEWl4Z2TZjh-NyquuuSuGSN1G8dgb2ftbGOtkYuwzZmhbIjU7j81q-RFZV8GN_0qVQGy33KV_MXsvPCoj-SkrQmOfuIW-HP-uQzJY-Jmnw8UTCgsoM3QL-IoN7ah8A4TJxA5ee2BDe388TA4U0OFoAHiITLAg&num=1&sig=AOD64_0wB3qj9VbByPcG8nzoCWI8wMnC5w&client=ca-pub-1237473867467966&adurl=http://www.plixer.com/Scrutinizer-Netflow-Sflow/scrutinizer-download-google-text-landing.htmlhttp://googleads.g.doubleclick.net/aclk?sa=l&ai=CCKwSCPLtU5-FB4zGlQfSh4GoCLLO3agFypPdlHbAjbcBEAEg3JS1F1CKnZbFBGDJBqAB4Pu0_QPIAQGoAwHIA8MEqgTVAU_QAUXCSh2mrzfEcaQSRiAj8nmbNCB2rZUeWGmJTOdFAMtDmeubw18RPbU1SezBizJt3UrLu5ALNKNfGVutDNsJX03S6rsOK335wai1bIgu3KAe7Hn4VvyzORRRjoQYSzgt73seTWEWl4Z2TZjh-NyquuuSuGSN1G8dgb2ftbGOtkYuwzZmhbIjU7j81q-RFZV8GN_0qVQGy33KV_MXsvPCoj-SkrQmOfuIW-HP-uQzJY-Jmnw8UTCgsoM3QL-IoN7ah8A4TJxA5ee2BDe388TA4U0OFoAHiITLAg&num=1&sig=AOD64_0wB3qj9VbByPcG8nzoCWI8wMnC5w&client=ca-pub-1237473867467966&adurl=http://www.plixer.com/Scrutinizer-Netflow-Sflow/scrutinizer-download-google-text-landing.htmlhttp://googleads.g.doubleclick.net/aclk?sa=l&ai=CCKwSCPLtU5-FB4zGlQfSh4GoCLLO3agFypPdlHbAjbcBEAEg3JS1F1CKnZbFBGDJBqAB4Pu0_QPIAQGoAwHIA8MEqgTVAU_QAUXCSh2mrzfEcaQSRiAj8nmbNCB2rZUeWGmJTOdFAMtDmeubw18RPbU1SezBizJt3UrLu5ALNKNfGVutDNsJX03S6rsOK335wai1bIgu3KAe7Hn4VvyzORRRjoQYSzgt73seTWEWl4Z2TZjh-NyquuuSuGSN1G8dgb2ftbGOtkYuwzZmhbIjU7j81q-RFZV8GN_0qVQGy33KV_MXsvPCoj-SkrQmOfuIW-HP-uQzJY-Jmnw8UTCgsoM3QL-IoN7ah8A4TJxA5ee2BDe388TA4U0OFoAHiITLAg&num=1&sig=AOD64_0wB3qj9VbByPcG8nzoCWI8wMnC5w&client=ca-pub-1237473867467966&adurl=http://www.plixer.com/Scrutinizer-Netflow-Sflow/scrutinizer-download-google-text-landing.htmlhttp://googleads.g.doubleclick.net/aclk?sa=l&ai=CCKwSCPLtU5-FB4zGlQfSh4GoCLLO3agFypPdlHbAjbcBEAEg3JS1F1CKnZbFBGDJBqAB4Pu0_QPIAQGoAwHIA8MEqgTVAU_QAUXCSh2mrzfEcaQSRiAj8nmbNCB2rZUeWGmJTOdFAMtDmeubw18RPbU1SezBizJt3UrLu5ALNKNfGVutDNsJX03S6rsOK335wai1bIgu3KAe7Hn4VvyzORRRjoQYSzgt73seTWEWl4Z2TZjh-NyquuuSuGSN1G8dgb2ftbGOtkYuwzZmhbIjU7j81q-RFZV8GN_0qVQGy33KV_MXsvPCoj-SkrQmOfuIW-HP-uQzJY-Jmnw8UTCgsoM3QL-IoN7ah8A4TJxA5ee2BDe388TA4U0OFoAHiITLAg&num=1&sig=AOD64_0wB3qj9VbByPcG8nzoCWI8wMnC5w&client=ca-pub-1237473867467966&adurl=http://www.plixer.com/Scrutinizer-Netflow-Sflow/scrutinizer-download-google-text-landing.htmlhttp://googleads.g.doubleclick.net/aclk?sa=l&ai=CCKwSCPLtU5-FB4zGlQfSh4GoCLLO3agFypPdlHbAjbcBEAEg3JS1F1CKnZbFBGDJBqAB4Pu0_QPIAQGoAwHIA8MEqgTVAU_QAUXCSh2mrzfEcaQSRiAj8nmbNCB2rZUeWGmJTOdFAMtDmeubw18RPbU1SezBizJt3UrLu5ALNKNfGVutDNsJX03S6rsOK335wai1bIgu3KAe7Hn4VvyzORRRjoQYSzgt73seTWEWl4Z2TZjh-NyquuuSuGSN1G8dgb2ftbGOtkYuwzZmhbIjU7j81q-RFZV8GN_0qVQGy33KV_MXsvPCoj-SkrQmOfuIW-HP-uQzJY-Jmnw8UTCgsoM3QL-IoN7ah8A4TJxA5ee2BDe388TA4U0OFoAHiITLAg&num=1&sig=AOD64_0wB3qj9VbByPcG8nzoCWI8wMnC5w&client=ca-pub-1237473867467966&adurl=http://www.plixer.com/Scrutinizer-Netflow-Sflow/scrutinizer-download-google-text-landing.htmlhttp://googleads.g.doubleclick.net/aclk?sa=l&ai=CCKwSCPLtU5-FB4zGlQfSh4GoCLLO3agFypPdlHbAjbcBEAEg3JS1F1CKnZbFBGDJBqAB4Pu0_QPIAQGoAwHIA8MEqgTVAU_QAUXCSh2mrzfEcaQSRiAj8nmbNCB2rZUeWGmJTOdFAMtDmeubw18RPbU1SezBizJt3UrLu5ALNKNfGVutDNsJX03S6rsOK335wai1bIgu3KAe7Hn4VvyzORRRjoQYSzgt73seTWEWl4Z2TZjh-NyquuuSuGSN1G8dgb2ftbGOtkYuwzZmhbIjU7j81q-RFZV8GN_0qVQGy33KV_MXsvPCoj-SkrQmOfuIW-HP-uQzJY-Jmnw8UTCgsoM3QL-IoN7ah8A4TJxA5ee2BDe388TA4U0OFoAHiITLAg&num=1&sig=AOD64_0wB3qj9VbByPcG8nzoCWI8wMnC5w&client=ca-pub-1237473867467966&adurl=http://www.plixer.com/Scrutinizer-Netflow-Sflow/scrutinizer-download-google-text-landing.htmlhttp://googleads.g.doubleclick.net/aclk?sa=l&ai=CCKwSCPLtU5-FB4zGlQfSh4GoCLLO3agFypPdlHbAjbcBEAEg3JS1F1CKnZbFBGDJBqAB4Pu0_QPIAQGoAwHIA8MEqgTVAU_QAUXCSh2mrzfEcaQSRiAj8nmbNCB2rZUeWGmJTOdFAMtDmeubw18RPbU1SezBizJt3UrLu5ALNKNfGVutDNsJX03S6rsOK335wai1bIgu3KAe7Hn4VvyzORRRjoQYSzgt73seTWEWl4Z2TZjh-NyquuuSuGSN1G8dgb2ftbGOtkYuwzZmhbIjU7j81q-RFZV8GN_0qVQGy33KV_MXsvPCoj-SkrQmOfuIW-HP-uQzJY-Jmnw8UTCgsoM3QL-IoN7ah8A4TJxA5ee2BDe388TA4U0OFoAHiITLAg&num=1&sig=AOD64_0wB3qj9VbByPcG8nzoCWI8wMnC5w&client=ca-pub-1237473867467966&adurl=http://www.plixer.com/Scrutinizer-Netflow-Sflow/scrutinizer-download-google-text-landing.htmlhttp://pdfcrowd.com/http://pdfcrowd.com/redirect/?url=http%3a%2f%2fcomputernetworkingnotes.com%2fswitching-vlan-stp-vtp-dtp-ether-channels%2fbasic-switch-configurations.html&id=ma-140815074202-6948258chttp://pdfcrowd.com/customize/http://pdfcrowd.com/html-to-pdf-api/?ref=pdfhttp://computernetworkingnotes.com/switching-vlan-stp-vtp-dtp-ether-channels/basic-switch-configurations/print.htmlhttp://computernetworkingnotes.com/switching-vlan-stp-vtp-dtp-ether-channels/basic-switch-configurations.htmlhttp://googleads.g.doubleclick.net/aclk?sa=l&ai=CI258B_LtU9aIMpGblQeMuoDYB8HDtoQF0bmC5roBw-Tz_QgQASDclLUXUNnkwqz9_____wFgyQagAfPzs9YDyAECqAMByAPBBKoE1gFP0DrFWXvBQU3YR7Q_YNNbrdjUGuNmAs39E0ShuJiLd_qr3uPQZxz0ThgU_9ulob82Ygk03AXwWZRT9MMMiChS6ipLdNQh8RIlSats09B41CCdnqHqmKsX6nb8iKX9QHntuF1eIfs6OyyHmjqDtuapH38y8OczzW1TBQOgoOLEWd1lNv9U1YRCKsKQen4mwkX4mTnyrFGcNaW1eXqtuH2s0HBzYkjAMMGDhaO_8xd4WRtm5TAIoPmvUDIk_lPjeKgb799jXaW6PqEDiMWMcRj672fsysOEoAYCgAfpmeUm&num=1&sig=AOD64_2EIVyILL6jeKqIoC75k1Ugug9bhQ&client=ca-pub-1237473867467966&adurl=http://www.vmwarerecertification.com/%3Fsrc%3DPaidSearch_smbentedu_Google_LeadGen_US_EN%26lead_source%3DSearch-Paid%26mkwid%3DctK9jIXDV%26pcrid%3D50073226265%26kw%3Dvmware%2520training%26mt%3D%26utm_source%3Dgoogle%26utm_medium%3Dcpc%26utm_term%3Dvmware%2520training%26utm_content%3D50073226265%26utm_campaign%3DGD_ENTEDU_AMS_US_EN_N_BRD_Vmwaretraining%2528new3%2529http://googleads.g.doubleclick.net/aclk?sa=l&ai=CCKwSCPLtU5-FB4zGlQfSh4GoCLLO3agFypPdlHbAjbcBEAEg3JS1F1CKnZbFBGDJBqAB4Pu0_QPIAQGoAwHIA8MEqgTVAU_QAUXCSh2mrzfEcaQSRiAj8nmbNCB2rZUeWGmJTOdFAMtDmeubw18RPbU1SezBizJt3UrLu5ALNKNfGVutDNsJX03S6rsOK335wai1bIgu3KAe7Hn4VvyzORRRjoQYSzgt73seTWEWl4Z2TZjh-NyquuuSuGSN1G8dgb2ftbGOtkYuwzZmhbIjU7j81q-RFZV8GN_0qVQGy33KV_MXsvPCoj-SkrQmOfuIW-HP-uQzJY-Jmnw8UTCgsoM3QL-IoN7ah8A4TJxA5ee2BDe388TA4U0OFoAHiITLAg&num=1&sig=AOD64_0wB3qj9VbByPcG8nzoCWI8wMnC5w&client=ca-pub-1237473867467966&adurl=http://www.plixer.com/Scrutinizer-Netflow-Sflow/scrutinizer-download-google-text-landing.htmlhttp://googleads.g.doubleclick.net/aclk?sa=l&ai=CCKwSCPLtU5-FB4zGlQfSh4GoCLLO3agFypPdlHbAjbcBEAEg3JS1F1CKnZbFBGDJBqAB4Pu0_QPIAQGoAwHIA8MEqgTVAU_QAUXCSh2mrzfEcaQSRiAj8nmbNCB2rZUeWGmJTOdFAMtDmeubw18RPbU1SezBizJt3UrLu5ALNKNfGVutDNsJX03S6rsOK335wai1bIgu3KAe7Hn4VvyzORRRjoQYSzgt73seTWEWl4Z2TZjh-NyquuuSuGSN1G8dgb2ftbGOtkYuwzZmhbIjU7j81q-RFZV8GN_0qVQGy33KV_MXsvPCoj-SkrQmOfuIW-HP-uQzJY-Jmnw8UTCgsoM3QL-IoN7ah8A4TJxA5ee2BDe388TA4U0OFoAHiITLAg&num=1&sig=AOD64_0wB3qj9VbByPcG8nzoCWI8wMnC5w&client=ca-pub-1237473867467966&adurl=http://www.plixer.com/Scrutinizer-Netflow-Sflow/scrutinizer-download-google-text-landing.htmlhttp://googleads.g.doubleclick.net/aclk?sa=l&ai=CCKwSCPLtU5-FB4zGlQfSh4GoCLLO3agFypPdlHbAjbcBEAEg3JS1F1CKnZbFBGDJBqAB4Pu0_QPIAQGoAwHIA8MEqgTVAU_QAUXCSh2mrzfEcaQSRiAj8nmbNCB2rZUeWGmJTOdFAMtDmeubw18RPbU1SezBizJt3UrLu5ALNKNfGVutDNsJX03S6rsOK335wai1bIgu3KAe7Hn4VvyzORRRjoQYSzgt73seTWEWl4Z2TZjh-NyquuuSuGSN1G8dgb2ftbGOtkYuwzZmhbIjU7j81q-RFZV8GN_0qVQGy33KV_MXsvPCoj-SkrQmOfuIW-HP-uQzJY-Jmnw8UTCgsoM3QL-IoN7ah8A4TJxA5ee2BDe388TA4U0OFoAHiITLAg&num=1&sig=AOD64_0wB3qj9VbByPcG8nzoCWI8wMnC5w&client=ca-pub-1237473867467966&adurl=http://www.plixer.com/Scrutinizer-Netflow-Sflow/scrutinizer-download-google-text-landing.htmlhttp://googleads.g.doubleclick.net/aclk?sa=l&ai=CCKwSCPLtU5-FB4zGlQfSh4GoCLLO3agFypPdlHbAjbcBEAEg3JS1F1CKnZbFBGDJBqAB4Pu0_QPIAQGoAwHIA8MEqgTVAU_QAUXCSh2mrzfEcaQSRiAj8nmbNCB2rZUeWGmJTOdFAMtDmeubw18RPbU1SezBizJt3UrLu5ALNKNfGVutDNsJX03S6rsOK335wai1bIgu3KAe7Hn4VvyzORRRjoQYSzgt73seTWEWl4Z2TZjh-NyquuuSuGSN1G8dgb2ftbGOtkYuwzZmhbIjU7j81q-RFZV8GN_0qVQGy33KV_MXsvPCoj-SkrQmOfuIW-HP-uQzJY-Jmnw8UTCgsoM3QL-IoN7ah8A4TJxA5ee2BDe388TA4U0OFoAHiITLAg&num=1&sig=AOD64_0wB3qj9VbByPcG8nzoCWI8wMnC5w&client=ca-pub-1237473867467966&adurl=http://www.plixer.com/Scrutinizer-Netflow-Sflow/scrutinizer-download-google-text-landing.htmlhttps://www.google.com/url?ct=abg&q=https://www.google.com/adsense/support/bin/request.py%3Fcontact%3Dabg_afc%26url%3Dhttp://computernetworkingnotes.com/switching-vlan-stp-vtp-dtp-ether-channels/basic-switch-configurations.html%26gl%3DUS%26hl%3Den%26client%3Dca-pub-1237473867467966&usg=AFQjCNEJW7q1egdO-iOgdh9h588PEOx1UAhttp://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-1237473867467966&output=html&h=90&slotname=2889317696&adk=572427493&w=160&lmt=0&flash=0&url=http%3A%2F%2Fcomputernetworkingnotes.com%2Fswitching-vlan-stp-vtp-dtp-ether-channels%2Fbasic-switch-configurations.html&dt=1408102919540&bpp=27&shv=r20140807&cbv=r20140417&saldr=aa&prev_fmts=160x90_0ads_al&correlator=3145715390464&frm=20&ga_vid=574640855.1408102920&ga_sid=1408102920&ga_hid=71913717&ga_fc=1&u_tz=-240&u_his=1&u_java=0&u_h=1024&u_w=1280&u_ah=0&u_aw=0&u_cd=24&u_nplug=0&u_nmime=0&dff=arial&dfs=13&biw=813&bih=568&eid=317150304%2C36098801&rx=0&eae=0&fc=8&vis=0&abl=NS&ppjl=t&fu=0&ifi=4&xpc=DJz1Fm7hSW&p=http%3A//computernetworkingnotes.com&dtd=799&rl_rc=true&adsense_enabled=true&ad_type=text&ui=rc:6&oe=utf8&height=90&width=160&format=fpkc_al_lp&f=verdana&kw_type=radlink&hl=en&kw0=Cisco+Commands&kw1=Cisco+CCNA+1&kw2=Cisco+IOS&okw=Cisco+Commands&rt=ChBT7fIIAAkBsgrlTlK_ACpzEg5DaXNjbyBDb21tYW5kcxoIS5PFCKrA4f4oAVITCKbdgZOYlcACFcZV5Qod-SwAzwhttp://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-1237473867467966&output=html&h=90&slotname=2889317696&adk=572427493&w=160&lmt=0&flash=0&url=http%3A%2F%2Fcomputernetworkingnotes.com%2Fswitching-vlan-stp-vtp-dtp-ether-channels%2Fbasic-switch-configurations.html&dt=1408102919540&bpp=27&shv=r20140807&cbv=r20140417&saldr=aa&prev_fmts=160x90_0ads_al&correlator=3145715390464&frm=20&ga_vid=574640855.1408102920&ga_sid=1408102920&ga_hid=71913717&ga_fc=1&u_tz=-240&u_his=1&u_java=0&u_h=1024&u_w=1280&u_ah=0&u_aw=0&u_cd=24&u_nplug=0&u_nmime=0&dff=arial&dfs=13&biw=813&bih=568&eid=317150304%2C36098801&rx=0&eae=0&fc=8&vis=0&abl=NS&ppjl=t&fu=0&ifi=4&xpc=DJz1Fm7hSW&p=http%3A//computernetworkingnotes.com&dtd=799&rl_rc=true&adsense_enabled=true&ad_type=text&ui=rc:6&oe=utf8&height=90&width=160&format=fpkc_al_lp&f=verdana&kw_type=radlink&hl=en&kw0=Cisco+Commands&kw1=Cisco+CCNA+1&kw2=Cisco+IOS&okw=Cisco+CCNA+1&rt=ChBT7fIIAAkBxwrlTlK_ACpzEgxDaXNjbyBDQ05BIDEaCNS2SjO-9bKlKAFSEwim3YGTmJXAAhXGVeUKHfksAM8http://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-1237473867467966&output=html&h=90&slotname=2889317696&adk=572427493&w=160&lmt=0&flash=0&url=http%3A%2F%2Fcomputernetworkingnotes.com%2Fswitching-vlan-stp-vtp-dtp-ether-channels%2Fbasic-switch-configurations.html&dt=1408102919540&bpp=27&shv=r20140807&cbv=r20140417&saldr=aa&prev_fmts=160x90_0ads_al&correlator=3145715390464&frm=20&ga_vid=574640855.1408102920&ga_sid=1408102920&ga_hid=71913717&ga_fc=1&u_tz=-240&u_his=1&u_java=0&u_h=1024&u_w=1280&u_ah=0&u_aw=0&u_cd=24&u_nplug=0&u_nmime=0&dff=arial&dfs=13&biw=813&bih=568&eid=317150304%2C36098801&rx=0&eae=0&fc=8&vis=0&abl=NS&ppjl=t&fu=0&ifi=4&xpc=DJz1Fm7hSW&p=http%3A//computernetworkingnotes.com&dtd=799&rl_rc=true&adsense_enabled=true&ad_type=text&ui=rc:6&oe=utf8&height=90&width=160&format=fpkc_al_lp&f=verdana&kw_type=radlink&hl=en&kw0=Cisco+Commands&kw1=Cisco+CCNA+1&kw2=Cisco+IOS&okw=Cisco+IOS&rt=ChBT7fIIAAkBywrlTlK_ACpzEglDaXNjbyBJT1MaCBvRhTCn-GghKAFSEwim3YGTmJXAAhXGVeUKHfksAM8https://www.google.com/url?ct=abg&q=https://www.google.com/adsense/support/bin/request.py%3Fcontact%3Dabg_afc%26url%3Dhttp://computernetworkingnotes.com/switching-vlan-stp-vtp-dtp-ether-channels/basic-switch-configurations.html%26gl%3DUS%26hl%3Den%26client%3Dca-pub-1237473867467966&usg=AFQjCNEJW7q1egdO-iOgdh9h588PEOx1UAhttp://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-1237473867467966&output=html&h=90&slotname=2889317696&adk=572427493&w=160&lmt=0&flash=0&url=http%3A%2F%2Fcomputernetworkingnotes.com%2Fswitching-vlan-stp-vtp-dtp-ether-channels%2Fbasic-switch-configurations.html&dt=1408102919574&bpp=8&shv=r20140807&cbv=r20140417&saldr=aa&prev_fmts=160x90_0ads_al&prev_slotnames=2889317696&correlator=3145715390464&frm=20&ga_vid=574640855.1408102920&ga_sid=1408102920&ga_hid=71913717&ga_fc=1&u_tz=-240&u_his=1&u_java=0&u_h=1024&u_w=1280&u_ah=0&u_aw=0&u_cd=24&u_nplug=0&u_nmime=0&dff=arial&dfs=13&biw=813&bih=568&eid=317150304%2C36098801&rx=0&eae=0&fc=8&vis=0&abl=NS&ppjl=t&fu=0&ifi=5&xpc=cL894tGvdB&p=http%3A//computernetworkingnotes.com&dtd=1087&rl_rc=true&adsense_enabled=true&ad_type=text&ui=rc:6&oe=utf8&height=90&width=160&format=fpkc_al_lp&f=verdana&kw_type=radlink&hl=en&kw0=Switch+Cisco&kw1=Cisco+Networking&kw2=Linux+Commands&okw=Switch+Cisco&rt=ChBT7fIIAAz68grlYwneAEfxEgxTd2l0Y2ggQ2lzY28aCAfPcFSORMb7KAEwAlITCPbalpOYlcACFYlN5QodgywAgghttp://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-1237473867467966&output=html&h=90&slotname=2889317696&adk=572427493&w=160&lmt=0&flash=0&url=http%3A%2F%2Fcomputernetworkingnotes.com%2Fswitching-vlan-stp-vtp-dtp-ether-channels%2Fbasic-switch-configurations.html&dt=1408102919574&bpp=8&shv=r20140807&cbv=r20140417&saldr=aa&prev_fmts=160x90_0ads_al&prev_slotnames=2889317696&correlator=3145715390464&frm=20&ga_vid=574640855.1408102920&ga_sid=1408102920&ga_hid=71913717&ga_fc=1&u_tz=-240&u_his=1&u_java=0&u_h=1024&u_w=1280&u_ah=0&u_aw=0&u_cd=24&u_nplug=0&u_nmime=0&dff=arial&dfs=13&biw=813&bih=568&eid=317150304%2C36098801&rx=0&eae=0&fc=8&vis=0&abl=NS&ppjl=t&fu=0&ifi=5&xpc=cL894tGvdB&p=http%3A//computernetworkingnotes.com&dtd=1087&rl_rc=true&adsense_enabled=true&ad_type=text&ui=rc:6&oe=utf8&height=90&width=160&format=fpkc_al_lp&f=verdana&kw_type=radlink&hl=en&kw0=Switch+Cisco&kw1=Cisco+Networking&kw2=Linux+Commands&okw=Cisco+Networking&rt=ChBT7fIIAAz7AgrlYwneAEfxEhBDaXNjbyBOZXR3b3JraW5nGgjcJuyOzYgxdCgBMAJSEwj22paTmJXAAhWJTeUKHYMsAIIhttp://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-1237473867467966&output=html&h=90&slotname=2889317696&adk=572427493&w=160&lmt=0&flash=0&url=http%3A%2F%2Fcomputernetworkingnotes.com%2Fswitching-vlan-stp-vtp-dtp-ether-channels%2Fbasic-switch-configurations.html&dt=1408102919574&bpp=8&shv=r20140807&cbv=r20140417&saldr=aa&prev_fmts=160x90_0ads_al&prev_slotnames=2889317696&correlator=3145715390464&frm=20&ga_vid=574640855.1408102920&ga_sid=1408102920&ga_hid=71913717&ga_fc=1&u_tz=-240&u_his=1&u_java=0&u_h=1024&u_w=1280&u_ah=0&u_aw=0&u_cd=24&u_nplug=0&u_nmime=0&dff=arial&dfs=13&biw=813&bih=568&eid=317150304%2C36098801&rx=0&eae=0&fc=8&vis=0&abl=NS&ppjl=t&fu=0&ifi=5&xpc=cL894tGvdB&p=http%3A//computernetworkingnotes.com&dtd=1087&rl_rc=true&adsense_enabled=true&ad_type=text&ui=rc:6&oe=utf8&height=90&width=160&format=fpkc_al_lp&f=verdana&kw_type=radlink&hl=en&kw0=Switch+Cisco&kw1=Cisco+Networking&kw2=Linux+Commands&okw=Linux+Commands&rt=ChBT7fIIAAz7BQrlYwneAEfxEg5MaW51eCBDb21tYW5kcxoIn_5mMQ1o7bMoATACUhMI9tqWk5iVwAIViU3lCh2DLACChttps://www.google.com/url?ct=abg&q=https://www.google.com/adsense/support/bin/request.py%3Fcontact%3Dabg_afc%26url%3Dhttp://computernetworkingnotes.com/switching-vlan-stp-vtp-dtp-ether-channels/basic-switch-configurations.html%26gl%3DUS%26hl%3Den%26client%3Dca-pub-1237473867467966&usg=AFQjCNEJW7q1egdO-iOgdh9h588PEOx1UAhttp://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-1237473867467966&output=html&h=90&slotname=2889317696&adk=572427493&w=160&lmt=0&flash=0&url=http%3A%2F%2Fcomputernetworkingnotes.com%2Fswitching-vlan-stp-vtp-dtp-ether-channels%2Fbasic-switch-configurations.html&dt=1408102919589&bpp=8&shv=r20140807&cbv=r20140417&saldr=aa&prev_fmts=160x90_0ads_al&prev_slotnames=2889317696%2C2889317696&correlator=3145715390464&frm=20&ga_vid=574640855.1408102920&ga_sid=1408102920&ga_hid=71913717&ga_fc=1&u_tz=-240&u_his=1&u_java=0&u_h=1024&u_w=1280&u_ah=0&u_aw=0&u_cd=24&u_nplug=0&u_nmime=0&dff=arial&dfs=13&biw=813&bih=568&eid=317150304%2C36098801&rx=0&eae=0&fc=8&vis=0&abl=NS&ppjl=t&fu=0&ifi=6&xpc=WOIvmqwJ2v&p=http%3A//computernetworkingnotes.com&dtd=1411&rl_rc=true&adsense_enabled=true&ad_type=text&ui=rc:6&oe=utf8&height=90&width=160&format=fpkc_al_lp&f=verdana&kw_type=radlink&hl=en&kw0=CCNA+Networking&kw1=Virtual+Router&kw2=Cisco+Login&okw=CCNA+Networking&rt=ChBT7fIJAAHfgQrlkg67ABq3Eg9DQ05BIE5ldHdvcmtpbmcaCKF_ShJoKFtZKAEwA1ITCOiLqZOYlcACFQmS5QodBjAAgAhttp://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-1237473867467966&output=html&h=90&slotname=2889317696&adk=572427493&w=160&lmt=0&flash=0&url=http%3A%2F%2Fcomputernetworkingnotes.com%2Fswitching-vlan-stp-vtp-dtp-ether-channels%2Fbasic-switch-configurations.html&dt=1408102919589&bpp=8&shv=r20140807&cbv=r20140417&saldr=aa&prev_fmts=160x90_0ads_al&prev_slotnames=2889317696%2C2889317696&correlator=3145715390464&frm=20&ga_vid=574640855.1408102920&ga_sid=1408102920&ga_hid=71913717&ga_fc=1&u_tz=-240&u_his=1&u_java=0&u_h=1024&u_w=1280&u_ah=0&u_aw=0&u_cd=24&u_nplug=0&u_nmime=0&dff=arial&dfs=13&biw=813&bih=568&eid=317150304%2C36098801&rx=0&eae=0&fc=8&vis=0&abl=NS&ppjl=t&fu=0&ifi=6&xpc=WOIvmqwJ2v&p=http%3A//computernetworkingnotes.com&dtd=1411&rl_rc=true&adsense_enabled=true&ad_type=text&ui=rc:6&oe=utf8&height=90&width=160&format=fpkc_al_lp&f=verdana&kw_type=radlink&hl=en&kw0=CCNA+Networking&kw1=Virtual+Router&kw2=Cisco+Login&okw=Virtual+Router&rt=ChBT7fIJAAHfmArlkg67ABq3Eg5WaXJ0dWFsIFJvdXRlchoIYONUFuzZNpsoATADUhMI6Iupk5iVwAIVCZLlCh0GMACAhttp://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-1237473867467966&output=html&h=90&slotname=2889317696&adk=572427493&w=160&lmt=0&flash=0&url=http%3A%2F%2Fcomputernetworkingnotes.com%2Fswitching-vlan-stp-vtp-dtp-ether-channels%2Fbasic-switch-configurations.html&dt=1408102919589&bpp=8&shv=r20140807&cbv=r20140417&saldr=aa&prev_fmts=160x90_0ads_al&prev_slotnames=2889317696%2C2889317696&correlator=3145715390464&frm=20&ga_vid=574640855.1408102920&ga_sid=1408102920&ga_hid=71913717&ga_fc=1&u_tz=-240&u_his=1&u_java=0&u_h=1024&u_w=1280&u_ah=0&u_aw=0&u_cd=24&u_nplug=0&u_nmime=0&dff=arial&dfs=13&biw=813&bih=568&eid=317150304%2C36098801&rx=0&eae=0&fc=8&vis=0&abl=NS&ppjl=t&fu=0&ifi=6&xpc=WOIvmqwJ2v&p=http%3A//computernetworkingnotes.com&dtd=1411&rl_rc=true&adsense_enabled=true&ad_type=text&ui=rc:6&oe=utf8&height=90&width=160&format=fpkc_al_lp&f=verdana&kw_type=radlink&hl=en&kw0=CCNA+Networking&kw1=Virtual+Router&kw2=Cisco+Login&okw=Cisco+Login&rt=ChBT7fIJAAHfnQrlkg67ABq3EgtDaXNjbyBMb2dpbhoIUBx1zmCWgREoATADUhMI6Iupk5iVwAIVCZLlCh0GMACA
  • 8/11/2019 Computernetworkingnotes Com Switching Vlan Stp Vtp Dtp Ether

    2/24

  • 8/11/2019 Computernetworkingnotes Com Switching Vlan Stp Vtp Dtp Ether

    3/24

    pdfcrowd comopen in browser PRO version Are you a developer? Try out the HTML to PDF API

    Switch>?

    Exec commands:

    [1-99] Session number to resume

    connect Open a terminal connection

    disconnect Disconnect an existing network

    connection

    enable Turn on privileged commands

    exit Exit from the EXEC

    logout Exit from the EXEC

    ping Send echo messages

    [Output is omitted]

    Three command can be used to logout from terminal.

    Switch>enable

    Switch#disable

    Switch>exit

    Switch con0 is now available

    Press RETURN to get started.

    show versionCommand will display the device platform, detected interface, ios name

    http://pdfcrowd.com/http://pdfcrowd.com/redirect/?url=http%3a%2f%2fcomputernetworkingnotes.com%2fswitching-vlan-stp-vtp-dtp-ether-channels%2fbasic-switch-configurations.html&id=ma-140815074202-6948258chttp://pdfcrowd.com/customize/http://pdfcrowd.com/html-to-pdf-api/?ref=pdf
  • 8/11/2019 Computernetworkingnotes Com Switching Vlan Stp Vtp Dtp Ether

    4/24

    pdfcrowd comopen in browser PRO version Are you a developer? Try out the HTML to PDF API

    Switch>enable

    Switch#show version

    Cisco IOS Software, C2960 Software (C2960-LANBASE-M),

    Version

    12.2(25)FX, RELEASE SOFTWARE (fc1)

    Copyright (c) 1986-2005 by Cisco Systems, Inc.

    Compiled Wed 12-Oct-05 22:05 by pt_team

    ROM: C2960 Boot Loader (C2960-HBOOT-M) Version 12.2(25r)FX,

    RELEASE SOFTWARE (fc4)

    System returned to ROM by power-on

    Cisco WS-C2960-24TT (RC32300) processor (revision C0) with

    21039K bytes of memory.

    24 FastEthernet/IEEE 802.3 interface(s)

    2 Gigabit Ethernet/IEEE 802.3 interface(s)

    [Output is omitted]

    show mac addressCommand will show all detected mac address dynamically and manually

    Switch#show mac-address-table Mac Address Table

    -------------------------------------------

    Vlan Mac Address Type Ports

    ---- ----------- -------- -----

    http://pdfcrowd.com/http://pdfcrowd.com/redirect/?url=http%3a%2f%2fcomputernetworkingnotes.com%2fswitching-vlan-stp-vtp-dtp-ether-channels%2fbasic-switch-configurations.html&id=ma-140815074202-6948258chttp://pdfcrowd.com/customize/http://pdfcrowd.com/html-to-pdf-api/?ref=pdf
  • 8/11/2019 Computernetworkingnotes Com Switching Vlan Stp Vtp Dtp Ether

    5/24

    pdfcrowd comopen in browser PRO version Are you a developer? Try out the HTML to PDF API

    1 0001.643a.5501 DYNAMIC Gig1/1

    To view run time configuration of RAM use show running-configcommand

    Switch#show running-config

    Building configuration...

    Current configuration : 925 bytes

    version 12.2

    no service password-encryption

    !

    hostname Switch

    [Output is omitted]

    To view startup configuration [ Stored in NVRAM] use show startup-configcommand

    Switch#show startup-config

    Current configuration : 925 bytes

    version 12.2

    no service password-encryption

    !

    hostname Switch

    [Output is omitted]

    http://pdfcrowd.com/http://pdfcrowd.com/redirect/?url=http%3a%2f%2fcomputernetworkingnotes.com%2fswitching-vlan-stp-vtp-dtp-ether-channels%2fbasic-switch-configurations.html&id=ma-140815074202-6948258chttp://pdfcrowd.com/customize/http://pdfcrowd.com/html-to-pdf-api/?ref=pdf
  • 8/11/2019 Computernetworkingnotes Com Switching Vlan Stp Vtp Dtp Ether

    6/24

    pdfcrowd comopen in browser PRO version Are you a developer? Try out the HTML to PDF API

    To get information about VLAN configuration use show vlancommand

    Switch#show 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

    [Output is omitted]

    show interface command will show all detected interface with their hardware description and

    configuration

    Switch#show interfaces

    http://pdfcrowd.com/http://pdfcrowd.com/redirect/?url=http%3a%2f%2fcomputernetworkingnotes.com%2fswitching-vlan-stp-vtp-dtp-ether-channels%2fbasic-switch-configurations.html&id=ma-140815074202-6948258chttp://pdfcrowd.com/customize/http://pdfcrowd.com/html-to-pdf-api/?ref=pdf
  • 8/11/2019 Computernetworkingnotes Com Switching Vlan Stp Vtp Dtp Ether

    7/24

    pdfcrowd comopen in browser PRO version Are you a developer? Try out the HTML to PDF API

    FastEthernet0/1 is up, line protocol is up (connected)

    Hardware is Lance, address is 0060.2f9d.9101 (bia

    0060.2f9d.9101)

    MTU 1500 bytes, BW 100000 Kbit, DLY 1000 usec,

    reliability 255/255, txload 1/255, rxload 1/255

    Encapsulation ARPA, loopback not set

    [Output is omitted]

    interface vlan 1 is used to assign ip address and default gateway to switch. Show interface

    vlan 1will give a over view of vlan1.

    Switch#show interface vlan1

    Vlan1 is administratively down, line protocol is down

    Hardware is CPU Interface, address is 0060.5c23.82ae

    (bia 0060.5c23.82ae)

    MTU 1500 bytes, BW 100000 Kbit, DLY 1000000 usec,

    reliability 255/255, txload 1/255, rxload 1/255

    Encapsulation ARPA, loopback not set

    ARP type: ARPA, ARP Timeout 04:00:00

    [Output is omitted]

    delete command is used to delete all vlan configuration from switch Dont add space between

    flash and vlan.dat Run this exactly shown here adding a space could erase flash entirely leaving

    switch blank

    http://pdfcrowd.com/http://pdfcrowd.com/redirect/?url=http%3a%2f%2fcomputernetworkingnotes.com%2fswitching-vlan-stp-vtp-dtp-ether-channels%2fbasic-switch-configurations.html&id=ma-140815074202-6948258chttp://pdfcrowd.com/customize/http://pdfcrowd.com/html-to-pdf-api/?ref=pdf
  • 8/11/2019 Computernetworkingnotes Com Switching Vlan Stp Vtp Dtp Ether

    8/24

    pdfcrowd comopen in browser PRO version Are you a developer? Try out the HTML to PDF API

    Switch#delete flash:vlan.dat

    Delete filename [vlan.dat]?

    Delete flash:/vlan.dat? [confirm]

    %deleting flash:/vlan.dat

    Startup configuration can be removed by erase commands

    Switch#erase startup-config

    Erasing the nvram filesystem will remove all configuration

    files!

    Continue? [confirm]

    [OK]

    Erase of nvram: complete%SYS-7-NV_BLOCK_INIT: Initialized the geometry of nvram

    Basic Switch Configuration Step by Step

    use configure terminalcommand to go in global configuration mode

    Switch#configure terminal

    Enter configuration commands, one per line. End with

    CNTL/Z.

    Now change default switch name to switch 1

    Switch(config)#hostname Switch1

    http://pdfcrowd.com/http://pdfcrowd.com/redirect/?url=http%3a%2f%2fcomputernetworkingnotes.com%2fswitching-vlan-stp-vtp-dtp-ether-channels%2fbasic-switch-configurations.html&id=ma-140815074202-6948258chttp://pdfcrowd.com/customize/http://pdfcrowd.com/html-to-pdf-api/?ref=pdf
  • 8/11/2019 Computernetworkingnotes Com Switching Vlan Stp Vtp Dtp Ether

    9/24

  • 8/11/2019 Computernetworkingnotes Com Switching Vlan Stp Vtp Dtp Ether

    10/24

    df di b PRO i Are you a developer? Try out the HTML to PDF API

    Switch1(config-if)#exit

    Switch1(config)#ip default-gateway 192.168.0.5

    Set a description finance VLANto interface fast Ethernet 1

    Switch1(config)#interface fastEthernet 0/1

    Switch1(config-if)#description finance VLAN

    By default switch automatically negotiate speed and duplex but you can adjust it manually

    Switch1(config-if)#duplex full

    %LINK-5-CHANGED: Interface FastEthernet0/1, changed state

    to down%LINEPROTO-5-UPDOWN: Line protocol on Interface

    FastEthernet0/1,

    changed state to downSwitch1

    (config-if)#duplex auto

    %LINK-5-CHANGED: Interface FastEthernet0/1, changed state

    to up

    Switch1(config-if)#duplex half

    %LINK-5-CHANGED: Interface FastEthernet0/1, changed state

    to down

    %LINEPROTO-5-UPDOWN: Line protocol on Interface

    FastEthernet0/1,

    changed state to down

    http://pdfcrowd.com/http://pdfcrowd.com/redirect/?url=http%3a%2f%2fcomputernetworkingnotes.com%2fswitching-vlan-stp-vtp-dtp-ether-channels%2fbasic-switch-configurations.html&id=ma-140815074202-6948258chttp://pdfcrowd.com/customize/http://pdfcrowd.com/html-to-pdf-api/?ref=pdf
  • 8/11/2019 Computernetworkingnotes Com Switching Vlan Stp Vtp Dtp Ether

    11/24

    df di b PRO i A d l ? T t th HTML t PDF API

    %LINK-5-CHANGED: Interface FastEthernet0/1, changed state

    to up

    Switch1(config-if)#duplex auto

    Switch1(config-if)#speed 10

    Switch1(config-if)#speed 100

    Switch1(config-if)#speed auto

    Switch1(config-if)#exit

    Switch1(config)#exit

    mac address table can be wiped out by clear commands

    Switch1#show

    Switch1#show mac-address-table

    Mac Address Table

    -------------------------------------------

    Vlan Mac Address Type Ports

    ---- ----------- -------- -----

    1 0001.643a.5501 DYNAMIC Gig1/1Switch1#clear mac-address-table

    Switch1#clear mac-address-table ?

    dynamic dynamic entry type

    Switch1#clear mac-address-table dynamic

    To restart switch use reload command [ running configuration will be erased so copy it first to

    http://pdfcrowd.com/http://pdfcrowd.com/redirect/?url=http%3a%2f%2fcomputernetworkingnotes.com%2fswitching-vlan-stp-vtp-dtp-ether-channels%2fbasic-switch-configurations.html&id=ma-140815074202-6948258chttp://pdfcrowd.com/customize/http://pdfcrowd.com/html-to-pdf-api/?ref=pdf
  • 8/11/2019 Computernetworkingnotes Com Switching Vlan Stp Vtp Dtp Ether

    12/24df di b PRO i A d l ? T t th HTML t PDF API

    startup configuration ]

    Switch1#reload

    Proceed with reload? [confirm]

    Switch con0 is now available

    Press RETURN to get started.

    CCNA basic switch configuration commands sheet

    Command descriptions

    switch>?The ? works here the same as in a router Used to get the

    list of all available commands

    switch>enable User mode, same as a router

    switch# Privileged mode

    switch#disable Leaves privileged mode

    switch>exit Leaves user mode

    switch#show version Displays information about software and hardware.

    switch#show flash:Displays information about flash memory (will work only

    for the 2900/2950 series).

    it h# h dd

    http://pdfcrowd.com/http://pdfcrowd.com/redirect/?url=http%3a%2f%2fcomputernetworkingnotes.com%2fswitching-vlan-stp-vtp-dtp-ether-channels%2fbasic-switch-configurations.html&id=ma-140815074202-6948258chttp://pdfcrowd.com/customize/http://pdfcrowd.com/html-to-pdf-api/?ref=pdf
  • 8/11/2019 Computernetworkingnotes Com Switching Vlan Stp Vtp Dtp Ether

    13/24df di b PRO i

    Are you a developer? Try out the HTML to PDF API

    switch#show mac-address-

    table

    Displays the current MAC address forwarding table

    .

    switch#show running-

    configDisplays the current configuration in DRAM.

    switch#show startup-config Displays the current configuration in NVRAM.

    switch#show vlan Displays the current VLAN configuration.

    switch#show interfacesDisplays the interface configuration and status of line:

    up/up, up/down, admin down.

    switch#show interface

    vlan1

    Displays setting of virtual interface VLAN 1, the default

    VLAN on the switch.

    To Reset Switch Configuration

    Switch#delete

    flash:vlan.datRemoves the VLAN database from flash memory.

    Delete filename [vlan.dat]? Press Enter

    Delete flash:vlan.dat?[confirm]

    Press Enter

    Switch#erase startup-

    configErases the file from NVRAM.

    Switch#reload Restarts the switch.

    T S t H t N

    http://pdfcrowd.com/http://pdfcrowd.com/redirect/?url=http%3a%2f%2fcomputernetworkingnotes.com%2fswitching-vlan-stp-vtp-dtp-ether-channels%2fbasic-switch-configurations.html&id=ma-140815074202-6948258chttp://pdfcrowd.com/customize/http://pdfcrowd.com/html-to-pdf-api/?ref=pdf
  • 8/11/2019 Computernetworkingnotes Com Switching Vlan Stp Vtp Dtp Ether

    14/24df di b PRO iAre you a developer? Try out the HTML to PDF API

    To Set Host Names

    Switch#configure terminal Moves to global configuration mode

    Switch(config)#hostname

    Switch1

    Creates a locally significant host name of the switch.

    This is the same command as the router.

    Switch1(config)#

    To Set Passwords

    Switch(config)#enable

    password vinitaSets the enable password to vinita

    Switch(config)#enable

    secret nikkiSets the encrypted secret password to nikki

    Switch(config)#line console

    0Enters line console mode

    Switch(config-line)#login Enables password checking

    Switch(config-

    line)#password vinitaSets the password to vinita

    Switch(config-line)#exit Exits line console mode

    Switch(config-line)#line vty

    0 4Enters line vty mode for all five virtual ports

    Switch(config-line)#login Enables password checking

    -

    Sets the password to vinita

    http://pdfcrowd.com/http://pdfcrowd.com/redirect/?url=http%3a%2f%2fcomputernetworkingnotes.com%2fswitching-vlan-stp-vtp-dtp-ether-channels%2fbasic-switch-configurations.html&id=ma-140815074202-6948258chttp://pdfcrowd.com/customize/http://pdfcrowd.com/html-to-pdf-api/?ref=pdf
  • 8/11/2019 Computernetworkingnotes Com Switching Vlan Stp Vtp Dtp Ether

    15/24df di b PRO iAre you a developer? Try out the HTML to PDF API

    line)#password vinitaSets the password to vinita

    Switch(config-line)#exit Exits line vty mode

    Switch(config)#

    To Set IP Addresses and Default Gateways

    Switch(config)#interface

    vlan1

    Enters the virtual interface for VLAN 1, the default VLAN

    on the switch

    Switch(config-if)#ip address

    192.168.0.10 255.255.255.0

    Sets the IP address and netmask to allow for remote

    access to the switch

    Switch(config-if)#exit

    Switch(config)#ip default-

    gateway 192.168.0.5Allows IP information an exit past the local network

    To Set Interface Descriptions

    Switch(config)#interface

    fastethernet 0/1Enters interface configuration mode

    Switch(config-

    if)#description Finance

    VLAN

    Adds a description of the interface

    To Set Duplex Operation

    Switch(config)#interface

    fastethernet 0/1Moves to interface configuration mode

    -

    Forces full duplex operation

    http://pdfcrowd.com/http://pdfcrowd.com/redirect/?url=http%3a%2f%2fcomputernetworkingnotes.com%2fswitching-vlan-stp-vtp-dtp-ether-channels%2fbasic-switch-configurations.html&id=ma-140815074202-6948258chttp://pdfcrowd.com/customize/http://pdfcrowd.com/html-to-pdf-api/?ref=pdf
  • 8/11/2019 Computernetworkingnotes Com Switching Vlan Stp Vtp Dtp Ether

    16/24

    Are you a developer? Try out the HTML to PDF API

    fullForces full-duplex operation

    Switch(config-if)#duplex

    autoEnables auto-duplex config

    Switch(config-if)#duplex

    halfForces half-duplex operation

    To Set Operation Speed

    Switch(config)#interface

    fastethernet 0/1

    Switch(config-if)#speed 10 Forces 10-Mbps operation

    Switch(config-if)#speed 100 Forces 100-Mbps operation

    Switch(config-if)#speed

    autoEnables autospeed configuration

    MAC Address Table

    switch#show mac address-

    tableDisplays current MAC address forwarding table

    switch#clear mac address-table

    Deletes all entries from current MAC address forwardingtable

    switch#clear mac address-

    table dynamicDeletes only dynamic entries from table

    More Related Articles For You

    2960 it h i f ti lit d S it h B t P

    http://pdfcrowd.com/http://pdfcrowd.com/redirect/?url=http%3a%2f%2fcomputernetworkingnotes.com%2fswitching-vlan-stp-vtp-dtp-ether-channels%2fbasic-switch-configurations.html&id=ma-140815074202-6948258chttp://pdfcrowd.com/customize/http://pdfcrowd.com/html-to-pdf-api/?ref=pdfhttp://computernetworkingnotes.com/switching-vlan-stp-vtp-dtp-ether-channels/2960-switch-overview.html
  • 8/11/2019 Computernetworkingnotes Com Switching Vlan Stp Vtp Dtp Ether

    17/24

    pdfcrowd.comopen in browser PRO version Are you a developer? Try out the HTML to PDF API

    < Prev Next >

    Reply| Reply with quote| Quote

    Reply| Reply with quote| Quote

    Reply| Reply with quote| Quote

    2960 switch overview functionality and Switch Bootup Process

    Basic of switching Method of switching Functions of bridging

    Basic Switch configurations commands

    VLAN advantages disadvantage Membership and VTP

    How to Configure VLAN, STP, DTP step by step guide

    Basic functionality of STP Spanning Tree Protocol

    How to configure port security in Cisco switch

    Written by Sanjay Kumar

    Comments

    #Riscks D.Kollie,JR 2014-07-24 11:13

    Very much good help me a lot to do more practice

    #Cidriek 2014-06-27 12:34

    Thanks for the info. In fact, you did answered my questions. Thanks!

    #astro 2014-06-25 06:48

    It so easy to understand I LIKED it.Thanks

    #chenthil 2014-06-20 18:40

    good guide we can easily understand

    Reply | Reply with quote | Quote

    http://pdfcrowd.com/http://pdfcrowd.com/redirect/?url=http%3a%2f%2fcomputernetworkingnotes.com%2fswitching-vlan-stp-vtp-dtp-ether-channels%2fbasic-switch-configurations.html&id=ma-140815074202-6948258chttp://pdfcrowd.com/customize/http://pdfcrowd.com/html-to-pdf-api/?ref=pdfhttp://computernetworkingnotes.com/switching-vlan-stp-vtp-dtp-ether-channels/basic-of-switching.htmlhttp://computernetworkingnotes.com/switching-vlan-stp-vtp-dtp-ether-channels/vlan.htmlhttp://computernetworkingnotes.com/switching-vlan-stp-vtp-dtp-ether-channels/2960-switch-overview.htmlhttp://computernetworkingnotes.com/switching-vlan-stp-vtp-dtp-ether-channels/basic-of-switching.htmlhttp://computernetworkingnotes.com/switching-vlan-stp-vtp-dtp-ether-channels/basic-switch-configurations.htmlhttp://computernetworkingnotes.com/switching-vlan-stp-vtp-dtp-ether-channels/vlan.htmlhttp://computernetworkingnotes.com/switching-vlan-stp-vtp-dtp-ether-channels/configure-vlan-vtp.htmlhttp://computernetworkingnotes.com/switching-vlan-stp-vtp-dtp-ether-channels/stp.htmlhttp://computernetworkingnotes.com/switching-vlan-stp-vtp-dtp-ether-channels/switch-port-security.htmlhttp://computernetworkingnotes.com/sanjay-kumar.html
  • 8/11/2019 Computernetworkingnotes Com Switching Vlan Stp Vtp Dtp Ether

    18/24

    pdfcrowd.comopen in browser PRO version Are you a developer? Try out the HTML to PDF API

    Reply| Reply with quote| Quote

    Reply| Reply with quote| Quote

    Reply| Reply with quote| Quote

    Reply| Reply with quote| Quote

    Reply| Reply with quote| Quote

    Reply| Reply with quote| Quote

    Reply| Reply with quote| Quote

    #maliro ivan 2014-06-18 14:59

    thanks very much , it is a nice and well summarized,easily understandable and really

    they have helped me alotMAY THE ALMIGHTY LORD REWARD U

    #Jorsef 2014-06-06 03:35

    Very helpful thanks so mcuh

    #A.Rahman 2014-05-18 06:19

    Cool Info keep it up. :>

    #Raj 2014-05-12 10:32

    How to create access list to allow SSH access for few IP address (eg 10.149.21.0/24)

    #rajkumar 2014-05-12 06:57

    Very good information

    #krishna 2014-04-09 06:21

    good add more commands

    #sunil chambhore 2014-03-13 06:16

    i have learning that time no chance for me very hard work to learning.thank you for meadvise.

    Reply | Reply with quote | Quote

    http://pdfcrowd.com/http://pdfcrowd.com/redirect/?url=http%3a%2f%2fcomputernetworkingnotes.com%2fswitching-vlan-stp-vtp-dtp-ether-channels%2fbasic-switch-configurations.html&id=ma-140815074202-6948258chttp://pdfcrowd.com/customize/http://pdfcrowd.com/html-to-pdf-api/?ref=pdf
  • 8/11/2019 Computernetworkingnotes Com Switching Vlan Stp Vtp Dtp Ether

    19/24

    pdfcrowd.comopen in browser PRO version Are you a developer? Try out the HTML to PDF API

    Reply| Reply with quote| Quote

    Reply| Reply with quote| Quote

    Reply| Reply with quote| Quote

    Reply| Reply with quote| Quote

    Reply| Reply with quote| Quote

    Reply| Reply with quote| Quote

    Reply| Reply with quote| Quote

    #Calvan 2014-02-13 06:30

    no mention,use the right command and all working good

    #aditya 2014-01-20 16:44

    VERY GOOD METHOD AND THANKU FOR computernetworkingnotes

    #Calvan 2014-02-13 06:28

    No mention,As long the command is correct and jageted .Is good to have it.

    #Collins285 2014-01-12 19:22

    Thank you so much at least I can start somewhere with people like you around.

    #Eelo 2013-12-05 18:25

    Really great guide but you forgot what is probably the most important command:copy running-config startup-config

    otherwise any changes you may have jsut made to your configuration will just go right outthe window other than that good job.

    #Mega 2014-02-14 02:22

    Um nice guide. But i wonder what is copy running-config startup-config?

    #Eelo 2014-02-17 13:37

    Its the command that overwrites the current startup confuguration with the current

    http://pdfcrowd.com/http://pdfcrowd.com/redirect/?url=http%3a%2f%2fcomputernetworkingnotes.com%2fswitching-vlan-stp-vtp-dtp-ether-channels%2fbasic-switch-configurations.html&id=ma-140815074202-6948258chttp://pdfcrowd.com/customize/http://pdfcrowd.com/html-to-pdf-api/?ref=pdf
  • 8/11/2019 Computernetworkingnotes Com Switching Vlan Stp Vtp Dtp Ether

    20/24

    pdfcrowd.comopen in browser PRO version Are you a developer? Try out the HTML to PDF API

    Reply| Reply with quote| Quote

    Reply| Reply with quote| Quote

    Reply| Reply with quote| Quote

    Reply| Reply with quote| Quote

    Reply| Reply with quote| Quote

    Reply| Reply with quote| Quote

    Reply| Reply with quote| Quote

    p grunning configuration. in other words if you dont use it all the changes made toyour switch will be lost when it shuts off

    #GURULINGAPPA 2013-12-05 02:33

    it's useful for fresher

    #putar 2013-12-04 14:44

    nice guide, thank you so much

    #akpro aim flix 2013-12-03 16:12

    I am very glad I had with you this doc

    #jasmine 2013-11-29 19:50

    Thanks for your outstanding memorial encounter and I also had such an experienceRemote control system for lights and fans

    #vijo 2013-11-07 09:20

    iam not able to send a message from the pc0 to pc2..help plz

    #Joshua Bachuba 2013-11-05 17:26

    excellent guide, it is helpfully

    #wadood masood 2013-10-14 05:12

    wowwwwwwww grate ???????????????? nice method

    http://pdfcrowd.com/http://pdfcrowd.com/redirect/?url=http%3a%2f%2fcomputernetworkingnotes.com%2fswitching-vlan-stp-vtp-dtp-ether-channels%2fbasic-switch-configurations.html&id=ma-140815074202-6948258chttp://pdfcrowd.com/customize/http://pdfcrowd.com/html-to-pdf-api/?ref=pdf
  • 8/11/2019 Computernetworkingnotes Com Switching Vlan Stp Vtp Dtp Ether

    21/24

    pdfcrowd.comopen in browser PRO version Are you a developer? Try out the HTML to PDF API

    Reply| Reply with quote| Quote

    Reply| Reply with quote| Quote

    Reply| Reply with quote| Quote

    Reply| Reply with quote| Quote

    Reply| Reply with quote| Quote

    Reply| Reply with quote| Quote

    g

    #Ramesh 2013-10-11 14:11

    thanks a lot....this information help me a lot......thank you verymuch

    #come2i 2013-10-07 13:41hihow come i cannot config interface ip address on a cisco switch 2960 in packet tracerSwitch(config-if)#ip address 192.168.0.10 255.255.255.0

    help the new beeeeee

    #suman 2013-10-04 10:34

    it is very good medium to understand ......thanku u cisco.

    #bharat rathod 2013-09-24 07:34

    OOOOOOOSUM every single line is very useful if anyone want to know about switchinghe or she do not need to go any where else..good guide and method....

    thanx verry verry much

    #Ravishankar 2013-09-24 04:14

    Very good information, thanks a lot for sharing the switch details.

    #vineeth 2013-09-10 10:50

    great,i liked very much.

    Reply| Reply with quote| Quote

    http://pdfcrowd.com/http://pdfcrowd.com/redirect/?url=http%3a%2f%2fcomputernetworkingnotes.com%2fswitching-vlan-stp-vtp-dtp-ether-channels%2fbasic-switch-configurations.html&id=ma-140815074202-6948258chttp://pdfcrowd.com/customize/http://pdfcrowd.com/html-to-pdf-api/?ref=pdf
  • 8/11/2019 Computernetworkingnotes Com Switching Vlan Stp Vtp Dtp Ether

    22/24

    pdfcrowd.comopen in browser PRO version Are you a developer? Try out the HTML to PDF API

    On Google plus

    Follow 412

    FOLLOW US

    On Twitter

    Follow

    Like us on Facebook

    Reply| Reply with quote| Quote

    Reply| Reply with quote| Quote

    Reply| Reply with quote| Quote

    #P.K.pandya 2013-09-08 08:36

    good guide........ .. ...

    #Ajaz Wani 2013-09-07 07:19

    OOOOOOOSUM every single line is very useful if anyone want to know about switchinghe or she do not need to go any where else..

    I am very thankfull who ever is behind this. Thanks sir thanks very much this helps me a

    lot.

    #krishna p acharya 2013-09-03 06:12

    good guide and method....

    Refresh comments list

    Add comment

    Find us on Facebook

    http://pdfcrowd.com/http://pdfcrowd.com/redirect/?url=http%3a%2f%2fcomputernetworkingnotes.com%2fswitching-vlan-stp-vtp-dtp-ether-channels%2fbasic-switch-configurations.html&id=ma-140815074202-6948258chttp://pdfcrowd.com/customize/http://pdfcrowd.com/html-to-pdf-api/?ref=pdfhttps://twitter.com/intent/follow?original_referer=http%3A%2F%2Fcomputernetworkingnotes.com%2Fswitching-vlan-stp-vtp-dtp-ether-channels%2Fbasic-switch-configurations.html&region=follow_link&screen_name=CompNetNotesCom&tw_p=followbutton&variant=2.0
  • 8/11/2019 Computernetworkingnotes Com Switching Vlan Stp Vtp Dtp Ether

    23/24

    pdfcrowd.comopen in browser PRO version Are you a developer? Try out the HTML to PDF API

    ComputerNetworkingNotes.com

    5,829 people like ComputerNetw orkingNotes.com.

    Facebook soc ial plugin

    Like

    CONTACT US

    Write for us

    We are always on the lookout for new talent and ideas. We provide you a platform to share your ideas and knowledge with the

    world while developing a name for yourself as an expert in your field. We encourage you to learn more and submit a article!

    Advertise With us

    Reach millions of global audience including network administrator and system admin. Advertising on

    ComputerNetworkingNotes.com will allow your company to tap into one of the largest online communities of computer networking.

    Report an issue

    We greatly appreciate our visitors helping us to find issues with the site. we will investigate your report and use the information you

    provide to improve our site.

    http://computernetworkingnotes.com/computer-networking-notes/contact-us.htmlhttp://computernetworkingnotes.com/computer-networking-notes/advertise-with-us.htmlhttp://computernetworkingnotes.com/computer-networking-notes/advertise-with-us.htmlhttp://pdfcrowd.com/http://pdfcrowd.com/redirect/?url=http%3a%2f%2fcomputernetworkingnotes.com%2fswitching-vlan-stp-vtp-dtp-ether-channels%2fbasic-switch-configurations.html&id=ma-140815074202-6948258chttp://pdfcrowd.com/customize/http://pdfcrowd.com/html-to-pdf-api/?ref=pdfhttps://www.facebook.com/ComputerNetworkingNoteshttps://www.facebook.com/help/?page=209089222464503https://www.facebook.com/ComputerNetworkingNoteshttps://www.facebook.com/ComputerNetworkingNoteshttps://www.facebook.com/help/?page=209089222464503https://www.facebook.com/people/Aarif-Nabi/100008228059465https://www.facebook.com/Samora4bizhttps://www.facebook.com/people/Kiran-Malik/100004902976800https://www.facebook.com/people/Kun-Sopheak/100008252501732https://www.facebook.com/Vorn.Tryhttps://www.facebook.com/vinoth.pandian.9883http://computernetworkingnotes.com/computer-networking-notes/write-for-us.htmlhttp://computernetworkingnotes.com/computer-networking-notes/advertise-with-us.htmlhttp://computernetworkingnotes.com/computer-networking-notes/contact-us.html
  • 8/11/2019 Computernetworkingnotes Com Switching Vlan Stp Vtp Dtp Ether

    24/24

    pdfcrowd.comopen in browser PRO version Are you a developer? Try out the HTML to PDF API

    Other reason

    We love to hear from you! Regardless of the type of feedback, we are always ready to assist you.

    Copyright 2010 - 2014. ComputerNetworkingNotes.com

    Terms and conditionsPrivacy PolicyContact UsWrite for usAdvertise with us

    http://pdfcrowd.com/http://pdfcrowd.com/redirect/?url=http%3a%2f%2fcomputernetworkingnotes.com%2fswitching-vlan-stp-vtp-dtp-ether-channels%2fbasic-switch-configurations.html&id=ma-140815074202-6948258chttp://pdfcrowd.com/customize/http://pdfcrowd.com/html-to-pdf-api/?ref=pdfhttp://computernetworkingnotes.com/computer-networking-notes/contact-us.htmlhttp://computernetworkingnotes.com/computer-networking-notes/terms-and-conditions.htmlhttp://computernetworkingnotes.com/computer-networking-notes/privacy-policy.htmlhttp://computernetworkingnotes.com/computer-networking-notes/contact-us.htmlhttp://computernetworkingnotes.com/computer-networking-notes/write-for-us.htmlhttp://computernetworkingnotes.com/computer-networking-notes/advertise-with-us.html