dot1dTpFdbPort 和 dot1qTpFdbPort 有什么区别

有点难以理解两者之间的区别

  dot1dTpFdbPort

Either the value '0', or the port number of the port on
which a frame having a source address equal to the value
of the corresponding instance of dot1dTpFdbAddress has
been seen.  A value of '0' indicates that the port
number has not been learned, but that the bridge does
have some forwarding/filtering information about this
address (e.g., in the dot1dStaticTable).  Implementors
are encouraged to assign the port value to this object
whenever it is learned, even for addresses for which the
corresponding value of dot1dTpFdbStatus is not
learned(3).

 dot1qTpFdbPort
 Either the value '0', or the port number of the port on
which a frame having a source address equal to the value
of the corresponding instance of dot1qTpFdbAddress has
been seen.  A value of '0' indicates that the port
number has not been learned but that the device does
have some forwarding/filtering information about this
address (e.g. in the dot1qStaticUnicastTable).
Implementors are encouraged to assign the port value to
this object whenever it is learned even for addresses
for which the corresponding value of dot1qTpFdbStatus is
not learned(3).

另外,在查询 dot1qTpFdbPort 时,我无法理解最后 6 个(=MAC 地址)之前的八位字节有什么用。

例如,来自实时系统:

名称/OID:dot1qTpFdbPort.13.72.15.207.136.233.144;值(整数):372

所以我知道 72.15.207.136.233.144 是以十进制表示的 MAC 地址的八位字节,但 13 是什么?对应的VLAN?

1 个回答

802.1D 是通用桥接的标准。802.1Q 定义了标记的 VLAN 和优先级代码点。

对于 dot1q,13最有可能是 VLAN ID (VID)。许多系统使用 VID 作为 CAM 表中 MAC 地址的扩展,因此条目仅与相同的 VLAN 匹配。

Guess you like

Origin blog.csdn.net/allway2/article/details/121357505