Go Back   Velocity Reviews > Newsgroups > Cisco
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

Cisco - Basic Cisco Switch Tutorial

 
Thread Tools Search this Thread
Old 10-04-2005, 07:28 PM   #1
Default Basic Cisco Switch Tutorial


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
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump