STP Overview Video

December 12, 2013

Below is a short overview of STP and how to navigate it in the CISCO IOS enjoy.

[youtube=http://www.youtube.com/watch?v=zapAZRP7mEk&w=560&h=315]


Etherchannels

October 20, 2013

To finish up the first topic under LAN Switching Technologies, identifying enhanced switching technologies. I will give you an overview of Etherchannels.

What they are, what they do and how to configure one for yourself.

Firstly an Etherchannel is a configuration that allows a switch to treat two parallel links as one physical link. This also allows STP to treat the entire channel as one and either block or forward traffic over this link as per vlan.

As a result of this, the switch can now load balance traffic over the channel. Without Etherchannel one of the links would be blocked by STP, as is shown in the example below.

Before Etherchannel, STP blocks Fa0/2 from SW1.

In the above example, SW0 and SW1 are connected via two links. Fa0/1 to Fa0/1 and Fa0/2 to Fa0/2, but due to STP it has blacked Fa0/2 on SW1 from forwarding frames. STP at this point see’s these two links as they are, separate from one another.

02_spanning-tree_onSW1When we run a show spanning-tree command on SW1 we discover that, port Fa0/1 is in a forwarding state as the RP, Port Fa0/2 is blocked and Fa0/3 is the DP. Running the show spanning-tree command on SW0 would show us that it is the Root Bridge and all three ports are DP’s or Designated Ports.

To make STP use both the Fa0/1 and Fa0/2 links on SW0 and SW1 we need to configure the interfaces in the same Channel-group or Etherchannel. Doing so will change how STP see’s those two links. From two separate links to one link which can be used to load balance. We are not actually making one physical link but like a VLAN where we can make many Virtual LAN’s we are creating one Virtual Link using 2 parallel links.

For this network the configuration is virtually the same, just remember you will need to add the correct interfaces in the same channel group for an Etherchannel to become active.

The following image shows you how to correctly configure an Etherchannel, using the command channel-group 1 mode on, you can configure upto 8 parallel links on the one Etherchannel.

03_Channel-group

Below you can see the new show spanning-tree output displayed on SW1 after the Etherchannel has been configured. Notice the Po1, that indicates that all the configuration parameters checked and that is the new channel group 1, which was configured earlier.

04_newSTPonSW1

The new diagram, with the two links now bundled in the new Etherchannel. Notice how Fa0/2 has come out of blocking mode to become a RP

05_Etherchannel


Spanning Tree Protocol Port Roles

October 1, 2013

The diagram below is the network in use:

Switch 3

FA0/1 – DP

FA1/1 – DP

Switch 1

FA1/1 – RP

FA0/1 DP

Switch 2

FA1/1 – RP

FA0/1 – DP

Switch 0

FA0/1 – RP

FA1/1 – ALTN

The lab for this example can be downloaded  by clicking here
01_Diagram 02_STP_Ports_Roles 03_STP_Port_Roles


Setting A Switch’s Revision Number To Zero

September 1, 2013
  • configure the new switch for VTP transparent mode and then back to VTP client or server mode, which resets the VTP revision number to 0
  • Erase the new switch’s vlan.dat file in flash and reload the switch. This file contains the switch’s VLAN database, including the revision number

VLAN & VTP Switch Defaults (CISCO)

August 26, 2013
  • VTP server mode
  • No VTP domain name
  • VLAN 1 and VLAN’s 1002-1005 are automatically configured (cannot be deleted)
  • All access interfaces are assigned to VLAN 1 (an implied switchport access vlan 1 command)

Creating A VLAN Step By Step

August 26, 2013

Step 1 

 a. From configuration mode, use the vlan vlan-id global configuration

command to create the VLAN and to move the user into VLAN

configuration mode.

 

b. (Optional) Use the name name VLAN subcommand to list a name

for the VLAN. If not configured, the VLAN name is VLANZZZZ,

where ZZZZ is the 4-digit decimal VLAN ID.

 

Step 2  To configure a VLAN for each access interface, follow these steps:

 a. Use the interface command to move into interface configuration

mode for each desired interface.

 

b. Use the switchport access vlan id-number interface subcommand to

specify the VLAN number associated with that interface.

 

c. (Optional) To disable trunking on that same interface, ensuring that

the interface is an access interface, use the switchport mode access

interface subcommand.


Switch IP & Default Gateway Checklist

June 7, 2013
  1. Enter VLAN1 configuration mode using the Interface VLAN 1 global configuration command
  2. Assign an IP address and mask using the IP address ip address mask interface sub-command
  3. Enable the VLAN1 interface using No shutdown interface subcommand
  4. Add the IP default-gateway ip address global command to configure the default gateway

DCE and Setting the Clock Rate

December 10, 2012
Serial Link

Serial Link

Setting the Clock Rate (CLOCK RATE INTERFACE COMMAND)

 

Router#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

Router(config)#int serial 1/0

Router(config-if)#clock rate ? (Can be either clockrate or clock rate depending on model)

With the exception of the following standard values not subject to rounding,

1200 2400 4800 9600 14400 19200 28800 38400

56000 64000 128000 2015232

 

accepted clockrates will be bestfitted (rounded) to the nearest value

supportable by the hardware.

 

<246-8064000>    DCE clock rate (bits per second)

 

Router(config-if)#clock rate 56000

Router(config-if)#^Z

 

Remember the DCE Provides the clock rate to the DTE and without this, your line protocol will remain down