Nortel Networks 8600 Switch User Manual


 
Technical Configuration Guide for SNMP v2.0 December 2006
______________________________________________________________________________________________________
NORTEL External Distribution
20
4. SNMP Settings
To configure the SNMP settings, enter the following command:
ERS-8606:5# config sys set snmp ?
Sub-Context:
Current Context:
force-iphdr-sender <true|false>
force-trap-sender <true|false>
info
sender-ip <ipaddr> <ipaddr>
Where:
config sys set snmp
followed by:
force-iphdr-sender
<true|false>
If set to true, the configured source address is sent in the
IP header of the notification message as the source
address.
force-trap-sender
<true|false>
If set to true, the configured source address is sent in the
notification message as the sender network.
info
Displays the current SNMP settings.
sender-ip
<target_address>
<source_address>
Configures a source IP address which is set in the
notification sent to the target. The source IP add`ress
should be a circuitless IP address.
For example, assume we have an ERS 8600 switch with software release 4.1 and we wish to
send SNMPv2 traps using the circuitless IP address. For this example, let’s assume the trap
receiver IP address is 10.1.50.10, the circuitless IP address is 1.1.1.1/32, and OSPF is used as
the IGP.
1. First, add the circuitless IP address and enable OSPF
ERS-8606:5# config ip circuitless-ip-int 1 create 1.1.1.1/32
ERS-8606:5# config ip circuitless-ip-int 1 ospf enable
2. Add the SNMP trap target address using the default trap notification “trapTag”
ERS-8606:5# config snmp-v3 target-addr create TAddr1 10.1.50.10:162 TparamV2
timeout 1500 retry 3 taglist trapTag mask 0xff:ff:00:00:00:00 mms 484
3. Finally, set the SNMP sender IP address using the CLIP address
ERS-8606:5# config sys set snmp sender-ip 10.1.50.10 1.1.1.1
ERS-8606:5# config sys set snmp force-iphdr-sender true
ERS-8606:5# config sys set snmp force-trap-sender true
Also, you can enable authentication traps by entering the following command:
ERS-8606:5# config sys set sendAuthenticationTrap true