Archive

Archive for June, 2009

Helpful Cisco Documents

June 11th, 2009 Bill No comments

I always need to look up features on different Cisco routers and switches.  Cisco actually produces two documents that let you quickly see all the available models and associated features:

Cisco Router Guide
Cisco Catalyst Switch Guide

Categories: Cisco Tags: , , , , ,

How to make a T1 loopback

June 4th, 2009 Bill No comments

Sometimes you need a quick and easy way to test a T1 connection on a piece of equipment.  For example, you want to make sure that the T1 WIC on your router is working.

To construct a loopback plug, simply take a single RJ45 plug and connect pin 1 to 4 and pin 2 to 5.

Categories: Home Lab Tags: , , , ,

How to make a T1 Crossover cable

June 4th, 2009 Bill 2 comments

In setting up my home lab, one thing that I needed to do was communicate between my routers using the T1 WICs.  For the physical cable connection it is necessary to use a T1 Crossover cable.  This is really simple to construct.  Using standard twisted pair cable and RJ45 ends, make the following connections: pin 1 to 4, 2 to 5, 4 to 1 and 5 to 2.  Below is a diagram:

t1-crossover

Categories: Home Lab Tags: , ,

Configuring T1 WICs for a Home lab

June 3rd, 2009 Bill No comments

I have a couple of routers as part of my home lab that I am using for my Cisco certification studies.  One thing that I wanted to do was connect two routers together via their T1 WICs.  There are two things you need to do:

  • create a T1 crossover to connect the routers
  • set the clock settings on each routers’ serial interface to simulate the T1

In another post I will put the details of making a T1 crossover cable, here is a simple example of the configuration you need to apply to each routers’ T1 serial interface.

**apply this to router #1**
 
ip address 192.168.1.1 255.255.255.248
 encapsulation ppp
 fair-queue
 service-module t1 clock source internal
 service-module t1 timeslots 1-24 speed 64
 service-module t1 framing esf
 service-module t1 linecode b8zs
 no shut
**apply this to router #2**
 
ip address 192.168.1.2 255.255.255.248
 encapsulation ppp
 fair-queue
 service-module t1 clock source internal
 service-module t1 timeslots 1-24 speed 64
 service-module t1 framing esf
 service-module t1 linecode b8zs
 no shut

Categories: Cisco, Home Lab Tags: , , , ,

How to find the port a device is plugged into

June 3rd, 2009 Bill No comments

Have you ever needed to quickly find out which switch port a network device is plugged into and you only know the IP address of the device?  You could always trace the cables in your data closet and drive yourself crazy or you could use a few simple commands on your switch and quickly find it.

sh ip arp | inc <ip address>
This will return the mac address
sh mac-address-table | inc <mac address>
This will return the switch port
If the IP address is on another switch, the port that is returned in the output will be for the trunked port that goes to the next “hop”.  Go to the next switch and repeat.

sh run int <switch port>
This will return the config for that interface

Here is an example:

switch01#sh ip arp | inc 172.16.11.200
Internet  172.16.11.200           0   0080.a38a.10dc  ARPA   Vlan11
switch01#sh mac-address-table | inc 0080.a38a.10dc
  11    0080.a38a.10dc   dynamic ip                     GigabitEthernet3/3 
switch01#sh run int gi3/3
Building configuration…
Current configuration : 152 bytes
!
interface GigabitEthernet3/3
 description IBM APPLICATION SERVER
 switchport access vlan 11
 switchport mode access
 qos trust dscp
 spanning-tree portfast
end
switch01#

Categories: Cisco Tags: , , ,