set netflow port

Use this command to enable or disable NetFlow collection on a port.

Syntax

set netflow port port-string {enable | disable} [rx | tx | both]

Parameters

port-string Specifies the port or ports on which to enable or disable NetFlow collection.
enable | disable Enables or disables NetFlow collection.
rx (Optional) Sets the collection for ingress flows only when NetFlow collection is enabled on the port.
tx (Optional) Sets the collection for egress flows only when NetFlow collection is enabled on the port.
both (Optional) Sets the collection for both ingress and egress flows when NetFlow collection is enabled on the port.

Defaults

Direction of NetFlow collection support defaults to both ingress and egress flows.

Mode

All command modes.

Example

This example shows how to enable NetFlow collection on port ge.1.1 with flow direction defaulting to both:

System(rw)->set netflow port ge.1.1 enable