Nexus 生成树上的奇怪输出?

网络工程 局域网 第 2 层
2022-02-02 11:40:51

我对这个生成树输出感到非常困惑。每个后续的 vlan id 都有一个高于配置的 16384 的优先级。我认为这与扩展的系统 id 有关,但我不确定如何。

VLAN0001
  Spanning tree enabled protocol rstp
  ***Root ID    Priority    16385***
             Address     xxxx.xxxx.xxxx
             This bridge is the root
             Hello Time  2  sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    16385  (priority 16384 sys-id-ext 1)
             Address     xxxx.xxxx.xxxx
             Hello Time  2  sec  Max Age 20 sec  Forward Delay 15 sec

...

VLAN0005
  Spanning tree enabled protocol rstp
  ***Root ID    Priority    16389***
             Address     xxxx.xxxx.xxxx
             This bridge is the root
             Hello Time  2  sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    16389  (priority 16384 sys-id-ext 5)
             Address     xxxx.xxxx.xxxx
             Hello Time  2  sec  Max Age 20 sec  Forward Delay 15 sec
...

VLAN0020
  Spanning tree enabled protocol rstp
  ***Root ID    Priority    16404***
             Address     xxxx.xxxx.xxxx
             This bridge is the root
             Hello Time  2  sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    16404  (priority 16384 sys-id-ext 20)
             Address     xxxx.xxxx.xxxx
             Hello Time  2  sec  Max Age 20 sec  Forward Delay 15 sec
1个回答

如果您在交换机上将 VLAN 的优先级设置为 0,并启用 sys-id 扩展,它只会将系统扩展号添加到设置的优先级中。这很可能是您看到数字更高的原因。

Fe,您将 VLAN20 的优先级设置为 16384,但 sys-id-ext 是 20。所以它就像设置的优先级加上 sys-id-ext 一样简单。

顺便说一句,sys-id-ext 等于 VLAN 标识符。

另请参阅:生成树默认优先级值