The dynamic flow command configures dynamic iFIT flow learning.
The reset dynamic flow command clears the learned iFIT dynamic flow.
By default, no dynamic flow is configured.
dynamic flow source { src-ip-address [ src-mask-length ] | srcAny } destination { dest-ip-address [ dest-mask-length ] | dstAny } [ vpn-instance vpn-name ] interface { ifType ifNum | ifName } [ dscp dscp-value ] [ protocol { { tcp | udp | protocol-tcp | protocol-udp | sctp | protocol-sctp } [ source-port src-port-number ] [ destination-port dest-port-number ] | { protocol-number | protocol-number3 | protocol-number4 | protocol-number5 } } ] { measure-mode { e2e | trace } | delay-measure { enable | disable } | interval interval-value | { loss-measure-enable | loss-measure-disable } | { disorder-measure-enable | disorder-measure-disable } | per-packet-delay { enable | disable } } *
reset dynamic flow source { src-ip-address [ src-mask-length ] | srcAny } destination { dest-ip-address [ dest-mask-length ] | dstAny } [ vpn-instance vpn-name ] interface { ifType ifNum | ifName } [ dscp dscp-value ] [ protocol { { tcp | udp | protocol-tcp | protocol-udp | sctp | protocol-sctp } [ source-port src-port-number ] [ destination-port dest-port-number ] | { protocol-number | protocol-number3 | protocol-number4 | protocol-number5 } } ]
dynamic flow source-ipv6 { src-ipv6-address [ src6-mask-length ] | srcAny } destination-ipv6 { dest-ipv6-address [ dest6-mask-length ] | dstAny } [ vpn-instance vpn-name ] interface { ifType ifNum | ifName } [ dscp dscp-value ] [ protocol { { tcp | udp | protocol-tcp | protocol-udp | sctp | protocol-sctp } [ source-port src-port-number ] [ destination-port dest-port-number ] | { protocol-number | protocol-number3 | protocol-number4 | protocol-number5 } } ] { measure-mode { e2e | trace } | delay-measure { enable | disable } | interval interval-value | { loss-measure-enable | loss-measure-disable } | { disorder-measure-enable | disorder-measure-disable } | per-packet-delay { enable | disable } } *
reset dynamic flow source-ipv6 { src-ipv6-address [ src6-mask-length ] | srcAny } destination-ipv6 { dest-ipv6-address [ dest6-mask-length ] | dstAny } [ vpn-instance vpn-name ] interface { ifType ifNum | ifName } [ dscp dscp-value ] [ protocol { { tcp | udp | protocol-tcp | protocol-udp | sctp | protocol-sctp } [ source-port src-port-number ] [ destination-port dest-port-number ] | { protocol-number | protocol-number3 | protocol-number4 | protocol-number5 } } ]
Parameter | Description | Value |
---|---|---|
src-mask-length |
Specifies a subnet mask length for a source IPv4 address. |
The value is an integer ranging from 1 to 32. |
srcAny |
Indicates that the source IP address can be any IP address. |
- |
destination dest-ip-address |
Specifies a destination IPv4 address. |
The value is in dotted decimal notation. |
dest-mask-length |
Specifies a subnet mask length for a destination IPv4 address. |
The value is an integer ranging from 1 to 32. |
dstAny |
Specify the destination IP address as any address. |
- |
vpn-instance vpn-name |
Specifies a VPN instance name. |
The value is a string of 1 to 31 case-sensitive characters. It cannot contain spaces. The VPN instance name cannot be _public_. If the character string is quoted by double quotation marks, the character string can contain spaces. |
interface ifType ifNum |
Specifies an interface. |
The value is a string of 1 to 63 case-sensitive characters, spaces not supported. |
protocol |
Specifies a protocol type. |
The following protocol types are supported:
|
source-port src-port-number |
Specifies a source port number. |
The value is an integer ranging from 1 to 65535. |
destination-port dest-port-number |
Specifies a destination port number. |
The value is an integer that ranges from 1 to 65535. |
protocol-number |
Specifies a protocol number. |
The value is an integer ranging from 0 to 5. |
protocol-number3 |
Specifies a protocol number. |
The value is an integer ranging from 7 to 16. |
measure-mode |
Specifies a measurement type.
|
- |
delay-measure |
Indicates the delay measurement status.
|
- |
interval interval-value |
Specifies an interval. |
The value is an integer that ranges from 1 to 300. |
source src-ip-address |
Specifies a source IPv4 address. |
The value is in dotted decimal notation. |
source-ipv6 src-ipv6-address |
Specifies a source IPv6 address. |
The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X. |
src6-mask-length |
Specifies a subnet mask length for a source IPv6 address. |
The value is an integer ranging from 1 to 128. |
destination-ipv6 dest-ipv6-address |
Specifies a destination IPv6 address. |
The value is a 32-digit hexadecimal number, in the format X:X:X:X:X:X:X:X. |
dest6-mask-length |
Specifies a subnet mask length for a destination IPv6 address. |
The value is an integer ranging from 1 to 128. |
dscp dscp-value |
Specifies a DSCP value. |
The value is an integer ranging from 0 to 63. |
protocol-sctp |
Specifies an SCTP number for a target flow. |
The value is 132. |
protocol-number4 |
Specifies a protocol number for a target flow. |
The value is an integer ranging from 18 to 131. |
protocol-number5 |
Specifies a protocol number for a target flow. |
The value is an integer ranging from 133 to 254. |
loss-measure-enable |
Specifies the state of loss measure enable. |
- |
loss-measure-disable |
Specifies the state of loss measure disable. |
- |
disorder-measure-enable |
Specifies the state of disorder measure enable. |
- |
disorder-measure-disable |
Specifies the state of disorder measure disable. |
- |
per-packet-delay |
Specifies the enabling status of the per-packet delay measurement.
|
- |
Usage Scenario
To enable dynamic iFIT flow learning, run the dynamic flow command.
To clear the learned iFIT dynamic flow, run the reset dynamic flow command.Prerequisites
The VPN instance address family has been configured, the interface has been bound to the VPN instance, and dynamic flows have been created.
Precautions
Per-packet delay measurement can be enabled only after packet loss measurement is enabled and is mutually exclusive with out-of-order packet measurement.