beautypg.com

Snmp server hosts, Setting the snmp version 1 or 2c server host – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 109

background image

Network OS NETCONF Operations Guide

77

53-1003231-02

SNMP server hosts

7

snmpuser3

md5

DES

SNMP server hosts

Operations described in this section set the trap destination IP address, and optionally the
destination port and severity level for the SNMP server host. For SNMP versions 1 and 2c, the
SNMP version and community string are also set. For SNMP version 3, the user name is also set.

To configure SNMP trap hosts associated with community strings, you must first create the
community string before configuring the host. Refer to

“Adding an SNMP community string”

on

page 74.

To configure SNMPv3 hosts associated with user names, the user name must first be added to the
SNMP configuration. Refer to

“Obtaining SNMP user names”

on page 76.

Setting the SNMP version 1 or 2c server host

Setting the SNMP version 1 or 2c server host sets the trap destination IP addresses, version,
community string, and destination port for the SNMP server host. To set the SNMP server host,
perform the following steps.

1. Issue the RPC to configure the / node in the

urn:brocade.com:mgmt:brocade-snmp namespace.

2. Under the node element, specify the following elements.

a. In the element, specify the IPv4, IPv6, or DNS address of the SNMP host.

b. In the element, specify the existing community string to be associated with

the trap destination.

c. Optionally, in the element, specify 1 or 2c depending on the community string

version to be sent to the trap host.

The default value is 1.

d. Optionally, in the element, specify the UDP port where SNMP traps will be

received.

The default value is 162.

e. Optionally, in the field, specify the severity level to be associated with

SNMP traps.

The following example sets up “commaccess” as a read-only user and specifies the SNMP version
2c host using an IPv6 address. The host will receive SNMP traps on target port 162.