Setting the snmp trap holddown time, Disabling syslog messages and traps for cli access – Brocade Virtual ADX Switch and Router Guide (Supporting ADX v03.1.00) User Manual

Page 18

Advertising
background image

4

Brocade Virtual ADX Switch and Router Guide

53-1003246-01

Configuring basic system parameters

1

To specify a port, loopback interface, or virtual routing interface whose lowest-numbered IP
address the Brocade device must use as the source for all SNMP traps sent by the device, use the
following CLI method.

To configure the device to send all SNMP traps from the first configured IP address on port 4/11,
enter the following commands.

Virtual ADX(config)# snmp-server trap-source ethernet 4/11

Virtual ADX(config)# write memory

Syntax: snmp-server trap-source loopback num | ethernet portnum | ve num

The num parameter is a loopback interface or virtual routing interface number. If you specify an
Ethernet port, the portnum is the port’s number.

To specify a loopback interface as the device’s SNMP trap source, enter commands such as the
following.

Virtual ADX(config)# int loopback 1

Virtual ADX(config-lbif-1)# ip address 10.0.0.1/24

Virtual ADX(config-lbif-1)# exit

Virtual ADX(config)# snmp-server trap-source loopback 1

The commands in this example configure loopback interface 1, assign IP address 10.0.0.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 Brocade device uses to send traps to the receiver, the traps
always arrive from the same source IP address.

Setting the SNMP trap holddown time

When a Brocade device starts up, the software waits for Layer 2 convergence (STP) and Layer 3
convergence before beginning to send SNMP traps to external SNMP servers. Until convergence
occurs, the device might not be able to reach the servers, in which case the messages are lost.

By default, a Brocade device uses a one-minute holddown time to wait for the convergence to occur
before starting to send SNMP traps. After the holddown time expires, the device sends the traps,
including traps such as “cold start” or “warm start” that occur before the holddown time expires.

You can change the holddown time to a value from one second to ten minutes.

To change the holddown time for SNMP traps, enter a command such as the following at the global
CONFIG level of the CLI.

Virtual ADX(config)# snmp-server enable traps holddown-time 30

The command in this example changes the holddown time for SNMP traps to 30 seconds. The
device waits 30 seconds to allow convergence in STP before sending traps to the SNMP trap
receiver.

Syntax: [no] snmp-server enable traps holddown-time secs

The secs parameter specifies the number of seconds and can be from 1 – 600 (ten minutes). The
default is 60 seconds.

Disabling Syslog messages and traps for CLI access

Brocade devices send Syslog messages and SNMP traps when a user logs into or out of the User
EXEC or Privileged EXEC level of the CLI. The feature applies to users whose access is
authenticated by an authentication-method list based on a local user account, RADIUS server, or
TACACS/TACACS+ server.

Advertising