Can anyone explain in details the STP port state?????

Answers were Sorted based on User's Feedback



Can anyone explain in details the STP port state?????..

Answer / jitendera sinha

Disabled
Blocked
Listening
Learning
Forwarding

this are the 5 steps which take 50 sec to become amber to green

now come to its detail
WHAT IS STP
A loop avoidance mechanism called STP has been developed to
alleviate the 3 issues .

There are two varieties of Spanning Tree Protcol, STP
(802.1d) and RSTP ('Rapid' 802.1w) both work in a similar way.

A Spanning Tree Algorithm examines the switched network,
and, through a series of decisions (discussed below) places
each port in the loop into either Forwarding or Blocking
state, therefore breaking the loop.

Types of port in STP:

1. Designated Port (DP) Closest to Root i.e. All Ports on
the Root Switch.
2. Route Port (RP) One Per Switch.
3. Blocking Port.

The process the switches go through to decide which port
they place in blocking or forwarding state is governed by
the position of a 'Root Switch' (also known as 'Root Bridge'):

* To decide which switch is the root switch, each switch
begins by claiming to be the Root Switch they all send out
an STP messages called BPDU's (Bridge Protocol Data Unit). A
fight-off happens to determine the final root based on a
unique BID (Bridge Identifier) contained within the BPDU,
the BID is made up of two components; a priority value and
the switch MAC address. By default each switch begins off
with a priority of 32,768. The switch with the lowest BID
wins the honor of being the Root Bridge.
* All ports on the root switch are placed into
forwarding state. These ports are known as 'Designated
Ports' (DP). You can NOT have a Root Port or Blocking Port
on the root switch.

* All the remaining non-root switches determine which
port is closest to the root switch and places the port with
the least cost (based on hops and/or bandwidth) into
forwarding state. These are known as 'Root Ports' (RP).
* There can only ever be one RP per segment, and so if
there are more than one paths with the same cost the
decision is made based on the BID of the neighboring
switches, the port connecting to the switch with the lowest
BID becomes a RP.
* All ports are placed in blocking state and the loops
stopped.


Once the switches have all assigned ports then the switched
network is said to be "Converged".

As discussed above the BID is made up of:

* A Priority Value
* MAC Address

The Priority Value of the BID can be manually changed by an
administrator, this is useful of you want to force a switch
in the middle of a network to be a Root Switch.

note: If a newer switch is plugged into a working network of
a different manufacturer it may disrupt the network if
manual BID priorities are not set. A Cisco Switch (MAC
Vendor ID 00000C) will win over a 3COM switch (MAC Vendor ID
001AFC) because Cisco equipment has a lower MAC address.


You could switch STP off on all the switches, but this is
not advisable, as all it would take is someone to plug a
cable in the wrong port to cause a loop.

note: If two links between two switches, the decision of
which port to block can no longer be based on the BID
because they would be the same for both links, the selection
is therefore made on the lowest port number.


During the STP selection process ports can be in one of the
following statuses:

* Disabled
* Blocked
* Listening *
* Learning *
* Forwarding

* Ports in Listening & Learning state can take upto 30
seconds, during which no traffic will pass through the port.
This may disrupt services such as DHCP and Network
Neighborhood. Switching on 'portfast' by using the
"spanning-tree portfast" command will skip the Listening and
Learning stage. Do not set portfast on inter switch ports or
branch ports, however you could set portfast on a leaf port
(ports connected to hosts).


I HAVE WRITEN THAT WHAT I HAVE KNOW AND WHAT I HAVE IN MY
MIND IT MIGHT BE CONFUSING BUT LETS HPE IT WILL GIVE YOU
CONFIDENCE

Is This Answer Correct ?    5 Yes 1 No

Can anyone explain in details the STP port state?????..

Answer / shahin

Hi Jitu... Above mention's MAC vendors ID for CISCO & 3COM
are fixed... ya for example u took..!!!! dats the point got
confused..!!!!

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More CCNA Interview Questions

Which layer of the 7 layer model is responsible for representing the application information between 2 different OS's? For example, converting ASCII to EBCIDIC. A.) Transport B.) Application C.) Physical D.) Session E.) Presentation F.) Network

2 Answers  


Which of the following statements is false? If your Frame Relay link does not support inverse ARP, you must manually map DLCIs to network Address. One of the major advantages of Frame Relay is its ability to connect to multiple PVCs using only one physical link. DLCI addresses are determined by the network administrator when installing the network. Which of the following statements is false? If your Frame Relay link does not support inverse ARP, you must manually map DLCIs to network Address. One of the major advantages of Frame Relay is its ability to connect to multiple PVCs using only one physical link. DLCI addresses are determined by the network administrator when installing the network. In order for two ends of virtual circuits to communicate using Frame Relay, their network addresses must be mapped to DLCIs.

2 Answers   Wipro,


What does 'P' mean when running a Trace? A.) Good route B.) Protocol unreachable C.) Source Quench D.) Destination unreachable

1 Answers  


What is the routing metric used by RIP? A.) Route poisoning B.) Split horizon C.) Hop Count D.) TTL

4 Answers   jetking, Tata Motors,


Identify the keystroke used to terminate the setup mode? A.) Ctrl-K B.) Crtl-C C.) Ctrl-Z D.) Crtl-End

1 Answers   Cisco, HCL,






Identify the command to display the configured IP routing protocols? A.) show protocols B.) show protocols all C.) show routing-protocols D.) show ip protocols

2 Answers  


Regarding frame relay, which of the following statements are true? A.) You must use ANSI encapsulation if connecting to non-Cisco equipment B.) You must use IETF encapsulation if connecing to non-Cisco equipment C.) You must use Q.933a encapsulation if connecing to non-Cisco equipment D.) You must use Cisco encapsulation if connecting to non-Cisco equipment

1 Answers  


Identify the purpose of the Trace command? A.) Explorer packet transmitting routing information B.) Test connectivity C.) Determine the path a packet is taking through the network D.) Transmits user data when buffers are full

1 Answers  


can anybody send sample question on CCNA Exam.pls send to my email ca6thi@gmail.com

0 Answers  


Which port numbers are used by TCP and UDP to set up sessions with other hosts? A.) 1024 and above B.) 6 and 17 respectively C.) 1-25 D.) 6-17

6 Answers  


what is the diffrence betwwen telnet and ssh.this question is asked by nikhil and i am plasing the answer here insteed of his personal mail.

4 Answers  


Which command will show you if you have a DTE or DCE cable connected to an interface?

4 Answers   DFSS,


Categories