beautypg.com

Brocade Fabric OS Administrators Guide (Supporting Fabric OS v7.3.0) User Manual

Page 201

background image

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

swStateChangeTrap: NO

swPortMoveTrap: NO

swBrcdGenericTrap: NO

swDeviceStatusTrap: NO

swZoneConfigChangeTrap: NO

[...]

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

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

Operation succeeded

switch:admin> snmpconfig --show mibCapability

[...]

SW-MIB: YES

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

Configuring Protocols

Fabric OS Administrators Guide

201

53-1003130-01