/interface/ethernet/switch/ingress-port-policer
ingress-port-policer
/interface/ethernet/switch/ingress-port-policer 的 RouterOS 目录参考。
interface/ethernet/switch/ingress-port-policer
Syscap: musicswitch Type: Directory
| 标志 | 名称 | 描述 |
|---|---|---|
X | disabled | |
I | invalid |
| 参数 | 类型 | 描述 |
|---|---|---|
port * | enum | 入方向端口策略器条目的物理端口或 trunk。 |
rate * | num | 最大数据速率限制。 |
burst | num | 允许突发时可传输的最大数据速率。 |
meter-unit | enum (bit | packet) { bit:0, packet:1 } | 流量入方向端口策略器速率的计量单位。 |
meter-len | enum (layer-1 | layer-2 | layer-3) { layer-1:0, layer-2:1, layer-3:2 } | 设置计量用数据包字节长度的数据包分类。 - layer-1 - 包括整个二层帧 + FCS + 帧间隙 + 前导码。 - layer-2 - 包括二层帧 + FCS。 - layer-3 - 仅包括三层 + 以太网填充,不包括二层头和 FCS。 |
yellow-action | enum (drop | forward | remark) { drop:0, forward:1, remark:2 } | 对超出流量的执行操作。 |
new-dei-for-yellow | alt { spcial-dei: enum (remap) { remap:0xffffffff } , dei: num [ .. 1] } | 如果 yellow-action 为 remark,则为超出流量重标记的 DEI。 |
new-pcp-for-yellow | alt { special-pcp: enum (remap) { remap:0xffffffff } , pcp: num [ .. 7] } | 如果 yellow-action 为 remark,则为超出流量重标记的 PCP。 |
new-dscp-for-yellow | alt { special-dscp: enum (remap) { remap:0xffffffff } , dscp: num [ .. 63] } | 如果 yellow-action 为 remark,则为超出流量重标记的 DSCP。 |
packet-types | ubit (arp-or-nd, tcp-control, broadcast, unregistered-multicast, registered-multicast, unknown-unicast, known-unicast) | 入方向端口策略器条目有效的匹配数据包类型。 |