Reference Guide
To send all traps to the recipient 10.35.52.33:
switch:admin> snmpTraps --send -ip_address 10.35.52.33
Number of traps sent : 30
To send the sw-fc-port-scn trap to the configured recipients:
switch:admin> snmpTraps --send -trap_name sw-fc-port-scn
Number of traps sent : 1
To send the sw-fc-port-scn trap to the recipient 10.35.52.33:
switch:admin> snmpTraps --send -trap_name sw-fc-port-scn -ip_address 10.35.52.33
Number of traps sent : 1
To unblock port traps on all the ports or on a specific port:
switch:admin> snmptraps --unblock -ports ALL
switch:admin> snmptraps --unblock -port 1/10
To block port traps on slot 1 and port 10:
Switch:admin> snmptraps --block -port 1/10
NOTE
Blocking of all ports using the ALL option is not allowed.
The following example displays the 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.
The following examples display the mibCapability configuration.
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
swIPv6ChangeTrap: NO
swPmgrEventTrap: NO
swFabricReconfigTrap: NO
swFabricSegmentTrap: NO
swExtTrap: NO
swStateChangeTrap: NO
swPortMoveTrap: NO
swBrcdGenericTrap: NO
Configuring Protocols
Brocade Fabric OS Administration Guide, 8.0.1
208 53-1004111-02