Setup and Troubleshoot EIGRP

February 2nd, 2012

I discussed Enhanced Interior Gateway Routing Protocol (EIGRP) briefly in a prior blog, Load Balancing with EIGRP, however, in this lab I use two Cisco 3725 routers [IOS 12.4(15)T10] to demonstrate how to configure EIGRP; additionally, I’ll discuss some useful troubleshooting commands. Remember EIGRP is a Cisco proprietary routing protocol which allows for load balancing over equal and unequal links. When EIGRP is enabled, the router attempts to discover neighbors on interfaces by sending multicast EIGRP Hello messages via multicast address 224.0.0.10. The router then advertises to other neighbors about the subnets connected to its respective interfaces. Below is a diagram of the lab setup I will be using. Read the rest of this entry »

Twitt

Configuring PVST+ on Cisco Switches

February 1st, 2012

Per VLAN Spanning Tree Plus (PVST+) is a flavor of Spanning Tree Protocol (see prior blog, Default STP Behavior on Cisco Switches) which maintains a spanning tree instance for each VLAN in the network. This means certain VLAN trunks (using 802.1q) can be forwarded for some VLANs while being blocked for others. Further, changes in one STP domain will not effect other spanning tree instances on other VLANs. Additionally, since each VLAN is treated as a separate network, layer 2 load balancing can be accomplished by forwarding some VLANs on one trunk and other VLANs on another trunk. Read the rest of this entry »

Twitt

Default STP Behavior on Cisco Switches

January 31st, 2012

In a prior blog, Functionality of Layer 2 Switches/Bridges, I discussed the core functionality of layer 2 switches. In this blog, I hit upon the Spanning Tree Protocol (STP) used on layer 2 switches to prevent loops. As mentioned before, loops can be created via layer 2 switches by using more than one link to connect to the same switches. This is often done for redundancy purposes but is not possible without STP. Read the rest of this entry »

Twitt

The Rise of the Hybrid Cloud

January 15th, 2012

Hybrid CloudAs many organizations move their corporate services to private clouds to cut costs, enable rapid provisioning of resources, enable advanced monitoring, and increase up-time, I believe we will see a continuous uptake of solutions which tie private cloud services and public cloud services together into something called the “hybrid cloud”. The key will be to use a secure connection such as a VPN tunnel to connect the private and public clouds together. This can be a great cost-effective solution as a company, especially a start-up, doesn’t have to carry the burden of building the entire infrastructure from scratch. Read the rest of this entry »

Twitt

How to Transfer Your Putty Settings Between PCs Running Windows

January 8th, 2012

I can’t tell you how many times I’ve had people ask me how they can export their Putty settings. For those of you who have been completely in the dark for the last decade, Putty is a Telnet and SSH client for Windows and Unix. Below I outline the steps to accomplish this goal; these steps should work for all versions of Windows. Read the rest of this entry »

Twitt

Cisco – Filtering Unwanted Packets with Standard Access Lists

January 7th, 2012

Access lists (ACLs) are basically statements that packets are compared against for the purpose of taking some action if a match occurs. After an access list is created, it can be applied to inbound or outbound traffic; in some cases it is applied in both directions. You can think of an ACL as a method for filtering packets that meet a specific criteria so further action can be taken on them. Read the rest of this entry »

Twitt

Perl – Changing the Input Line Separator and Using the “chomp” Function

January 6th, 2012

In this blog I demonstrate how you can change the input line separator in Perl and use Perl’s “chomp” function. Note, the input line separator is operating system dependent; see the following prior blog of mine where I discuss this subject in more detail: Unix shell script – convert Mac ASCII file to Unix ASCII file. The “chomp” function checks to see if the last character of a string or list of strings matches the line separator character stored in the ‘$/’ system variable; if there is a match, the character is deleted. Read the rest of this entry »

Twitt

Perl – Uppercase to Lowercase Conversion via the Translation Operator

January 4th, 2012

Perl’s translation operator provides a way to substitute one group of characters for another. In the below script I demonstrate how easy it is to use the translation operator to convert standard input from the command prompt from uppercase letters to lowercase. You can also use Perl’s lc() function to accomplish the same thing more easily. Read the rest of this entry »

Twitt

OSPF Explained and Useful Troubleshooting Commands

January 4th, 2012

Open Shortest Path First (OSPF) is an open standard link-state routing protocol that supports multiple equal-cost routes to the same destination (four by default). OSPF constructs a shortest path tree and then updates the routing table with the best paths. In this blog I I will be explaining OSPF in the context of OSPF on Cisco routers, so I will be using Cisco IOS command syntax. For some of the commands I have included screenshots from a Cisco 2621XM [IOS 12.3(16a)] router. Read the rest of this entry »

Twitt

Perl – Using Pattern-sequence Memory with Regular Expressions

December 29th, 2011

Pattern-sequence memory is very useful when you want to match the same character in several places but don’t care which character you match as long as all occurrences are the same character. For example, the below code matches the date format “dd-mm-yy” where the dashes can be any two of the same non-word characters (in regex notation the range would be [^_0-9a-zA-Z]). Pattern sequences are stored in memory from left to right, so “\1″ would represent the first match. Read the rest of this entry »

Twitt