The flow ipv4 tcp command configures a target TCP flow to be monitored by an eMDI instance.
The undo flow ipv4 tcp command deletes a target TCP flow monitored by an eMDI instance.
By default, no target flow is configured in an eMDI instance.
flow ipv4 tcp source source-ip-address destination destination-ip-address [ vlan vlan-id | source-port source-port-number | destination-port destination-port-number ]*
undo flow ipv4 tcp source source-ip-address destination destination-ip-address [ vlan vlan-id | source-port source-port-number | destination-port destination-port-number ]*
undo flow
Parameter | Description | Value |
---|---|---|
source source-ip-address |
Specifies the source IP address of a target flow. |
The value is in dotted decimal notation. |
destination destination-ip-address |
Specifies the destination IP address of a target flow. |
The value is in dotted decimal notation. |
vlan vlan-id |
Specifies the VLAN ID of a target flow. |
The value is an integer in the range from 1 to 4094. |
source-port source-port-number |
Specifies the source port number of a target flow. |
The value is an integer in the range from 1 to 65535. |
destination-port destination-port-number |
Specifies the destination port number of a target flow. |
The value is an integer in the range from 1 to 65535. |
Usage Scenario
As a key element in an eMDI instance, a target flow to be monitored must be configured before the eMDI instance is started.
A target flow is the object monitored by an eMDI instance, and can be defined by any combinations of multiple attributes such as source IP address, destination IP address, VLAN ID, source port number, and destination port number. Specifying more attributes makes the target flow more accurate. Therefore, it is recommended that you specify more attributes to improve precision of monitoring results.
Precautions