Salesforce

RLS: How to Check PM Data in CLI

« Go Back
Information
RLS: How to Check PM Data in CLI
RLS-How-to-Check-PM-Data-in-CLI
Validated
Alexander Dworkin
5/20/2022, 9:54 AM
12/7/2021, 9:11 AM
Content

PM data is easily accessible and displayed in tabular format if the RLS node is managed by MCP software. However, if there is no MCP server managing the RLS node, the data is of course still available through CLI.

  • RLS
  • PM Data
  • RLA, DLA/DLE, SRA, CCMD

Displaying Amplifier PMs: Identify what type of card and the amplifier object name you wish to display the live PM data for. The amplifier facility name is customizable, and therefore needs to be checked so the command has the correct variable.

 

show slots <RLA slot #> inventory amps
show slots <DLE/FLA slot #> inventory dgff
show slots <SRA slot #> inventory ramans
show slots <CCMD slot#> inventory amps

 

You can see in the example output below that there is an amplifier facility on this RLA with the name Booster-Cband.

The Booster-Cband is the amplifier in the MUX direction going towards the line port 53 on the RLA circuit pack:

CDC_EAST_65R4_0001# show slots 1 inventory amps Booster-Cband
  slots:
  - name   : 1
    inventory:
      amps:
      - name                   : Booster-Cband
        amp-mode               : gainclamp
        state                  : normal
        gain-mode              : low
        forced-shutoff         : Disabled
        target-gain            : 20.0
        target-power           : 23.0
        target-gain-tilt       : -2.0
        shutoff-threshold      : -36.0
        shutoff-hysteresis     : 3.0
        input-los-threshold    : -33.0
        input-los-hysteresis   : 3.0
        orl-threshold          : 22.0
        low-orl-hysteresis     : 3.0
        gain                   : 19.7
        gain-tilt              : -2.0
        apr-threshold          : 17.0
        apr-hysteresis         : 2.0
        force-apr              : false
        apr-power-level        : 7.0
        admin-state            : Enabled
        in-current-power       : 3.2
        in-min-power           : 3.2
        in-max-power           : 3.2
        out-current-power      : 23.0
        out-min-power          : 23.0
        out-max-power          : 23.0
        optical-return-loss    : 34.7
        diagnostic:
          input-loss-signal                  : false
          shutoff-threshold-crossed          : false
          automatic-shutoff                  : false
          automatic-power-reduction-active   : false
          optical-line-failed                : false
          low-optical-return-loss            : false
          also-disabled                      : false

If you want to view any other interfaces pm data, the following format can be used:

show pm current "slots <slot> config optmons <port>"
show pm current "slots <slot> config optmons <common>-<subfiber>"

where common = 101 or 102, subfiber = 3-6 (on CCMD)

show pm current "slots <slot> config amps '<amp> <common>-<subfiber>'"

where amp = 110-117, common = 101 or 102, subfiber = 3-6 (on CCMD)

 

Displaying General PMs: You can use the Retrieving PM data procedure (procedure number differs between releases) found in the Performance Monitoring section of the User Guide as a reference. Run the following command with the amplifier facility name found in Step 1:


For RLA
show pm current "slots <slot#> config amps <amp-name>"

For DLA/DLE:
show pm current "slots <slot#> config dgff <amp-name>"

For SRA:
show pm current "slots <slot#> config ramans <amp-name>"
show pm current "slots <slot#> config optmons <amp-name>"


For CCMD:
show pm current "slots <slot> config amps '<amp> <common>-<subfiber>'"


Example Output

RLS# show pm current "slots 1 config amps Pre-AMP-Cband"
 pm:
  current:
  - pm-resource-instance  : ciena-6500r-slots:slots 1 config amps Pre-AMP-Cband
   start-time       : 2021-11-02T11:05:01Z
   retrieval-time     : 2021-12-03T20:00:00Z
   pm-val:
   - montype   : opticalPowerInput
    location  : nearEnd
    direction  : rx
    measurement:
    - interval   : untimed
     power-value  : 10.5
     validity   : complete
    - interval   : 15min
     power-value  : 10.5
     validity   : partial
    - interval   : 1day
     power-value  : 10.5
     validity   : partial
   - montype   : opticalPowerInputAvg
    location  : nearEnd
    direction  : rx
    measurement:
    - interval   : untimed
     power-value  : 10.5
     validity   : complete
     update-time  : 2021-12-03T20:00:00Z
    - interval   : 15min
     power-value  : 10.5
     validity   : partial
     update-time  : 2021-12-03T20:00:00Z
    - interval   : 1day
     power-value  : 10.5
     validity   : partial
     update-time  : 2021-12-03T20:00:00Z
   - montype   : opticalPowerInputMin
    location  : nearEnd
    direction  : rx
    measurement:
    - interval   : untimed
     power-value  : 10.3
     validity   : complete
     update-time  : 2021-11-26T13:19:22Z
    - interval   : 15min
     power-value  : 10.4
     validity   : partial
     update-time  : 2021-12-03T20:00:00Z
    - interval   : 1day
     power-value  : 10.4
     validity   : partial
     update-time  : 2021-12-03T00:00:00Z
   - montype   : opticalPowerInputMax
    location  : nearEnd
    direction  : rx
    measurement:
    - interval   : untimed
     power-value  : 10.6
     validity   : complete
     update-time  : 2021-11-15T19:53:35Z
    - interval   : 15min
     power-value  : 10.5
     validity   : partial
     update-time  : 2021-12-03T20:00:00Z
    - interval   : 1day
     power-value  : 10.5
     validity   : partial
     update-time  : 2021-12-03T00:00:00Z
   - montype   : opticalPowerOutput
    location  : nearEnd
    direction  : tx
    measurement:
    - interval   : untimed
     power-value  : 24.6
     validity   : complete
    - interval   : 15min
     power-value  : 24.6
     validity   : partial
    - interval   : 1day
     power-value  : 24.6
     validity   : partial
   - montype   : opticalPowerOutputAvg
    location  : nearEnd
    direction  : tx
    measurement:
    - interval   : untimed
     power-value  : 24.6
     validity   : complete
     update-time  : 2021-12-03T20:00:00Z
    - interval   : 15min
     power-value  : 24.6
     validity   : partial
     update-time  : 2021-12-03T20:00:00Z
    - interval   : 1day
     power-value  : 24.6
     validity   : partial
     update-time  : 2021-12-03T20:00:00Z
   - montype   : opticalPowerOutputMin
    location  : nearEnd
    direction  : tx
    measurement:
    - interval   : untimed
     power-value  : 24.4
     validity   : complete
     update-time  : 2021-11-26T13:19:22Z
    - interval   : 15min
     power-value  : 24.5
     validity   : partial
     update-time  : 2021-12-03T20:00:00Z
    - interval   : 1day
     power-value  : 24.5
     validity   : partial
     update-time  : 2021-12-03T00:00:00Z
   - montype   : opticalPowerOutputMax
    location  : nearEnd
    direction  : tx
    measurement:
    - interval   : untimed
     power-value  : 24.7
     validity   : complete
     update-time  : 2021-11-15T19:51:35Z
    - interval   : 15min
     power-value  : 24.6
     validity   : partial
     update-time  : 2021-12-03T20:00:00Z
    - interval   : 1day
     power-value  : 24.6
     validity   : partial
     update-time  : 2021-12-03T00:00:00Z

Displaying PWRMON PMs: To display pwrmon specific data, use the following command. Note that there are multiple options including nmcmon depending on the card you are querying. This can be especially useful for retrieving the live ORL readings for an amplifier in the scenario where ORL is an issue.

show slots <slot #> inventory pwrmon <facility-name>

CDC_EAST_65R4_0001# show slots 1 inventory pwrmon Line-Out-C_Lband

slots  inventory pwrmon
+----------------------------------------+
| Name                | Value            |
+----------------------------------------+
| name                | Line-Out-C_Lband |
| power               | 21.9             |
| optical-return-loss | 35.0             |
| orl-threshold       | 22.0             |
| low-orl-hysteresis  | 3.0              |
| admin-state         | Enabled          |
+----------------------------------------+

slots  inventory pwrmon  diagnostic
+---------------------------------+
| Name                    | Value |
+---------------------------------+
| low-optical-return-loss | false |
+---------------------------------+

Powered by