beautypg.com

Dell POWEREDGE M1000E User Manual

Page 36

background image

16

Fabric OS MIB Reference

53-1002750-01

Loading Brocade MIBs

1

switch:admin> snmptraps -unblock -port 1/10

To block port traps on slot 1 and port 10:

Switch:admin> snmptraps -block -port 1/10

Example of accessControl configuration:

switch:admin> snmpconfig --set accessControl
SNMP access list configuration:
Access host subnet area in dot notation: [0.0.0.0] 192.168.0.0
Read/Write? (true, t, false, f): [true]
Access host subnet area in dot notation: [0.0.0.0] 10.32.148.0
Read/Write? (true, t, false, f): [true] f
Access host subnet area in dot notation: [0.0.0.0]
Read/Write? (true, t, false, f): [true]
Access host subnet area in dot notation: [0.0.0.0] 10.33.0.0
Read/Write? (true, t, false, f): [true] f
Access host subnet area in dot notation: [0.0.0.0]
Read/Write? (true, t, false, f): [true]
Access host subnet area in dot notation: [0.0.0.0]
Read/Write? (true, t, false, f): [true]
Committing configuration...done.

Example of mibCapability configuration:

To enable the swFabricWatchTrap non-interactively:

switch:admin> snmpconfig --enable mibCapability -mib_name SW-MIB -trap_name
swFabricWatchTrap
Operation succeeded

To enable the swEventTrap of the SW-MIB category only (this operation disables all other SNMP
traps in this MIB category):

switch:admin> snmpconfig --set mibCapability -mib_name SW-MIB -bitmask 0x10
Operation succeeded
switch:admin> snmpconfig --show mibCapability
[...]
SW-MIB: NO
swFault: NO
swSensorScn: NO
swFCPortScn: NO
swEventTrap: YES
DesiredSeverity:None
swFabricWatchTrap: NO
DesiredSeverity:None
swTrackChangesTrap: NO
swIPv6ChangeTrap: NO
swPmgrEventTrap: NO
swFabricReconfigTrap: NO
swFabricSegmentTrap: NO
swExtTrap: NO
[...]

To enable the SW-MIB MIB only without changing the current trap configuration:

switch:admin> snmpconfig --enable mibCapability -mib_name SW-MIB