Collect Timestamp Sys-Uptime - Cisco Nexus 7000 Series Reference Manual

Nx-os system management command reference
Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

C Commands

collect timestamp sys-uptime

To configure the TIMESTAMP SYS-UPTIME field as a nonkey field and collect the values in them for
a Flexible NetFlow flow record, use the collect timestamp sys-uptime command. To disable the use of
the TIMESTAMP SYS-UPTIME field as a nonkey for a Flexible NetFlow flow record, use the no form
of this command.
Syntax Description
first
last
Defaults
This command is not enabled by default.
Command Modes
Flow record configuration
Supported User Roles
network-admin
vdc-admin
Command History
Release
4.0(1)
Usage Guidelines
The Flexible NetFlow commands that start with collect are used to configure nonkey fields for the flow
monitor record and to enable capturing the values in the fields for the flow created with the record. The
values in nonkey fields are added to flows to provide additional information about the traffic in the flows.
A change in the value of a nonkey field does not create a new flow. In most cases, the values for nonkey
fields are taken from only the first packet in the flow.
This command does not require a license.
Examples
This example shows how to configure timestamps based on the sys-uptime for the time that the first
packet was seen from the flows as a nonkey field and collects the sys-uptime for the time that the first
packet was seen from the flows:
switch(config)# flow record FLOW-RECORD-1
switch(config-flow-record)# collect timestamp sys-uptime first
OL-25806-03
collect timestamp sys-uptime {first | last}
no collect timestamp sys-uptime {first | last}
Configures the sys-uptime for the time that the first packet was seen from the
flows as a nonkey field and collects time stamps based on the sys-uptime for
the time that the first packet was seen from the flows.
Configures the sys-uptime for the time that the last packet was seen from the
flows as a nonkey field and collects time stamps based on the sys-uptime for
the time that the most recent packet was seen from the flows.
Modification
This command was introduced.
Cisco Nexus 7000 Series NX-OS System Management Command Reference
collect timestamp sys-uptime
85

Advertisement

Table of Contents
loading

Table of Contents