示例:用于订阅者安全策略镜像的 SNMPv3 陷阱配置
此示例显示了提供 SNMPv3 陷阱支持的 SNMP 配置。
配置 SNMPv3 陷阱支持。
[edit snmp] v3 { usm { local-engine { user mediation-device1 { ## Name of the mediation device authentication-md5 { authentication-key "$ABC123$ABC123"; ## SECRET-DATA } privacy-des { privacy-key "$ABC123"; ## SECRET-DATA } } } } target-address md1 { address 198.51.100.240; ## Address of the mediation device receiving the traps port 162; tag-list mediation-8; target-parameters tp1; } target-parameters tpi { parameters { message-processing-model v3; security-model usm; security-level privacy; security-name mediation-device1; ## Name of the mediation device } notify-filter nf1; } notify n1 { type trap; tag mediation-8; } notify-filter nf1 { oid .jnxJsPacketMirrorMIB include; } } view pkt-mirror-mib oid jnxJsPacketMirrorMIB include
配置 radius-flow-tap 服务以支持订阅者安全策略镜像。
[edit services radius-flow-tap] logical-system LS1 routing-instance RI1 snmp { notify-targets ip-address; } source-ipv4-address 198.51.100.255