Brocade Fabric OS Command Reference (Supporting Fabric OS v7.3.0) User Manual

Page 1097

Advertising
background image

Fabric OS Command Reference

1067

53-1003131-01

snmpConfig

2

Community (rw): [OrigEquipMfr]

Trap Recipient's IP address: [1080::8:800:200C:1230] \

10.32.147.113

Community (rw): [private]

Trap Recipient's IP address: [0.0.0.0]

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] 2001:0db8:1234:1::1/128

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] 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 display the access control configuration:

switch:admin> snmpconfig --show accessControl

SNMP access list configuration:

Entry 0: Access host subnet area 192.168.0.0 (rw)

Entry 1: Access host subnet area 2001:0db8:1234:1::1/128 (rw)

Entry 2: No access host configured yet

Entry 3: No access host configured yet

Entry 4: No access host configured yet

Entry 5: No access host configured yet

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

Advertising