Foundry Networks Switch and Router Installation And Configuration Manual page 265

Switch and router
Table of Contents

Advertisement

BigIron(config)# snmp trap-source ethernet 4/11
BigIron(config)# write memory
Syntax: snmp-server trap-source loopback <num> | ethernet <portnum> | pos <portnum> | ve <num>
The <num> parameter is a loopback interface or virtual interface number. If you specify an Ethernet or POS port,
the <portnum> is the port's number (including the slot number, if you are configuring a Chassis device.
To specify the first IP address configured on a loopback interface as the device's SNMP trap source, enter
commands such as the following:
BigIron(config)# int loopback 1
BigIron(config-lbif-1)# ip address 10.0.0.1/24
BigIron(config-lbif-1)# exit
BigIron(config)# snmp-server trap-source loopback 1
The commands in this example configure loopback interface 1, assign IP address 10.00.1/24 to the loopback
interface, then designate the interface as the SNMP trap source for this Layer 3 Switch. Regardless of the port
the Foundry device uses to send traps to the receiver, the traps always arrive from the same source IP address.
The following commands configure an IP interface on a POS port and designate the address as the SNMP trap
source for a Layer 3 Switch. The Foundry device always sends traps through the POS port and the source IP
address of the traps is always the first IP address configured on the POS port.
BigIron(config)# interface pos 2/1
BigIron(config-posif-2/1)# ip address 209.157.22.26/24
BigIron(config-posif-2/1)# exit
BigIron(config)# snmp trap-source pos 2/1
USING THE WEB MANAGEMENT INTERFACE
You cannot configure a trap source using the Web management interface.
Disabling SNMP Traps
Foundry switches and routers come with SNMP trap generation enabled by default for all traps. You can
selectively disable one or more of the following traps.
NOTE: By default, all SNMP traps are enabled at system startup.
Layer 2 Switch Traps
The following traps are generated on the Layer 2 Switches:
SNMP authentication keys
Power supply failure
Fan failure
Cold start
Link up
Link down
Bridge new root
Bridge topology change
Locked address violation
Module insert (applies only to Chassis devices)
Module remove (applies only to Chassis devices)
Layer 3 Switch Traps
The following traps are generated on the Layer 3 Switches:
SNMP authentication key
December 2000
Configuring Basic Features
10 - 7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents