15.8. IPFIX Commands

15.8.1. ipfix recorder

Command Purpose

Use this command to create a ipfix recorder and enter recorder configure mode. To remove the ipfix recorder, use the no form of this command.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

ipfix recorder NAME

no ipfix recorder NAME

Parameter

Parameter Description

Parameter Value

NAME

ipfix recorder name

Up to 32 characters

Command Mode

Global Config

Default

None

Usage

If ipfix recorder has existed,it will enter IPFIX recorder Configuration;if ipfix recorder is new,it will create a recorder and enter IPFIX recorder Configuration;this command should work with the commands of match and collect.

Examples

This example shows how to create ipfix recorder recorder1in global configuration and enter IPFIX recorder Configuration:

Switch# configure terminal
Switch(config)# ipfix recorder recorder1
Switch(Config-ipfix-reocrder)#
Delete ipfix recorder recorder1:
Switch(config)# no ipfix recorder recorder1
Switch# configure terminal
Switch(config)# no ipfix recorder recorder1

15.8.2. description

Command Purpose

This command used to describe ipfix recorder,use the no form of this command to delete this description.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

description DESCRIPTION

Parameter

Parameter Description

Parameter Value

DESCRIPTION

ipfix monitor description

The length of ipfix monitor description should not exceed 64 characters

Command Mode

IPFIX recorder Configuration

Default

None

Usage

None

Examples

This example shows how to describe recorder in IPFIX recorder Configuration:

Switch# configure terminal
Switch(config)# ipfix recorder recorder1
Switch(Config-ipfix-reocrder)# descrption this is a ipfix recorder

This example shows how to delete the description of the recorder:

Switch# configure terminal
Switch(config)# ipfix recorder recorder1
Switch(Config-ipfix-reocrder)# no description

Related Commands

None

15.8.3. match ipv4

Command Purpose

This command configures the fields of ipv4 in ipfix recorder, use the no form of this command to delete this configure.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

match ipv4 ( source | destination ) address ( mask IP_MASK_LEN | )

match ipv4 (dscp | ecn | ttl)

no match ipv4 (source | destination)address

no match ipv4 (dscp | ecn | ttl)

Parameter

Parameter Description

Parameter Value

source

ipv4 source ipaddress

-

destination

ipv4 destination ipaddress

-

dscp

ipv4 dscp value

-

ecn

ipv4 ecn value

-

ttl

ipv4 ttl value

-

IP_MASK_LEN

mask length for ipv4 address

1-32

Command Mode

IPFIX recorder Configuration

Default

Default value is 32

Usage

None

Examples

This example shows how to configure to use ipv4 source address and ipv4 destination address in ipfix recorder:

Switch# configure terminal
Switch(config)# ipfix recorder recorder1
Switch(Config-ipfix-reocrder)# match ipv4 source address
Switch# configure terminal
Switch(config)# ipfix recorder recorder1
Switch(Config-ipfix-reocrder)# match ipv4 destination address

Related Commands

None

15.8.4. match ipv6

Command Purpose

This command configures the fields of ipv6 in ipfix recorder, use the no form of this command to delete this configure.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

match ipv6 ( source | destination ) address ( mask IPV6_MASK_LEN | )

no match ipv6(source | destination)address

match ipv6(flowlabel | dscp)

no match ipv6(flowlabel | dscp)

Parameter

Parameter Description

Parameter Value

source

ipv6 source ipaddress

-

destination

ipv4 destination ipaddress

-

dscp

ipv6 dscp value

-

flowlabel

ipv6 flowlabel value

-

IPV6_MASK_LEN

mask length for ipv6 address

range is 1-128 and must be the multiple of 4

Command Mode

IPFIX recorder Configuration

Default

Default value is 128

Usage

None

Examples

This example shows how to configure to use ipv6 source address and ipv6 destination address in ipfix recorder:

Switch# configure terminal
Switch(config)# ipfix recorder recorder1
Switch(Config-ipfix-reocrder)# match ipv6 source address
Switch# configure terminal
Switch(config)# ipfix recorder recorder1
Switch(Config-ipfix-reocrder)# match ipv6 destination address

Related Commands

None

15.8.5. match mac

Command Purpose

this command configures the fields of mac in ipfix recorder, use the no form of this command to delete this configure.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

match mac (destination | source) address

no match mac (destination | source)address

Parameter

Parameter Description

Parameter Value

source

Source mac address

-

destination

Destination mac address

-

Command Mode

IPFIX recorder Configuration

Default

None

Usage

None

Examples

This example shows how to configure to use source mac address in ipfix recorder:

Switch# configure terminal
Switch(config)# ipfix recorder recorder1
Switch(Config-ipfix-reocrder)# match mac source address

Related Commands

None

15.8.6. match transport

Command Purpose

This command configures the fields of transport in ipfix recorder, use the no form of this command to delete this configure.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

match transport(destination-port | source-port | type)

no match transport(destination-port | source-port | type)

match transport icmp(opcode | type)

no match transport icmp(opcode | type)

Parameter

Parameter Description

Parameter Value

destination-port

Destination port

-

source-port

Source port

-

type

Transport layer type

-

opcode

Icmp operated code

-

Command Mode

IPFIX recorder Configuration

Default

None

Usage

None

Examples

This example shows how to configure to use source port and destination port of transport in ipfix recorder:

Switch# configure terminal
Switch(config)# ipfix recorder recorder1
Switch(Config-ipfix-reocrder)# match transport source-port
Switch# configure terminal
Switch(config)# ipfix recorder recorder1
Switch(Config-ipfix-reocrder)# match transport destination-port

Related Commands

None

15.8.7. match vlan

Command Purpose

This command configures the fields of vlan in ipfix recorder, use the no form of this command to delete this configure.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

match vlan(inner | )

no match vlan(inner | )

Parameter

Parameter Description

Parameter Value

inner

Inner VLAN

-

Command Mode

IPFIX recorder Configuration

Default

None

Usage

None

Examples

This example shows how to configure to use inner vlan in ipfix recorder:

Switch# configure terminal
Switch(config)# ipfix recorder recorder1
Switch(Config-ipfix-reocrder)# match vlan inner

Related Commands

None

15.8.8. match cos

Command Purpose

This command configures the fields of cos in ipfix recorder, use the no form of this command to delete this configure.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

match cos(inner | )

no match cos(inner | )

Parameter

Parameter Description

Parameter Value

inner

Inner COS

-

Command Mode

IPFIX recorder Configuration

Default

None

Usage

None

Examples

This example shows how to configure to use inner cos in ipfix recorder:

Switch# configure terminal
Switch(config)# ipfix recorder recorder1
Switch(Config-ipfix-reocrder)# match cos inner

Related Commands

None

15.8.9. match interface (input | output)

Command Purpose

This command configures the fields of interface in ipfix recorder, use the no form of this command to delete this configure.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

match interface ( input | output )

no match interface ( input | output )

Parameter

Parameter Description

Parameter Value

input

input direction

-

output

output direction

-

Command Mode

IPFIX recorder Configuration

Default

None

Usage

None

Examples

This example shows how to configure input direction in ipfix recorder:

Switch# configure terminal
Switch(config)# ipfix recorder recorder1
Switch(Config-ipfix-reocrder)# match interface input

Related Commands

None

15.8.10. match vxlan-vni

Command Purpose

This command configures the fields of vxlan-vni in ipfix recorder, use the no form of this command to delete this configure.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

match vxlan-vni

no match vxlan-vni

Command Mode

IPFIX recorder Configuration

Default

None

Usage

None

Examples

This example shows how to configure to use vxlan-vni in ipfix recorder:

Switch# configure terminal
Switch(config)# ipfix recorder recorder1
Switch(Config-ipfix-reocrder)# match vxlan-vni

Related Commands

None

15.8.11. match nvgre-key

Command Purpose

This command configures the fields of nvgre-key in ipfix recorder, use the no form of this command to delete this configure.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

match nvgre-key

no match nvgre-key

Command Mode

IPFIX recorder Configuration

Default

None

Usage

None

Examples

This example shows how to configure to use nvgre-key in ipfix recorder:

Switch# configure terminal
Switch(config)# ipfix recorder recorder1
Switch(Config-ipfix-reocrder)# match nvgre-key

Related Commands

None

15.8.12. match transport tcp flags

Command Purpose

This command configures the tcp flags fields of packet in ipfix recorder, use the no form of this command to delete this configure.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

match transport tcp flags ( { ack | cwr | ece | fin | psh | rst | syn | urg } | )

no match transport tcp flags ( { ack | cwr | ece | fin | psh | rst | syn | urg } | )

Parameter

Parameter Description

Parameter Value

ack

TCP acknowledgement

-

cwr

TCP congestion window reduced

-

ece

TCP Explicit Notification Congestion echo

-

fin

TCP finish

-

psh

TCP push

-

rst

TCP reset

-

syn

TCP synchronize

-

urg

TCP urgent

-

Command Mode

IPFIX recorder Configuration

Default

None

Usage

None

Examples

This example shows how to configure to use tcp flags:

Switch# configure terminal
Switch(config)# ipfix recorder recorder1
Switch(Config-ipfix-reocrder)# match transport tcp flags ack

Related Commands

None

15.8.13. match packet (drop | non-drop)

Command Purpose

This command configures the fields of packet in ipfix recorder, use the no form of this command to delete this configure.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

match packet ( drop | non-drop )

no match packet ( drop | non-drop )

Parameter

Parameter Description

Parameter Value

drop

Drop packet

-

non-drop

Non-drop packet

-

Command Mode

IPFIX recorder Configuration

Default

None

Usage

None

Examples

This example shows how to configure to use drop packet:

Switch# configure terminal
Switch(config)# ipfix recorder recorder1
Switch(Config-ipfix-reocrder)# match packet drop

Related Commands

None

15.8.14. collect counter

Command Purpose

AQ-N3000, AQ-N5000

this command configures byte number and packet number that needed to be collected in ipfix recorder, use the no form of this command to delete this configure.

AQ-N6000

this command configures byte number, packet number and dropped packet number that needed to be collected in ipfix recorder, use the no form of this command to delete this configure.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

AQ-N3000, AQ-N5000

collect counter (bytes | packets)

no collect counter (bytes | packets)

Parameter

Parameter Description

Parameter Value

bytes

Collect flow with byte number

-

packets

Collect flow with packet number

-

AQ-N6000

collect counter (bytes | packets ( dropped | ) )

no collect counter (bytes | packets ( dropped | ) )

Parameter

Parameter Description

Parameter Value

bytes

Collect flow with byte number

-

packets

Collect flow with packet number

-

packets dropped

Collect flow with dropped packet number

-

Command Mode

IPFIX recorder Configuration

Default

None

Usage

None

Examples

This example shows how to configure to collect the number of flow’s byte in ipfix recorder:

Switch# configure terminal
Switch(config)# ipfix recorder recorder1
Switch(Config-ipfix-reocrder)# collect counter bytes

Related Commands

None

15.8.15. collect flow

Command Purpose

This command configures to collect ipfix flow information in ipfix recorder, use the no form of this command to delete this configure.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

collect flow ( drop | destination | fragmentation )

no collect flow ( drop | destination | fragmentation )

Parameter

Parameter Description

Parameter Value

drop

Only collect the droped flows

-

destination

Collect destination address of flows

-

fragmentation

Only collect the fragmented flows

-

Command Mode

IPFIX recorder Configuration

Default

None

Usage

None

Examples

This example shows how to configure to collect the destination address of flows in ipfix recorder:

Switch# configure terminal
Switch(config)# ipfix recorder recorder1
Switch(Config-ipfix-reocrder)# collect flow destination

Related Commands

None

15.8.16. collect ttl

Command Purpose

This command configures to collect ipfix flow information about ttl in ipfix recorder, use the no form of this command to delete this configure.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

collect ttl ( maximum | minimum | changed | )

no collect ttl ( maximum | minimum | changed | )

Parameter

Parameter Description

Parameter Value

maximum

Collect flow max ttl value

-

minimum

Collect flow min ttl value

-

changed

Collect flow ttl changed history

-

Command Mode

IPFIX recorder Configuration

Default

None

Usage

None

Examples

This example shows how to configure to collect the maximum ttl and minimum ttl of the flows in ipfix recorder:

Switch# configure terminal
Switch(config)# ipfix recorder recorder1
Switch(Config-ipfix-reocrder)# collect ttl maximum
Switch(Config-ipfix-reocrder)# collect ttl minimum

Related Commands

None

15.8.17. collect quality

Command Purpose

This command configures to collect ipfix flow quality information in ipfix recorder, include jitter and latency, use the no form of this command to delete this configure.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

Not supported ???

Base

AQ-N5000

Not supported ???

Base

AQ-N6000

7.0

Base

Command Syntax

collect jitter ( maximum | minimum | average )

collect latency ( maximum | minimum | average | last )

Parameter

Parameter Description

Parameter Value

maximum

Collect max value

-

minimum

Collect min value

-

average

Collect average value

-

last

Collect last value

-

Command Mode

IPFIX recorder Configuration

Default

None

Usage

None

Examples

This example shows how to configure to collect the maximum jitter and minimum jitter of the flows in ipfix recorder:

Switch# configure terminal
Switch(config)# ipfix recorder recorder1
Switch(Config-ipfix-reocrder)# collect jitter maximum
Switch(Config-ipfix-reocrder)# collect jitter minimum

Related Commands

None

15.8.18. collect timestamp

Command Purpose

This command configures to collect ipfix flow information about timestamp in ipfix recorder, use the no form of this command to delete this configure.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

collect timestamp ( first | last )

no collect timestamp ( first | last )

Parameter

Parameter Description

Parameter Value

first

Collect flow start timestamp

-

last

Collect flow end timestamp

-

Command Mode

IPFIX recorder Configuration

Default

None

Usage

None

Examples

This example shows how to configure to collect the timestamp of the flows in ipfix recorder:

Switch# configure terminal
Switch(config)# ipfix recorder recorder1
Switch(Config-ipfix-reocrder)# collect timestamp first

Related Commands

None

15.8.19. ipfix exporter

Command Purpose

Use this command to create a ipfix exporter and enter exporter configure mode.

To remove the ipfix exporter, use the no form of this command.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

ipfix exporter NAME

no ipfix exporter NAME

Parameter

Parameter Description

Parameter Value

NAME

ipfix exporter name

Up to 32 characters

Command Mode

Global Config

Default

None

Usage

If ipfix exporter has existed,it will enter IPFIX exporter Configuration;if ipfix exporter is new,it will create exporter and enter IPFIX exporter Configuration;this command should work with the other commands .

Examples

This example shows how to create ipfix exporter exporter1in global configuration and enter IPFIX exporter Configuration:

Switch# configure terminal
Switch(config)# ipfix exporter exporter1
Switch(Config-ipfix-exporter)#

This example shows how to delete ipfix exporter exporter1:

Switch# configure terminal
Switch(config)# no ipfix exporter exporter1

Related Commands

template data timeout

flow data timeout

event flow start

event flow end (tcp-end|timeout)

transport protocol (udp|tcp)

15.8.20. description

Command Purpose

This command used to describe ipfix exporter,use the no form of this command to delete this description.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

description DESCRIPTION

Parameter

Parameter Description

Parameter Value

DESCRIPTION

Ipfix exporter description

Up to 64 characters

Command Mode

IPFIX exporter Configuration

Default

None

Usage

None

Examples

Switch# configure terminal
Switch(config)# ipfix exporter exporter1
Switch(Config-ipfix-exporter)# descrption this is a ipfix exporter
Switch# configure terminal
Switch(config)# ipfix exporter exporter1
Switch(Config-ipfix-exporter)# no description

Related Commands

None

15.8.21. destination

Command Purpose

This command used to configure collecter host name that need to receive flow records in ipfix exporter,use the no form of this command to delete this description.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

destination HOST

no destination HOST

Parameter

Parameter Description

Parameter Value

HOST

The length of host name should not exceed 32 characters

Up to 32 characters

Command Mode

IPFIX exporter Configuration

Default

None

Usage

If you use host as destination of exporter, the host will be resolved immediately and the ip address is stored.If the host-ip mappding changes dynamically, exporter does not detect this. It will continue to send packets to original IP address.

Examples

This example shows how to configure destination as host1 in IPFIX exporter’s Configuration:

Switch# configure terminal
Switch(config)# ipfix exporter exporter1
Switch(Config-ipfix-exporter)# destination host1

Related Commands

None

15.8.22. dscp

Command Purpose

this command used to configure the dscp value of the message that need to be sended in ipfix exporter,use the no form of this command to delete this description.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

dscp DSCP

Parameter

Parameter Description

Parameter Value

DSCP

dscp value

0-63

Command Mode

IPFIX exporter Configuration

Default

None

Usage

None

Examples

This example shows how to configure dscp to be 20 in IPFIX exporter Configuration:

Switch# configure terminal
Switch(config)# ipfix exporter exporter1
Switch(Config-ipfix-exporter)# dscp 20

Related Commands

None

15.8.23. domain-id

Command Purpose

This command used to configure the ipfix domain value of the message that needs to be sent in ipfix exporter, use the no form of this command to delete this description.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

domain-id ID

Parameter

Parameter Description

Parameter Value

ID

domain id

1-65535

Command Mode

IPFIX exporter Configuration

Default

None

Usage

None

Examples

This example shows how to configure domain-id to be 1000 in IPFIX exporter Configuration:

Switch# configure terminal
Switch(config)# ipfix exporter exporter1
Switch(Config-ipfix-exporter)# domain-id 1000

Related Commands

None

15.8.24. source interface

Command Purpose

This command used to configure which interface should send ipfix record in ipfix exporter,use the no form of this command to delete this description.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

source interface interface-number

no source interface-number

Command Mode

IPFIX exporter Configuration

Default

None

Usage

None

Examples

This example shows how to configure use interface eth-0-1 to send ipfix records in IPFIX exporter Configuration:

Switch# configure terminal
Switch(config)# ipfix exporter exporter1
Switch(Config-ipfix-exporter)# source interface eth-0-1

Related Commands

None

15.8.25. template data timeout

Command Purpose

This command used to configure time interval of sending template data in ipfix exporter,use the no form of this command to delete this description.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

template data timeout TIMEOUT

no template data timeout

Parameter

Parameter Description

Parameter Value

TIMEOUT

template data timeout

1-86400

Command Mode

IPFIX exporter Configuration

Default

600

Usage

None

Examples

This example shows how to configure time interval of sending template data to be 200 seconds in IPFIX exporter Configuration:

Switch# configure terminal
Switch(config)# ipfix exporter exporter1
Switch(Config-ipfix-exporter)# template data timeout 200

Related Commands

None

15.8.26. flow data timeout

Command Purpose

This command used to configure time interval of sending flow data in ipfix exporter,use the no form of this command to delete this description.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

flow data timeout TIMEOUT

no flow data timeout

Parameter

Parameter Description

Parameter Value

TIMEOUT

flow data timeout

1-86400

Command Mode

IPFIX exporter Configuration

Default

600

Usage

None

Examples

This example shows how to configure time interval of sending flow data to be 200 seconds in IPFIX exporter Configuration:

Switch# configure terminal
Switch(config)# ipfix exporter exporter1
Switch(Config-ipfix-exporter)# flow data timeout 200

Related Commands

None

15.8.27. transport protocol

Command Purpose

This command used to configure to use which transport when send message in ipfix exporter,use the no form of this command to delete this description.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

transport protocol udp port UDP_PORT

no transport protocol

Parameter

Parameter Description

Parameter Value

UDP_PORT

transport protocol number

Range is 2000 to 65535,Default is 2055

Command Mode

IPFIX exporter Configuration

Default

2055

Usage

None

Examples

This example shows how to configure transport protocol of flow data sended to be udp and its port is 3500 in IPFIX exporter Configuration:

Switch# configure terminal
Switch(config)# ipfix exporter exporter1
Switch(Config-ipfix-exporter)# transport protocol udp 3500

Related Commands

None

15.8.28. ttl

Command Purpose

This command used to configure the ttl of the sended message in ipfix exporter,use the no form of this command to delete this description.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

ttl TTL

no ttl

Parameter

Parameter Description

Parameter Value

TTL

TTL value

1-255

Command Mode

IPFIX exporter Configuration

Default

None

Usage

None

Examples

This example shows how to configure ttl value of flow data to be 255 in IPFIX exporter Configuration:

Switch# configure terminal
Switch(config)# ipfix exporter exporter1
Switch(Config-ipfix-exporter)# ttl 255

Related Commands

None

15.8.29. event flow

Command Purpose

This command used to configure which event should triggle to send flow information at once in ipfix exporter,use the no form of this command to delete this description.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

event flow start

no event flow start

event flow end ( tcp-end | timeout )

no event flow end ( tcp-end | timeout )

Command Mode

IPFIX exporter Configuration

Default

None

Usage

None

Examples

This example shows how to configure the event about ending tcp transmission of flow data will triggle to send flow information in IPFIX exporter Configuration:

Switch# configure terminal
Switch(config)# ipfix exporter exporter1
Switch(Config-ipfix-exporter)# event flow tcp-end

Related Commands

None

15.8.30. ipfix sampler

Command Purpose

Use this command to create a ipfix sampler and enter sampler configure mode.

To remove the ipfix sampler, use the no form of this command.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

ipfix sampler NAME

no ipfix sampler NAME

Parameter

Parameter Description

Parameter Value

NAME

ipfix sampler name

Up to 32 characters

Command Mode

Global Config

Default

None

Usage

If ipfix sampler has existed,it will enter IPFIX sampler Configuration;if ipfix sampler is new,it will create sampler and enter IPFIX sampler Configuration;this command should work with the command of match and collect.

Examples

This example shows how to create ipfix sampler sampler1 in global configuration and enter IPFIX sampler Configuration:

Switch# configure terminal
Switch(config)# ipfix sampler sampler 1
Switch(Config-ipfix-sampler)#

This example shows how to delete ipfix sampler sampler1:

Switch# configure terminal
Switch(config)# no ipfix sampler sampler1

Related Commands

1 out-of

15.8.31. description

Command Purpose

This command used to describe ipfix sampler,use the no form of this command to delete this description.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

description DESCRIPTION

Parameter

Parameter Description

Parameter Value

DESCRIPTION

ipfix sampler description

Up to 64 characters

Command Mode

IPFIX sampler Configuration

Default

None

Usage

None

Examples

Switch# configure terminal
Switch(config)# ipfix sampler sampler 1
Switch(Config-ipfix-sampler)# descrption this is a ipfix sampler
Switch# configure terminal
Switch(config)# ipfix sampler sampler 1
Switch(Config-ipfix-sampler)# no description

Related Commands

None

15.8.32. 1 out-of

Command Purpose

This command used to configure the rate of ipfix sampler,use the no form of this command to delete this configure.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

1 out of CLI_IPFIX_SAMPLER_RATE_RNG

Parameter

Parameter Description

Parameter Value

- CLI_I PFIX_SAMPLER_RATE_RNG

How many packets will sample one packet

1-65535

Command Mode

IPFIX sampler Configuration

Default

None

Usage

None

Examples

This example shows how to configure the rate of sampling is 1/100 in IPFIX sampler Configuration:

Switch# configure terminal
Switch(config)# ipfix sampler sampler 1
Switch(Config-ipfix-sampler)# 1 out of 100

Related Commands

None

15.8.33. ipfix monitor (global)

Command Purpose

Use this command to create a ipfix monitor and enter monitor configure mode. To remove the ipfix monitor, use the no form of this command.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

ipfix monitor NAME

no ipfix monitor NAME

Parameter

Parameter Description

Parameter Value

NAME

ipfix monitor name

Up to 32 characters

Command Mode

Global Config

Default

None

Usage

None

Examples

This example shows how to create ipfix recorder recorder1in global configuration and enter IPFIX recorder Configuration:

Switch# configure terminal
Switch(config)# ipfix monitor monitor1
Switch(Config-ipfix-monitor)#

This example shows how to delete ipfix monitor monitor1:

Switch# configure terminal
Switch(config)# no ipfix monitor monitor1

Related Commands

recorder

exporter

15.8.34. description

Command Purpose

This command used to describe ipfix monitor,use the no form of this command to delete this description.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

description DESCRIPTION

Parameter

Parameter Description

Parameter Value

DESCRIPTION

The length of ipfix monitor description should not exceed 64 characters

Up to 64 characters

Command Mode

IPFIX monitor Configuration

Default

None

Usage

None

Examples

Add descriptoin for IPFIX monitor:

Switch# configure terminal
Switch(config)# ipfix monitor monitor1
Switch(Config-ipfix-monitor)# descrption this is a ipfix monitor

Remove description:

Switch# configure terminal
Switch(config)# ipfix monitor monitor1
Switch(Config-ipfix-monitor)# no description

Related Commands

None

15.8.35. recorder

Command Purpose

Use this command to create a ipfix recorder of the ipfix monitor. To remove the ipfix monitor, use the no form of this command.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

recorder NAME

Parameter

Parameter Description

Parameter Value

NAME

ipfix recorder name

Up to 32 characters

Command Mode

IPFIX monitor Configuration

Default

None

Usage

None

Examples

This example shows how to create a recorder of the ipfix monitor configure mode:

Switch# configure terminal
Switch(config)# ipfix monitor monitor1
Switch(Config-ipfix-monitor)# recorder recorder1

Related Commands

None

15.8.36. exporter

Command Purpose

Use this command to create a ipfix exporter of the ipfix monitor. To remove the ipfix monitor, use the no form of this command.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

exporter NAME

Parameter

Parameter Description

Parameter Value

NAME

ipfix exporter name

Up to 32 characters

Command Mode

IPFIX monitor Configuration

Default

None

Usage

None

Examples

This example shows how to create a exporter of the ipfix monitor configure mode:

Switch# configure terminal
Switch(config)# ipfix monitor monitor1
Switch(Config-ipfix-monitor)# exporter exporter1

Related Commands

None

15.8.37. flow mirror

Command Purpose

Use this command to create a ipfix flow mirror of the ipfix monitor. To remove flow mirror of the ipfix monitor, use the no form of this command.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

flow mirror packet CLI_IPFIX_MIRROR_COUNT_RNG monitor to session 1

Parameter

Parameter Description

Parameter Value

- CLI_I PFIX_MIRROR_COUNT_RNG

Packet count value, first count of packet per flow

Range is 1 to 255

Command Mode

IPFIX monitor Configuration

Default

None

Usage

None

Examples

This example shows how to create a flow mirror of the ipfix monitor configure mode:

Switch# configure terminal
Switch(config)# ipfix monitor monitor1
Switch(Config-ipfix-monitor)# flow mirror packet 1 monitor to session 1

Related Commands

None

15.8.38. ipfix monitor (interface/port-group/vlan group)

Command Purpose

This command used to enable ipfix.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Not supported fully ???

Command Syntax

ipfix monitor ( input | output ) NAME ( sampler NAME | )

no ipfix monitor ( input | output )

Parameter

Parameter Description

Parameter Value

input

do ipfix for the inputed packets

-

output

do ipfix for the outputed packets

-

NAME

IPFIX monitor name

Up to 32 characters

sampler NAME

IPFIX sampler name

Up to 32 characters

Command Mode

Interface Configuration

Port-group Configuration

Vlan-group Configuration

Default

None

Usage

None

Examples

This example shows how to enable ipfix:

Switch# configure terminal
Switch(config)# interface eth-0-1
Switch(config-if)# ipfix monitor input monitor sampler test-sample

Related Commands

None

15.8.39. ipfix global configure

Command Purpose

this command used to enter ipfix global configure mode.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

ipfix global

Command Mode

Global Config

Default

None

Usage

None

Examples

This example shows how to enter IPFIX global configure mode.:

Switch# configure terminal
Switch(config)# ipfix global
Switch(config-ipfix-global)#

Related Commands

None

15.8.40. ipfix global flow

Command Purpose

this command used to configure ipfix globally.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

ipfix global flow aging CLI_IPFIX_AGING_INTVAL_RNG

flow export CLI_IPFIX_CACHE_EXPORT_INTVAL_RNG

AQ-N6000

flow aging CLI_IPFIX_AGING_INTVAL_RNG

flow threshold jitter CLI_IPFIX_JITTER_THRD_RNG

flow threshold latency CLI_IPFIX_LATENCY_THRD_RNG

Parameter

Parameter Description

Parameter Value

- CLI_I PFIX_AGING_INTVAL_RNG

The aging time of the flow

Range is 1 to 65535, the default is 1800 seconds

- CLI_IPFIX_CA CHE_EXPORT_INTVAL_RNG

The interval time of flow being exported from ASIC to OS.

Range is 1 to 1000, the default is 5 seconds

AQ-N6000

Parameter

Parameter Description

Parameter Value

- CLI_I PFIX_AGING_INTVAL_RNG

The aging time of the flow

Range is 1 to 65535, the default is 1800 seconds

-CLIIPFIX_JITTER_THRD_RNG

The jitter threshold that a flow should be exported.

Range is 1 to 65535, the default is 65535 nanoseconds.

- CLI_I PFIX_LATENCY_THRD_RNG

The latency threshold that a flow should be exported.

Range is 1 to 16777215, the default is 16777215 nanoseconds.

Command Mode

IPFIX Global Config

IPFIX Global Config

Default

None

Usage

None

Examples

This example shows how to configure the aging time to be 200 seconds in global configure mode:

Switch# configure terminal
Switch(config)# ipfix global flow aging 200

This example shows how to configure the export interval to be 10 seconds in global configure mode:

Switch# configure terminal
Switch(config)# ipfix global
Switch(config-ipfix-global)# flow export 10

This example shows how to configure the aging time to be 200 seconds in global configure mode:

Switch# configure terminal
Switch(config)# ipfix global
Switch(config-ipfix-global)# flow aging 200

This example shows how to configure the jitter threshold to be 100 ns in IPFIX global configure mode:

Switch# configure terminal
Switch(config)# ipfix global
Switch(config-ipfix-global)# flow threshold jitter 100

This example shows how to configure the latency threshold to be 100 ns in IPFIX global configure mode:

Switch# configure terminal
Switch(config)# ipfix global
Switch(config-ipfix-global)# flow threshold latency 100

Related Commands

None

15.8.41. ipfix hardware-telemetry enable

Command Purpose

This command used to enable ipfix hardware-telemetry. To disable ipfix hardware-telemetry, use the no form of this command.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

Not supported

Base

AQ-N5000

Not supported

Base

AQ-N6000

7.0

Base

Command Syntax

feature hardware-telemetry

no feature hardware-telemetry

Command Mode

IPFIX Global Config

Default

None

Usage

None

Examples

This example shows how to enable ipfix hardware-telemetry:

Switch# configure terminal
Switch(config)# ipfix global
Switch(config-ipfix-global)# feature hardware-telemetry
Warning: All ipfix caches stored in OS will be cleared, continue? (y/n): y

This example shows how to disable ipfix hardware-telemetry:

Switch# configure terminal
Switch(config)# ipfix global
Switch(config-ipfix-global)# no feature hardware-telemetry

Related Commands

None

15.8.42. ipfix hardware-telemetry dest

Command Purpose

This command used to config ipfix hardware-telemetry destination address. To remove destination address, use the no form of this command.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

Not supported

Base

AQ-N5000

Not supported

Base

AQ-N6000

7.0

Base

Command Syntax

hardware-telemetry destination HOST

hardware-telemetry destination ( ipv4 | ipv6 ) ADDR

no hardware-telemetry destination

Parameter

Parameter Description

Parameter Value

HOST

The length of host name should not exceed 32 characters

Up to 32 characters

ipv4

use IPv4 address

-

ipv6

use IPv6 address

-

ADDR

address

-

Command Mode

IPFIX Global Config

Default

None

Usage

None

Examples

This example shows how to configure ipfix hardware-telemetry destination address:

Switch# configure terminal
Switch(config)# ipfix global
Switch(config-ipfix-global)# hardware-telemetry destination ipv4 10.10.10.1

15.8.43. show ipfix recorder

Command Purpose

Use the show ipfix recorde privileged EXEC command to display the configure information of one ipfix recorder.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

show ipfix recorder NAME

Parameter

Parameter Description

Parameter Value

NAME

ipfix recorder name

Up to 32 characters

Command Mode

Privileged EXEC

Default

None

Usage

None

Examples

This example shows how to show ipfix recorder command:

Switch# show ipfix recorder recorder1

Related Commands

None

15.8.44. show ipfix exporter

Command Purpose

Use the show ipfix exporter privileged EXEC command to display the configure information of one ipfix exporter.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

show ipfix exporter NAME

Parameter

Parameter Description

Parameter Value

NAME

ipfix exporter name

Up to 32 characters

Command Mode

Privileged EXEC

Default

None

Usage

None

Examples

This example shows how to display configuration about exporter1 in privileged EXEC mode:

Switch# show ipfix exporter exporter1

Related Commands

None

15.8.45. show ipfix cache

Command Purpose

This command used to show the state information of the ipfix.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

show ipfix cache monitor MNAME

show ipfix cache observe-point interface ( IFPHYSICAL | IFVLAN | IFAGG ) ( input | output )

show ipfix cache observe-point vlan “CLI_IPFIX_ALL_VLAN_CLI_RNG” ( input | output )

show ipfix cache observe-point port-group PGNAME ( input | output )

show ipfix cache observe-point vlan-group VGNAME ( input | output )

show ipfix cache observe-point cid-pair role-based

Parameter

Parameter Description

Parameter Value

MNAME

ipfix monitor name

Up to 32 characters

IFPHYSICAL

Name of interface

- Support physical/aggregation/VLAN ports

input

input direction

-

output

output direction

-

- CLI_I PFIX_ALL_VLAN_CLI_RNG

vlan id

-

PGNAME

Port-group name

-

VGNAME

Vlan-group name

-

Command Mode

Privileged EXEC

Default

None

Usage

None

Examples

This example shows how to show the state information of the ipfix on the interface eth-0-1in privileged EXEC mode:

Switch# show ipfix cache observe-point interface eth-0-1 input

Related Commands

None

15.8.46. show ipfix monitor

Command Purpose

This command used to describe the configration of the ipfix monitor.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

show ipfix monitor NAME

Parameter

Parameter Description

Parameter Value

NAME

ipfix monitor name

Up to 32 characters

Command Mode

Privileged EXEC

Default

None

Usage

None

Examples

This example shows how to display configuration of monitor 1 in privileged EXEC mode:

Switch# show ipfix monitor monitor 1

Related Commands

None

15.8.47. show ipfix sampler

Command Purpose

This command used to describe the configration of the ipfix sampler.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

show ipfix sampler NAME

Parameter

Parameter Description

Parameter Value

NAME

ipfix sampler name

Up to 32 characters

Command Mode

Privileged EXEC

Default

None

Usage

None

Examples

This example shows how to display configuration of sampler1 in privileged EXEC mode:

Switch# show ipfix sampler sampler1

Related Commands

None

15.8.48. show resource ipfix

Command Purpose

This command used to describe the resource of ipfix.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

show resource ipfix

Command Mode

Privileged EXEC

Default

None

Usage

None

Examples

This example shows how to display resource of ipfix in privileged EXEC mode:

Switch# show resource ipfix

Related Commands

None

15.8.49. clear ipfix cache monitor

Command Purpose

This command used to clear cache with ipfix monitor name.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

clear ipfix cache monitor NAME

Parameter

Parameter Description

Parameter Value

NAME

IPFIX monitor name

Up to 32 characters

Command Mode

Privileged EXEC

Default

None

Usage

None

Examples

This example shows how to clear ipfix cache with name test in privileged EXEC mode:

Switch# clear ipfix cache monitor test

Related Commands

None

15.8.50. clear ipfix cache observe-point interface

Command Purpose

This command used to clear cache on interface.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

clear ipfix cache observe-point interface ( IFNAME ) ( input | output )

Parameter

Parameter Description

Parameter Value

IFPHYSICAL

Name of interface

Support physical/aggregation/VLAN ports

input

the inputed packets

-

output

the outputed packets

-

Command Mode

Privileged EXEC

Default

None

Usage

None

Examples

This example shows how to clear ipfix cache on interface eth-0-1 in privileged EXEC mode:

Switch# clear ipfix cache observe-point interface eth-0-1 input

Related Commands

None