Category: Cisco

Awk Script to Count Cisco Modules

Here is a quick awk script to count all Cisco components.  The script takes the output of a Cisco IOS “show module” command for 1 or more Cisco switches. Command Used (MOD.out is the output from the “show mod” command) cat MOD.out | grep -v “WS-F” | awk -f  card.awk | sort   Output Cisco,WS-C4506-E,1 …

Continue reading

Permanent link to this article: https://daherlabs.mywire.org/wordpress/?p=194

UCS Firmware Upgrade 2.1 to 2.2 with Service Profile Templates

This post is part 2 of the UCS upgrade guide.  If you use Service Profile Templates in your UCS deployments, use this quick guide to safely upgrade your servers, which is step 4 of the UCS upgrade outlined in an earlier post from Chris Murray of TechShifter. Current Environment We currently have one Cisco UCS …

Continue reading

Permanent link to this article: https://daherlabs.mywire.org/wordpress/?p=165

UCS Firmware Upgrade: 2.1 » TechShifter

Here is a great guide that I found to upgrade a Cisco UCS In the following guide, Chris Murray from TechShifter, outlines beautifully how to upgrade from UCS 2.0 to 2.1.  I used this same guide to upgrade from 2.1 to 2.2(1b).  Although Chris did  a wonderful job on this, I will add a post …

Continue reading

Permanent link to this article: https://daherlabs.mywire.org/wordpress/?p=157

Quick and easy way to get around the CIsco UCS – Login Error: java.io.IOException

You might have experienced the exceptionally annoying error with Cisco UCS and the latest update to Java (and apparently the fault is a java programming fault not Cisco UCS) where after trying to login to Cisco UCS you get the following error: Login Error: java.io.IOException: Invalid Http response Login Error: java.io.IOException: Server returned HTTP response …

Continue reading

Permanent link to this article: https://daherlabs.mywire.org/wordpress/?p=149

How OSPF Works

How OSPF establishes a neighbor OSPF routers send Hello packets to declare their presence on a network segment and listen for other routers. These Hellos are either multicast to 224.0.0.5 or unicast by static configuration. After OSPF router receives a Hello packet from a neighboring router on the same segment, it performs a series of …

Continue reading

Permanent link to this article: https://daherlabs.mywire.org/wordpress/?p=133

Create Etherchannel, VLANs on Solaris and Cisco

Here is a quick guide on how to create an LACP etherchannel and add VLANs to that etherchannel.   Current System   root@csu-s:~# ifconfig -a lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1         inet 127.0.0.1 netmask ff000000  e1000g0: flags=1000842<BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 4         inet 0.0.0.0 netmask 0      …

Continue reading

Permanent link to this article: https://daherlabs.mywire.org/wordpress/?p=116

Cisco TDR feature for Ethernet Ports

In some Cisco switches, you can test your cables for faults just like a TDR.  Here is an example.  Sections in blue are what you would type: am-02-01>test cable tdr interface g1/0/1 Link state may be affected during TDR test TDR test started on interface Gi1/0/1 A TDR test can take a few seconds to …

Continue reading

Permanent link to this article: https://daherlabs.mywire.org/wordpress/?p=65

Show dBm loss on Cisco Optics

If you unsure how good your fiber optic cabling is, you could use the following command on a Cisco switch to determine dBm loss of a particular connection.  This command does support all the Cisco optics, but most.  Give it a try: rt-sc-cr#sh interfaces transceiver sw 1 Transceiver monitoring is disabled for all interfaces. If …

Continue reading

Permanent link to this article: https://daherlabs.mywire.org/wordpress/?p=53

Cisco EEM Script to Notify of Heat Issues via Email

By adding the following to a Cisco 6500 switch, you will get an email notification when heat becomes a problem in your data closet. Then another notification when the heat is no longer an issue. event manager environment _email_to email@some.com event manager environment _email_from switchname event manager environment _email_server 10.10.10.10 no event manager applet HEAT …

Continue reading

Permanent link to this article: https://daherlabs.mywire.org/wordpress/?p=39

Fix Cisco LMS Filesystem Errors

We have in the past run into problem where our Cisco LMS 4.2 would not boot after a crash or power outage.  This problem is due to filesystem errors and inconsistencies due to an ungraceful shutdown.  We run ours in a VM guest. Here is how to fix this problem: Power off the Cisco LMS …

Continue reading

Permanent link to this article: https://daherlabs.mywire.org/wordpress/?p=21