根端口和指定端口的区别
根端口:
根端口是一个选定的端口,它具有到根桥的最低路径成本。网桥(交换机)上的根端口是从交换机到根网桥的生成树路径成本最低的端口。
- 根端口是到单个根桥的直接链接,或者我们可以说它具有到根桥的最短路径。
- 如果有多个连接连接到根桥,则通过评估每条链路的带宽来计算端口成本。
指定港口:
指定端口在特定局域网 (LAN) 上具有最低的生成树路径成本。路径开销取决于桥接端口接口的速度。网段任一侧的每个端口的成本和 STP 计算的该端口返回根桥的总成本用于在每个网段的基础上选择指定端口。
- 一个网桥可能有许多指定端口(交换机)。
- 一个根桥(Root Switch's)的端口都是指定端口,根桥(Root Switch)上没有根端口。
让我们看看根端口和指定端口之间的区别:Root Port Designated Port A single selected port on a switch, other than root switch. The designated port is the port on every switch(root/non-root switch). Least path cost from a non-root bridge to reach the root bridge. Lowest STP cost on a particular local area network (LAN) segment to the root bridge. Only one root port is presents on a non-root switch. There may be multiple designated ports presents on a switch(root/non-root). No root ports are present on a root switch. All ports of root switch are designated ports. One end If root port, opposite will be designated port (never be blocking port). One end is the designated port, opposite will be either the designated port or non-designated port.