Reference Guide

Brocade Fabric OS Command Reference 1031
53-1004112-02
snmpConfig
To enable the SW-MIB MIB only without changing the current trap configuration:
switch:admin> snmpconfig --enable mibcapability \
-mib_name SW-MIB
Operation succeeded
switch:admin> snmpconfig --show mibcapability
[...]
SW-TRAP: YES
swFCPortScn: YES
swEventTrap: YES
DesiredSeverity:4
swIPv6ChangeTrap: YES
DesiredSeverity:4
swPmgrEventTrap: YES
swFabricReconfigTrap: YES
swFabricSegmentTrap: YES
swExtTrap: NO
swStateChangeTrap: NO
swPortMoveTrap: NO
swBrcdGenericTrap: YES
swDeviceStatusTrap: YES
swZoneConfigChangeTrap: NO
[...]
To re-enable all traps under the SW-MIB category:
switch:admin> snmpconfig --set mibcapability \
-mib_name SW-MIB -bitmask 0xFFF
Operation succeeded
switch:admin> snmpconfig --show mibcapability
[...]
SW-TRAP: YES
swFault: YES
swSensorScn: YES
swFCPortScn: YES
swEventTrap: YES
DesiredSeverity:None
swIPv6ChangeTrap: YES
swPmgrEventTrap: YES
swFabricReconfigTrap: Yes
swFabricSegmentTrap: Yes
swExtTrap: Yes
swStateChangeTrap: NO
swPortMoveTrap: NO
swBrcdGenericTrap: NO
[...]
To display the configuration for all MIBs and associated traps:
switch:admin> snmpconfig --show mibcapability
FE-MIB: YES
SW-MIB: YES
FA-MIB: YES
FICON-MIB: YES
HA-MIB: YES
FCIP-MIB: YES
IF-MIB: YES