通过流监控配置服务接口冗余
AS、多服务 PIC 和多服务 DPC 上的主动监控服务配置支持冗余。要配置冗余,请指定一个冗余服务 PIC (rsp
) 接口,其中主要 AS 或多服务 PIC 处于活动状态,辅助 PIC 处于备用状态。如果主 PIC 出现故障,辅助 PIC 将变为活动状态,并将所有服务处理都转移到该 PIC。如果主 PIC 恢复,它将保持待机状态,不会抢占辅助 PIC;您需要手动将服务还原到主 PIC要确定当前处于活动状态的 PIC,请发出 show interfaces redundancy
命令。
注意:
在流监控配置上,唯一支持的服务选项是 暖备用,其中一个备份 PIC 支持多个工作 PIC。无法保证恢复时间,因为检测到故障后,必须完全还原备份 PIC 上的配置。但是,配置将保留,并在新的活动 PIC 上可用。
与其他支持暖备用的服务一样,您可以发出命令, request interfaces (revert | switchover)
在主流监控接口和辅助流监控接口之间手动切换。
有关更多信息,请参阅 配置 AS 或多服务 PIC 冗余。有关操作模式命令的信息,请参阅 CLI 浏览器。
配置示例如下。
interface { rsp0 { redundancy-options { primary sp-0/0/0; secondary sp-1/3/0; } unit 0 { family inet; } } } interface { ge-0/2/0 { unit 0 { family inet { filter { input as_sample; } } address 10.58.255.49/28; } } } forwarding-options { sampling { instance instance1 { # named instances of sampling parameters input { rate 1; run-length 0; max-packets-per-second 65535; } family inet { output { flow-server 10.10.10.2 { port 5000; version 5; } flow-active-timeout 60; interface rsp0 { source-address 10.10.10.1; } } } } } } firewall { filter as_sample { term t1 { then { sample; accept; } } } }