Managing the SNMP Agent
  • 07 Aug 2024
  • 5 Minutes to read
  • Contributors
  • PDF

Managing the SNMP Agent

  • PDF

Article summary

You can configure an SNMP agent so that it provides an interface to an SNMP-based management system (for get and set commands). The SNMP agent also allows the unit to send SNMP traps to a receiver. The receiver is usually used to monitor the conditions of many units.

Enabling the SNMP Agent

The SNMP Agent is used to generate SNMP traps and to provide OID information. Use the System ▶ Agent ▶ SNMP page to configure how the SNMP agent is enabled.

Some SNMP queries can require an extended period of time to execute fully due to the large quantity of data to provide. If your SNMP MIB browser times out while walking through the MIB tables, consider increasing the timeout value to at least 10 seconds. Extending the timeout value will allow the SNMP Agent to serve the request instead of timing out and retrying until the configured number of retries is exhausted. It will reduce the amount of SNMP traffic going through your network.


Note: Only NETCONF or SNMP (not both) can be enabled at the same time.

To enable the SNMP agent

  1. Access the page System ▶ Agent ▶ SNMP.

  2. Complete the required fields, then click Apply.

For more information on specific parameters, refer to the following table.

SNMP Agent (System ▶ Agent ▶ SNMP)

ParameterDescription
Enable AgentCheck box to enable the unit’s SNMP agent.
Use Host Name as System NameCheck box to use host's name as system-name.
SNMP System NameThe name to identify the unit. By convention, this is the unit's fully qualified domain name.
Contact InformationContact information for the unit (typically an email address).
System LocationPhysical location of the unit.
Agent UDP PortUDP port that the SNMP agent uses for all interfaces.

Note: Changing this value restarts the SNMP agent.

Agent UDP PortThe community string to control read-only access to the unit.
Read-Write CommunityThe community string used to control read/write access to the unit.
Enable Authentication Trap GenerationCheck box to enable the unit to generate a trap when authentication of the agent fails.
Enable Link Trap GenerationCheck box to enable trap generation when the link status changes.

Maps to generic traps 2 (1.3.6.1.6.3.1.1.5.3 linkDown) and 3 (1.3.6.1.6.3.1.1.5.4 linkUp).

Setting Up the SNMP Trap Receivers

You can configure the unit to send SNMP traps to different notification receivers. The notification receiver is usually used to monitor the conditions of many units.


Note: The SNMP agent must be enabled before you can configure and use the SNMP Trap Receiver.

The unit can be configured to send SNMP v1 traps to one or two receivers, and to send SNMP v2c traps to up to ten receivers.


Note: Only NETCONF or SNMP (not both) can be enabled at the same time.

Using the Auto trap receiver, you can also configure the unit to send SNMP traps (v1 or v2c) to other compatible notification receivers. With the Auto trap receiver, the IP address of the compatible notification receiver is automatically updated when the receiver connects to the unit and sends the appropriate CLI commands. Refer to the CLI Command Guide for information on the CLI command.

To configure the SNMP trap receiver information

  1. Access the page System ▶ Agent ▶ Traps.
    A listing of all current SNMP Trap receiver information is displayed.

  2. Click the ID of the trap receiver you want to edit.

  3. Complete the required fields, then click Apply.

For more information on specific parameters, refer to the following table.

Trap Receivers (System ▶ Agent ▶ Traps)

ParameterDescription
TypeThe type of SNMP Trap Receiver may be either SNMPv1 or SNMPv2c.
IDID number of the trap receiver.

Note: The Auto trap receiver is configurable via the CLI only.

StateThe state of this SNMP trap: Enabled or Disabled.
Enable TrapCheck box to enable the unit to send SNMPv1 or SNMPv2c traps to a specified notification receiver.
Notification Receiver

Host Name

The IP address or host name of the device that receives SNMP traps and/or notifications.

The unit sends a Cold Start trap when starting up.

Community String

Community

The community string required to send traps to the notification receiver.
Host UDP Port

UDP Port

The UDP port used by the unit to send traps to the notification receiver.

The widely used SNMP trap port 162 is the default port.

Enabling SNMP For Retrieving Statistics

This section describes how to enable the SNMP agent on Cisco Provider Connectivity Assurance Sensors (formerly Skylight performance elements) to retrieve the data through a third-party Network Management Software (NMS) application. Accedian Networks provides private Management Information Bases (MIBs) for integration into an NMS to retrieve bandwidth policing data, statistics per flow, SFP digital diagnostics information, alarms, a full description of the firmware version, port information, and also data gathered by the Performance Assurance Agent (PAA).

Statistics per flow are results based on set filters such as VLAN ID, Priority, DSCP, MAC address, IP address, and Ethertype. The PAA will provide the latency, jitter, and packet loss of the network. These precise measurements are gathered live from the network without affecting the throughput.

The private MIBs are:

  • ACCEDIAN-SMI
  • ACD-ALARM-MIB
  • ACD-CFM-MIB
  • ACD-CLOCK-QUALITY-MIB
  • ACD-DESC-MIB
  • ACD-DISCOVERY-MIB
  • ACD-ENTERPRISE-SPECIFIC-MIB
  • ACD-ERP-MIB
  • ACD-FILTER-MIB
  • ACD-PAA-MIB
  • ACD-POLICY-MIB
  • ACD-PORT-MIB
  • ACD-REGULATOR-MIB
  • ACD-SA-MIB
  • ACD-SFP-MIB
  • ACD-SHAPER-V2-MIB
  • ACD-SMAP-MIB
  • ACD-VSET-MIB
  • ACD-TID-MIB
  • ACD-TWAMP-GEN-MIB

To enable SNMP for retrieving statistics

  1. Retrieve the Accedian private MIB files.

  2. Log in to the unit using the management Web interface.

  3. Go to System ▶ Agent ▶ SNMP.

image.png

  1. Enter the parameters, and then click Apply.


Note: Be sure to select Enable agent and enter "public" in Read-only community.

  1. Go to System ▶ Agent ▶ Traps, and then click SNMPv1 ID of 1.

image.png

  1. Enter the parameters, and then click Apply.

    Use the IP address of the host for the MIB browser application (NMS) in Notification receiver.


    Note: Be sure to enter "public" in Community string.

  2. Open the MIB browser application.

    For the Traps section, you will notice an alarm notification saying that there was a coldStart. This is normal.

  3. Access the iso/org/dod/internet/private/enterprise/accedianMIB page and browse through.

  4. Connect an RJ-45 cable to the Network port of the unit.

    You will see an SNMP Trap Notification saying Generic: linkUp after the soaking time for an alarm has been reached.

  5. Unplug the cable. A Generic: linkDown notification appears after the soaking time for an alarm is reached.

© 2024 Cisco and/or its affiliates. All rights reserved.
 
For more information about trademarks, please visit: Cisco trademarks
For more information about legal terms, please visit: Cisco legal terms

For legal information about Accedian Skylight products, please visit: Accedian legal terms and tradmarks



Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.