show chassis synchronization (MX Series Routers)
语法
show chassis synchronization <clock-module <(re0 | re1 | routing-engine (backup | both | local | master | other))>> <extensive> <interface interface-name>
描述
显示有关用于机箱同步的时钟的信息。
在混合模式下,MPC 中的 EEC 从同步以太网获得频率同步,从 PTP 获得相位和一天中的时间;但是, show chassis synchronization extensive
操作模式命令输出显示从位于 SCB 上的 EEC 派生的锁定状态。
MX 系列路由器中的交换机控制板 (SCB) 成帧器仅支持第一代同步状态消息 (SSM) 格式。因此,每当路由器需要通过外部接口传输 st3e 或 tnc 的 SSM 值时,都会传输 st3 的 SSM 值。但是,在同步以太网接口上,将传输带有未调整 SSM 的 ESMC 数据包。此处的术语 “未调整 ”是指:
receive-quality
如果配置了层次结构级别的语句[edit chassis synchronization selection-mode]
,则会传输最初收到的 SSM 值 st3e 或 tnc(对应于当前活动的同步以太网时钟接口)。configured quality
如果配置了层次结构级别的语句[edit chassis synchronization selection-mode]
,则会传输最初配置的 st3e 或 tnc SSM 值(对应于当前活动的同步以太网时钟接口)。
请注意,当外部接口收到 st3e 或 tnc 的 SSM 值时,SCB 成帧器无法识别这些 SSM 代码中的任何一个,因此,它会报告已收到“不使用”(DNU) 质量值。
在层次结构级别的外部接口 [edit chassis synchronization interfaces external]
上配置以下成帧格式值时,SCBE2 不支持 SSM:
声明的
t1-options
SFG704-NO-CRC 声明
e1-options
选项
clock-module | (带有增强型 MX 交换机控制板的 MX240、MX480、MX960、MX10003、MX204、MX2010、MX2020 和 MX2008 路由器;)(可选)显示时钟模块信息。您可以选择指定以下路由引擎限定符之一:
|
||||||
extensive | (可选)详细显示时钟同步信息。 |
||||||
interface interface-name | (可选)显示指定接口的时钟同步信息。 |
所需权限级别
维护
输出字段
表 1 列出了命令 show chassis synchronization
的输出字段。输出字段按其出现的大致顺序列出。
字段名称 |
字段说明 |
输出级别 |
---|---|---|
|
指示机箱同步的当前状态:
|
没有 |
|
指示时钟是锁定到 |
没有 |
|
为机箱同步配置的接口列表及其后续状态指示器的标题。 |
没有 |
|
指示作为源的已配置接口。 |
没有 |
|
指示为接口配置的优先级。 |
没有 |
|
将接口 |
没有 |
|
指示接口的配置质量。
|
没有 |
|
指示配置的接口:
|
|
|
指示指示接口的同步状态,如下所示:
|
|
|
已建立的同步以太网配置的唯一数字标识符。 |
|
|
指示同步以太网时钟源的状态:
|
|
|
指示配置的优先级。范围为 1 到 5。以下值指示参数是未指定还是未定义:
|
|
|
指示配置的源接口质量级别 (QL),具体取决于源接口和选项。支持以下质量级别,并指示配置的 QL:
|
|
|
指示配置的以太网同步消息通道 (ESMC) 质量级别:
|
|
|
指示配置的机箱同步时钟源为以下类型之一:
|
|
|
指示事件时钟状态:
|
|
配置标志 |
指示 |
|
|
指示端口信号在打开以接收和传输以太网同步消息之前启动的时间量(以分钟为单位)。 |
|
|
指示同步以太网接口和外部时钟源接口的延迟时间(以毫秒为单位),以防止快速连续切换。如果接口出现故障,延迟时间会延迟短时信号故障被发送到时钟选择过程。 |
|
|
指示同步以太网软件运行状态:
|
|
|
指示接口不符合同步以太网操作条件的原因,包括以下内容:
|
|
|
指示时钟模块是在交换机控制板上 |
|
|
指示时钟模块的作用:
|
|
|
指示时钟模块的状态:
|
|
|
显示有关受监视时钟源的信息。 |
|
|
指示接口类型以及配置的 FPC、PIC 和端口:
|
|
|
指示时钟源的类型:
|
|
|
指示时钟源的状态:
|
|
示例输出
显示机箱同步
user@host> show chassis synchronization Current clock status: Locked Clock locked to : Primary Configured sources Source Configured Interface Configured Name Priority Status Quality ge-1/0/0 - Primary PRC
示例输出
显示机箱同步扩展
user@host> show chassis synchronization extensive Current clock status: Locked Clock locked to : Primary Configured sources: Interface : ge-1/0/0 Status : Primary Index : 143 Clock source state : Clk qualified Priority : - Configured QL : PRC ESMC QL : DNU Clock source type : ifd Clock Event : Clock locked Kernel flags : Up,pri, Wait-to-restore time : 1 Hold-off time : 1200 Interface State : Up,ESMC TX(QL SEC/SSM 0xb),
示例输出
显示机箱同步扩展(链路断开的同步以太网)
user@host> show chassis synchronization extensive Current clock status : Holdover Configured sources: Interface : ge-1/0/2 Status : n/a Index : 142 Clock source state : n/a Priority : Default(8) Configured QL : SSU-B ESMC QL : DNU Clock source type : ifd Clock Event : n/a Kernel flags : Dn, Ineligibility reason: Link Down, Wait-to-restore time : 1 Hold-off time : 1200 Interface State : Up,ESMC TX(QL SEC/SSM 0xb),
示例输出
显示机箱同步扩展(物理接口未恢复的同步以太网)
user@host> show chassis synchronization extensive Current clock status : Holdover Configured sources: Interface : ge-1/0/2 Status : n/a Index : 142 Clock source state : n/a Priority : Default(8) Configured QL : SSU-B ESMC QL : DNU Clock source type : ifd Clock Event : n/a Kernel flags : Restoring in 13s,ESMC TX(QL DNU/SSM 0xf), Ineligibility reason: Not restored, Wait-to-restore time : 1 Hold-off time : 1200 Interface State : Up,ESMC TX(QL SEC/SSM 0xb),
示例输出
显示机箱同步扩展(在不合格的插槽 10 上配置同步以太网)
user@host> show chassis synchronization extensive Current clock status : Holdover Configured sources: Interface : ge-10/0/2 # Note: configuration 10/x/y (slot 10), which does not support Synchronous Ethernet Status : n/a Index : 142 Clock source state : n/a Priority : Default(8) Configured QL : SSU-B ESMC QL : DNU Clock source type : ifd Clock Event : n/a Kernel flags : Up, Ineligibility reason: Forbidden slot, Wait-to-restore time : 1 Hold-off time : 1200 Interface State : Up,ESMC TX(QL SEC/SSM 0xb),
示例输出
显示机箱同步扩展(在 MX104 路由器上)
user@host> show chassis synchronization extensive Current clock status : Locked Clock locked to : Primary Configured interfaces: Name : bits Signal type : e1 (g704 hdb3 sa4) Rx status : active Tx status : active Configured sources: Interface : bits Status : Primary Index : 2 Clock source state : Clk qualified Priority : Default(7) Configured QL : SEC ESMC QL : SEC Clock source type : extern Clock Event : Clock locked Wait-to-restore : 5 min Hold-off : 1000 ms Interface State : Up,pri,ESMC Rx(SSM 0xb)
示例输出
显示机箱同步时钟模块(MX10003路由器)
user@host> show chassis synchronization clock-module re0: -------------------------------------------------------------------------- Clock module on SCB0 Current role : master Current state : holdover State for : 11 days, 01 hrs, 20 mins, 33 secs State since : Sun Jan 29 20:11:48 2023 user@host> show chassis synchronization extensive Current clock status : Locked Clock locked to : Primary SNMP trap status : Disabled Configured sources: Interface : et-0/1/3 Status : Secondary Index : 563 Clock source state : Clk qualified Priority : 1 Configured QL : PRC ESMC QL : DNU Clock source type : ifd Clock Event : Clock qualified Wait-to-restore : 0 min Hold-off : 1000 ms Interface State : Up,sec,ESMC TX(QL PRC/SSM 0x2), Interface : et-0/1/7 Status : n/a Index : 567 Clock source state : n/a Priority : 3 Configured QL : PRC ESMC QL : DNU Clock source type : ifd Clock Event : n/a Wait-to-restore : 0 min Hold-off : 1000 ms Interface State : Up,ESMC TX(QL PRC/SSM 0x2), Interface : et-0/1/8 Status : Primary Index : 568 Clock source state : Clk qualified Priority : 1 Configured QL : PRC ESMC QL : DNU Clock source type : ifd Clock Event : Clock locked Wait-to-restore : 0 min Hold-off : 1000 ms Interface State : Up,pri,ESMC TX(QL DNU/SSM 0xf), Interface : et-1/1/1 Status : n/a Index : 555 Clock source state : n/a Priority : 5 Configured QL : PRC ESMC QL : DNU Clock source type : ifd Clock Event : n/a Wait-to-restore : 0 min Hold-off : 1000 ms Interface State : Dn, Ineligibility reason: Link Down
示例输出
显示机箱同步时钟模块(MX204 路由器)
user@host> show chassis synchronization clock-module re0: -------------------------------------------------------------------------- Clock module on SCB0 Current role : master
示例输出
显示机箱同步接口
user@host> show chassis synchronization interface ge-1/0/2 Current clock status : Locked Clock locked to : Primary
示例输出
- 显示机箱同步时钟模块
- 显示机箱同步时钟模块(带 MX10k-LC2101 线卡的MX10008)
- 显示机箱同步(配置的外部时钟接口)
- 显示机箱同步时钟模块(配置的外部时钟接口)
- 显示机箱同步时钟模块(已配置外部时钟接口)
- 显示机箱同步扩展(配置的外部时钟接口)
显示机箱同步时钟模块
user@host> show chassis synchronization clock-module Clock module on SCB0 Current role : master Current state : locked to ge-4/1/0 State for : 0 days, 00 hrs, 00 mins, 15 secs State since : Mon Jun 6 07:29:40 2011 Monitored clock sources Interface Type Status ge-4/1/0 syncE qualified-selected ge-4/3/0 syncE qualified
显示机箱同步时钟模块(带 MX10k-LC2101 线卡的MX10008)
user@host> show chassis synchronization clock-module Clock module on SCB0 Current role : master Current state : locked to external-0 State for : 0 days, 00 hrs, 01 mins, 16 secs State since : Tue May 17 02:44:36 2022 Monitored clock sources Interface Type Status et-0/3/1 syncE-hybrid qualified external-0 bits-hybrid qualified-selected
显示机箱同步(配置的外部时钟接口)
user@host> show chassis synchronization Current clock status : Free-run Configured interfaces: Name Signal type Rx status Tx status external e1 (g704 ami sa4) loss of signal squelched Configured outputs: Interface Tx status Minimum QL Tx QL external squelched SEC DNU Configured sources: Source Configured Interface Configured Name Priority Status Quality external Default(6) n/a SSU-A
显示机箱同步时钟模块(配置的外部时钟接口)
user@host> show chassis synchronization clock-module re0: -------------------------------------------------------------------------- Clock module on SCB0 Current role : master Current state : freerun State for : 2 days, 06 hrs, 16 mins, 57 secs State since : Wed Nov 14 08:02:07 2012 Monitored clock sources Interface Type Status external e1 failed
显示机箱同步时钟模块(已配置外部时钟接口)
user@host> show chassis synchronization clock-module
re0:
--------------------------------------------------------------------------
Clock module on SCB0
Current role : master
Current state : locked to external-0
State for : 0 days, 00 hrs, 08 mins, 27 secs
State since : Tue May 17 02:44:36 2022
Monitored clock sources
Interface Type Status
external-0 bits-hybrid qualified-selected
显示机箱同步扩展(配置的外部时钟接口)
user@host> show chassis synchronization extensive Current clock status : Free-run Configured interfaces: Name : external Signal type : e1 (g704 ami sa4) Rx status : loss of signal Tx status : squelched LED color : red Configured outputs: Interface : external Tx status : squelched (holdover data invalid) Minimum QL : SEC Tx QL : DNU Holdover mode : enabled Wander filter : disabled Source mode : chassis Source Tx DNU : disabled Holdover data : invalid Current state : holdover State for : 2 days, 06 hrs, 03 mins, 46 secs State since : Wed Nov 14 08:02:09 2012 Configured sources: Interface : external Status : n/a Index : 0 Clock source state : n/a Priority : Default(6) Configured QL : SSU-A ESMC QL : DNU Clock source type : extern Clock Event : n/a Interface State : Dn,ESMC Rx(SSM 0xf), Ineligibility reason: Link Down,
发布信息
Junos OS 10.4 版中引入的命令。
clock-module
Junos OS 12.2 版中引入的选项。