beautypg.com

Configuring the snmpv1 trap recipient – Brocade Fabric OS Message Reference (Supporting Fabric OS v7.3.0) User Manual

Page 29

background image

Fabric OS Message Reference

7

53-1003140-01

Configuring the syslog message destinations

1

The SNMP traps are unreliable because the trap recipient does not send any acknowledgment
when it receives a trap. Therefore, the SNMP agent cannot determine if the trap was received.

Brocade switches send traps out on UDP port 162. To receive traps, the management station IP
address must be configured on the switch. You can configure the SNMPv1 and SNMPv3 hosts to
receive the traps.

For more information on the swEventTrap, refer to the Fabric OS MIB Reference.

Configuring the SNMPv1 trap recipient

Use the snmpConfig

--

set snmpv1 command to specify the recipient of the SNMP trap. To

configure the SNMPv1 host to receive the trap, perform the following steps.

1. Log in to the switch as admin.

2. Execute the snmpConfig

--

set snmpv1 command to configure the SNMP trap recipient.

switch:admin> snmpconfig --set snmpv1

SNMP community and trap recipient configuration:

Community (rw): [Secret C0de]

Trap Recipient's IP address : [192.0.2.2]

Trap recipient Severity level : (0..5) [4]

Trap recipient Port : (0..65535) [162]

Community (rw): [OrigEquipMfr]

Trap Recipient's IP address : [fec0:60:22bc:200:313:72ff:fe64:78b2]

NOTE

To receive the traps, the management station IP address must be configured on the switch.

3. Execute the snmpConfig

--

show snmpv1 command to verify the SNMPv1 agent configuration.

switch:admin> snmpconfig --show snmpv1

SNMPv1 community and trap recipient configuration:

Community 1: Secret C0de (rw)

Trap recipient: 192.0.2.2

Trap port: 162

Trap recipient Severity level: 5

Community 2: OrigEquipMfr (rw)

Trap recipient: fec0:60:22bc:200:313:72ff:fe64:78b2

Trap port: 162

Trap recipient Severity level: 5

Community 3: private (rw)

Trap recipient: tools.lab.brocade.com

Trap port: 162

Trap recipient Severity level: 5

Community 4: public (ro)

Trap recipient: 192.0.10.10

Trap port: 65530

Trap recipient Severity level: 1

Community 5: common (ro)

Trap recipient: fec0:60:69bc:200:213:72ff:fe64:069f

Trap port: 11

Trap recipient Severity level: 2

Community 6: FibreChannel (ro)

Trap recipient: WT.org.brocade.com

Trap port: 65521