2016/02/23 EdgeMAX シリーズのファームウェア v1.8.0 がリリースされました。
詳細はこちら をご覧下さい。
コマンド > configure > traffic-policy
ナビゲーションに移動
検索に移動
このページの概要
当ページでは、Configure モード 設定編集系 コマンドで、traffic-policy を利用する方法をご紹介します。
解説
traffic-policy は、設定要素の一つであり、設定編集系のコマンド と共に用います。
# 設定編集系コマンド traffic-policy パラメーター
- 例 :
# set traffic-policy パラメーター
のように用います。
- 作成した traffic-policy は、インターフェースに適用して初めて有効になります。
- コマンド > configure > interfaces もご覧下さい。
各 policy と設定可能なパケット方向
- limiter : in
- priority-queue : out
- shaper : out
その他判明したものは追記していきます。
traffic-policy のパラメーター
index
- traffic-policy drop-tail
- Drop tail queue (FIFO) policy
- traffic-policy fair-queue
- Fair queuing policy
- traffic-policy limiter
- Traffic input limiting policy
- traffic-policy network-emulator
- Network emulator policy
- traffic-policy priority-queue
- Priority queuing based policy
- traffic-policy random-detect
- Weighted Random Early Detect policy
- traffic-policy rate-control
- Rate limiting policy
- traffic-policy round-robin
- Deficit round robin based policy
- traffic-policy shaper
- Traffic shaping based policy
traffic-policy drop-tail
- set traffic-policy drop-tail {T_POLICY_ENTRY}
- Drop tail queue (FIFO) policy
set traffic-policy drop-tail {T_POLICY_ENTRY} description {任意テキスト}
- Description for this queuing policy
set traffic-policy drop-tail {T_POLICY_ENTRY} queue-limit {1-4294967295}
- Maximum queue size (packets)
traffic-policy fair-queue
- set traffic-policy fair-queue {T_POLICY_ENTRY}
- Fair queuing policy
set traffic-policy fair-queue {T_POLICY_ENTRY} description {任意テキスト}
- Description for this queuing policy
set traffic-policy fair-queue {T_POLICY_ENTRY} hash-interval {0-4294967295}
- Hash interval (seconds)
set traffic-policy fair-queue {T_POLICY_ENTRY} queue-limit {1-127}
- Maximum queue size (packets)
traffic-policy limiter
- set traffic-policy limiter {T_POLICY_ENTRY}
- Traffic input limiting policy
- set traffic-policy limiter {T_POLICY_ENTRY} class {1-4090}
- Class ID
- set traffic-policy limiter {T_POLICY_ENTRY} class {1-4090} bandwidth
- Traffic-limit used for this class [REQUIRED]
set traffic-policy limiter {T_POLICY_ENTRY} class {1-4090} bandwidth {NUMBER}
- Rate in k (1000) bytes per second
set traffic-policy limiter {T_POLICY_ENTRY} class {1-4090} bandwidth {NUMBER} {SUFFIX}
- Rate with scaling suffix (mbit, mbps, ...)
- set traffic-policy limiter {T_POLICY_ENTRY} class {1-4090} burst
- Burst size for this class (default: 15kb)
set traffic-policy limiter {T_POLICY_ENTRY} class {1-4090} burst {NUMBER}
- Bytes
set traffic-policy limiter {T_POLICY_ENTRY} class {1-4090} burst {NUMBER} {SUFFIX}
- Bytes with scaling suffix (kb, mb, gb)
set traffic-policy limiter {T_POLICY_ENTRY} class {1-4090} description {任意テキスト}
- Description for this traffic class
- set traffic-policy limiter {T_POLICY_ENTRY} class {1-4090} match {T_POLICY_MATCH_ENTRY}
- Class matching rule name
set traffic-policy limiter {T_POLICY_ENTRY} class {1-4090} match {T_POLICY_MATCH_ENTRY} description {任意テキスト}
- Description for this match
- set traffic-policy limiter {T_POLICY_ENTRY} class {1-4090} match {T_POLICY_MATCH_ENTRY} ether
- Ethernet header match
set traffic-policy limiter {T_POLICY_ENTRY} class {1-4090} match {T_POLICY_MATCH_ENTRY} ether destination {x.x.x.x}
- Ethernet destination address for this match
set traffic-policy limiter {T_POLICY_ENTRY} class {1-4090} match {T_POLICY_MATCH_ENTRY} ether protocol {ethernet プロトコル 条件式}
- Ethernet protocol for this match
set traffic-policy limiter {T_POLICY_ENTRY} class {1-4090} match {T_POLICY_MATCH_ENTRY} ether source {x.x.x.x}
- Ethernet source address for this match
- set traffic-policy limiter {T_POLICY_ENTRY} class {1-4090} match {T_POLICY_MATCH_ENTRY} ip
- Match IP protocol header
- set traffic-policy limiter {T_POLICY_ENTRY} class {1-4090} match {T_POLICY_MATCH_ENTRY} ip destination
- Match on destination port or address
set traffic-policy limiter {T_POLICY_ENTRY} class {1-4090} match {T_POLICY_MATCH_ENTRY} ip destination address {x.x.x.x/x}
- IP destination address for this match
set traffic-policy limiter {T_POLICY_ENTRY} class {1-4090} match {T_POLICY_MATCH_ENTRY} ip destination port {IPv4 ポート 条件式}
- TCP (or UDP) destination port for this match
set traffic-policy limiter {T_POLICY_ENTRY} class {1-4090} match {T_POLICY_MATCH_ENTRY} ip dscp {IPv4 DSCP 条件式}
- Match on Differentiated Services Codepoint (DSCP)
set traffic-policy limiter {T_POLICY_ENTRY} class {1-4090} match {T_POLICY_MATCH_ENTRY} ip protocol {IPv4 プロトコル 条件式}
- Match IP protocol name or number
- set traffic-policy limiter {T_POLICY_ENTRY} class {1-4090} match {T_POLICY_MATCH_ENTRY} ip source
- Match on source port or address
set traffic-policy limiter {T_POLICY_ENTRY} class {1-4090} match {T_POLICY_MATCH_ENTRY} ip source address {x.x.x.x/x}
- IP source address for this match
set traffic-policy limiter {T_POLICY_ENTRY} class {1-4090} match {T_POLICY_MATCH_ENTRY} ip source port {IPv4 ポート 条件式}
- TCP (or UDP) source port for this match
- set traffic-policy limiter {T_POLICY_ENTRY} class {1-4090} match {T_POLICY_MATCH_ENTRY} ipv6
- Match IPV6 header
- set traffic-policy limiter {T_POLICY_ENTRY} class {1-4090} match {T_POLICY_MATCH_ENTRY} ipv6 destination
- Match on destination port or address
set traffic-policy limiter {T_POLICY_ENTRY} class {1-4090} match {T_POLICY_MATCH_ENTRY} ipv6 destination address {h:h:h:h:h:h/x}
- IP destination address for this match
set traffic-policy limiter {T_POLICY_ENTRY} class {1-4090} match {T_POLICY_MATCH_ENTRY} ipv6 destination port {IPv6 ポート 条件式}
- TCP (or UDP) destination port for this match
set traffic-policy limiter {T_POLICY_ENTRY} class {1-4090} match {T_POLICY_MATCH_ENTRY} ipv6 dscp {IPv6 DSCP 条件式}
- Match on Differentiated Services Codepoint (DSCP)
set traffic-policy limiter {T_POLICY_ENTRY} class {1-4090} match {T_POLICY_MATCH_ENTRY} ipv6 protocol {IPv6 プロトコル 条件式}
- Match IP protocol name or number
- set traffic-policy limiter {T_POLICY_ENTRY} class {1-4090} match {T_POLICY_MATCH_ENTRY} ipv6 source
- Match on source port or address
set traffic-policy limiter {T_POLICY_ENTRY} class {1-4090} match {T_POLICY_MATCH_ENTRY} ipv6 source address {h:h:h:h:h:h/x}
- IP source address for this match
set traffic-policy limiter {T_POLICY_ENTRY} class {1-4090} match {T_POLICY_MATCH_ENTRY} ipv6 source port {IPv6 ポート 条件式}
- TCP (or UDP) source port for this match
set traffic-policy limiter {T_POLICY_ENTRY} class {1-4090} match {T_POLICY_MATCH_ENTRY} vif {0-4095}
- Virtual Local Area Network (VLAN) ID for this match
set traffic-policy limiter {T_POLICY_ENTRY} class {1-4090} priority {0-20}
- Priority value
- set traffic-policy limiter {T_POLICY_ENTRY} default
- Default policy
- set traffic-policy limiter {T_POLICY_ENTRY} default bandwidth
- Traffic-limit used for this class [REQUIRED]
set traffic-policy limiter {T_POLICY_ENTRY} default bandwidth {NUMBER}
- Rate in k (1000) bytes per second
set traffic-policy limiter {T_POLICY_ENTRY} default bandwidth {NUMBER} {SUFFIX}
- Rate with scaling suffix (mbit, mbps, ...)
- set traffic-policy limiter {T_POLICY_ENTRY} default burst
- Burst size for this class (default: 15kb)
set traffic-policy limiter {T_POLICY_ENTRY} default burst {NUMBER}
- Bytes
set traffic-policy limiter {T_POLICY_ENTRY} default burst {NUMBER} {SUFFIX}
- Bytes with scaling suffix (kb, mb, gb)
set traffic-policy limiter {T_POLICY_ENTRY} description {任意テキスト}
- Description for this queuing policy
traffic-policy network-emulator
- set traffic-policy network-emulator {T_POLICY_ENTRY}
- Network emulator policy
- set traffic-policy network-emulator {T_POLICY_ENTRY} bandwidth
- Bandwidth limit
set traffic-policy network-emulator {T_POLICY_ENTRY} bandwidth {NUMBER}
- Rate in k (1000) bytes per second
set traffic-policy network-emulator {T_POLICY_ENTRY} bandwidth {NUMBER} {SUFFIX}
- Rate with scaling suffix (mbit, mbps, ...)
- set traffic-policy network-emulator {T_POLICY_ENTRY} burst
- Burst size
set traffic-policy network-emulator {T_POLICY_ENTRY} burst {NUMBER}
- Bytes
set traffic-policy network-emulator {T_POLICY_ENTRY} burst {NUMBER} {SUFFIX}
- Bytes with scaling suffix (kb, mb, gb)
set traffic-policy network-emulator {T_POLICY_ENTRY} description {任意テキスト}
- Description for this queuing policy
- set traffic-policy network-emulator {T_POLICY_ENTRY} network-delay
- Additional network delay
set traffic-policy network-emulator {T_POLICY_ENTRY} network-delay {NUMBER}
- Time in milliseconds
set traffic-policy network-emulator {T_POLICY_ENTRY} network-delay {NUMBER} {SUFFIX}
- Time with suffix (secs, ms, us)
set traffic-policy network-emulator {T_POLICY_ENTRY} packet-corruption {NUMBER}%
- Emulated packet data corruption rate
set traffic-policy network-emulator {T_POLICY_ENTRY} packet-loss {NUMBER}%
- Emulated packet loss rate
set traffic-policy network-emulator {T_POLICY_ENTRY} packet-reordering {NUMBER}%
- Emulated packet reordering percentage
set traffic-policy network-emulator {T_POLICY_ENTRY} queue-limit {1-4294967295}
- Maximum queue size (packets)
traffic-policy priority-queue
- set traffic-policy priority-queue {T_POLICY_ENTRY}
- Priority queuing based policy
- set traffic-policy priority-queue {T_POLICY_ENTRY} class {1-7}
- Class handle
set traffic-policy priority-queue {T_POLICY_ENTRY} class {1-7} description {任意テキスト}
- Description for this traffic class
- set traffic-policy priority-queue {T_POLICY_ENTRY} class {1-7} match {T_POLICY_MATCH_ENTRY}
- Class matching rule name
set traffic-policy priority-queue {T_POLICY_ENTRY} class {1-7} match {T_POLICY_MATCH_ENTRY} description {任意テキスト}
- Description for this match
- set traffic-policy priority-queue {T_POLICY_ENTRY} class {1-7} match {T_POLICY_MATCH_ENTRY} ether
- Ethernet header match
set traffic-policy priority-queue {T_POLICY_ENTRY} class {1-7} match {T_POLICY_MATCH_ENTRY} ether destination {IPv4/v6 アドレス}
- Ethernet destination address for this match
set traffic-policy priority-queue {T_POLICY_ENTRY} class {1-7} match {T_POLICY_MATCH_ENTRY} ether protocol {ethernet プロトコル 条件式}
- Ethernet protocol for this match
set traffic-policy priority-queue {T_POLICY_ENTRY} class {1-7} match {T_POLICY_MATCH_ENTRY} ether source {IPv4/v6 アドレス}
- Ethernet source address for this match
set traffic-policy priority-queue {T_POLICY_ENTRY} class {1-7} match {T_POLICY_MATCH_ENTRY} interface {interface}
- Interface name for this match
- set traffic-policy priority-queue {T_POLICY_ENTRY} class {1-7} match {T_POLICY_MATCH_ENTRY} ip
- Match IP protocol header
- set traffic-policy priority-queue {T_POLICY_ENTRY} class {1-7} match {T_POLICY_MATCH_ENTRY} ip destination
- Match on destination port or address
set traffic-policy priority-queue {T_POLICY_ENTRY} class {1-7} match {T_POLICY_MATCH_ENTRY} ip destination address {x.x.x.x/x}
- IP destination address for this match
set traffic-policy priority-queue {T_POLICY_ENTRY} class {1-7} match {T_POLICY_MATCH_ENTRY} ip destination port {IPv4 ポート 条件式}
- TCP (or UDP) destination port for this match
set traffic-policy priority-queue {T_POLICY_ENTRY} class {1-7} match {T_POLICY_MATCH_ENTRY} ip dscp {IPv4 DSCP 条件式}
- Match on Differentiated Services Codepoint (DSCP)
set traffic-policy priority-queue {T_POLICY_ENTRY} class {1-7} match {T_POLICY_MATCH_ENTRY} ip protocol {IPv4 プロトコル 条件式}
- Match IP protocol name or number
- set traffic-policy priority-queue {T_POLICY_ENTRY} class {1-7} match {T_POLICY_MATCH_ENTRY} ip source
- Match on source port or address
set traffic-policy priority-queue {T_POLICY_ENTRY} class {1-7} match {T_POLICY_MATCH_ENTRY} ip source address {x.x.x.x/x}
- IP source address for this match
set traffic-policy priority-queue {T_POLICY_ENTRY} class {1-7} match {T_POLICY_MATCH_ENTRY} ip source port {IPv4 ポート 条件式}
- TCP (or UDP) source port for this match
- set traffic-policy priority-queue {T_POLICY_ENTRY} class {1-7} match {T_POLICY_MATCH_ENTRY} ipv6
- Match IPV6 header
- set traffic-policy priority-queue {T_POLICY_ENTRY} class {1-7} match {T_POLICY_MATCH_ENTRY} ipv6 destination
- Match on destination port or address
set traffic-policy priority-queue {T_POLICY_ENTRY} class {1-7} match {T_POLICY_MATCH_ENTRY} ipv6 destination address {h:h:h:h:h:h/x}
- IP destination address for this match
set traffic-policy priority-queue {T_POLICY_ENTRY} class {1-7} match {T_POLICY_MATCH_ENTRY} ipv6 destination port {IPv6 ポート 条件式}
- TCP (or UDP) destination port for this match
set traffic-policy priority-queue {T_POLICY_ENTRY} class {1-7} match {T_POLICY_MATCH_ENTRY} ipv6 dscp {IPv6 DSCP 条件式}
- Match on Differentiated Services Codepoint (DSCP)
set traffic-policy priority-queue {T_POLICY_ENTRY} class {1-7} match {T_POLICY_MATCH_ENTRY} ipv6 protocol {IPv6 プロトコル 条件式}
- Match IP protocol name or number
- set traffic-policy priority-queue {T_POLICY_ENTRY} class {1-7} match {T_POLICY_MATCH_ENTRY} ipv6 source
- Match on source port or address
set traffic-policy priority-queue {T_POLICY_ENTRY} class {1-7} match {T_POLICY_MATCH_ENTRY} ipv6 source address {h:h:h:h:h:h/x}
- IP source address for this match
set traffic-policy priority-queue {T_POLICY_ENTRY} class {1-7} match {T_POLICY_MATCH_ENTRY} ipv6 source port {IPv6 ポート 条件式}
- TCP (or UDP) source port for this match
set traffic-policy priority-queue {T_POLICY_ENTRY} class {1-7} match {T_POLICY_MATCH_ENTRY} mark {0-4294967295}
- Match on mark applied by firewall
set traffic-policy priority-queue {T_POLICY_ENTRY} class {1-7} match {T_POLICY_MATCH_ENTRY} vif {0-4095}
- Virtual Local Area Network (VLAN) ID for this match
set traffic-policy priority-queue {T_POLICY_ENTRY} class {1-7} queue-limit {1-4294967295}
- Maximum queue size (packets)
- set traffic-policy priority-queue {T_POLICY_ENTRY} class {1-7} queue-type
- Queue type for this class
set traffic-policy priority-queue {T_POLICY_ENTRY} class {1-7} queue-type fair-queue
- Stochastic Fair Queue (SFQ)
set traffic-policy priority-queue {T_POLICY_ENTRY} class {1-7} queue-type drop-tail
- First-In-First-Out (FIFO)
- set traffic-policy priority-queue {T_POLICY_ENTRY} default
- Default policy
set traffic-policy priority-queue {T_POLICY_ENTRY} default queue-limit {1-4294967295}
- Maximum queue size (packets)
- set traffic-policy priority-queue {T_POLICY_ENTRY} default queue-type
- Queue type for default traffic
set traffic-policy priority-queue {T_POLICY_ENTRY} default queue-type fair-queue
- Stochastic Fair Queue (SFQ)
set traffic-policy priority-queue {T_POLICY_ENTRY} default queue-type drop-tail
- First-In-First-Out (FIFO)
set traffic-policy priority-queue {T_POLICY_ENTRY} description {任意テキスト}
- Description for this queuing policy
traffic-policy random-detect
- set traffic-policy random-detect {T_POLICY_ENTRY}
- Weighted Random Early Detect policy
- set traffic-policy random-detect {T_POLICY_ENTRY} bandwidth
- Available bandwidth for this policy
set traffic-policy random-detect {T_POLICY_ENTRY} bandwidth auto
- Rate based on interface speed (default)
set traffic-policy random-detect {T_POLICY_ENTRY} bandwidth {NUMBER}
- Rate in k (1000) bytes per second
set traffic-policy random-detect {T_POLICY_ENTRY} bandwidth {NUMBER} {SUFFIX}
- Rate with scaling suffix (mbit, mbps, ...)
set traffic-policy random-detect {T_POLICY_ENTRY} description {任意テキスト}
- Description for queuing policy
- set traffic-policy random-detect {T_POLICY_ENTRY} precedence {0-7}
- IP precedence
set traffic-policy random-detect {T_POLICY_ENTRY} precedence {0-7} average-packet {16-10240}
- Average packet size (bytes)
set traffic-policy random-detect {T_POLICY_ENTRY} precedence {0-7} mark-probability {NUMBER}
- Mark probability for this precedence (1/N)
set traffic-policy random-detect {T_POLICY_ENTRY} precedence {0-7} maximum-threshold {0-4096}
- Maximum threshold for random detection
set traffic-policy random-detect {T_POLICY_ENTRY} precedence {0-7} minimum-threshold {0-4096}
- Minimum threshold for random detection
set traffic-policy random-detect {T_POLICY_ENTRY} precedence {0-7} queue-limit {1-4294967295}
- Maximum queue size (packets)
traffic-policy rate-control
- set traffic-policy rate-control {T_POLICY_ENTRY}
- Rate limiting policy
- set traffic-policy rate-control {T_POLICY_ENTRY} bandwidth
- Bandwidth limit
set traffic-policy rate-control {T_POLICY_ENTRY} bandwidth {NUMBER}
- Rate in k (1000) bytes per second
set traffic-policy rate-control {T_POLICY_ENTRY} bandwidth {NUMBER} {SUFFIX}
- Rate with scaling suffix (mbit, mbps, ...)
- set traffic-policy rate-control {T_POLICY_ENTRY} burst
- Burst size
set traffic-policy rate-control {T_POLICY_ENTRY} burst {NUMBER}
- Bytes
set traffic-policy rate-control {T_POLICY_ENTRY} burst {NUMBER} {SUFFIX}
- Bytes with scaling suffix (kb, mb, gb)
set traffic-policy rate-control {T_POLICY_ENTRY} description {任意テキスト}
- Description for this queuing policy
- set traffic-policy rate-control {T_POLICY_ENTRY} latency
- Maximum latency
set traffic-policy rate-control {T_POLICY_ENTRY} latency {NUMBER}
- Time in milliseconds
set traffic-policy rate-control {T_POLICY_ENTRY} latency {NUMBER} {SUFFIX}
- Time with suffix (secs, ms, us)
traffic-policy round-robin
- set traffic-policy round-robin {T_POLICY_ENTRY}
- Deficit round robin based policy
- set traffic-policy round-robin {T_POLICY_ENTRY} class {1-4095}
- Class handle
set traffic-policy round-robin {T_POLICY_ENTRY} class {1-4095} description {任意テキスト}
- Description for this traffic class
- set traffic-policy round-robin {T_POLICY_ENTRY} class {1-4095} match {T_POLICY_MATCH_ENTRY}
- Class matching rule name
set traffic-policy round-robin {T_POLICY_ENTRY} class {1-4095} match {T_POLICY_MATCH_ENTRY} description {任意テキスト}
- Description for this match
- set traffic-policy round-robin {T_POLICY_ENTRY} class {1-4095} match {T_POLICY_MATCH_ENTRY} ether
- Ethernet header match
set traffic-policy round-robin {T_POLICY_ENTRY} class {1-4095} match {T_POLICY_MATCH_ENTRY} ether destination {IPv4/v6 アドレス}
set traffic-policy round-robin {T_POLICY_ENTRY} class {1-4095} match {T_POLICY_MATCH_ENTRY} ether protocol {ethernet プロトコル 条件式}
set traffic-policy round-robin {T_POLICY_ENTRY} class {1-4095} match {T_POLICY_MATCH_ENTRY} ether source {IPv4/v6 アドレス}
set traffic-policy round-robin {T_POLICY_ENTRY} class {1-4095} match {T_POLICY_MATCH_ENTRY} interface {interface}
- Interface name for this match
- set traffic-policy round-robin {T_POLICY_ENTRY} class {1-4095} match {T_POLICY_MATCH_ENTRY} ip
- Match IP protocol header
- set traffic-policy round-robin {T_POLICY_ENTRY} class {1-4095} match {T_POLICY_MATCH_ENTRY} ip destination
- Match on destination port or address
set traffic-policy round-robin {T_POLICY_ENTRY} class {1-4095} match {T_POLICY_MATCH_ENTRY} ip destination address {h:h:h:h:h:h/x}
- IP source address for this match
set traffic-policy round-robin {T_POLICY_ENTRY} class {1-4095} match {T_POLICY_MATCH_ENTRY} ip destination port {IPv6 ポート 条件式}
- TCP (or UDP) source port for this match
set traffic-policy round-robin {T_POLICY_ENTRY} class {1-4095} match {T_POLICY_MATCH_ENTRY} ip dscp {IPv4 DSCP 条件式}
- Match on Differentiated Services Codepoint (DSCP)
set traffic-policy round-robin {T_POLICY_ENTRY} class {1-4095} match {T_POLICY_MATCH_ENTRY} ip protocol {IPv4 プロトコル 条件式}
- Match IP protocol name or number
- set traffic-policy round-robin {T_POLICY_ENTRY} class {1-4095} match {T_POLICY_MATCH_ENTRY} ip source
- Match on source port or address
set traffic-policy round-robin {T_POLICY_ENTRY} class {1-4095} match {T_POLICY_MATCH_ENTRY} ip source address {h:h:h:h:h:h/x}
- IP source address for this match
set traffic-policy round-robin {T_POLICY_ENTRY} class {1-4095} match {T_POLICY_MATCH_ENTRY} ip source port {IPv6 ポート 条件式}
- TCP (or UDP) source port for this match
- set traffic-policy round-robin {T_POLICY_ENTRY} class {1-4095} match {T_POLICY_MATCH_ENTRY} ipv6
- Match IPV6 header
- set traffic-policy round-robin {T_POLICY_ENTRY} class {1-4095} match {T_POLICY_MATCH_ENTRY} ipv6 destination
- Match on destination port or address
set traffic-policy round-robin {T_POLICY_ENTRY} class {1-4095} match {T_POLICY_MATCH_ENTRY} ipv6 destination address {h:h:h:h:h:h/x}
- IP destination address for this match
set traffic-policy round-robin {T_POLICY_ENTRY} class {1-4095} match {T_POLICY_MATCH_ENTRY} ipv6 destination port {IPv6 ポート 条件式}
- TCP (or UDP) destination port for this match
set traffic-policy round-robin {T_POLICY_ENTRY} class {1-4095} match {T_POLICY_MATCH_ENTRY} ipv6 dscp {IPv6 DSCP 条件式}
- Match on Differentiated Services Codepoint (DSCP)
set traffic-policy round-robin {T_POLICY_ENTRY} class {1-4095} match {T_POLICY_MATCH_ENTRY} ipv6 protocol {IPv6 プロトコル 条件式}
- Match IP protocol name or number
- set traffic-policy round-robin {T_POLICY_ENTRY} class {1-4095} match {T_POLICY_MATCH_ENTRY} ipv6 source
- Match on source port or address
set traffic-policy round-robin {T_POLICY_ENTRY} class {1-4095} match {T_POLICY_MATCH_ENTRY} ipv6 source address {h:h:h:h:h:h/x}
- IP destination address for this match
set traffic-policy round-robin {T_POLICY_ENTRY} class {1-4095} match {T_POLICY_MATCH_ENTRY} ipv6 source port {IPv6 ポート 条件式}
- TCP (or UDP) destination port for this match
set traffic-policy round-robin {T_POLICY_ENTRY} class {1-4095} match {T_POLICY_MATCH_ENTRY} mark {0-4294967295}
- Match on mark applied by firewall
set traffic-policy round-robin {T_POLICY_ENTRY} class {1-4095} match {T_POLICY_MATCH_ENTRY} vif {0-4095}
- Virtual Local Area Network (VLAN) ID for this match
set traffic-policy round-robin {T_POLICY_ENTRY} class {1-4095} quantum {1-4294967295}
- Packet scheduling quantum
set traffic-policy round-robin {T_POLICY_ENTRY} class {1-4095} queue-limit {1-4294967295}
- Maximum queue size (packets)
- set traffic-policy round-robin {T_POLICY_ENTRY} class {1-4095} queue-type
- Queue type for this class
set traffic-policy round-robin {T_POLICY_ENTRY} class {1-4095} queue-type fair-queue
- Stochastic Fair Queue (SFQ)
set traffic-policy round-robin {T_POLICY_ENTRY} class {1-4095} queue-type drop-tail
- First-In-First-Out (FIFO)
set traffic-policy round-robin {T_POLICY_ENTRY} class {1-4095} queue-type priority
- Priority queueing based on DSCP
- set traffic-policy round-robin {T_POLICY_ENTRY} default
- Default policy
set traffic-policy round-robin {T_POLICY_ENTRY} default quantum {1-4294967295}
- Packet scheduling quantum
set traffic-policy round-robin {T_POLICY_ENTRY} default queue-limit {1-4294967295}
- Maximum queue size (packets)
- set traffic-policy round-robin {T_POLICY_ENTRY} default queue-type
- Queue type for this class
set traffic-policy round-robin {T_POLICY_ENTRY} default queue-type fair-queue
- Stochastic Fair Queue (SFQ)
set traffic-policy round-robin {T_POLICY_ENTRY} default queue-type drop-tail
- First-In-First-Out (FIFO)
set traffic-policy round-robin {T_POLICY_ENTRY} default queue-type priority
- Priority queueing based on DSCP
set traffic-policy round-robin {T_POLICY_ENTRY} description {任意テキスト}
- Description for this queuing policy
traffic-policy shaper
- set traffic-policy shaper {T_POLICY_ENTRY}
- Traffic shaping based policy
- set traffic-policy shaper {T_POLICY_ENTRY} bandwidth
- Available bandwidth for this policy
set traffic-policy shaper {T_POLICY_ENTRY} bandwidth auto
- Rate matches interface speed (default)
set traffic-policy shaper {T_POLICY_ENTRY} bandwidth {NUMBER}
- Rate in k (1000) bytes per second
set traffic-policy shaper {T_POLICY_ENTRY} bandwidth {NUMBER} {SUFFIX}
- Rate with scaling suffix (mbit, mbps, ...)
- set traffic-policy shaper {T_POLICY_ENTRY} class {1-4095}
- Class handle
- set traffic-policy shaper {T_POLICY_ENTRY} class {1-4095} bandwidth
- Bandwidth used for this class
- set traffic-policy shaper {T_POLICY_ENTRY} class {1-4095} bandwidth
- {NUMBER} //
- Bandwidth in Kbps
- set traffic-policy shaper {T_POLICY_ENTRY} class {1-4095} bandwidth
- {NUMBER} % //
- Percentage of overall rate (default 100%)
- set traffic-policy shaper {T_POLICY_ENTRY} class {1-4095} bandwidth
- {NUMBER} {SUFFIX} //
- Value with scaling suffix (kbit, kbps, ...)
- set traffic-policy shaper {T_POLICY_ENTRY} class {1-4095} burst
- Burst size for this class (default: 15kb)
- set traffic-policy shaper {T_POLICY_ENTRY} class {1-4095} burst
- {NUMBER} //
- Bytes
- set traffic-policy shaper {T_POLICY_ENTRY} class {1-4095} burst
- {NUMBER} {SUFFIX} //
- Bytes with scaling suffix (kb, mb, gb)
- set traffic-policy shaper {T_POLICY_ENTRY} class {1-4095} ceiling
- Bandwidth limit for this class
- set traffic-policy shaper {T_POLICY_ENTRY} class {1-4095} ceiling
- {NUMBER} //
- Bandwidth in Kbps
- set traffic-policy shaper {T_POLICY_ENTRY} class {1-4095} ceiling
- {NUMBER} % //
- Percentage of overall rate (default 100%)
- set traffic-policy shaper {T_POLICY_ENTRY} class {1-4095} ceiling
- {NUMBER} {SUFFIX} //
- Value with scaling suffix (kbit, kbps, ...)
set traffic-policy shaper {T_POLICY_ENTRY} class {1-4095} description {任意テキスト}
- Description for this traffic class
- set traffic-policy shaper {T_POLICY_ENTRY} class {1-4095} match {T_POLICY_MATCH_ENTRY}
- Class matching rule name
set traffic-policy shaper {T_POLICY_ENTRY} class {1-4095} match {T_POLICY_MATCH_ENTRY} description {任意テキスト}
- Description for this match
- set traffic-policy shaper {T_POLICY_ENTRY} class {1-4095} match {T_POLICY_MATCH_ENTRY} ether
- Ethernet header match
set traffic-policy shaper {T_POLICY_ENTRY} class {1-4095} match {T_POLICY_MATCH_ENTRY} ether destination {IPv4/v6 アドレス}
- Ethernet destination address for this match
set traffic-policy shaper {T_POLICY_ENTRY} class {1-4095} match {T_POLICY_MATCH_ENTRY} ether protocol {ethernet プロトコル 条件式}
- Ethernet protocol for this match
set traffic-policy shaper {T_POLICY_ENTRY} class {1-4095} match {T_POLICY_MATCH_ENTRY} ether source {IPv4/v6 アドレス}
- Ethernet source address for this match
set traffic-policy shaper {T_POLICY_ENTRY} class {1-4095} match {T_POLICY_MATCH_ENTRY} interface {interface}
- Interface name for this match
- set traffic-policy shaper {T_POLICY_ENTRY} class {1-4095} match {T_POLICY_MATCH_ENTRY} ip
- Match IP protocol header
- set traffic-policy shaper {T_POLICY_ENTRY} class {1-4095} match {T_POLICY_MATCH_ENTRY} ip destination
- Match on destination port or address
set traffic-policy shaper {T_POLICY_ENTRY} class {1-4095} match {T_POLICY_MATCH_ENTRY} ip destination address {x.x.x.x/x}
- IP source address for this match
set traffic-policy shaper {T_POLICY_ENTRY} class {1-4095} match {T_POLICY_MATCH_ENTRY} ip destination port {IPv6 ポート 条件式}
- TCP (or UDP) source port for this match
set traffic-policy shaper {T_POLICY_ENTRY} class {1-4095} match {T_POLICY_MATCH_ENTRY} ip dscp {IPv4 DSCP 条件式}
- Match on Differentiated Services Codepoint (DSCP)
set traffic-policy shaper {T_POLICY_ENTRY} class {1-4095} match {T_POLICY_MATCH_ENTRY} ip protocol {IPv4 プロトコル 条件式}
- Match IP protocol name or number
- set traffic-policy shaper {T_POLICY_ENTRY} class {1-4095} match {T_POLICY_MATCH_ENTRY} ip source
- Match on source port or address
set traffic-policy shaper {T_POLICY_ENTRY} class {1-4095} match {T_POLICY_MATCH_ENTRY} ip source address {x.x.x.x/x}
- IP source address for this match
set traffic-policy shaper {T_POLICY_ENTRY} class {1-4095} match {T_POLICY_MATCH_ENTRY} ip source port {IPv6 ポート 条件式}
- TCP (or UDP) source port for this match
- set traffic-policy shaper {T_POLICY_ENTRY} class {1-4095} match {T_POLICY_MATCH_ENTRY} ipv6
- Match IPV6 header
- set traffic-policy shaper {T_POLICY_ENTRY} class {1-4095} match {T_POLICY_MATCH_ENTRY} ipv6 destination
- Match on destination port or address
set traffic-policy shaper {T_POLICY_ENTRY} class {1-4095} match {T_POLICY_MATCH_ENTRY} ipv6 destination address {h:h:h:h:h:h/x}
- IP destination address for this match
set traffic-policy shaper {T_POLICY_ENTRY} class {1-4095} match {T_POLICY_MATCH_ENTRY} ipv6 destination port {IPv6 ポート 条件式}
- TCP (or UDP) destination port for this match
set traffic-policy shaper {T_POLICY_ENTRY} class {1-4095} match {T_POLICY_MATCH_ENTRY} ipv6 dscp {IPv6 DSCP 条件式}
- Match on Differentiated Services Codepoint (DSCP)
set traffic-policy shaper {T_POLICY_ENTRY} class {1-4095} match {T_POLICY_MATCH_ENTRY} ipv6 protocol {IPv6 プロトコル 条件式}
- Match IP protocol name or number
- set traffic-policy shaper {T_POLICY_ENTRY} class {1-4095} match {T_POLICY_MATCH_ENTRY} ipv6 source
- Match on source port or address
set traffic-policy shaper {T_POLICY_ENTRY} class {1-4095} match {T_POLICY_MATCH_ENTRY} ipv6 source address {h:h:h:h:h:h/x}
- IP destination address for this match
set traffic-policy shaper {T_POLICY_ENTRY} class {1-4095} match {T_POLICY_MATCH_ENTRY} ipv6 source port {IPv6 ポート 条件式}
- TCP (or UDP) destination port for this match
set traffic-policy shaper {T_POLICY_ENTRY} class {1-4095} match {T_POLICY_MATCH_ENTRY} mark {0-4294967295}
- Match on mark applied by firewall
set traffic-policy shaper {T_POLICY_ENTRY} class {1-4095} match {T_POLICY_MATCH_ENTRY} vif {0-4095}
- Virtual Local Area Network (VLAN) ID for this match
set traffic-policy shaper {T_POLICY_ENTRY} class {1-4095} priority {0-7}
- Priority for usage of excess bandwidth
set traffic-policy shaper {T_POLICY_ENTRY} class {1-4095} queue-limit {1-4294967295}
- Maximum queue size (packets)
- set traffic-policy shaper {T_POLICY_ENTRY} class {1-4095} queue-type
- Queue type for this class
set traffic-policy shaper {T_POLICY_ENTRY} class {1-4095} queue-type fair-queue
- Stochastic Fair Queue (SFQ)
set traffic-policy shaper {T_POLICY_ENTRY} class {1-4095} queue-type drop-tail
- First-In-First-Out (FIFO)
set traffic-policy shaper {T_POLICY_ENTRY} class {1-4095} queue-type priority
- Priority queueing based on DSCP
set traffic-policy shaper {T_POLICY_ENTRY} class {1-4095} queue-type random-detect
- Random Early Detection (RED)
set traffic-policy shaper {T_POLICY_ENTRY} class {1-4095} set-dscp {IPv4 DSCP 条件式}
- Change the Differentiated Services (DiffServ) field in the IP header
- set traffic-policy shaper {T_POLICY_ENTRY} class {1-4095} ceiling
- set traffic-policy shaper {T_POLICY_ENTRY} default
- Default policy
- set traffic-policy shaper {T_POLICY_ENTRY} default bandwidth
- Bandwidth used for default traffic [REQUIRED]
set traffic-policy shaper {T_POLICY_ENTRY} default bandwidth {NUMBER}
- Bandwidth in Kbps
set traffic-policy shaper {T_POLICY_ENTRY} default bandwidth {NUMBER} %
- Percentage of overall rate (default 100%)
set traffic-policy shaper {T_POLICY_ENTRY} default bandwidth {NUMBER} {SUFFIX}
- Value with scaling suffix (kbit, kbps, ...)
- set traffic-policy shaper {T_POLICY_ENTRY} default burst
- Burst size for default traffic
set traffic-policy shaper {T_POLICY_ENTRY} default burst {NUMBER}
- Bytes
set traffic-policy shaper {T_POLICY_ENTRY} default burst {NUMBER} {SUFFIX}
- Bytes with scaling suffix (kb, mb, gb)
- set traffic-policy shaper {T_POLICY_ENTRY} default ceiling
- Bandwidth limit for default traffic
set traffic-policy shaper {T_POLICY_ENTRY} default ceiling {NUMBER}
- Bandwidth in Kbps
set traffic-policy shaper {T_POLICY_ENTRY} default ceiling {NUMBER} %
- Percentage of overall rate (default 100%)
set traffic-policy shaper {T_POLICY_ENTRY} default ceiling {NUMBER} {SUFFIX}
- Value with scaling suffix (kbit, kbps, ...)
set traffic-policy shaper {T_POLICY_ENTRY} default priority {0-7}
- Priority for usage of extra bandwidth
set traffic-policy shaper {T_POLICY_ENTRY} default queue-limit {1-4294967295}
- Maximum queue size (packets)
- set traffic-policy shaper {T_POLICY_ENTRY} default queue-type
- Queue type for default traffic
- set traffic-policy shaper {T_POLICY_ENTRY} default queue-type
- fair-queue //
- Stochastic Fair Queue (SFQ)
- set traffic-policy shaper {T_POLICY_ENTRY} default queue-type
- drop-tail //
- First-In-First-Out (FIFO)
- set traffic-policy shaper {T_POLICY_ENTRY} default queue-type
- priority //
- Priority queueing based on DSCP
- set traffic-policy shaper {T_POLICY_ENTRY} default queue-type
- random-detect //
- Random Early Detection (RED)
set traffic-policy shaper {T_POLICY_ENTRY} default set-dscp {IPv4 DSCP 条件式}
- Modified Differentiated Services (DiffServ) value
- set traffic-policy shaper {T_POLICY_ENTRY} default ceiling
set traffic-policy shaper {T_POLICY_ENTRY} description {任意テキスト}
- Description for this queuing policy
関連項目
凡例
「★」は、不明であることを表しています。
注意事項
動作の確認は、EdgeRouter X : ER-X にて行っています。 他のモデルでは、一部動作が異なる可能性があります。