Migration of PMON feature to SMA feature

You can now migrate the PMON to SMA.

Migration command

The following command is used to migrate PMON to SMA.

PMONmigratetoSMA [--src PMON-policy-name] [--dst SMA-policy-name] [--protocol-counters]

Guidelines for migration

The guidelines for migration are as described.

  • A new user-defined SMA policy is created when migrating PMON policy to SMA policy.
  • If there is no PMON policy available on the switch, then SMA policy cannot be created.
  • The migrated SMA policy is not activated by default, even though the PMON policy is active while migration.
  • Ensure that PMON policy name is with in 64 characters as SMA policy name cannot be more than 64 characters.

Use the PMON to SMA overlay CLI

The PMON to SMA overlay CLI migrates the PMON configuration to SMA.

Before you begin

Follow these guidelines for using the CLI.

  • If dst option is not provided, then the created SMA policy name is same as the PMON policy name.
  • If SMA policy with destination name is already available on the switch and entity-group is same in PMON policy, then the SMA policy is not created.
  • If SMA policy with destination name is already available on the switch and entity-type is different in PMON policy, then the SMA policy will have both the PMON entity-type and SMA entity-type.

Use the cli

switch# PMONmigratetoSMA ?
 --help                       Provides help about this utility
 --version                    Provides version details of this utility
[--src  <policyName>]         Provide port-monitor policy name to be migrated to SMA
[--dst  <policyName>]         Provide SMA policy name to be configured
[--protocol-counters]         Provide protocol counters to include in SMA policy.
OptionDescription
--help Provides help about the PMON to SMA overlay CLI.
--version Provides the version for the overlay CLI.
--src <policyName> Provides the PMON policy name that has to be migration to SMA.
 Note

Ensure the name is 64 characters long.

--dst <policyName> Provides the SMA policy name after migration.
--protocol-counters List the counters that need to be migrated to SMA from PMON.

PMON to SMA migration

When you migrate PMON policy to SMA policy the counters from PMON to SMA are migrated. The following table provide the mapping for PMON counter to SMA counter.

PMON counters mapped to SMA counters

PMON to SMA counters mapping
PMON counter name SMA counter name

Link Loss

link-loss

Sync Loss

sync-loss

Signal Loss

signal-loss

Invalid Words

rx-invalid-words

Invalid CRC's

rx-invalid-crc

State Change

state-change

TX Discards

tx-discards

LR RX

rx-lr

LR TX

tx-lr

Timeout Discards

tx-timeout-discards

Credit Loss Reco

credit-loss-recovery

TX Credit Not Available

tx-credit-not-available

RX Datarate

rx-datarate

TX Datarate

tx-datarate

TX-Slowport-Oper-Delay

tx-slowport-oper-delay

TXWait

tx-wait

RX Datarate Burst

rx-datarate-burst

TX Datarate Burst

tx-datarate-burst

Input Errors

rx-input-errors

SFP TX Power Low Warning

tx-xcvr-power-low-warning

SFP RX Power Low Warning

rx-xcvr-power-low-warning

ASIC Error Pkt from Port

No equivant counter available.

ASIC Error Pkt to xbar

No equivant counter available.

ASIC Error Pkt from xbar

No equivant counter available.

tx-slowport-count

No equivant counter available.

PMON- Alerts

SMA - Alerts

syslog

syslog

rmon

snmp-trap

Event

severity-level

PMON- PortGuard

SMA - Actions

FPIN

fpin-congestion/fpin-link-integrity

DIRL

dirl

cong-isolate

congestion-isolate

cong-isolate-recover

congestion-isolate

errordisable

error-disable

flap

flap

Guidelines and limitations for counters mapping

  • XBAR counters are not migrated from PMON policy to SMA policy
  • tx-slowport-count counter is not migrated as it is not supported in SMA for any hardware.
  • No period is available for tx-slowport-oper-delay counter in SMA.
  • If any counter has Absolute as threshold type in PMON policy, except tx-slowport-oper-delay counter, In the migrated SMA policy, same counter will be configured as periodic counter with the same config
  • If any default action group with same actions/alerts exists in SMA, same will be used without creating a user defined action group.
  • Default entity groups will be used while migrating PMON policy to SMA policy.
  • In PMON, if polling interval is more than 600 then in the migrated SMA policy it is mapped to 600.
  • In the migrated SMA policy, alarm percentage is mapped to PMON optional parameter percentage of SFP counters and falling percentage will be 50%. Change range in SMA for falling threshold is 49 -149.
  • Rising and falling threshold count of PMON configuration is ignored.
  • If warning threshold is not supported in PMON then in the migrated SMA policy, warning threshold is not configured.