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]
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]
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.
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.
When 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.
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.
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
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
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.
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