示例:T 和 M 系列路由器上的流头配置
以下示例显示了完整流头配置的所有部分。
注意:
以下示例仅适用于 M 系列和 T 系列路由器,M160 和 TX Matrix 路由器除外。对于 MX 系列路由器,由于流头应用程序驻留在数据包转发引擎中,而不是服务 PIC 或密集端口集中器 (DPC) 中,因此数据包转发引擎必须将数据包发送到隧道逻辑 (vt-) 接口以封装截获的数据包。在这种情况下,您需要分配一个隧道接口,并将其分配给动态流捕获进程,供 FlowTapLite 使用。
services { flow-tap { interface sp-1/2/0.100; } } interfaces { sp-1/2/0 { unit 100 { family inet; } } } system { services { flow-tap-dtcp { ssh { connection-limit 5; rate-limit 5; } } } login { class ft-class { permissions flow-tap-operation; } user ft-user1 { class ft-class; authentication { encrypted-password “xxxx”; } } } }