Basic Cisco Switch Tutorial

Discussion in 'Cisco' started by Gary, Oct 4, 2005.

  1. Gary

    Gary Guest

    The following should be sufficient to enable you to set up a Cisco
    Switch. If you need anymore information please come along to
    http://www.Menkaura.com/Forum/index.php and I'll try to assist some
    more.



    Braindump of Useful Cisco Switch Commands (suitable for a 2950)

    Showing the Running configuration of the Switch. Example commands:
    show run ' to see the conplete switch running
    confige
    show run int f0/1 ' to see running confige on
    FastEthernet, slot 0, port 1
    show run int vlan x ' where x = the management vlan for the
    switch
    show int status ' show basic interface configuation
    information


    Saving the Switch Running Configuation. Example command:
    copy run start


    Dealing with Switch Logging. Example commands:
    service timestamps debug datetime localtime
    service timestamps log datertime localtime
    logging buffered

    clear log ' clear logs if they have been on for a
    long period of time
    show log ' see see the switch logs


    Setting the switch clock:
    show clock ' to see the clock settings
    clock set hh:mm:ss d m y ' clock set 14:10:55 9 sept 2005


    Finding out the general topology of the connecting network. Example
    commands:
    show cdp ne ' for an overview
    show cdp ne de ' to be more specific. This gives the
    neighbour IP address


    Managing the ARP:
    show arp ' to see the ARP table
    clear arp ' to clear the ARP table


    Troubleshooting connectivity issues:
    ping x.x.x.x ' ping a known address 5 times. There should
    be a quick response.
    ping ' extended ping, followed by return to do an
    extended ping test. Can state no. of pings
    trace x.x.x.x ' to do a trace route to an IP address


    Looking at the Switch counters:
    clear counters ' to clear all switch counters
    show int counters ' to see all interface counters
    show int counters error ' to see errors on all the interfaces
    show int fa0/22 ' to see errors on a particular
    interface

    So how fast are Ports running:
    show proc cpu
    sh cont util


    Making changes:
    config t ' to go into configuration mode
    int range f0/1 - 10 ' to set changes to be make to a range
    of ports
    speed 100 ' to set the speed of the port to 100Mb
    duplex full ' to set the line duplex to full, half
    or auto


    Setting up the Banner:
    config t
    banner motd ^C
    <paste in the text>
    ^C

    Working with VLAN's:
    show vlan
    show vtp status
    vlan database
    vtp transparent|server|client ' Choose wisely here!! Swithces come
    out of the box in Server mode!!!
    Gary, Oct 4, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jo Christian Buvarp

    Switch tutorial

    Jo Christian Buvarp, Feb 17, 2004, in forum: Cisco
    Replies:
    0
    Views:
    883
    Jo Christian Buvarp
    Feb 17, 2004
  2. Captain
    Replies:
    2
    Views:
    450
    BradReeseCom
    Jan 9, 2005
  3. Jaime
    Replies:
    2
    Views:
    517
    Jaime
    Sep 20, 2003
  4. fitwell
    Replies:
    10
    Views:
    1,128
    fitwell
    Sep 19, 2003
  5. ali
    Replies:
    0
    Views:
    551
Loading...

Share This Page