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