2016/02/23 EdgeMAX シリーズのファームウェア v1.8.0 がリリースされました。
詳細はこちら をご覧下さい。
「コマンド > configure > traffic-policy」の版間の差分
ナビゲーションに移動
検索に移動
318行目: | 318行目: | ||
=== traffic-policy round-robin === | === traffic-policy round-robin === | ||
* set traffic-policy ''' round-robin [[パラメーター > traffic-policy エントリ名|{T_POLICY_ENTRY}]] ''' | |||
*: Deficit round robin based policy | |||
** set traffic-policy round-robin [[パラメーター > traffic-policy エントリ名|{T_POLICY_ENTRY}]] ''' class {1-4095} ''' | |||
**: Class handle | |||
*** <code>set traffic-policy round-robin [[パラメーター > traffic-policy エントリ名|{T_POLICY_ENTRY}]] class {1-4095} ''' description [[パラメーター > 任意テキスト|{任意テキスト}]] ''' </code> | |||
***: Description for this traffic class | |||
*** set traffic-policy round-robin [[パラメーター > traffic-policy エントリ名|{T_POLICY_ENTRY}]] class {1-4095} ''' match [[パラメーター > traffic-policy match エントリ名|{T_POLICY_MATCH_ENTRY}]] ''' | |||
***: Class matching rule name | |||
**** <code>set traffic-policy round-robin [[パラメーター > traffic-policy エントリ名|{T_POLICY_ENTRY}]] class {1-4095} match [[パラメーター > traffic-policy match エントリ名|{T_POLICY_MATCH_ENTRY}]] ''' description [[パラメーター > 任意テキスト|{任意テキスト}]] ''' </code> | |||
****: Description for this match | |||
**** set traffic-policy round-robin [[パラメーター > traffic-policy エントリ名|{T_POLICY_ENTRY}]] class {1-4095} match [[パラメーター > traffic-policy match エントリ名|{T_POLICY_MATCH_ENTRY}]] ''' ether ''' | |||
****: Ethernet header match | |||
***** <code>set traffic-policy round-robin [[パラメーター > traffic-policy エントリ名|{T_POLICY_ENTRY}]] class {1-4095} match [[パラメーター > traffic-policy match エントリ名|{T_POLICY_MATCH_ENTRY}]] ether ''' destination [[パラメーター > IPv4/v6 アドレス|{IPv4/v6 アドレス}]] ''' </code> | |||
***** <code>set traffic-policy round-robin [[パラメーター > traffic-policy エントリ名|{T_POLICY_ENTRY}]] class {1-4095} match [[パラメーター > traffic-policy match エントリ名|{T_POLICY_MATCH_ENTRY}]] ether ''' protocol [[パラメーター > ethernet プロトコル 条件式|{ethernet プロトコル 条件式}]] ''' </code> | |||
***** <code>set traffic-policy round-robin [[パラメーター > traffic-policy エントリ名|{T_POLICY_ENTRY}]] class {1-4095} match [[パラメーター > traffic-policy match エントリ名|{T_POLICY_MATCH_ENTRY}]] ether ''' source [[パラメーター > IPv4/v6 アドレス|{IPv4/v6 アドレス}]] ''' </code> | |||
**** <code>set traffic-policy round-robin [[パラメーター > traffic-policy エントリ名|{T_POLICY_ENTRY}]] class {1-4095} match [[パラメーター > traffic-policy match エントリ名|{T_POLICY_MATCH_ENTRY}]] ''' interface [[パラメーター > interface|{interface}]] ''' </code> | |||
****: Interface name for this match | |||
**** set traffic-policy round-robin [[パラメーター > traffic-policy エントリ名|{T_POLICY_ENTRY}]] class {1-4095} match [[パラメーター > traffic-policy match エントリ名|{T_POLICY_MATCH_ENTRY}]] ''' ip ''' | |||
****: Match IP protocol header | |||
***** set traffic-policy round-robin [[パラメーター > traffic-policy エントリ名|{T_POLICY_ENTRY}]] class {1-4095} match [[パラメーター > traffic-policy match エントリ名|{T_POLICY_MATCH_ENTRY}]] ip ''' destination ''' | |||
*****: Match on destination port or address | |||
****** <code>set traffic-policy round-robin [[パラメーター > traffic-policy エントリ名|{T_POLICY_ENTRY}]] class {1-4095} match [[パラメーター > traffic-policy match エントリ名|{T_POLICY_MATCH_ENTRY}]] ip destination ''' address [[パラメーター > IPv6 アドレス + サブネット|{h:h:h:h:h:h/x}]] ''' </code> | |||
******: IP source address for this match | |||
****** <code>set traffic-policy round-robin [[パラメーター > traffic-policy エントリ名|{T_POLICY_ENTRY}]] class {1-4095} match [[パラメーター > traffic-policy match エントリ名|{T_POLICY_MATCH_ENTRY}]] ip destination ''' port [[パラメーター > IPv6 ポート 条件式|{IPv6 ポート 条件式}]] ''' </code> | |||
******: TCP (or UDP) source port for this match | |||
***** <code>set traffic-policy round-robin [[パラメーター > traffic-policy エントリ名|{T_POLICY_ENTRY}]] class {1-4095} match [[パラメーター > traffic-policy match エントリ名|{T_POLICY_MATCH_ENTRY}]] ip ''' dscp [[パラメーター > IPv4 DSCP 条件式|{IPv4 DSCP 条件式}]] ''' </code> | |||
*****: Match on Differentiated Services Codepoint (DSCP) | |||
***** <code>set traffic-policy round-robin [[パラメーター > traffic-policy エントリ名|{T_POLICY_ENTRY}]] class {1-4095} match [[パラメーター > traffic-policy match エントリ名|{T_POLICY_MATCH_ENTRY}]] ip ''' protocol [[パラメーター > IPv4 プロトコル 条件式|{IPv4 プロトコル 条件式}]] ''' </code> | |||
*****: Match IP protocol name or number | |||
***** set traffic-policy round-robin [[パラメーター > traffic-policy エントリ名|{T_POLICY_ENTRY}]] class {1-4095} match [[パラメーター > traffic-policy match エントリ名|{T_POLICY_MATCH_ENTRY}]] ip ''' source ''' | |||
*****: Match on source port or address | |||
****** <code>set traffic-policy round-robin [[パラメーター > traffic-policy エントリ名|{T_POLICY_ENTRY}]] class {1-4095} match [[パラメーター > traffic-policy match エントリ名|{T_POLICY_MATCH_ENTRY}]] ip source ''' address [[パラメーター > IPv6 アドレス + サブネット|{h:h:h:h:h:h/x}]] ''' </code> | |||
******: IP source address for this match | |||
****** <code>set traffic-policy round-robin [[パラメーター > traffic-policy エントリ名|{T_POLICY_ENTRY}]] class {1-4095} match [[パラメーター > traffic-policy match エントリ名|{T_POLICY_MATCH_ENTRY}]] ip source ''' port [[パラメーター > IPv6 ポート 条件式|{IPv6 ポート 条件式}]] ''' </code> | |||
******: TCP (or UDP) source port for this match | |||
**** set traffic-policy round-robin [[パラメーター > traffic-policy エントリ名|{T_POLICY_ENTRY}]] class {1-4095} match [[パラメーター > traffic-policy match エントリ名|{T_POLICY_MATCH_ENTRY}]] ''' ipv6 ''' | |||
****: Match IPV6 header | |||
***** set traffic-policy round-robin [[パラメーター > traffic-policy エントリ名|{T_POLICY_ENTRY}]] class {1-4095} match [[パラメーター > traffic-policy match エントリ名|{T_POLICY_MATCH_ENTRY}]] ipv6 ''' destination ''' | |||
*****: Match on destination port or address | |||
****** <code>set traffic-policy round-robin [[パラメーター > traffic-policy エントリ名|{T_POLICY_ENTRY}]] class {1-4095} match [[パラメーター > traffic-policy match エントリ名|{T_POLICY_MATCH_ENTRY}]] ipv6 destination ''' address [[パラメーター > IPv6 アドレス + サブネット|{h:h:h:h:h:h/x}]] ''' </code> | |||
******: IP destination address for this match | |||
****** <code>set traffic-policy round-robin [[パラメーター > traffic-policy エントリ名|{T_POLICY_ENTRY}]] class {1-4095} match [[パラメーター > traffic-policy match エントリ名|{T_POLICY_MATCH_ENTRY}]] ipv6 destination ''' port [[パラメーター > IPv6 ポート 条件式|{IPv6 ポート 条件式}]] ''' </code> | |||
******: TCP (or UDP) destination port for this match | |||
***** <code>set traffic-policy round-robin [[パラメーター > traffic-policy エントリ名|{T_POLICY_ENTRY}]] class {1-4095} match [[パラメーター > traffic-policy match エントリ名|{T_POLICY_MATCH_ENTRY}]] ipv6 ''' dscp [[パラメーター > IPv6 DSCP 条件式|{IPv6 DSCP 条件式}]] ''' </code> | |||
*****: Match on Differentiated Services Codepoint (DSCP) | |||
***** <code>set traffic-policy round-robin [[パラメーター > traffic-policy エントリ名|{T_POLICY_ENTRY}]] class {1-4095} match [[パラメーター > traffic-policy match エントリ名|{T_POLICY_MATCH_ENTRY}]] ipv6 ''' protocol [[パラメーター > IPv6 プロトコル 条件式|{IPv6 プロトコル 条件式}]] ''' </code> | |||
*****: Match IP protocol name or number | |||
***** set traffic-policy round-robin [[パラメーター > traffic-policy エントリ名|{T_POLICY_ENTRY}]] class {1-4095} match [[パラメーター > traffic-policy match エントリ名|{T_POLICY_MATCH_ENTRY}]] ipv6 ''' source ''' | |||
*****: Match on source port or address | |||
****** <code>set traffic-policy round-robin [[パラメーター > traffic-policy エントリ名|{T_POLICY_ENTRY}]] class {1-4095} match [[パラメーター > traffic-policy match エントリ名|{T_POLICY_MATCH_ENTRY}]] ipv6 source ''' address [[パラメーター > IPv6 アドレス + サブネット|{h:h:h:h:h:h/x}]] ''' </code> | |||
******: IP destination address for this match | |||
****** <code>set traffic-policy round-robin [[パラメーター > traffic-policy エントリ名|{T_POLICY_ENTRY}]] class {1-4095} match [[パラメーター > traffic-policy match エントリ名|{T_POLICY_MATCH_ENTRY}]] ipv6 source ''' port [[パラメーター > IPv6 ポート 条件式|{IPv6 ポート 条件式}]] ''' </code> | |||
******: TCP (or UDP) destination port for this match | |||
**** <code>set traffic-policy round-robin [[パラメーター > traffic-policy エントリ名|{T_POLICY_ENTRY}]] class {1-4095} match [[パラメーター > traffic-policy match エントリ名|{T_POLICY_MATCH_ENTRY}]] ''' mark {0-4294967295} ''' </code> | |||
****: Match on mark applied by firewall | |||
**** <code>set traffic-policy round-robin [[パラメーター > traffic-policy エントリ名|{T_POLICY_ENTRY}]] class {1-4095} match [[パラメーター > traffic-policy match エントリ名|{T_POLICY_MATCH_ENTRY}]] ''' vif {0-4095} ''' </code> | |||
****: Virtual Local Area Network (VLAN) ID for this match | |||
*** <code>set traffic-policy round-robin [[パラメーター > traffic-policy エントリ名|{T_POLICY_ENTRY}]] class {1-4095} ''' quantum {1-4294967295} ''' </code> | |||
***: Packet scheduling quantum | |||
*** <code>set traffic-policy round-robin [[パラメーター > traffic-policy エントリ名|{T_POLICY_ENTRY}]] class {1-4095} ''' queue-limit {1-4294967295} ''' </code> | |||
***: Maximum queue size (packets) | |||
*** set traffic-policy round-robin [[パラメーター > traffic-policy エントリ名|{T_POLICY_ENTRY}]] class {1-4095} ''' queue-type ''' | |||
***: Queue type for this class | |||
**** <code>set traffic-policy round-robin [[パラメーター > traffic-policy エントリ名|{T_POLICY_ENTRY}]] class {1-4095} queue-type ''' fair-queue ''' </code> | |||
****: Stochastic Fair Queue (SFQ) | |||
**** <code>set traffic-policy round-robin [[パラメーター > traffic-policy エントリ名|{T_POLICY_ENTRY}]] class {1-4095} queue-type ''' drop-tail ''' </code> | |||
****: First-In-First-Out (FIFO) | |||
**** <code>set traffic-policy round-robin [[パラメーター > traffic-policy エントリ名|{T_POLICY_ENTRY}]] class {1-4095} queue-type ''' priority ''' </code> | |||
****: Priority queueing based on DSCP | |||
** set traffic-policy round-robin [[パラメーター > traffic-policy エントリ名|{T_POLICY_ENTRY}]] ''' default ''' | |||
**: Default policy | |||
*** <code>set traffic-policy round-robin [[パラメーター > traffic-policy エントリ名|{T_POLICY_ENTRY}]] default ''' quantum {1-4294967295} ''' </code> | |||
***: Packet scheduling quantum | |||
*** <code>set traffic-policy round-robin [[パラメーター > traffic-policy エントリ名|{T_POLICY_ENTRY}]] default ''' queue-limit {1-4294967295} ''' </code> | |||
***: Maximum queue size (packets) | |||
*** set traffic-policy round-robin [[パラメーター > traffic-policy エントリ名|{T_POLICY_ENTRY}]] default ''' queue-type ''' | |||
***: Queue type for this class | |||
**** <code>set traffic-policy round-robin [[パラメーター > traffic-policy エントリ名|{T_POLICY_ENTRY}]] default queue-type ''' fair-queue ''' </code> | |||
****: Stochastic Fair Queue (SFQ) | |||
**** <code>set traffic-policy round-robin [[パラメーター > traffic-policy エントリ名|{T_POLICY_ENTRY}]] default queue-type ''' drop-tail ''' </code> | |||
****: First-In-First-Out (FIFO) | |||
**** <code>set traffic-policy round-robin [[パラメーター > traffic-policy エントリ名|{T_POLICY_ENTRY}]] default queue-type ''' priority ''' </code> | |||
****: Priority queueing based on DSCP | |||
** <code>set traffic-policy round-robin [[パラメーター > traffic-policy エントリ名|{T_POLICY_ENTRY}]] ''' description [[パラメーター > 任意テキスト|{任意テキスト}]] ''' </code> | |||
**: Description for this queuing policy | |||
=== traffic-policy shaper === | === traffic-policy shaper === | ||
2015年11月23日 (月) 11:49時点における版
このページの概要
当ページでは、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
関連項目
凡例
「★」は、不明であることを表しています。
注意事項
動作の確認は、EdgeRouter X : ER-X にて行っています。 他のモデルでは、一部動作が異なる可能性があります。