--- title: "fm" slug: "cli-sc-fm" updated: 2025-06-30T09:08:27Z published: 2025-09-03T14:12:28Z canonical: "docs.crossworkassurance.cisco.com/cli-sc-fm" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.crossworkassurance.cisco.com/llms.txt > Use this file to discover all available pages before exploring further. # fm ## fm add flow fm add flow - Add the configuration of a FlowMETER flow **Description:** Add a FlowMETER flow and define its state and associated filter **Syntax:** ``` fm add flow port priority {{state {enable | disable}} | {filter {l2 | ipv4 | ipv6 | none} {}}}+ = = = ``` **Parameters:** | Parameter | Description | | --- | --- | | device-name | The name of the remote device. | | port-name | The name of the port to configure, either NNI or UNI. | | priority | The priority of the flow for which the FlowMETER configuration should be applied. | | state | Whether the specified FlowMETER flow should be enabled or disabled. | | filter | The filter to use for the specified FlowMETER flow. If the filter type is 'none', the filter association is removed. | ## fm clear statistics fm clear statistics - Clear FlowMETER statistics **Description:** Clear FlowMETER statistics for the specified device and/or ports. If no argument of port is provided, clear statistics for all ports, on either NNI or UNI ports. **Syntax:** ``` fm clear statistics {port }* = = ``` **Parameters:** | Parameter | Description | | --- | --- | | device-name | The name of the remote device. | | port-name | The name of the port for which FlowMETER statistics should be cleared, either NNI or UNI. | ## fm delete flow fm delete flow - Delete the configuration of a FlowMETER flow **Description:** Delete a FlowMETER flow configuration and release its associated filter. **Syntax:** ``` fm delete flow port {priority }* = = ``` **Parameters:** | Parameter | Description | | --- | --- | | device-name | The name of the remote device. | | port-name | The name of the port to configure, either NNI or UNI. | | priority | The priority of the flow for which the FlowMETER configuration should be deleted. If no priority is specified, defaults to delete all priorities of the specified device and port. | ## fm edit flow fm edit flow - Modify the configuration of a FlowMETER flow **Description:** Define the state of a FlowMETER flow and its associated filter. **Syntax:** ``` fm edit flow port priority {{state {enable | disable}} | {filter {l2 | ipv4 | ipv6 | none} {}}}+ = = = ``` **Parameters:** | Parameter | Description | | --- | --- | | device-name | The name of the remote device. | | port-name | The name of the port to configure, either NNI or UNI. | | priority | The priority of the flow for which the FlowMETER configuration should be modified. | | state | Whether the specified FlowMETER flow should be enabled or disabled. | | filter | The filter to use for the specified FlowMETER flow. If the filter type is 'none', the filter association is removed. | ## fm edit sampling fm edit sampling - Modify the FlowMETER sampling configuration of a device **Description:** Modify the FlowMETER sampling configuration of a device. **Syntax:** ``` fm edit sampling period = ``` **Parameters:** | Parameter | Description | | --- | --- | | device-name | The name of the remote device. | | period | The sampling period in ms for reporting data packets. | ## fm show configuration fm show configuration - Show the FlowMETER configuration **Description:** Show the current FlowMETER configuration. If no argument is provided, display all currently configured flows for all devices on either NNI or UNI ports. If a port name is provided, a configuration summary for the port is displayed in a table format. If is provided together with the port name, the detailed FlowMETER configuration is displayed for the flow. **Syntax:** ``` fm show configuration port priority = = ``` **Parameters:** | Parameter | Description | | --- | --- | | device-name | The name of the remote device. | | port-name | The name of the port for which the FlowMETER configuration should be displayed. | | priority | The priority of the flow for which the FlowMETER configuration should be displayed. | ## fm show sampling fm show sampling - Show the FlowMETER sampling configuration **Description:** Show the current FlowMETER sampling configuration. If no argument is provided, display sampling configurations for all devices. If a device name is provided, a detailed configuration for this device is displayed. **Syntax:** ``` fm show sampling {}* = ``` **Parameters:** | Parameter | Description | | --- | --- | | device-name | The name of the remote device. | ## fm show statistics fm show statistics - Show FlowMETER statistics **Description:** Display a number of FlowMETER statistics including packet and byte counters. If no argument of port is provided, display statistics for all ports, on either NNI or UNI ports. **Note:** Statistics annotated with * might contain partial information due to missed sampling periods from the remote device. **Syntax:** ``` fm show statistics {port }* type {sample | report} = = ``` **Parameters:** | Parameter | Description | | --- | --- | | device-name | The name of the remote device. | | port-name | The name of the port for which the FlowMETER statistics should be displayed. | | type | The type of FlowMETER statistics to display: - sample: Statistics sample for the last period. - report: Statistics report based on previous periods. | **© 2026 Cisco and/or its affiliates. All rights reserved.** For more information about trademarks, please visit: [Cisco trademarks](https://www.cisco.com/c/en/us/about/legal/trademarks.html)[](https://www.cisco.com/c/en/us/about/legal/trademarks.html) For more information about legal terms, please visit: [Cisco legal terms](https://www.cisco.com/c/en/us/about/legal/terms-conditions.html)