Removing the snmp server host, Configuring the snmp system group, Setting the snmp server contact – Brocade Network OS Administrator’s Guide v4.1.1 User Manual
Page 141: Removing the snmp server contact, Setting the snmp server location

• The ipv4_host | ipv6_host | dns_host variable specifies the IP address of the host.
• The community-string variable sets the community string.
• The version option specifies either SNMPv1- or SNMPv2c-related configuration parameters.
These parameters include the community string. The default SNMP version is 1.
• The udp-port port option specifies the UDP port where SNMP traps will be received. The default
port is 162. The acceptable range of ports is from 0 through 65535.
• The severity sev_level option provides the ability to filter traps based on severity level on both the
host and the v3host. Only RASLog (swEvent) traps can be filtered based on severity level. If the
severity level of None is specified, all traps are filtered and no RASLog traps are received. If the
severity level of Critical is specified, no traps are filtered and all traps are received by the host.
Severity level options include None, Debug, Info, Warning, Error, and Critical.
The following example sets up "commaccess" as a read-only community string and sets 10.32.147.6
as a trap recipient with SNMPv2c on target port 162.
switch(config)# snmp-server host 10.32.147.6 commaccess version 2c udp-port 162
severity warning
Removing the SNMP server host
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 or the no snmp-server v3host
host command removes the SNMP server host from the switch configuration altogether.
Configuring the SNMP system group
The following tasks allow you to configure the system contact and system location objects for the SNMP
system group.
Setting the SNMP server contact
Use the snmp-server contact command to set the SNMP server contact string. The default contact
string is "Field Support." The number of characters allowed is from 4 through 255.
1. Enter the configure terminal command.
2. Enter the snmp-server contact string command.
switch(config)# snmp-server contact "Operator 12345"
The example changes the default contact string to "Operator 12345." You must enclose the text in
double quotes if the text contains spaces.
Removing the SNMP server contact
The no snmp-server contact string command restores the default contact information (Field Support).
Setting the SNMP server location
Use the snmp-server location command to set the SNMP server location string. The default SNMP
server location string is "End User Premise." The number of characters allowed is from 4 through 255.
1. Enter the configure terminal command.
2. Enter the snmp-server location string command.
switch(config)# snmp-server location "Building 3 Room 214"
3. Enter the no snmp-server location command to remove the location.
Removing the SNMP server host
Network OS Administrator’s Guide
141
53-1003225-04