Reference Guide

1030 Brocade Fabric OS Command Reference
53-1004112-02
snmpConfig
To set the SNMPv3 configuration of a switch noninteractively:
switch:admin> snmpconfig --set snmpv3 -index 2 -user user1 \
-host 1.3.4.5 -port 178 -severity 5 -auth_proto 2 \
-auth_passwd "password1" -priv_proto 3 -priv_passwd "password2" \
-engine_id "80:00:08:08:08:98:AB:5C:01" -notify_type informs \
Committing configuration.....done
To set the severity level for switch events and MAPS alerts interactively:
switch:admin> snmpconfig --set mibcapability
[...]
SW-TRAP (yes, y, no, n): [yes]
swFCPortScn (yes, y, no, n): [yes]
swEventTrap (yes, y, no, n): [yes]
DesiredSeverity: (0..4) [0] 4
swIPv6ChangeTrap (yes, y, no, n): [yes]
DesiredSeverity: (0..4) [0] 4
swPmgrEventTrap (yes, y, no, n): [yes]
[...]
To enable the mapsTrapAM noninteractively:
switch:admin> snmpconfig --enable mibcapability \
-mib_name SW-MIB -trap_name mapsTrapAM
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-TRAP: NO
swFCPortScn: YES
swEventTrap: YES
DesiredSeverity:4
swIPv6ChangeTrap: YES
DesiredSeverity:None
swPmgrEventTrap: YES
swFabricReconfigTrap: YES
swFabricSegmentTrap: YES
swExtTrap: NO
swStateChangeTrap: NO
swPortMoveTrap: NO
swBrcdGenericTrap: YES
swDeviceStatusTrap: YES
swZoneConfigChangeTrap: NO
[...]