Snmp-server host, P-server host, snm, Local, snmp-server host – Brocade Network OS Command Reference v4.1.0 User Manual
Page 1265

Network OS Command Reference
1227
53-1003115-01
snmp-server host
2
snmp-server host
Sets the trap destination IP addresses, version, community string (for v1 and v2c), and destination
port for the SNMP server host.
Synopsis
snmp-server host {ipv4_host | ipv6_host | dns_host} [version {1|2c}] [udp-port port]
[severity-level {none | debug | info | warning | error | critical}]
no snmp-server host {ipv4_host | ipv6_host | dns_host} [version {1|2c}] [udp-port port]
[severity-level {none | debug | info | warning | error | critical}]
Operands
host {ipv4_host | ipv6_host | dns_host}
Specifies the IP address of the host. IPv4, IPv6, and DNS hosts are
supported.
version {1 | 2c}
Selects version 1 or 2c traps to be sent to the specified trap host.
udp-port port
Specifies the UDP port where SNMP traps will be received. Valid port IDs
range from 0 through 65535. The default port is 162.
severity-level {none | debug | info | warning | error | critical}]
Provides the ability to filter traps based on severity level on both the host
and the SNMPv3 host. Only RASLog (swEvent) traps can be filtered based
on severity level. The configured severity level marks the reporting
threshold. All messages with the configured severity or higher are
displayed. If the severity level of none is specified, all traps are filtered and
no RASLog traps are received.
Defaults
The default UDP port is 162.
The default SNMP version is 1.
The default severity level is None.
Command Modes
Global configuration mode
Description
Use this command to set the trap destination IP addresses and SNMP version, to associate a
community string with a trap host community string (for v1 and v2c), and to specify the UDP
destination port where SNMP traps will be received.
Usage Guidelines
To configure SNMP trap hosts associated with community strings, you must create the community
string using the snmp-server community command before configuring the host.
The host supports six communities and their associated trap recipients and trap recipient severity
levels. The default value for the trap recipient of each community is 0.0.0.0. The length of the
community string should be between 2 and 16 characters.
The following community strings are read-write:
•
Secret C0de
•
OrigEquipMfr
•
private
The following community strings are read-only:
•
public
•
common
•
ConvergedNetwork