Resmon Configuration

Configuration Hierarchy

The diagram illustrates the Resmon configuration hierarchy.

Optic Configuration Hierarchy

Configuration Syntax and Commands

The following sections describe the Resmon configuration syntax and commands.

Global Monitoring Configuration

This command sets the poll-interval for the resmond to discover optics.

Syntax:

set resmon monitoring <poll-interval>

Attribute Description

poll_interval <poll-interval>

Specifies the interval (in seconds) at which optics should be polled. The interval can range from 3 to 10000 seconds. The default interval is 10 seconds.

Optics Configuration

You can use this command to disable or enable (By, default enabled) tx laser or high-power class of an optics module on a specific interface.

Syntax:

set resmon optics <interface> …​

Attribute Description

interface <interface-name>

Name of the interface

high-power-class [disable / enable]

Enable or disable high power class for optics module. Enabled, by default.

tx [disable / enable]

Enable or disable lasers for optics module. Enabled, by default.

QoS Resource Monitoring

RBFS provides resource monitoring support for Quality of Service (QoS) components. It provides visibility into current usage and maximum capacity for various QoS components.

Resource monitoring is enabled for the following QoS components:

  • QOS_CL_ELEMENTS

  • QOS_FQ_ELEMENTS

  • QOS_HR_ELEMENTS

  • QOS_MC_QUEUE_BUNDLES

  • QOS_SCH_SHARED_SHAPER_DUAL

  • QOS_SCH_SHARED_SHAPER_OCTA

  • QOS_SCH_SHARED_SHAPER_QUAD

  • QOS_UC_QUEUE_BUNDLES

  • QOS_VOQ_CONNECTOR_BUNDLES

Example:

supervisor@rtbrick>LEAF01: cfg> show hardware resource monitor
<...>
  QOS_CL_ELEMENTS                                              0     30000
  QOS_FQ_ELEMENTS                                              0     30000
  QOS_HR_ELEMENTS                                            170     30000
  QOS_MC_QUEUE_BUNDLES                                         1     32000
  QOS_SCH_SHARED_SHAPER_DUAL                               12004     30000
  QOS_SCH_SHARED_SHAPER_OCTA                                   0     30000
  QOS_SCH_SHARED_SHAPER_QUAD                                   0     30000
  QOS_UC_QUEUE_BUNDLES                                     12106     32000
  QOS_VOQ_CONNECTOR_BUNDLES                                12021     32000