Nortel Networks 5399 Network Card User Manual


 
Nortel Networks 5399 and 8000 Access Switch SNMP MIB Reference
2-2 300861-C Rev. 00
Details of these keywords, as well as the parameters you use with SNMP, are
described in the following sections.
A sample entry in the gateway section of the configuration file looks like this:
% gateway
annex 132.245.6.34
host 132.245.1.01 gateway 132.245.7 metric 1 hardwired
net 132.245.9.0 gateway 132.245.2.3 metric 1 hardwired
snmp contact john smith ext 370
snmp location computer room
end
%include snmp_inc_file
Note that the example above includes a file named snmp_inc_file, and executes
the commands within that file. It is not necessary to use an include file in this
manner. You can simply list all your SNMP commands within the gateway
section of the configuration file.
It is often convenient to use an SNMP include file to define community names,
trap hosts and other SNMP characteristics of the RAC. A sample of what can be
included in an SNMP include file is shown below:
snmp traphost 123.245.1.2
snmp traphost 132.245.6.50:1049
snmp traphost 132.245.33.233:1048 mycommstring
In the first trap host entry, neither a port nor a community string is defined. In this
case, the port defaults to the well-known trap port 162, and the community string
defaults to public.
In the second trap host entry, the trap port is specified as 1049. The community
string is not specified, and again defaults to public.
In the last entry, the trap port is specified as 1048, and the community string is
specified as mycommstring.