diagnostics (MRP)

Enables diagnostics on a metro ring.
Syntax
diagnostics
no diagnostics
Command Default

Diagnostics are disabled by default.

Modes

Metro ring configuration mode

Usage Guidelines

This command is valid only on the master node.

When you enable Metro Ring Protocol (MRP) diagnostics, the software tracks Ring Health Packets (RHPs) according to their sequence numbers and calculates how long it takes an RHP to travel one time through the entire ring. The calculated results have a granularity of 1 microsecond. When you display the diagnostics, the output shows the average round-trip time for the RHPs sent since you enabled diagnostics.

The no form of the command disables the diagnostics for the ring.

Examples

The following example enables the diagnostics for metro ring 1.

device(config)# vlan 2
device(config-vlan-2)# metro-ring 1
device(config-vlan-2-mrp-1)# diagnostics