Brocade Network OS Command Reference v4.1.0 User Manual

Page 1266

Advertising
background image

1228

Network OS Command Reference

53-1003115-01

snmp-server host

2

The no snmp-server host host community-string string version 2c command brings version 2c
down to version 1.

The no snmp-server host host community-string string command removes the SNMP server host
from the switch configuration altogether.

Examples

The following snmp-server host ipv6_host command creates an entry for trap host
1050:0:0:0:5:600:300c:326b associated with community “public.” The trap host receives traps
from the configured switch.

switch(config)# snmp-server host 1050:0:0:0:5:600:300c:326b public

severity-level Info

The following snmp-server host dns_host command creates an entry for trap host
brcd.brocade.com associated with community “public.” The trap host receives traps from the
configured switch.

switch(config)# snmp-server host brcd1.brocade.com public severity-level info

switch(config)# snmp-server v3host brocade.com snmpuser3 notifytype informs

engineid 80:00:05:23:01:AC:1A:01:F6 severity-level Info

To associate “commaccess” as a read-only community and set 10.32.147.6 as a trap recipient
with SNMP version 2c on target port 162:

switch(config)# snmp-server host 10.32.147.6 commaccess version 2c udp-port 162

To create a trap host (10.23.23.45) associated with the community “public”, which will receive all
traps with the severity levels of Info, Warning, Error, and Critical:

switch(config)# snmp-server host 10.23.23.45 public severity-level info

To reset the severity level to None:

switch(config)# snmp-server host 10.23.23.45 public severity-level none

See Also

show running-config snmp-server, snmp-server community, snmp-server contact,snmp-server
context, snmp-ser
ver host, snmp-server location, snmp-server sys-descr, snmp-server user,
snmp-server v3host

Advertising