这是几年前遇到的问题,当时被折腾了一番。
当时是为一个项目开局,用了几台 MLXe-8 和MLXe-16。每台 MLXe 配置了 1 块 8 口万兆接口板和 1 块 24 口千兆光口板。首先给其中的 1 台 MLXe-16 加电,结果 show module 发现 24 口光口板一直处于interactive 的状态,不能 up 起来。打电话给厂商,厂商也不知道咋回事。然后翻墙 google 了一番,找到了原因:
On Brocade NetIron XMR and Brocade MLX series devices, SNMP Management Information Base
(MIB) uses Interface Index (ifIndex) to assign a unique value to each port on a module or slot. The
number of indexes that can be assigned per module is 20, 40, or 64, depending on the number of
ports on the module.
Syntax: [no] snmp-server max-ifindex-per-module [20 | 40 | 64]
20 is the default.
对于 MLX/MLXe/XMR 系列交换机,MIB 要使用 Interface Index (ifindex) 给每个物理端口分配唯一的 value,而能够分配给一个接口板的 index 最多数量,有3个选项:20,40 或 64。这是用snmp-server max-ifindex-per-module 这条命令来指定的。