Reference Guide

Brocade Fabric OS Command Reference 1029
53-1004112-02
snmpConfig
-authtrapenabled [ON | OFF]
Enables or disables the authentication traps. When enabled, the authentication trap
(authenticationFailure) is transmitted to a configured trap recipient in the event that the
agent receives a protocol message that is not properly authenticated. In the context of
SNMPv1 and SNMPv2c, this means that a request contains a community string that is
not known to the agent.The default value for this parameter is OFF (disabled).
secLevel
Sets the SNMP security level.
-snmpget security_level
Specifies security level for all SNMP GET requests.
-snmpset security_level
Specifies security level for SNMP SET requests only. Values include the following:
0 - No security.
1 - Authentication only.
2 - Authentication and Privacy.
3 - OFF
auditinterval
Sets the SNMP audit interval.
-interval minute
Specifies the the SNMP audit interval in minutes. Valid value range is from 1 through
1440. Default value is 60.
Examples To display the SNMPv1 configuration :
switch:admin> snmpconfig --show snmpv1
SNMPv1 community and trap recipient configuration:
Community 1: Secret C0de (rw)
Trap recipient: 10.32.147.113
Trap recipient Severity Level: 0
Community 2: OrigEquipMfr (rw)
Trap recipient: 1080::8:800:200C:1234
Trap recipient Severity Level: 0
Community 3: private (rw)
No trap recipient configured yet
Community 4: public (ro)
No trap recipient configured yet
Community 5: common (ro)
No trap recipient configured yet
Community 6: FibreChannel (ro)
No trap recipient configured yet
To set the SNMPv1 configuration of a switch noninteractively:
switch:admin> snmpconfig --set snmpv1 -index 2 -community community2 \
-port 4000 -severity 3
Committing configuration.....done