Skip to Content

November 2006

Random "Trick"

Okay, this may be old news to some of you, but someone showed it to me and it changed my life...or at least seemed like a pretty cool tip. On Cisco devices, you can filter the "show run" output by entering a forward slash (/) at the more prompt and typing in the section you want to move to.
So...
Router# show run
Building configuration...
Current configuration : 12919 bytes
!
! Last configuration change at 17:33:29 ARIZONA Tue Oct 24 2006 by jeremy
! NVRAM config last updated at 14:27:00 ARIZONA Fri Oct 20 2006 by jeremy
!
version 12.4
!
...blah blah other junk goes here
!
--More-- <---- enter the forward slash here followed by a word (such as interface) that you want to jump to.
This is essentially like doing the "show run | begin" syntax, but you can do it on the fly. Okay, maybe not life changing, but sure is handy on those massive config files.

Recovering IOS from ROMMON via TFTP

This information is here primarily for my reference at customer
sites; for some odd reason, I seem to be recovering IOS images through
ROMMON quite a bit lately. These are the minimum fields to get this
going through TFTP rather than XModem.

rommon 1 > ...
IP_ADDRESS=192.168.1.100
IP_SUBNET_MASK=255.255.255.0
DEFAULT_GATEWAY=192.168.1.1
TFTP_SERVER=192.168.1.50
TFTP_FILE=c2600-adventerprisek9-mz.124-5a.bin
tftpdnld (this command kicks off the tftp download)

Two very cool switch commands

I've got two hot commands for you that I think you'll find very handy on your NativeIOS switches:
First off, in most environments, just about every port should be set to "spanning-tree portfast" to eliminate the 30 second delay before a switchport goes active. Here's a way to do it globally:

Throttling Bandwidth for Certain Internet Sites

I was teaching a Quality of Service (QoS) course at Interface a few weeks back. One of my students asked an interesting question: Is it possible to use QoS to throttle bandwidth for just a few, a-typical "bandwidth hog" websites using only Cisco gear... You bet it is! ...and what a cool idea! We worked through the configuration on the whiteboard, and Mike Storm (a fellow instructor & friend) documented the process...here's what we came up with:
For the sake of all that is sacred....save us from the bandwidth thieves! YouTube, Google Video, MySpace....and others. All of them are to thank for our latest level of Internet bandwidth saturation. If it bothers you like it does me, why not do something about it. Save the Internet bandwidth for your business!! On a Cisco router, it is easy to recognize and limit this type of traffic by using Cisco Quality of Service, specifically NBAR and traffic policing components.



Dr. Radut