This is probably a simple one but I haven't found the answer yet
In spanning tree there is a number called the "designated port id" that can be seen by doing a <show spanning tree detail> the number looks like 128.2 if you do a <show spanning-tree active> command the number is called "Prio.Nbr". I'm just trying to find a definition of this value, what is it? what is it used for? and how can it be changed (or would I want to change it)?
The designated port id, is used as the last step in the 4 step spanning-tree path secection criteria, basically, if all previous steps are tied, then it will use the port with the lowest port id, where all ports have a default value of 128, and also have the port number in the value, ie port 3 is 128.3, port 6 is 128.6, a switch will prefer the lowest port id, so if a switch has two paths to choose from and one is 128.10 and the other 128.15, it will use the 128.10 path,
You can change the value on the port itself per vlan, however note that this must be configured on the remote side switch port, as the port id of of the neighbour port is used to select best path.
You would only use this if you had switch A connected to switch B via two physical ports.
Switha---switchb port 6
switcha---switchb port 10
If we configu switchb as the root switch, then switcha will recieve same root bridge bpdu from two ports, 6 & 10, since they both match we must use path select step 2 path cost, since both ports are fast ethernet they have the same path cost, 19, so we now must use path select step2, sender bridge id, since the sender is switchb on both ports, then this is also the same, so we use step4, port id, since port 6 has value of 128.6, and port 10 has 128.10, we choost port 6 as best path to root, and block port 10.
If you were to config port 10 on switchb with spann tree port-prioirty vlan x 64, then switcha will see this as 64.10 and it is now better than 128.6 and select this port as root port.
This is actually a pretty cool feature, i didn't even know it existed until I was looking for a solution to advertise a subnet (prefix in BGP talk), only if a certain condition existed. This is exactly what conditional advertisements does
j ai une question j ai achete un routeur cisco 887VA-k9 , je le configuré avec la configuration ci- dessous
si je le lier avec mon pc portable sur l un de ses ports directement ça marche toute est bien ( la connexion internet + m...
Attached policy provides CLI access to the Cisco 4G router over text messaging. Two files are in the attached .tar file:
2. PDF with instructions on how to load and use the .tcl file.