service-set (Dynamic Service Sets)
语法
service-set service-set-name { service-filter filter-name; }
层次结构级别
[edit dynamic-profiles profile-name interfaces interface-name unit logical-unit-number family family service input], [edit dynamic-profiles profile-name interfaces interface-name unit logical-unit-number family family service output], [edit dynamic-profiles profile-name interfaces pp0 unit “$junos-interface-unit” family family service input], [edit dynamic-profiles profile-name interfaces pp0 unit “$junos-interface-unit” family family service output]
描述
在动态配置文件中定义一个或多个服务集。服务集应用于接口。如果定义多个服务集,路由器软件将按过滤器在配置中出现的顺序评估过滤器。您可以使用预定义的动态接口变量 $junos-input-service-set
、和$junos-input-ipv6-service-set
$junos-output-service-set
$junos-output-ipv6-service-set
。
从 Junos OS 17.2R1 版开始,您可以在层次结构级别配置融合服务 edit dynamic-profiles http-redirect-converged
。也可在动态配置文件部分下配置 CPCD 规则,以实现规则参数化。此机制提供了额外的灵活性,可以通过服务附件为每个订阅者自定义不同的规则。
必需的权限级别
接口 — 在配置中查看此语句。
接口控制 — 将此语句添加到配置中。
版本信息
在 Junos OS 9.5 版中引入的语句。
[edit dynamic-profiles profile-name interfaces pp0 unit “$junos-interface-unit” family family service input]
Junos OS 10.1 版中引入的层级和[edit dynamic-profiles profile-name interfaces pp0 unit “$junos-interface-unit” family family service output]
层级支持。
从 17.2R1 开始,您可以在层次结构级别配置融合服务 edit dynamic-profiles http-redirect-converged
。