Skip to Content

Routing

Password Recovery on a Cisco 2500 Series Router

Command Line

If you have built a home lab (or are running really ancient hardware in production), you may find yourself in need of resetting the password configured on a 2500 series router. Depending on the router platform, the syntax is different. Here's how to do it on a 2500:

1. Reboot the router and send a break sequence to enter ROMMON mode. Break sequences can be sent using a Ctrl+Break key combination, or if you are on a system that doesn't have a break sequence, try using your terminal software to send a break sequence.

2. (optional) Type the letter O and hit enter. Record the existing setting, it's most likely 0x2102.

3. To reset the configuration register and have the router bypass the startup-config, type the following:

o/r 0x2142

To boot the router, type the letter i and hit enter.

Administrative Distance

If you find yourself forgetting the default administrative distance values after you’ve completed an exam, this post is for you.

When routers learn of a route from more than one source, they need a way to pick the “best” one. Administrative Distance is used when such a situation arises. Lower administrative distances are considered more reliable than higher AD’s. The following table is a quick reference for those studying for exams and need to memorize the default administrative distances on Cisco gear:

 

CCIE Sample Questions

Ever wonder if you have what it takes to pass the CCIE R&S Written Exam? Well, if you are looking into taking the exam, you have most likely visited Cisco's site dedicated to the cert. However, it's easy to overlook a freebie Cisco gives to potential CCIE exam takers - Free Practice Questions.

There are only a handful of them to give you an idea for the level of difficulty you may encounter on the written exam, but every little bit helps. Here's the link for all who are interested: CCIE Routing and Switching Sample Questions

Cisco Revises CCNP Certification Track

Cisco recently revised their CCNP track to make it align with actual job requirements (such as troubleshooting problems on networks full of Cisco equipment).What do these changes mean for current Cisco Certified Network Professionals? Well, not much other than  you still get to take a 642 level exam to renew it. However, for all you non-CCNPers out there, tighten your belts and sharpen your pencils because you are in for a bit of a change.

CCIE R&S Becomes More "Real World"?

Interesting statement...but one that's direct from Cisco. In October, CCIE R&S undergoes a "real world" revision to make the skills more applicable to day-to-day jobs. Interesting quote from Maurilio Gorito (he was my proctor "back in the day"):

Q: Will it be harder to pass when the new exams go live?

A - MG: Since the focus of CCIE R&S certification has shifted to job readiness, candidates with less job experience may find the exams more difficult . On the other hand, some candidates may find the written exam easier since it is less focused on equipment specs and more on the real-world job tasks of networking experts.

The full scoop can be found here.

IP SLA Sample Configuration for Voice

IP SLA has the ability to measure "real-time" WAN connection quality. You can then use the results of the measurement for routing decisions (such as choosing an alternate path). This is especially effective for VoIP connections. The following sample configuration can be used to create a IP SLA Jitter/Packet Loss monitor for use with VoIP deployments:

IP SLA Source

Source(config)#ip sla 100  !Some IOS versions use ip sla monitor
Source(config-ip-sla)#udp-jitter 172.16.1.2 65424 codec g729a
Source(config-ip-sla-jitter)#tos 176 !Marks packets with DSCP EF (IP Precedence 5)
Source(config-ip-sla-jitter)#exit
Source(config)#ip sla schedule 100 recurring start-time now
Source(config)#interface s0/1/0
Source(config-if)#ip address 172.16.1.1 255.255.255.0

Template Parameter Access List

My friend Mike Storm has come up with a good "base" ACL for use on Internet facing routers and firewall devices. While he has it listed on his blog, I am referencing it here for my own future reference.

Assuming my PubNet range is a block of 32 66.238.29.0 - 31. See below

! no fragments
access-list 100 deny tcp any 66.238.29.0 0.0.0.31 log fragments
access-list 100 deny udp any 66.238.29.0 0.0.0.31 log fragments
access-list 100 deny icmp any 66.238.29.0 0.0.0.31 log fragments
! no snmp inbound from the Internet
access-list 100 deny udp any any eq snmp
access-list 100 deny udp any any eq snmptrap

Dynamic Failover with IP SLA

I just stumbled across this killer post on Shawn's Blog that describes how to set up IP SLA to allow a static route to failover if pings to a specified internet host should fail. This is really useful if you have two ISPs (and thus, two default routes) where the router cannot detect a link failure. This is really common if you have a cable/DSL modem or some type of wireless connectivity. Here's the basic config, taken directly from Shawn's Blog:
ip sla 1 < The number 1 here is arbitrary, used only to identify this sla.

New CCNA Certifications: The Cat is Out of the Bag!

Finally, on Tuesday afternoon, Cisco announced the new CCNA-level certifications...and they are (drum roll please):
CCNA Security
CCNA Voice
CCNA Wireless

I'm actually creating the CCNA Voice Official Exam Certification Guide for Cisco Press as we speak. I've got to tell you - this certification is awesome. It completely fills a much needed gap of knowledge that's needed before you get into the CCVP program. I can't speak for the Security & Wireless certs, but in the CCNA Voice, you'll be learning:
VoIP & Legacy System Integration
CallManager Express setup
Unity Express setup
Basic QoS, Dial-Peers, and other technical nuances
Having this foundation before someone gets into a CCVP will be awesome. Yesterday afternoon, Cisco Press conducted a "podcast video interview" with me about the cert. I'll post the link as soon as it's available. I was actually interviewed by none other than Jeff Doyle (the TCP/IP routing genus) - I'm honored!

Vyatta...Is there a "free" Cisco alternative?

A student with an accent in one of my classes asked me, "Have you ever used Vyatta?" Through the noise from the Cisco equipment running and the accent, I thought he had asked me if I had ever used Viagra...After some awkward moments, we ended up on the same page.
Vyatta is an open-source routing/firewall/VPN solution. Going to the Vyatta homepage will leave no question who they're going after; right on the front page is a survey, "Which Cisco product will you replace with Vyatta?" I have just downloaded the Vyatta virtual machine and gone through a few of their training videos (which are a pretty good explanation of the product). Seems somewhat Cisco-ish in it's context sensitive help system. Has anyone had any experience with Vyatta? Can you really replace a dedicated Cisco appliance with a virtual machine? Seems unlikely...

Migrating Routing Protocols

These guys at NIL continue to impress me. I originally met one of the NIL staff when I was running a BGP lab at Cisco Networkers a couple years back. We sat and talked about regular expressions with each other while the Networkers folks hacked away at the remote NIL equipment. Ever since then, I've glanced at their website from time to time - they just added a great post on migrating routing protocols:
http://www.nil.com/go/ChangingRoutingProtocol/
While you're there, you can find a wealth of other "best practice/cool tips" articles they have on-hand. This was the first place I learned about the Configure Replace command...which I've found doesn't work as well in practice as it does in theory. But that's another post :).

CCNA Update

Well, it looks as though Cisco has finally done a MAJOR update to their famous CCNA program. This update will indeed make it more difficult to attain a CCNA...and for good reason! Many people are just getting their CCNA certification and stopping (not moving on to the CCNP, CCSP, or whatever). So...Cisco decided, if that's all your going to do, then we'll make it so you really have an idea of what you're doing!
I've been contracted to write the new CCNA Exam Cram / Exam Prep series and to record the new CBTNuggets CCNA series, so I've been researching what is new for quite some time...Here's the scoop:

Configuring a Cisco Router to Accept VPN Connections

This blog has been a long-time-coming as someone asked me quite some time ago to post the simplest way to accomplish this (for a home environment). I hate to admit this, but my home PC (where I get all my email) was hacked since I allowed Microsoft's Remote Desktop Protocol (RDP) and VNC from anywhere on the Internet (very bad idea). That was the end of that - now VPN connections are required to get to my home PC. Well, the simplest way to configure a VPN on a router is to use the Cisco SDM...but Real Cisco Techs™ use the command line :). So here we go:
VPN.jpg

Guidelines on Firewalls and Firewall Policy

I just finished reading through the National Institute of Standards and Technology (NIST)'s Guidelines on Firewalls and Firewall Policy. It's actually very well written with casual-enough language to hold your attention. I thought I'd sum up some of the key points for blocking traffic in a good firewall design. The following traffic types should always be blocked:

  • Inbound traffic from a non-authenticated source system with a destination address of the firewall itself
  • Inbound traffic with a source address indicating that the packet originated on a network behind the firewall
  • Inbound traffic containing ICMP
  • Inbound or outbound traffic from a system using a source address that falls within the private address ranges show n in RFC 1918
  • Inbound traffic from a non-authenticated source system containing SNMP
  • Inbound traffic containing IP Source Routing information

Build a router on Linux

Although this is not directly related to Cisco, I found it quite interesting. For those of you looking to build a cheap (aka FREE) Cisco-like router on Linux, you are in luck. Jump to Google and do a search for Zebra RPM. I use this little widget to simulate other routers on a network. It supports all major routing protocols, even BGP!
Actually, try this site - it might be a little easier than Google to find it:
http://www-128.ibm.com/developerworks/linux/library/l-emu/

Syndicate content


Dr. Radut