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 匹配。

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值