Technical data

36 ServerIron ADX Administration Guide
53-1002434-01
Configuring SNMP
1
To restrict SNMP access (which includes IronView) to the Brocade device to the host with IP
address 209.157.22.26, enter the following command.
ServerIronADX(config)# snmp-client 209.157.22.26
Syntax: [no] snmp-client <ip-addr>
You can use the command up to ten times for up to ten IP addresses.
Assigning an SNMP community string
You can assign an SNMP community string for the system. It will register to the configuration file, a
user-specified network community string and an access type of either:
read-only (public)
read-write (private)
The default read-only community string is “public”. There is no default read-write community string.
In ServerIron, the global command snmp-server is enabled by default and this command must not
be removed if the dynamic weighted predictor is configured. If this command is removed, then the
ServerIron will stop listening on the UDP port 161 and drop SNMP responses from the real servers
that are used for this predictor.
To assign an SNMP community string, enter a command such as the following.
ServerIronADX(config)# snmp-server community planet1 ro
Syntax: [no] snmp-server community <string> ro | rw
The <string> parameter can be up to 32 alphanumeric characters for the community string.
Designating a contact
You can designate a contact name for the ServerIron ADX and save it in the configuration file for
later reference. You can later access contact information using the show snmp server command.
To identify a system contact, enter a command such as the following.
ServerIronADX(config)# snmp-server contact Noi Lampa
Syntax: [no] snmp-server contact <text>
The <text> parameter can be up to 32 alphanumeric characters for the system contact text string.
Enabling or disabling traps
By default, all of the following SNMP traps are enabled and will be generated by default for a
system: authentication key, cold-start, link-up, link-down, new-root, topology-change,
power-supply-failure and locked-address-violation.
You can use the snmp-server enable traps <name> command to enable other trap types, such as
l4-port-down and l4-port-up.
When the command is preceded with the word no, the command is used to stop certain traps from
being generated by a system. To disable a fan failure trap or power supply trap, use one of the
following values: ps1 | ps2 | ps3 | ps4 | fan1 | fan2 | fan3 | fan4.
To stop reporting incidences of links that are down, enter the following command.