BGP OSPF Questions: Difference between revisions
→STP
(→RSTP) |
(→STP) |
||
Line 538:
== STP ==
* STP-is used to avoid unwanted loops in the environment.▼
* STP created one refernce point in n/w that is called root of tree ,based on rerfernce point decides whether there is redundant path in the n/w ▼
* Layer 2 forwading -By default CAM table entries got aged out every 300 sec ▼
* We can also create static mac address table entry in cam - command ( mac-address-table static mac-address VLAN id interface type )▼
▲* STP created one refernce point in n/w that is called root of tree
▲* Layer 2 forwading - By default CAM table entries got aged out every 300 sec
▲* We can also create static mac address table entry in cam - command (
* Root bridge - selection is based on bPDU contains bridge id which is combination of mac address and priorty (both are chosen lower
▲Bridge segments collsion domain dose not segmets broadcast doamin
* 802.1d states:
▲Root bridge -selection is based on bPDU contains bridge id which is combination of mac address and priorty (both are chosen lower )
Disabled
Blocking (listen to incoming BPDU)
▲then there is selection of root port on non root bridge .
Listening
Learning
Forwading (tranmit BPDU)
* Hello time - Default is 2 seconds
▲for root port selection is based on following paramteters ( lower root bride id ,lowest path to root brige ,lowest sender bridge id ,lowest port priority ,lowest port id .
* Forward delay - time interval swich port spends in listening and learning states
* In case if any interface flap (
* Port fast feature -
▲for every lan segment -there is secltion of DP (selection is based on root id creteria)
spanning tree VLAn vlanid priotry (bridge priority)
spanning tree vlan vlanid root (primary, secondary, diameter)
▲Hello time -Default is 2 seconds ,time interval in which subsequent configration BPDU send root bridge ,for non root bridge TCN BPDU is 2 sec .
spanning tree vlan vlanid cost
▲Forward delay -time interval swich port spends in listening and learning states ,default time is 15 second
▲Maximum age --time when max age is timed out is 20 seconds when the BPDU is aged out .
▲In case if any interface flap ( up /down states )switch will send the TCN BPDU untill it reach root bridge ,root bridge will send the configration BPDU with TC flag set and each switch
▲total time the port trantion from blocking to forwadig state is 30 seconds
▲Port fast feature -when we enable port fast on the port so TCN BPDU is send in case of Topolgy change and port directly transtion to forwading state .SO there are chances that port fast enabled port could cause STP loops if the accidently switch is installed on that port ,to prevnet this we use BPDU Guard along with STP.
▲We can manully select the root bridge -spanning tree VLAn vlanid priotry (bridge priority)
▲we can set mannualy to become one bridge to be root bridge ( spanning tree vlan vlan id root (primary ,secondary,diameter)
▲We can aslo set the path cost -spanning tree vlan vlanid cost
▲port id is 16 bit -8 bit port priorty + 8 bit port number
▲spannin tree vlan vlan id port priority
== RSTP ==
|