port-range
语法
port-range { tcp [ ports-and-port-ranges ]; udp [ ports-and-port-ranges ]; }
层次结构级别
[edit services application-identification application application-name port-mapping], [edit services application-identification rule rule-name address destination], [edit services application-identification rule rule-name address source]
描述
定义 TCP 和 UDP 端口编号或数字范围。对于端口映射配置,如果存在父节点,则需要此条目。
选项
ports-and-port-ranges
—单个端口号、数字端口范围或两者兼而有之。使用空格分隔值。数字端口范围的格式为 minimum-value–maximum-value
。
所需权限级别
接口 — 要在配置中查看此语句。
接口控制 — 要将此语句添加到配置中。
发布信息
在 Junos OS 9.5 版 中引入的语句。