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

How does a switch use store and forward? A.) By using a Class I repeater in a collision domain B.) The LAN switch copies the entire frame into its onboard buffers and then looks up the destination address in its forwarding, or switching, table and determines the outgoing interface C.) By using broadcast addresses as source addresses D.) The switch waits only for the header to be received before it checks the destination address and starts forwarding the packets

2 Answers  


Which two describe frame tagging? A.) Examines particular info about each frame B.) A unique ID placed in the header of each frame as it traverses the switch fabric C.) A user- assigned ID defined to each frame D.) The building of filter tables

1 Answers  


Utilizing RIP, what is the limit when it comes to number of hops?

0 Answers  


What does a metric of 16 hops represent when using RIP? A.) Number of hops to the destination B.) Destination unreachable C.) Number of routers D.) Bandwidth

3 Answers  


What is default cost of serial interface in ospf?

0 Answers  






Identify 3 characteristics of ISDN? A.) Transports voice and data B.) Transports voice only C.) Support both BRI and PRI D.) Runs over existing phone lines E.) Same as X.25

1 Answers  


What are the two types of access lists that can be configured on a Cisco router? A. Standard B. Extended C. Filtering D. Packet

2 Answers  


What three occurrences will reset the holddown timer after a triggered update? A.) Infinity is finally defined as some max number B.) HD Timer expires C.) Another update is received indicating a better metric D.) The router receives a processing task proportional to the number of links in the internetwork E.) The router detects fault LSP's propagating through the internetwork F.) Another update is received indicating net status changed

1 Answers  


Identify the 2 commands to copy a configuration from a TFTP server to RAM? A.) configure network B.) configure overwrite C.) copy backup-config running-config D.) copy tftp running-config

2 Answers  


Novell NetWare has an Ethernet frame type called Ethernet_SNAP. What is the matching Cisco command line keyword for this encapsulation method? A.) arpa B.) sap C.) snap D.) gns E.) dix F.) novell-ether

1 Answers  


what is meant by domain ? what is mean by DNS?

22 Answers   Big Cinemas, TCS,


Identify the command to display the IP routing table? A.) show route B.) show ip route C.) show ip table route D.) show ipx route

1 Answers  


Categories