Link to home
Start Free TrialLog in
Avatar of jskfan
jskfanFlag for Cyprus

asked on

Alternate/Backup Port

I am trying to understand  in which scenario Alternate/Backup Ports can be used.
http://www.9tut.com/rapid-spanning-tree-protocol-rstp-tutorial
on the above Link they give example of a HUB , but I do not think anyone uses a Hub nowadays. However what if instead of a HUB as shown on the Link, we put  SwitchX with 2 uplinks connected to SW2
SwitchX is connect to other Downstream LAN

User generated image
SOLUTION
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Backup and alternative ports are port roles in RSTP.
Alternative port is port in discarding state and it is just another potential path to the root bridge. If some of the currently active paths to the root bridge becomes unavailable port will change state to forwarding and become new designated port or root port depending on what link on your topology drawing gets broken.
Backup port is port in discarding state that is connected to the shared network segment (like hub - so you will rarely see these today).

You can read Cisco's explanation - Understanding Rapid Spanning Tree Protocol (802.1w)

It is more interesting with this topology:
User generated image
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I forgot to mention above - backup port is always located on switch with designated port (as it can be seen on above picture (taken from Juniper site)).
Avatar of jskfan

ASKER

Craig Beck
This is theoretical guys, just for learning and understanding how STP works.  :-)

Correct..

It is hard to Master one thing while you are doing Other things
Avatar of jskfan

ASKER

Well, Alternate Port is just Blocking Port in STP
The gray area is the Backup Port, since HUBs are no longer used nowadays... Just thought to throw this question to see if Backup Ports are used in any other scenario than HUBs
Avatar of jskfan

ASKER

If you turn off STP on one Switch that is connected to another switch with 2 links. the other Switch will have one Forwarding Port and one Backup Port. Because when you turn off STP on a Switch , it will operate as a HUB
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Although HUB are not used today, some inexpensive switches don't support STP so the will produce loops within a network just like a HUB.
Additionally, to really function as HUB also ports on the switch should be configured in half duplex mode (forgot it above and comment is not editable anymore).
Avatar of jskfan

ASKER

So to Make a Switch works as a HUB.
-Turn off STP
- execute this command : no mac address-table learning vlan #
-configure each connected port to be Half Duplex
Yes.
MAC address learning can be also disabled per port:
no mac-address-table learning interface <type> <port>
Avatar of jskfan

ASKER

Thank you Guys !