Reference Guide

Brocade Fabric OS Command Reference 1033
53-1004112-02
snmpConfig
To display the access control configuration:
switch:admin> snmpconfig --show accesscontrol
SNMP access list configuration:
Entry 0: Access host subnet area 2.3.4.5 (ro)
Entry 1: No access host configured yet
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 configure system group parameters and verify the configuration noninteractively:
switch:admin> snmpconfig --set systemgroup -syscontact "Field Support" \
-authTrapEnabled false -sysdescr "Fibre Channel Switch" \
-syslocation "End User Premise"
switch:admin> snmpconfig --show systemgroup
sysDescr = Fibre Channel Switch
sysLocation = End User Premise
sysContact = Field Support
authTraps = 0 (OFF)
To set the SNMP security level and verify the configuration noninteractively:
switch:admin> snmpconfig --set seclevel -snmpset 0
SET seclevel cannot be less than GET. Changing SET seclevel to be \
same as GET. Do you want to continue? (yes, y, no, n): [no] y
switch:admin> snmpconfig --show seclevel
GET security level = 1, SET level = 1
SNMP GET Security Level: Authentication only
SNMP SET Security Level: Authentication only
To set the audit interval and verify the configuration noninteractively:
switch:admin> snmpconfig --set auditinterval -interval 90
Committing configuration.....done.
switch:admin> snmpconfig --show auditinterval
SNMP Audit Interval (in min): 90
To display the SNMPv3 configuration with informs disabled interactively:
switch:admin> snmpconfig --show snmpv3
SNMP Informs = 0 (OFF)
SNMPv3 USM configuration:
User 1 (rw): snmpadmin1
Auth Protocol: noAuth
Priv Protocol: noPriv
User 2 (rw): snmpadmin2
Auth Protocol: noAuth
Priv Protocol: noPriv
User 3 (rw): snmpadmin3
Auth Protocol: noAuth
Priv Protocol: noPriv
User 4 (ro): snmpuser1