show oam 以太网连接-故障管理 mep-数据库
语法
Release Information
命令 Junos OS 版本8.4 中引入。
支持 ITU-T Y. y.1731 在 Junos OS 版本9.5 中添加了机架帧延迟测量。
支持 ITU-T Y。在 MX 系列路由器 Junos OS 版本13.2 中添加的 y.1731 综合帧丢失度量。
支持 ITU-T Y。 y.1731 以太网在 MX 系列路由器 Junos OS 版本19.1 中添加了缺陷功能(ETH-ED)
只有在启用模式时enhanced-ip ,才会在所有 MX 系列路由器上支持以太网预期缺陷功能(ETH-ED)。如果 CFM 以集中模式运行,将不支持 ETH-ED。
说明
在具有增强型 CFEB (CFEB E)的 M7i 和 M10i 路由器上,以及在 M320、M120、MX 系列、ACX 系列、T320 和 T640 路由器上,显示 IEEE 802.1 ag 操作、管理和管理(OAM)连接故障管理(CFM)数据库信息(CFM)CFM 会话中的维护关联终结点(Mep)。
此外,在 M120、M320 和 MX 系列路由器上,还显示端口状态 TLV、接口状态 TLV 和操作配置文件信息。
此外,对于 MX 系列路由器上的以太网接口,还会显示任何 ITU-T Y。 y.1731 帧延迟测量(ETH-DM)帧计数。
对于 MX 系列路由器上的以太网接口,显示任何 ITU-T Y. y.1731 综合帧丢失测量(ETH-SLM)统计信息和帧计数。
选项
所需的权限级别
观看
相关主题
示例输出列表
show oam 以太网连接-故障管理 mep-数据库show oam 以太网连接-故障管理 mep-数据库(单向 ETH-DM)
show oam 以太网连接-故障管理 mep-数据库本地-mep remote-mep
show oam 以太网连接-故障管理 mep-数据库远程-mep (操作配置文件事件)
show oam 以太网连接-故障管理 mep-数据库(连接保护 TLV 已配置)
show oam 以太网连接-故障管理 mep-数据库
show oam 以太网连接-故障管理 mep-数据库(增强的连续性测量)
show oam 以太网连接-故障管理 mep-数据库本地-mep remote-mep
输出字段
表 1列出了show oam ethernet connectivity-fault-management mep-database命令的输出字段。输出字段按其出现的大致顺序列出。
表 1: show oam 以太网连接-故障管理 mep-数据库输出字段
字段名称 | 字段说明 |
---|---|
维护域名 | 维护域名。 |
格式(维护域) | 配置维护域名格式。 |
级别 | 配置的维护域级别。 |
维护关联名称 | 维护关联名称。 |
格式(维护协会) | 维护关联名称格式已配置。 |
连续性-检查状态 | 连续性-检查状态。 |
内 | 连续性-检查消息间隔。 |
丢失-阈值 | 持续性丢失-检查消息阈值。 |
连接保护 TLV | 连接保护 TLV 的状态(如果在 MEP 接口上配置): 否、 是 如果 是,则会对传输的连接保护 TLV 进行解码,并显示以下三个字段: 喜欢我、 保护正在使用中、 FRR 标志 |
喜欢我 | 如果设置为 是,则由 CCM 发送到的路径优先(除非路径出现故障)。它用于向远程端发出手动切换命令的信号。 其值可以是 是或者 否. |
保护正在使用中 | 用于保护决策协调。其值设置为 是如果传输 CCM 的端点当前正在将用户流量传输至保护路径。 其值可以是 是或者 否. |
FRR 标志 | LSR/LER 将 CCM 帧转发到旁路通道中。 其值可以是 是或者 否. |
MEP 标识符 | 维护关联终结点(MEP)标识符。 |
方向 | MEP 方向配置。 |
MAC 地址 | MAC 地址配置 MEP。 |
自动发现 | 是启用还是禁用自动发现。 |
Priority | 用于 MEP 传输的 CCMs 和链路跟踪消息的优先级。 |
接口名称 | 接口标识。 |
Interface status | 本地接口状态。 |
链路状态 | 本地链路状态。 |
远程 MEP 不接收 CCM | 远程 MEP 是否未在接收 CCMs。 |
收到的 CCM 错误 | 是否收到错误 CCMs。 |
交叉连接收到的 CCM | 是否已收到交叉连接 CCMs。 |
由某些 MEP 发送的 RDI | 是否在收到的消息中设置远程缺陷指示(RDI)位。CCM 中缺少 RDI 位,表示传输 MEP 正在从所有配置的 Mep 接收 CCMs。 |
CCMs 发送 | 传输的 CCMs 数。 |
CCMs 收到顺序不对 | 未按顺序接收的 CCMs 数。 |
LBMs 发送 | 发送的回传消息数(LBMs)。 |
收到有效的单序 LBRs | 收到的、按顺序的有效消息的回传响应消息(LBRs)数。 |
1DMs 发送 | 如果 MEP 是用于单向 ETH DM 会话的启动器:在此会话中发送至对等 MEP 的单向延迟测量(1DM) PDU 帧数。 对于所有其他情况,此字段显示 0. |
收到有效的1DMs | 如果 MEP 是单向 ETH DM 会话的接收器:收到的有效1DM 帧数。 对于所有其他情况,此字段显示 0. |
收到的1DMs 无效 | 如果 MEP 是单向 ETH DM 会话的接收器:收到的无效1DM 帧数。 对于所有其他情况,此字段显示 0. |
收到的1DMs 不同步 | 如果 MEP 是单向 ETH DM 会话的接收器:收到的不同步单向延迟测量请求数据包数。 |
DMMs 发送 | 如果 MEP 是用于双向 ETH DM 会话的启动器:此会话中发送至对等方 MEP 的延迟测量消息(DMM) PDU 帧数。 对于所有其他情况,此字段显示 0. |
收到有效的 DMMs | 如果 MEP 是用于双向 ETH DM 会话的启动器:收到的有效双路延迟测量数据包数。 |
收到的 DMMs 无效 | 如果 MEP 是用于双向 ETH DM 会话的启动器:收到的无效双路延迟测量数据包数。 |
DMRs 发送 | 如果 MEP 是 a a a a a a i 矩阵会话的响应者:发送的延迟测量答复(DMR)帧数。 对于所有其他情况,此字段显示 0. |
收到有效的 DMRs | 如果 MEP 是用于双向 ETH DM 会话的启动器:收到的有效 DMRs 数。 对于所有其他情况,此字段显示 0. |
收到的 DMRs 无效 | 如果 MEP 是用于双向 ETH DM 会话的启动器:收到的无效 DMRs 数。 对于所有其他情况,此字段显示 0. |
收到的有效单 LBRs | 收到的有效消息不是顺序的 LBRs 数。 |
LBRs 收到包含损坏数据的 | 收到的已损坏 LBRs 数。 |
LBRs 发送 | 传输的 LBRs 数。 |
LTMs 发送 | 链路跟踪消息(LTMs)已传输。 |
LTMs 收到 | 收到链路跟踪消息。 |
LTRs 发送 | 链路跟踪响应(LTRs)已传输。 |
LTRs 收到 | 收到链路跟踪响应。 |
下一 LTM 请求的序列号 | 要传输的下一个链路跟踪消息请求的序列号。 |
LMM 发送 | 如果接口已连接到 a a a a a a i-LM 会话的发起 MEP:此会话中发送至对等方 MEP 的丢失测量消息(LMM) PDU 帧数。 |
收到有效的 LMM | 如果接口已连接到 a a a a a a i-LM 会话的发起 MEP:收到的有效丢失测量请求数据包数。 |
收到的 LMM 无效 | 如果接口已连接到 MEP LM 会话的发起程序,则:收到的无效丢失测量请求数据包数。 |
LMR 发送 | 如果接口已连接到 a a a a i-LM 会话的响应方 MEP:发送的损失测量值(LMR)帧数。 |
收到有效的 LMR | 如果接口已连接到 MEP LM 会话 的发起程序,则:收到的有效 LMR 帧数。 |
收到的 LMR 无效 | 如果接口已连接到 a a a a a a i-LM 会话的发起 MEP:收到的无效 LMR 帧数。 |
SLM sent | 如果接口连接到 SLM 会话的发起程序 MEP:在此会话中从源 MEP 传输到远程或目标 MEP 的综合丢失测量(SLM)请求数据包数。 |
Valid SLM received | 如果接口连接到 SLM 会话的响应方 MEP:从来源 MEP 传输到远程或目标 MEP 的有效 SLM Pdu 数。 |
Invalid SLM received | 如果接口连接到 SLM 会话的响应方 MEP:从来源 MEP 传输到远程或目标 MEP 的无效 SLM Pdu 数。 |
SLR sent | 如果接口连接到 SLM 会话的响应方 MEP:编号详细信息发送的大量综合损失回复(SLR)帧。 |
Valid SLR received | 如果接口连接到 SLM 会话的发起程序 MEP:源 MEP 从远程或目标 MEP 接收的有效 SLR Pdu 数。 |
Invalid SLR received | 如果接口连接到 SLM 会话的发起程序 MEP:源 MEP 从远程或目标 MEP 接收的无效 SLR Pdu 数。 |
远程 MEP 标识符 | 远程 MEP 的 MEP 标识符。 |
State (远程 MEP) | 远程 MEP 的状态: 空闲、 开始、 还行或 没有. |
MAC 地址 | 远程 MEP 的 MAC 地址。 |
类型 | 是否使用自动发现或配置来了解远程 MEP MAC 地址。 |
接口 | 远程 MEP 的接口。如果将 CFM 配置为在类型为 VPLS 的路由实例上运行,则会追加一个七位数的数字。 |
上次 flapped | 日期、时间和远程 MEP 接口从下到上的持续时间。格式为 最后 flapped: 年月日工时可以:分钟可以:秒时区(差异可以:分钟可以:秒钟 前. 例如, 最后 flapped:2002-04-26 10:52:40 PDT (04:33:20 前). |
远程缺陷指示 | 是否在收到或传输的消息中设置远程缺陷指示(RDI)位。 |
端口状态 TLV |
|
接口状态 TLV |
|
操作配置文件 | 与远程 MEP 相关联的操作配置文件实例的名称。 |
最后一个事件 | 发生操作配置文件时,显示最后触发它的事件。 |
最后清除的事件 | 清除所有已配置和发生的事件(在操作配置文件下)后,将恢复所执行的操作(如关闭接口),并记录和显示相应时间。 |
操作 | 采取的措施和相应的操作发生时间。 |
示例输出
show oam 以太网连接-故障管理 mep-数据库
user@host> show oam ethernet connectivity-fault-management
mep-database maintenance-domain vpls-vlan2000 maintenance-association
vpls-vlan200
Maintenance domain name: vpls-vlan2000, Format: string, Level: 5 Maintenance association name: vpls-vlan200, Format: string Continuity-check status: enabled, Interval: 100ms, Loss-threshold: 3 frames MEP identifier: 200, Direction: up, MAC address: 00:19:e2:b0:74:01 Auto-discovery: enabled, Priority: 0 Interface status TLV: none, Port status TLV: none Connection Protection TLV: no Interface name: ge-0/0/1.0, Interface status: Active, Link status: Up Defects: Remote MEP not receiving CCM : no Erroneous CCM received : no Cross-connect CCM received : no RDI sent by some MEP : no Statistics: CCMs sent : 1476 CCMs received out of sequence : 0 LBMs sent : 85 Valid in-order LBRs received : 78 Valid out-of-order LBRs received : 0 LBRs received with corrupted data : 0 LBRs sent : 0 LTMs sent : 1 LTMs received : 0 LTRs sent : 0 LTRs received : 1 Sequence number of next LTM request : 1 1DMs sent : 0 Valid 1DMs received : 0 Invalid 1DMs received : 0 DMMs sent : 0 DMRs sent : 0 Valid DMRs received : 0 Invalid DMRs received : 0 Remote MEP count: 1 Identifier MAC address State Interface 100 00:19:e2:b2:81:4b ok vt-0/1/10.1049088
show oam 以太网连接-故障管理 mep-数据库(单向 ETH-DM)
user@host> show oam ethernet connectivity-fault-management
mep-database maintenance-domain md6 maintenance-domain ma6
Maintenance domain name: md6, Format: string, Level: 6 Maintenance association name: ma6, Format: string Continuity-check status: enabled, Interval: 100ms, Loss-threshold: 3 frames MEP identifier: 101, Direction: down, MAC address: 00:90:69:0a:48:57 Auto-discovery: enabled, Priority: 0 Interface name: ge-0/2/5.0, Interface status: Active, Link status: Up Defects: Remote MEP not receiving CCM : no Erroneous CCM received : no Cross-connect CCM received : no RDI sent by some MEP : no Statistics: CCMs sent : 1590 CCMs received out of sequence : 0 LBMs sent : 0 Valid in-order LBRs received : 0 Valid out-of-order LBRs received : 0 LBRs received with corrupted data : 0 LBRs sent : 0 LTMs sent : 0 LTMs received : 0 LTRs sent : 0 LTRs received : 0 Sequence number of next LTM request : 0 1DMs sent : 10 Valid 1DMs received : 0 Invalid 1DMs received : 0 DMMs sent : 0 DMRs sent : 0 Valid DMRs received : 0 Invalid DMRs received : 0 Remote MEP count: 1 Identifier MAC address State Interface 201 00:90:69:0a:43:94 ok ge-0/2/5.0
show oam 以太网连接-故障管理 mep-数据库本地-mep remote-mep
user@host> show oam ethernet connectivity-fault-management
mep-database maintenance-domain vpls-vlan2000 maintenance-association
vpls-vlan200 local-mep 200 remote-mep 100
Maintenance domain name: vpls-vlan2000, Format: string, Level: 5 Maintenance association name: vpls-vlan200, Format: string Continuity-check status: enabled, Interval: 100ms, Loss-threshold: 3 frames MEP identifier: 200, Direction: up, MAC address: 00:19:e2:b0:74:01 Auto-discovery: enabled, Priority: 0 Interface name: ge-0/0/1.0, Interface status: Active, Link status: Up Remote MEP identifier: 100, State: ok MAC address: 00:19:e2:b2:81:4b, Type: Learned Interface: vt-0/1/10.1049088 Last flapped: Never Remote defect indication: false Port status TLV: none Interface status TLV: none
show oam 以太网连接-故障管理 mep-数据库远程-mep (操作配置文件事件)
user@host> show oam ethernet connectivity-fault-management
mep-database maintenance-domain md5 maintenance-association ma5 remote-mep
200
Maintenance domain name: md5, Format: string, Level: 5 Maintenance association name: ma5, Format: string Continuity-check status: enabled, Interval: 1s, Loss-threshold: 3 frames MEP identifier: 100, Direction: down, MAC address: 00:05:85:73:e8:ad Auto-discovery: enabled, Priority: 0 Interface status TLV: none, Port status TLV: none Interface name: ge-1/0/8.0, Interface status: Active, Link status: Up Remote MEP identifier: 200, State: ok MAC address: 00:05:85:73:96:1f, Type: Configured Interface: ge-1/0/8.0 Last flapped: Never Remote defect indication: false Port status TLV: none Interface status TLV: lower-layer-down Action profile: juniper Last event: Interface-status-tlv lower-layer-down Action: Interface-down, Time: 2009-03-27 14:25:10 PDT (00:00:02 ago)
show oam 以太网连接-故障管理 mep-数据库(连接保护 TLV 已配置)
user@host>show oam ethernet connectivity-fault-management
mep-database maintenance-domain md5 maintenance-association ma5
如果未在 down Mep 上启用连接保护,但使用了连接保护 TLV,MX 将始终在连接保护 tlv 中设置保护正在使用的标志,而 CCMs 则发送出去。在 reversion 期间,这是一个指示接收器正在使用保护路径的指示器,否则对等方(接收器)假定工作处于活动状态,并且 reversion 未按预期工作。设置此位不会影响保护交换/信息流丢失。
Maintenance domain name: md5, Format: string, Level: 5 Maintenance association name: ma5, Format: string Continuity-check status: enabled, Interval: 1s, Loss-threshold: 3 frames MEP identifier: 1, Direction: down, MAC address: 00:19:e2:b1:14:30 Auto-discovery: enabled, Priority: 0 Interface status TLV: none, Port status TLV: none Connection Protection TLV: yes Prefer me: no, Protection in use: no, FRR Flag: no Interface name: xe-6/2/0.0, Interface status: Active, Link status: Up Defects: Remote MEP not receiving CCM : no Erroneous CCM received : no Cross-connect CCM received : no RDI sent by some MEP : no Some remote MEP's MAC in error state : no Statistics: CCMs sent : 251 CCMs received out of sequence : 0 LBMs sent : 0 Valid in-order LBRs received : 0 Valid out-of-order LBRs received : 0 LBRs received with corrupted data : 0 LBRs sent : 0 LTMs sent : 0 LTMs received : 0 LTRs sent : 0 LTRs received : 0 Sequence number of next LTM request : 0 1DMs sent : 0 Valid 1DMs received : 0 Invalid 1DMs received : 0 Out of sync 1DMs received : 0 DMMs sent : 0 Valid DMMs received : 0 Invalid DMMs received : 0 DMRs sent : 0 Valid DMRs received : 0 Invalid DMRs received : 0 LMMs sent : 0 Valid LMMs received : 0 Invalid LMMs received : 0 LMRs sent : 0 Valid LMRs received : 0 Invalid LMRs received : 0 Remote MEP count: 1 Identifier MAC address State Interface 2 00:90:69:7f:e4:30
show oam 以太网连接-故障管理 mep-数据库
user@host> show oam ethernet connectivity-fault-management
mep-database maintenance-domain md5 maintenance-association ma5
Maintenance association name: ma1, Format: string Continuity-check status: enabled, Interval: 1s, Loss-threshold: 3 frames MEP identifier: 1, Direction: down, MAC address: 00:14:f6:b6:01:fe Auto-discovery: enabled, Priority: 0 Interface name: ge-1/0/0.0, Interface status: Active, Link status: Up Defects: Remote MEP not receiving CCM : no Erroneous CCM received : no Cross-connect CCM received : no RDI sent by some MEP : no Statistics: CCMs sent : 328703 CCMs received out of sequence : 0 LBMs sent : 85 Valid in-order LBRs received : 78 Valid out-of-order LBRs received : 0 LBRs received with corrupted data : 0 LBRs sent : 0 LTMs sent : 0 LTMs received : 0 LTRs sent : 0 LTRs received : 0 Sequence number of next LTM request : 0 1DMs sent : 10 Valid 1DMs received : 10 Invalid 1DMs received : 0 DMMs sent : 20 DMRs sent : 0 Valid DMRs received : 10 Invalid DMRs received : 0 LMM sent : 10 Valid LMM received : 20 Invalid LMM received : 0 LMR sent : 20 Valid LMR received : 10 Invalid LMR received : 0 SLM sent : 10 Valid SLM received : 20 Invalid SLM received : 0 SLR sent : 20 Valid SLR received : 10 Invalid SLR received : 0 Remote MEP count : 1 Identifier MAC address State Interface 2 00:12:1e:fb:ea:7d ok ge-1/0/0.0
show oam 以太网连接-故障管理 mep-数据库(增强的连续性测量)
user@host> show oam ethernet connectivity-fault-management
mep-database maintenance-domain md5 maintenance-association ma5 local-mep
2001 remote-mep 1001
Maintenance domain name: md5, Format: string, Level: 5 Maintenance association name: ma5, Format: string Continuity-check status: enabled, Interval: 100ms, Loss-threshold: 3 frames MEP identifier: 2001, Direction: down, MAC address: 00:19:e2:b2:81:4a Auto-discovery: enabled, Priority: 0 Interface status TLV: up, Port status TLV: up Interface name: ge-2/0/0.0, Interface status: Active, Link status: Up Remote MEP identifier: 1001, State: ok MAC address : 00:19:e2:b0:74:00, Type: Learned Interface : ge-2/0/0.0 Last flapped : Never + Continuity : 91%, Admin-enable duration: 2100sec, Oper-down duration: 100sec Remote defect indication: false Port status TLV: none Interface status TLV: none
show oam 以太网连接-故障管理 mep-数据库本地-mep remote-mep
当计时器未运行时:
user@host> show oam ethernet connectivity-fault-management
mep-database maintenance-domain md6 maintenance-association ma6 local-mep
201 remote-mep 101 extensive
Maintenance domain name: md6, Format: string, Level: 6 Maintenance association name: ma6, Format: string Continuity-check status: enabled, Interval: 1s, Loss-threshold: 3 frames MEP identifier: 201, Direction: up, MAC address: 00:24:dc:48:46:cd Auto-discovery: enabled, Priority: 0 Interface status TLV: none, Port status TLV: none Connection Protection TLV: no Chassis ID: 00:24:dc:48:47:f2 Management Address: 10.216.34.30 Sendid TLV: no Interface name: ge-5/1/9.0, Interface status: Active, Link status: Up Remote MEP identifier: 101, State: ok MAC address: 00:22:83:db:4c:5b, Type: Configured Interface: ge-5/3/0.0 Last flapped: 2019-02-05 00:45:57 PST (00:54:51 ago) Continuity: 99%, Admin-enable duration: 3367sec, Oper-down duration: 43sec Effective loss threshold: 3 frames Remote defect indication: false Port status TLV: none Interface status TLV: none Remote Management Address: 0.0.0.0 Sendid TLV: no Sender ID Remote Chassis Subtype: 0 EDM time remaining: N/A
计时器运行时:
user@host> show oam ethernet connectivity-fault-management
mep-database maintenance-domain md6 maintenance-association ma6 local-mep
201 remote-mep 101 extensive
Maintenance domain name: md6, Format: string, Level: 6 Maintenance association name: ma6, Format: string Continuity-check status: enabled, Interval: 1s, Loss-threshold: 3 frames MEP identifier: 201, Direction: up, MAC address: 00:24:dc:48:46:cd Auto-discovery: enabled, Priority: 0 Interface status TLV: none, Port status TLV: none Connection Protection TLV: no Chassis ID: 00:24:dc:48:47:f2 Management Address: 10.216.34.30 Sendid TLV: no Interface name: ge-5/1/9.0, Interface status: Active, Link status: Up Remote MEP identifier: 101, State: ok MAC address: 00:22:83:db:4c:5b, Type: Configured Interface: ge-5/3/0.0 Last flapped: 2019-02-05 00:45:57 PST (00:56:16 ago) Continuity: 99%, Admin-enable duration: 3451sec, Oper-down duration: 43sec Effective loss threshold: 3 frames Remote defect indication: false Port status TLV: none Interface status TLV: none Remote Management Address: 0.0.0.0 Sendid TLV: no Sender ID Remote Chassis Subtype: 0 EDM time remaining: 894 secs