Procedure 5-6: SNMP community and trap receiver configuration

- Overview

Use this procedure to configure Simple Network Management Protocol (SNMP) on the switch and enable trap receivers. You can configure the switch to act as an SNMP agent so that it can communicate with SNMP managers on the network.

By default, two SNMP Communities exist:

  • Private, with 'Read/Write' privileges and status set to enable.

  • Public, with 'Read Only' privileges and status set to enable.

You can change the defaults or add other communities. Only the communities that you define will have access to the switch using the SNMPv1 and SNMPv2c protocols. Only those communities with read-write level access will have access to this menu via SNMP. You should use this menu when you are using the SNMPv1 and SNMPv2c protocol. If you want to use SNMPv3 you should use the User Accounts menu.

See equivalent CLI commands in SNMP commands under Management commands in the Alcatel-Lucent 1850 Transport Service Switch (TSS-5) Command Line Interface Guide.

Refer to the following in this procedure:

To view SNMP Supported MIBs, from the Navigation menu, select System → SNMP → Supported MIBs.

- Related information:

See Trap Manager.

Step

SNMP Community Configuration

 
1

Login to the VLNC4x/VLNC6x.


2

From the Navigation menu, select System → SNMP → Community Configuration.

Result:

The SNMP Community Configuration window displays the current configuration.


3

Enter/select the following parameters as required:

  • Community — Select existing Public/Private to change parameters or Create to create a new community.

  • SNMP Community Name — Enter a string of 1-16 case sensitive characters. Community names in the SNMP Community table must be unique.

    Equivalent CLI command: snmp-server community <name> where <name> is the community name of the system.

  • Client IP Address — Enter the client IP address for an SNMP community. The address is the associated community SNMP packet sending address and is used along with the client IP mask to denote a range of IP addresses from which SNMP clients may use that community to access the device. A value of 0.0.0.0 allows access from any IP address. Otherwise, this value is ANDed with the mask to determine the range of allowed client IP addresses.

    Equivalent CLI command: snmp-server community ipaddr <name> <ipaddr>.

  • Client IP Mask — Enter the client IP mask for an SNMP community. The address is the associated community SNMP packet sending address. It is used along with the client IP address value to denote a range of IP addresses from which SNMP clients may use that community to access the device. A value of 255.255.255.255 will allow access from only one station, and will use that machine’s IP address for the client IP Address. A value of 0.0.0.0 will allow access from any IP address. The name is the applicable community name.

    Equivalent CLI command: snmp-server community ipmask <name> <ipmask>.

  • Access Mode — Select the access mode to switch information. The access mode may be Read-Only, also called public, or Read/Write, also called private.

    Equivalent CLI commands:
    • Read-Only: snmp-server community ro <name>

    • Read/Write: snmp-server community rw <name>

  • Status — Select Enable to allow an SNMP manager associated with this community to manage the switch according to its access right. Select Disable to deactivate an SNMP community. If the community is disabled, no SNMP requests using this community are accepted.

    Equivalent CLI commands:
    • Enable: snmp-server community mode <name>

    • Disable: no snmp-server community mode <name>

  • UDP Port — Select the UDP port over which the system allows SNMP access. Default: 161, Range: 0-65535.

    Equivalent CLI command: snmp-server udp-port {0-65535}.


4

Click Submit to update the switch with the values on this screen. Click Delete to delete a selected community name.


End of steps

Step

SNMP Trap Receiver Configuration

 
1

Login to the VLNC4x/VLNC6x.


2

From the Navigation menu, select System → SNMP → Trap Receiver Configuration.

Result:

The SNMP Trap Receiver Configuration window displays the current configuration.


3

Enter/select the following parameters as required:

  • Community — Select existing community to change parameters or Create to create a new community.

  • SNMP Community Name — Enter a string of 1-16 case sensitive characters. Specifies the community name used when sending the trap to the receiver, but it is not directly associated with the SNMP Community name configured in the SNMP Community Configuration table. The name does not need to be unique, however; the name and IP address pair must be unique. Multiple entries can exist with the same name as long as they are associated with a different IP address. The reverse scenario is also acceptable.

    Equivalent CLI command: snmptrap <name> <ipaddr> [snmpversion <snmpversion>] where <name> is the community name of the system.

  • SNMP Version — Select the trap SNMP version (SNMP v1 or SNMP v2) to be used by the receiver from the pull down menu:

    Equivalent CLI commands:
    • snmptrap <name> <ipaddr> snmpversion <snmpversion>.

    • snmptrap snmpversion <name> <ipaddr> <snmpversion> to modify the SNMP version of a trap.

  • IP Address — Enter the IP address to receive SNMP traps from this device.

    Equivalent CLI command: snmptrap ipaddr.

  • Status — Select Enable to send traps to the receiver. Select Disable to not send traps to the receiver.

    Equivalent CLI command: snmptrap mode.

  • UDP Port — Select the UDP port to which the system sends SNMP traps. Default: 162, Range: 0-65535.

    Equivalent CLI command: snmptrap udp-port {0-65535}.


4

Click Submit to update the switch with the values on this screen.


End of steps

Copyright © 2011 Alcatel-Lucent. All rights reserved.