ASIC Programmability from Barefoot Networks
Cisco Live 2013 Insights - Catalyst 3850
A Little Story on Switch Configuration
Here’s another story from the late night. I’ve changed the details to protect the innocent, but you’ll get the idea.
I think most of you know that I started a new job late last year, and I’ve spent my waking hours getting caught up on how the new company works, how everything fits together, and all that jazz. One of the big reasons that I (and a number of others) were brought in was to fix the biggest problem; the company doesn’t have a real central control over customer-facing technologies. There’s a group that does central IT for the company (Exchange, SharePoint, Oracle apps, etc.), but there are dozens and dozens of applications out there. That means there are dozens of “network teams” around the world doing their own thing.
News - Cisco Announces EOL Schedule for 6500s
This is a surprise, but Cisco has announced the end of life of the 6500 switches that we all know and love. Usually Cisco gives a platform a few more years after they decide to retire it, but the schedule only gives the 6500s one more year of service. I’m sure this goes back the success and recent expansion of the Nexus line of switches.
Here’s the lowdown from Cisco.
DHCP ACK Error on Avaya Phones
Lessons Learned from a Bad Day
IIUC Notes - Getting Phones on the LAN
More study notes. Correct if wrong, though I hope I get some of it right since I already since I’m an R&S guy. :$
**Switchport Configuration
**
- switchport mode access: This config makes the port an access port that carries the primary and voice VLAN traffic
- switchport mode trunk: This config akes the port a trunk unconditionally, but it will still send DTP messages
- switchport nonegotiate: This config keeps the port from sending DTP messages.
- switchport mode dynamic auto: If the port receives DTP messages, it will become a trunk. If not, it will be an access port.
- switchport mode dynamic desirable: The port actively sends DTP messages trying to become a trunk. This is the default configuration on a Cisco switch.
Cisco IP Phone Boot Process
Stubby Post - What’s an IDB?
I posed the philosophical question on Twitter the other day asking if single trunk links should be in an EtherChannel bundle just in case you need to expand later. I didn’t really expect an answer, but the ever-verbose @WannabeCCIE pointed out (in not so many words) that you should watch your IDBs. What is that?
That’s an interface descriptor block. I admit that I’m not intimately familiar with them, bu they’re data structs in IOS used to keep track of the interfaces on that device. They come in two flavors - hardware and software. HWIDBs usually represent a physical interface but they also represent tunnels, SVIs, PortChannels, subinterfaces, and any other virtual interface that you can configure. The SWIDBs represent the layer-2 encapsulation of each HWIDB, so you’ll see entries talking about Ethernet, HDLC, PPP, etc. That means that every interface you have on a router consumes two IDBs (there are always exceptions). That’s important because each platform and IOS version combination has a limit to the number IDBs that device supports.
Catalyst 3750s - Bad Luck with a Cisco Logo
Last week, @fletcherjoyce posted an article on his blog about his positive experiences with Cisco’s 3750 switches. If you follow my complaints tweets, you know that I’ve had quite the opposite experience with them. I would never pick on anyone, but I had to throw in my 2 cents.
I’m guessing here, but we have about 50 3750 stacks in the enterprise. Most of them are pairs, you wind up with roughly 120 switches. Since we’ve done about 20 replacements over the last 5 years, that means we have a 17% failure rate. That’s pretty horrible, isn’t it?
SWITCH - Epic Regression
Just because I like giving more money to Pearson Vue, I took the BCMSN test today to see how I would do. I passed with no problem.
In my mind, the CCNP is a technical certification, so I expect to be tested on technical topics. Are there topics beyond technology that P-levels should know? Of course there are, but I really don’t think whole chunks of the test should be about a preparation plan and rollback procedures. The BCMSN had a lot more technical questions at a much higher level of expertise; it seems much better suited to the CCNP track than the SWITCH test did.
SWITCH - Epic Fail
I did my standard 2ish-hour drive to the closest testing center today to take the SWTCH test (642-813). Utter failure. That’s 3 for those scoring at home.
The test was the absolute worst I’ve ever taken. I know that I complain a lot, but this is totally justified in my eyes. My 4th grade spelling tests were better than this. I’ve seen kindergarten plays with better production value.
First of all, it was poorly written. Whoever wrote those questions has a few pieces of information about English sentence structure missing from their skill set. A sentence needs a verb, right? Well, a lot of the sentences were missing those. It’s kind of important to know what the whole point of the sentence is, or is that too much to ask? The “drag this over here” exercise questions all started with the same 13-word phrase that left the question so long that it was unreadable. A couple of commas would have been nice in some. Others I just had to infer from the answers what they were trying to ask.
Stubby Post - UplinkFast
I’ve got a few switches daisy chained together with single links and have enabled UplinkFast on them. This switch is not the root bridge; F0/24 is the root port and F0/23 is a blocked alternate port. I’ve got debug spanning-tree uplinkfast on to help out.
SW3#sh span | incl 0/2[34] Fa0/23 Altn BLK 3019 128.23 P2p Fa0/24 Root FWD 3019 128.24 P2p
Now let’s unplug F0/24 and see what happens.
Stubby Post - Path Cost of EtherChannels
SWITCH - STP Exercise #1
Here’s an STP exercise for you. Given the bridge priorities, MAC addresses, and interface types in the diagram, calculate the root bridge, root ports, designated ports, and blocked ports. You can click on the image to enlarge it. I’ll post a solution in the next few days. As always, feel free to comment and ridicule my utter idiocy. Be gentle, though; I don’t usually post exercises like this.
Send any configuration BPDUs questions my way.
BCMSN Notes – STP States
I’ve decided to take on the CCNP certification, so I’m going to wind up with a few posts will be more my own notes than anything. :)
A switch port on a 2960 comes up with a default configuration on VLAN 1. What happens from the perspective of spanning-tree?
- First, the port comes up on blocking mode. This is to make sure that loops aren’t created without first listening to the network to see what’s going on.
- Next, if the port may be a root or designated port, the port is moved to the listening state. In this state, the port can send and receives BPDUs only. It can’t send traffic, but it can discover the other switches participating in STP.
- After the forwarding delay, the port goes into the learning state. In this state, the port can send and receive BPDUs as in listening, but it can now receive traffic. It can’t yet send any.
- After the forwarding delay again, the port goes into the forwarding state. The port can now send and receive data.
If the port is configured with spanning-tree portfast, the mode goes from blocking directly to forwarding without going through these steps. Obviously you don’t want a switch plugged into a port configured for portfast since you may wind up with a loop.
Using SSH to Run Commands on a Router or Switch
SSH is more than just a shell. You can copy files from and to a server or piece of network gear with it. You can use it to tunnel traffic. Possibly my favorite, though, is to use SSH to run a command on a remote box without interacting with a shell.
One of my biggest pet peeves with IOS (or pretty much any Cisco OS) is the lack of complex filtering. Let’s say I want to look at all the downed ports and interfaces on modules 3 and 6 of my 6509. I can’t easily do that with command from the IOS, but, on my Linux box, I can use multiple grep commands to get exactly what I want really easily. Let’s work through the example, shall we?
Server NIC Aggregation to a Cisco Switch
RSPANs on Cisco Switches
We discussed SPANs earlier, but let’s talk about RSPANs for a bit.
Can anyone guess what the “R” means? You guessed it – “Remote”. An RSPAN is a way to get traffic from a SPAN source on one switch to a SPAN destination on another switch that’s connected via a trunk.
The basic premise is that a special VLAN is created on all the switches and allowed to traverse the trunks. You then set up a SPAN session that copies your traffic to this special VLAN. This VLAN then gets the traffic to the other switches through some voodoo magic to be used as source for a SPAN on another switch.
SPANs on Cisco Switches
I can’t believe I haven’t blogged on this yet. SPANs are one of my favorite things in the world.
The switched port analyzer (SPAN) is a mechanism on Cisco switches that allows you to take traffic on one port and copy it to another. It’s generally used to get traffic to a sniffer or IDS for analysis, but it’s a great tool to use to sample traffic from a host for troubleshooting.