beautypg.com

Dell POWEREDGE M1000E User Manual

Page 920

background image

888

Fabric OS Command Reference

53-1001764-02

snmpConfig

2

Community (ro): [public]

Trap Recipient's IP address: [0.0.0.0]

Community (ro): [common]

Trap Recipient's IP address: [0.0.0.0]

Community (ro): [FibreChannel]

Trap Recipient's IP address: [0.0.0.0]

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