Configuring SNMP Parameters

You can configure SNMP parameters by specifying the SNMP trap receiver and source.
  1. Enter global configuration mode.
    device# configure terminal
  2. Add the SNMP trap receiver and configure the software to encrypt display of the community string.
    device(config)# snmp-server host 10.2.2.2 0 mypublic port 200
    device(config)# write memory
    In the example, trap receiver 10.2.2.2 is added and the configuration is saved.
    Note: To add a trap receiver and configure the software to encrypt display of the community string in the CLI and the Web Management Interface, you can use the following commands:
    device(config)# snmp-server host 10.2.2.2 0 FastIron-12
    device(config)# write memory
  3. Specify an interface as the SNMP trap source.
    device(config)# management source-interface ethernet 1/1/1 protocol snmp
    device(config)# management source-interface loopback 10.0.1.1 protocol snmp
    An Ethernet interface is configured as the SNMP trap source in the first example. A loopback interface is configured as the SNMP trap source in the second example.
  4. Set the SNMP trap holddown time.
    device(config)# snmp-server enable traps holddown-time 30
    By default, a RUCKUS device uses a one-minute holddown time to wait for the Layer 2 convergence (STP) and Layer 3 convergence (OSPF) to occur before starting to send SNMP traps. You can change the holddown time to a value from one second through ten minutes.

The following example shows how to configure SNMP parameters.

device# configure terminal
device(config)# snmp-server host 10.2.2.2 0 mypublic port 200
device(config)# write memory
device(config)# management source-interface ethernet 1/1/1 protocol snmp
device(config)# snmp-server enable traps holddown-time 30