Operational Commands

OAM CFM Show Commands

Show OAM CFM Session

The command displays the CFM session information.

show oam cfm session <option>

Option Description

detail

Shows detailed information about CFM sessions.

interface

Shows CFM session details for the specified logical interface.

Example: CFM session

supervisor@rtbrick: op> show oam cfm session
Session                   Interface             Maintenance Domain    Maintenance Association   Local MEP   Remote MEP  State
CFM_DEFAULT_LINK1         ifl-0/1/64/100        MD_BNG                MA_DEFAULT_100            1000        2000        Up
CFM_DEFAULT_LINK2         ifl-0/1/66/0          MD_BNG                MA_DEFAULT_200            1001        2001        Up

Example: CFM session details for a specific interface

supervisor@rtbrick: op> show oam cfm session interface ifl-0/1/64/100
Session name: CFM_DEFAULT_LINK1, Interface name: ifl-0/1/64/100, CFM state: Up
  Maintenance domain name: MD_BNG, Format: None
    Maintenance association name: MA_DEFAULT_100, Format: Character string
    Remote MAC address: e8:c5:7a:8f:55:b8
    Level: 2, Continuity check interval: 1s, Loss threshold: 3 Frames
    Local endpoint ID: 1000, Remote endpoint ID: 2000
    CCM packet received count: 9, Flap count: 0
    Last error: None

Example: Detailed view of CFM session

supervisor@rtbrick: op> show oam cfm session detail
Session name: CFM_DEFAULT_LINK1, Interface name: ifl-0/1/64/100, CFM state: Up
  Maintenance domain name: MD_BNG, Format: None
    Maintenance association name: MA_DEFAULT_100, Format: Character string
    Remote MAC address: e8:c5:7a:8f:55:b8
    Level: 2, Continuity check interval: 1s, Loss threshold: 3 Frames
    Local endpoint ID: 1000, Remote endpoint ID: 2000
    CCM packet received count: 10, Flap count: 0
    Last error: None
Session name: CFM_DEFAULT_LINK2, Interface name: ifl-0/1/66/0, CFM state: Up
  Maintenance domain name: MD_BNG, Format: None
    Maintenance association name: MA_DEFAULT_200, Format: Character string
    Remote MAC address: e8:c5:7a:8f:55:c0
    Level: 2, Continuity check interval: 1s, Loss threshold: 3 Frames
    Local endpoint ID: 1001, Remote endpoint ID: 2001
    CCM packet received count: 10, Flap count: 0
    Last error: None

Example for Point to Multipoint CFM sessions

supervisor@rtbrick: op> show oam cfm session
Session                   Interface             Maintenance Domain    Maintenance Association   Local MEP   Remote MEP  State
CFM_R3                    ifl-0/1/27/0          BNG                   MA_BNG                    3100        2100        Down
CFM_R4                    ifl-0/1/27/0          BNG                   MA_BNG                    4100        2100        Down

Detailed view of Point to Multipoint CFM sessions.

supervisor@rtbrick: op> show oam cfm session detail
Session name: CFM_R3, Interface name: ifl-0/1/27/0, CFM state: Down
  Maintenance domain name: BNG, Format: None
    Maintenance association name: MA_BNG, Format: Character string
    Remote MAC address: 00:00:00:00:00:00
    Level: 2, Continuity check interval: 1s, Loss threshold: 3 Frames
    Local endpoint ID: 3100, Remote endpoint ID: 2100
    CCM packet received count: 0, Flap count: 0
    Last error: Interface down
Session name: CFM_R4, Interface name: ifl-0/1/27/0, CFM state: Down
  Maintenance domain name: BNG, Format: None
    Maintenance association name: MA_BNG, Format: Character string
    Remote MAC address: 00:00:00:00:00:00
    Level: 2, Continuity check interval: 1s, Loss threshold: 3 Frames
    Local endpoint ID: 4100, Remote endpoint ID: 2100
    CCM packet received count: 0, Flap count: 0
    Last error: Interface down

Show OAM CFM Statistics

This command displays OAM CFM statistics.

show oam cfm statistics <option>

Option Description

-

Without any option, the command shows CFM statistics for all interfaces.

interface

Shows CFM statistics for the specified logical interface.

Example: CFM statistics for all interfaces

supervisor@rtbrick.net: cfg> show oam cfm statistics

Interface: ifl-0/0/0/1
  Received Statistics:
    Total packets                      : 1
    Invalid ethernet type              : 0
    Length error                       : 0
    CFM packets                        : 1
    Cross-connect CCM received         : 0
    Invalid CCM version                : 0
    RDI received                       : 0
    Continuity check interval mismatch : 0
    Invalid MD name format             : 0
    Invalid MA name format             : 0
  Sent Statistics:
    Total packets                      : 2
Interface: ifl-0/0/1/1
  Received Statistics:
    Total packets                      : 1
    Invalid ethernet type              : 0
    Length error                       : 0
    CFM packets                        : 1
    Cross-connect CCM received         : 0
    Invalid CCM version                : 0
    RDI received                       : 0
    Continuity check interval mismatch : 0
    Invalid MD name format             : 0
    Invalid MA name format             : 0
  Sent Statistics:
    Total packets                      : 2

Example: CFM statistics for a specific interface

supervisor@rtbrick.net: cfg> show oam cfm statistics interface ifl-0/0/0/1
Interface: ifl-0/0/0/1
  Received Statistics:
    Total packets                      : 205
    Invalid ethernet type              : 0
    Length error                       : 0
    CFM packets                        : 205
    Cross-connect CCM received         : 0
    Invalid CCM version                : 0
    RDI received                       : 0
    Continuity check interval mismatch : 0
    Invalid MD name format             : 0
    Invalid MA name format             : 0
  Sent Statistics:
    Total packets                      : 206

CFM Clear Commands

Clear OAM CFM Statistics

Clear commands allow to reset operational states.

Syntax:

clear oam cfm statistics <option>

Option Description

-

Clears all the CFM statistics.

<interface>

Clears statistics for the specified interface.

Example commands:

clear oam cfm statistics
clear oam cfm statistics interface <interface>