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

Page 1096

Advertising
background image

1066

Fabric OS Command Reference

53-1003131-01

snmpConfig

2

sysContact

The contact information for this system (switch). The default value is Field
Support. Refer to the definition of sysDescr, sysLocation and sysContact in the
system group of MIB-II. The string must be at least 4 characters in length; the
maximum length is 255 characters.

authTraps

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 0 (disabled).

Security Level Parameters

The --show option displays the current SNMP GET security and SNMP SET security levels. Use --set
secLevel to modify existing settings:

SNMP GET security level

Specifies security level for all SNMP GET requests.

SNMP SET 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

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:

switch:admin> snmpConfig --set snmpv1

SNMP community and trap recipient configuration:

Community (rw): [Secret C0de]

Trap Recipient's IP address: [0.0.0.0] \

1080::8:800:200C:1234

Community (rw): [OrigEquipMfr]

string size must be between 2 and 16 - please re-enter

Advertising