show metro-ring

Displays the metro ring details.
Syntax
show metro-ringring-id[diagnostics]
Parameters
ring-id
Displays the details of the metro ring specified by the ring ID.
diagnostics
Displays the diagnostic results for the specified metro ring.
Modes

User EXEC mode

The show metro-ringring-iddiagnostics command displays the following information:

Output field Description
Ring id The metro ring ID.
Diag state The state of ring diagnostics.
RHP average time The average round-trip time for an Ring Hello Packet (RHP) packet on the ring. The calculated time has a granularity of 1 microsecond.
Recommended hello time The hello time recommended by the software based on the RHP average round-trip time.
Recommended Prefwing time The preforwarding time recommended by the software based on the RHP average round-trip time.
Diag frame sent The number of diagnostic RHPs sent for the test.
Diag frame lost The number of diagnostic RHPs lost during the test.

The show metro-ringring-id command displays the following information:

Output field Description
Ring id The metro ring ID.
State The state of MRP. The state can be enabled or disabled.
Ring role Whether this node is the master for the ring. The role can be master or member.
Master vlan The ID of the master VLAN in the topology group used by this ring. If a topology group is used by MRP, the master VLAN controls the MRP settings for all VLANs in the topology group. The topology group ID is 0 if the MRP VLAN is not the master VLAN in a topology group. Using a topology group for MRP configuration is optional.
Topo group The topology group ID.
Hello time The interval, in milliseconds, at which the forwarding port on the ring master node sends RHPs.
Prefwing time The number of milliseconds an MRP interface that has entered the preforwarding state will wait before changing to the forwarding state.
Ring interfaces The ring interfaces in the device.
Interface role The interface role can be one of the following:
  • primary
    • Master node - The interface generates RHPs.
    • Member node - The interface forwards RHPs received on the other interface (the secondary interface).
  • secondary - The interface does not generate RHPs.
    • Master node - The interface listens for RHPs.
    • Member node - The interface receives RHPs.
Forwarding state Whether MRP forwarding is enabled on the interface. The forwarding state can be one of the following:
  • blocking - The interface is blocking Layer 2 data traffic and RHPs.
  • disabled - The interface is down.
  • forwarding - The interface is forwarding Layer 2 data traffic and RHPs.
  • preforwarding - The interface is listening for RHPs but is blocking Layer 2 data traffic.
Active interface The physical interfaces that are sending and receiving RHPs. If a port is disabled, its state is shown as "disabled". If an interface is part of a LAG, the member port which comes up first is listed.
Interface Type Shows if the interface is a regular port or a tunnel port.
RHPs sent The number of RHPs sent on the interface.
Note: This field applies only to the master node. On non-master nodes, this field contains 0. This is because the RHPs are forwarded in hardware on the non-master nodes.
RHPs rcvd The number of RHPs received on the interface.
Note: On most devices, this field applies only to the master node. On non-master nodes, this field contains 0. This is because the RHPs are forwarded in hardware on the non-master nodes. However, on the FastIron devices, the RHP received counter on non-master MRP nodes increments. This is because, on FastIron devices, the CPU receives a copy of the RHPs forwarded in hardware.
TC RHPs rcvd The number of Topology Change RHPs received on the interface. A Topology Change RHP indicates that the ring topology has changed.
State changes The number of MRP interface state changes that have occurred. The state can be one of the states listed in the Forwarding state field.
Examples

The following example displays the MRP diagnostics result on the master node.

device# show metro-ring 1 diagnostics
Metro Ring 1 - custA
=============
diagnostics results

Ring       Diag       RHP average     Recommended     Recommended
id         state      time(microsec)  hello time(ms)  Prefwing time(ms)
1          disabled   < 0             100             300

Diag frame sent      Diag frame lost
0                    0

The following example displays the output of the show metro-ring command.

device# show metro-ring 1
Metro Ring 1
=============
Ring     State     Ring     Master    Topo       Hello      Prefwing
id                 role     vlan      group      time(ms)   time(ms)
2        enabled   member   2         not conf   100        300
Ring interfaces    Interface role     Forwarding state   Active interface  Interface Type
ethernet 1/1/1     primary            disabled           none              Regular
ethernet 1/1/2     secondary          forwarding         ethernet 2        Tunnel
RHPs sent          RHPs rcvd       TC RHPs rcvd       State changes
3                  0															0                  4