Operational Commands
OAM CFM Show Commands
Show OAM CFM Session
The command displays the CFM session information.
show oam cfm session <option>
| Option | Description |
|---|---|
|
Shows detailed information about CFM sessions. |
|
Shows CFM session details for the specified logical interface. |
|
Displays summary of CFM sessions. The session summary shows the total number of CFM sessions, indicating how many sessions are up or down, making it easier to monitor operations. |
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. |
|
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 Session Summary
Display summary of CFM sessions and enable filtering by operational state. The session summary shows the total number of CFM sessions, indicating how many sessions are up or down, making it easier to monitor operations.
Syntax:
The following table provides command options and descriptions.
| Attribute | Description |
|---|---|
|
Displays the total number of CFM sessions, including the number of sessions that are up and down. |
|
Displays CFM sessions for the specified operational state. |
|
Displays detailed information for CFM sessions for the specified state. |
Example:
The following example displays a summary of the total number of CFM sessions and their current Up/Down status.
supervisor@rtbrick.net: cfg> show oam cfm session summary Total Sessions : 5 Up Sessions : 4 Down Sessions : 1
The following example displays CFM sessions that are currently in the Down state.
supervisor@rtbrick.net: cfg> show oam cfm session state Down Session Interface Maintenance Domain Maintenance Association Local MEP Remote MEP State CFM_DEFAULT_LINK4 ifl-0/0/2/103 BNG CFM_DEFAULT_LINK4 323 103 Down
The following example displays detailed information about CFM sessions in the Down state, including endpoint details, CCM statistics, flap count, and the last error.
supervisor@rtbrick.net: cfg> show oam cfm session state Down detail
Session name: CFM_DEFAULT_LINK4, Interface name: ifl-0/0/2/103, CFM state: Down
Maintenance domain name: BNG, Format: None
Maintenance association name: CFM_DEFAULT_LINK4, Format: Character string
Remote MAC address: 92:5e:e4:b8:dd:ab
Level: 2, Continuity check interval: 1s, Loss threshold: 3 Frames
Local endpoint ID: 323, Remote endpoint ID: 103
CCM packet received count: 68, Flap count: 2
Last error: Session timed-out