vflow-mgmt-show

This command is used to display the management flow details for the configured vFlows.

Syntax   vflow-mgmt-show

name name-string

Specifies the vFlow name.

id number

Specifies the ID assigned to the vFlow.

scope local|fabric

Specifies the scope for the vFlow.

Specify any of the following options:

table vflow-table name

Specifies the vFlow table name for the flow.

type ofp|vflow|ofp-default|acl-ip|acl-mac|vxlan|nat|qos|nat-twice|   hog-violator|pbr|iptable

Specifies the type of vFlow.

hidden true|false

Specifies if the vflow is hidden or not.

vnet vnet-name

Specifies the virtual network (VNET) for the flow.

bd bridge-domain name

Specifies the bridge domain for the vflow.

vlan vlan-id

Specifies the VLAN identifier for the flow.

in-port port-list

Specifies the ingress (input) port for the flow.

out-port port-list

Specifies the egress (output) port for the flow.

ether-type ipv4|arp|wake|rarp|vlan|ipv6|lacp|mpls-uni|mpls-multi|jumbo|   dot1X|aoe|qinq|lldp|macsec|ecp|ptp|fcoe|fcoe-init|qinq-old

Specifies the EtherType for the flow.

src-mac mac-address

Specifies the source MAC address for the flow .

src-mac-mask mac-address

Specifies the source MAC address wildcard mask for the flow.

dst-mac mac-address

Specifies the destination MAC address for the flow.

dst-mac-mask mac-address

Specifies the destination MAC address wildcard mask for the flow.

src-ip ip-address

Specifies the source IP address for the flow.

src-ip-mask ip-address

Specifies the source IP address wildcard mask for the flow.

dst-ip ip-address

Specifies the destination IP address for the flow.

dst-ip-mask ip-address

Specifies the destination IP address wildcard mask for the flow.

src-port src-port-number

Specifies the Layer 3 protocol source port for the flow.

src-port-mask src-port-mask-number

Specifies the source port mask.

dst-port dst-port-number

Specifies the Layer 3 protocol destination port for the flow.

dst-port-mask dst-port-mask-number

Specifies the destination port mask.

dscp-start number

Specifies the starting DSCP number. This is a value between 0 and 63.

dscp-end number

Specifies the ending DSCP number. This is a value between 0 and 63.

dscp dscp-number

Specifies the 6-bit Differentiated Services Code Point (DSCP) of the flow.

dscp-map dscp-map name

Specify the DSCP map to apply on the flow. Please reapply if map priorities are updated.

tos-start tos-start-number

Specifies the starting ToS number.

tos-end tos-end-number

Specifies the ending ToS number.

tos tos-number 

Specifies the Type of Service (ToS) number for the flow.

dropped|no-dropped

Specifies if the match has dropped or forwarded the packet.

vlan-pri number

Specifies the priority for the VLAN. This is a value between 0 (lowest) and 7 (highest).

ttl ttl-number

Specifies the time to live in seconds.

proto tcp|udp|icmp|igmp|ip|icmpv6

Specifies the Layer 3 protocol for the flow.

tcp-flags fin|syn|rst|push|ack|urg|ece|cwr

Specify the TCP flags to fileter a vFlow.

local-subnet|no-local-subnet

Specifies if the local subnet is used or not.

flow-class vflow-class name

Specifies the vflow class.

ingress-tunnel
tunnel-name

Specifies the name of the ingress tunnel.

egress-tunnel tunnel name

Specifies the name of the egress tunnel.

bw-min bw-min-number

Specifies the minimum bandwidth in Gbps for the vflow.

bw-max bw-max-number

Specifies the maximum bandwidth in Gbps for the vflow.

burst-size auto

Specify the burst size.

vrouter-name vrouter name

Specifies the name of the vrouter service.

precedence default

Specifies the traffic priority for the flow (between 0 and 10)

action none|drop|to-port|to-cpu|trap|copy-to-cpu|copy-to-port|check|   setvlan|add-outer-vlan|set-tpid|to-port-set-vlan|tunnel-pkt|   set-tunnel-id|to-span|cpu-rx|cpu-rx-tx|set-metadata|set-dscp|decap|set-dmac|to-next-hop-ip|set-dmac-to-port|to-ports-and-cpu|set-vlan-pri|tcp-seq-offset|tcp-ack-offset|   l3-to-cpu-switch|set-smac|drop-cancel-trap|to-ecmp-group|redirect-to-vrouter

Specifies the forwarding action to apply to the flow.

action-value action-value-number

 

Specifies an optional value argument for the forwarding action above (for example, a switch port number to forward the packet to). This is a value between 1 and 64.

action-value1 1..4096

Specifies second optional value argument for the forwarding action above (for example, a switch port number to forward the packet to). This is a value between 1 and 64

action-set-mac-value mac-address

Specifies a MAC address to apply the action.

action-to-next-hop-ip-value ip-address

Specifies the next hop IP address for packet redirection.

action-to-ecmp-group-value static-ecmp-group group-name

Specifies the ECMP group for packet redirection.

action-to-ports-value port-list

Specifies a port list to apply the action.

mirror mirror-name

Specifies the name of the mirror configuration.

process-mirror|
no-process-mirror

Specifies to process mirrored traffic for the vflow.

log-packets|no-log-
packets

Specifies whether to log the packets in the flow.

packet-log-max packet-log-max-number

Specifies the maximum packet count for log rotation in the flow.

log-stats|no-log-stats

Specifies if you want to log statistics or not.

stats-interval seconds

Specifies the interval to update packet statistics for the log (in seconds). This is a value between 1 and 604800.

dur dur-number

Specifies the minimum duration required for the flow to be captured (in seconds).

metadata metadata-number

Specifies a metadata number for the flow.

metadata-mask metadata-mask-number

Specifies a metadata mask for the flow.

transient|no-transient

Specifies whether to capture transient flows.

vxlan vxlan description

Specifies the name of the VXLAN.

vxlan-ether-type ipv4|arp|wake|rarp|vlan|ipv6|lacp|mpls-uni|mpls-multi|jumbo|dot1X|aoe|qinq|lldp|macsec|ecp|ptp|fcoe|fcoe-init|   qinq-old

Specifies the type of VXLAN.

vxlan-proto tcp|udp|icmp|igmp|ip|icmpv6

Specifies the Layer 3 protocol for the flow.

stp-state Disabled|Discarding|Learning|Forwarding

Specifies the STP state.

packet-res l2-unicast|l2-unknown-unicast|l2-multicast|   

               l2-unknown-multicast|l2-broadcast

Specifies the packet resolution in ASIC.

fwding-type vlan|vxlan|vle

Specifies the ASIC forwarding type.

hw-stats|no-hw-stats

Specifies if hardware statistics is enabled or disabled.

set-src ip-address

Specifies the source IP address of IPv4 packets.

set-dst ip-address

Specifies the destination IP address of IPv4 packets.

set-src-port set-src-port-number

Specifies the source port of IPv4 packets.

set-dst-port set-dst-port-number

Specifies the destination port of IPv4 packets.

udf-name1 udf name

Specify the User-Defined Field name.

udf-data1 udf-data1-number

Specify the User-Defined Field data.

udf-data1-mask udf-data1-mask-number

Specify the mask for the User-Defined Field data.

udf-name2 udf name

Specify the User-Defined Field name.

udf-data2 udf-data2-number

Specify the User-Defined Field data.

udf-data2-mask udf-data2-mask-number

Specify the mask for the User-Defined Field data.

udf-name3 udf name

Specify the User-Defined Field name.

udf-data3 udf-data3-number

Specify the User-Defined Field data.

udf-data3-mask udf-data3-mask-number

Specify the mask for the User-Defined Field data.

enable|no-enable

Specify if you want to enable or disable flows in hardware

table-name vflow-table name

Specify a table name from the following list:

• SrcMac

• DstMac

• SrcIp

• DstIp

• OuterVlanId

• OuterVlanPri

• EtherType

The following actions are supported for this parameter:

• InnerVlan

• OuterVlan

• Dscp

• Vxlan

• Drop

• VlanPri

cpu-class cpu-class name

Specify the CPU class name.

if mgmt|data

Specifies the administrative service interface.

Defaults   None.

Access   CLI

History   

Version 1.2

Command introduced.

Version 2.1

The parameter, type, is deprecated. The option, cluster, for scope is deprecated. The option, meter, for action is deprecated. The parameters, mirror|no mirror, and process-mirror|no-process-mirror, and bw-min added. The options, to-span|to-port-set-nat| cpu-rx|cpu-rx-tx added to the parameter action.

Version 2.2

The options, to-cpu-l2-miss|set-metadata| flow-flood|set-dscp added to the parameter, type.

Version 2.2.3

The parameters, dscp-start, dscp-end, tos-start, tos-end, and vlan-pri added.

Version 2.2.5

The parameters, set-dscp|to-ports-and-cpu|set-vlan-pri| set-dmac|set-dmac-to-port, action-set-mac-value, and action-to-ports-value, added. The parameter, mirror, added. The parameter, mirror|no-mirror changed to process-mirror|no-process-mirror.

Version 2.3

The parameters, set-src, set-dst, set-src-port, and set-dst-port, added.

Version 2.3.1

The parameter, table, added.

Version 2.4

The parameter, type and stats, deprecated. The parameters, src-port-mask and dst-port-mask, added. The action, to-port-set-nat|, is deprecated. The parameter, log-stats, metadata-mask, and hw-stats added.

Version 2.5.3

The parameter, tcp-flags, added. The fields, UDF- and enable|disable hardware flows also added.

Version 2.5.4

The parameter, burst-size auto, has added functionality. You can configure a burst-size number between 256B through 128MB.

Version 2.6.0

The parameter, table-name, added.

Version 2.6.2

The parameter, dscp-map, added.

Version 5.0.0

The parameter, if mgmt|data, added.

Usage   Each fabric, cluster, standalone switch, or virtual network can track application flow statistics. This command displays information about vflows configured on the switch.

Examples  To display vflow information, use the following command:

CLI network-admin@switch > vflow-show name flow1

name  id scope vlan vnet src dst subnet class bw pri action stats dur mask

flow1 64 local 4091      ::  ::  ::     normal 0 0 flow_normal no 0   13

vflow-mgmt-stats-clear

This command displays management flow statistics for Layer 2 Ethernet or Layer 3 Internet Protocol (IP) traffic.

Syntax   vflow-mgmt-stats-show

Specify any of the following options:

start-time yyyy-mm-ddThh:mm:ss

Specify the start time of the flow using the notation yyyymm-

ddThh:mm:ss.

end-time yyyy-mm-ddThh:mm:ss

Specify the start time of the flow using the notation yyyymm-

ddThh:mm:ss

dur duration-number

Specify the duration of the flow (in seconds).

interval duration: #d#h#m#s

Specify the length of time between collection intervals.

since-start|no-since-start

Specify if the statistics are collected from the start of the vflow.

older-than duration: #d#h#m#s

Specify if the statistics are older than the stated duration.

within-last duration: #d#h#m#s

Specify the statistics collected within the last duration.

name vflow name

Specify the name of the vflow.

Specifyvnet vnet name

Specify the VNET.

id

Specify the ID assigned.

pkts pkts-number

Specify the total number of packets.

bytes bytes-number

Specify the total number of bytes.

cpu-pkts cpu-pkts-number

Specify the total number of CPU packets.

cpu-bytes cpu-bytes-number

Specify the total number of CPU bytes.

mismatches mismatches-number

Specify the number of mismatched packets.

drops drops-number

Specify the number of dropped packets.

drops-bytes drops-bytes-number

Specify the number of dropped bytes.

policer-drops policer-drops-number

Specify the number of policer dropped packets.

policer-drop-bytes policer-drop-bytes-number

Specify the number of policer dropped bytes.

cpu-tx-pkts cpu-tx-pkts-number

Specify the number of packets sent from the CPU.

cpu-tx-bytes cpu-tx-bytes-number

Specify the number of bytes sent from the CPU.

 Defaults   None.

Access   CLI

History   

Version 1.2

Command introduced.

Version 2.4.1

The parameter, vnet, added.

Usage   Each fabric, cluster, standalone switch, or virtual network can track application flow statistics. This command clears vflow statistics.

Examples  This example shows how to clear vFlow management statistics:

CLI network-admin@switch > vflow-stats-clear

vflow-mgmt-stats-show

This command displays flow statistics for Layer 2 Ethernet or Layer 3 Internet Protocol (IP) traffic.

Syntax   vflow-mgmt-stats-show

Specify any of the following options:

start-time yyyy-mm-ddThh:mm:ss

Specifies the start time of the statistic collection using the  notation yyyymm-

ddThh:mm:ss.

end-time yyyy-mm-ddThh:mm:ss

Specifies the end time of the statistic collection using the notation yyyymm-

ddThh:mm:ss

duration duration-number

Specifies the duration of the statistic collection (in seconds).

interval duration: #d#h#m#s

Specifies the length of time between collection intervals.

since-start|no-since-start

Specifies if the statistics are collected from the start of the vflow.

older-than duration: #d#h#m#s

Specifies if the statistics are older than the stated duration.

within-last duration: #d#h#m#s

Specifies the statistics collected within the last duration.

name vflow name

Specifies the name of the vflow.

vnet vnet-name

Specifies the name of the VNET.

id

Specifies the ID assigned.

Defaults   None.

Access   CLI

History   

Version 1.2

Command introduced.

Version 2.4.1

The parameter, vnet, added.

Usage   Each fabric, cluster, standalone switch, or virtual network can track application flow statistics. This command displays flow statistics.

Examples  This example shows how to display flow statistics.

CLI network-admin@switch > vflow-stats-show

switch       name                 packets bytes cpu-packets cpu-bytes

pleiades24   IGMP-Flow            1.98M   130M  1.99M       123M

pleiades24   LLDP-Flow            218K    24.2M 218K        23.4M

pleiades24   Host-Agent-Discover  3.92K   251K  0           0

pleiades24   ECP                  0       0     0           0

pleiades24   Fabric-Discovery    282K     159M  273K        157M

pleiades24   SYSTEM-S            777K     60.2M 763K        56.0M

pleiades24   SYSTEM-F            719K     67.3M 711K        63.5M

pleiades24   SYSTEM-R            288K     18.0M 285K        16.7M

pleiades24   System-A            36.5M    2.28G 36.5M       2.14G

pleiades24   DHCP-client         83.6K    40.7M 37.9K       19.3M

pleiades24   DHCP-server         53.2K    23.0M 31.4K       10.5M