跟踪不间断活动路由同步事件
要跟踪路由引擎之间不间断活动路由同步的进度,可以为每个受支持的协议和 BFD 会话配置不间断活动路由跟踪选项标志,并将这些操作记录到日志文件中。
要为支持的路由协议配置不间断活动路由跟踪选项,请在[edit protocols protocol-name traceoptions flag]
层次结构级别包含nsr-synchronization
语句,并可选择性地指定一个或多个详细信息、禁用、接收和发送选项:
[edit protocols] bgp { traceoptions { flag nsr-synchronization <detail> <disable> <receive> <send>; } } isis { traceoptions { flag nsr-synchronization <detail> <disable> <receive> <send>; } } ldp { traceoptions { flag nsr-synchronization <detail> <disable> <receive> <send>; } } mpls { traceoptions { flag nsr-synchronization; flag nsr-synchronization-detail; } } msdp { traceoptions { flag nsr-synchronization <detail> <disable> <receive> <send>; } } (ospf | ospf3) { traceoptions { flag nsr-synchronization <detail> <disable> <receive> <send>; } } rip { traceoptions { flag nsr-synchronization <detail> <disable> <receive> <send>; } } ripng { traceoptions { flag nsr-synchronization <detail> <disable> <receive> <send>; } } pim { traceoptions { flag nsr-synchronization <detail> <disable> <receive> <send>; } }
要为 BFD 会话配置不间断活动路由追踪选项,请在[edit protocols bfd traceoptions flag]
层次结构级别包括 nsr-synchronization 和nsr-packet
语句。
[edit protocols] bfd { traceoptions { flag nsr-synchronization; flag nsr-packet; } }
要追踪从 BGP 播发的路由复制的第 2 层 VPN 信令状态,请在[edit routing-options traceoptions flag]
层次结构级别包含语nsr-synchronization
句。此标志还跟踪 VPLS 从内核复制状态接收的标签和逻辑接口关联。
[edit routing-options] traceoptions { flag nsr-synchronization; }