root path selection








root path selection

non-root switch receives periodic STP BPDUs that contain "root path cost" ( calculate by the neighbor)


Local switch add the "port cost" to the root path costLowest root path cost
the interface with the lowest root path cost become the root portLowest Port Cost


if same port cost
port id is the tier breakerLowest port idÂ