Fabric OS Command Reference
939
53-1001764-01
snmpConfig
2
To set the access control 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.
To set the severity level for switch events and Fabric Watch alerts:
switch:admin>
snmpconfig --set mibCapability
The SNMP Mib/Trap Capability has been set to support
SW-TRAP (yes, y, no, n): [yes]
swFCPortScn (yes, y, no, n): [yes]
swEventTrap (yes, y, no, n): [yes]
Desired Serverity Level (1- critical 2- error 3 \
-warning 4- informational 0 -None):
4
swFabricWatchTrap (yes, y, no, n): [yes]
Desired Serverity Level (1- critical 2- error 3 \
-warning 4- informational 0 -None):
2
[...]
To enable the
swFabricWatchTrap
noninteractively:
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-TRAP: NO
swFault: NO
swSensorScn: NO
swFCPortScn: NO
swEventTrap: YES
DesiredSeverity:4
swFabricWatchTrap: NO
DesiredSeverity:2
swTrackChangesTrap: NO
swIPv6ChangeTrap: NO
Summary of Contents for Fabric OS v7.0.1
Page 1: ...53 1002447 01 15 December 2011 Fabric OS Command Reference Supporting Fabric OS v7 0 1 ...
Page 6: ...vi Fabric OS Command Reference 53 1002447 01 ...
Page 30: ...4 Fabric OS Command Reference 53 1002447 01 Using the command line interface 1 ...
Page 1132: ...1106 Fabric OS Command Reference 53 1002447 01 General Fabric OS commands and permissions A ...