Show commands

collector

Syntax

collector [ip-address[:port]] [detail]

Context

show>cflowd

Platforms

7210 SAS-Mxp and 7210 SAS-Sx/S 1/10GE (standalone)

Description

This command displays the administrative and operational status of the configured data collectors.

Parameters

ip-address

Displays information about the specified collector IP address.

Default

all collectors

Values

ip-address

a.b.c.d[:port]

(IPv4)

x:x:x:x:x:x:x:x

(IPv6)

[x:x:x:x:x:x:x:x] :port

(IPv6)

x - [0 to FFFF]H

:port

Displays information about the collector on the specified UDP port.

Default

all UDP ports

Values

1 to 65535

detail

Keyword to display informational details about either all collectors or the specified collector.

Output

The following outputs are examples of cflowd collector information, and the associated tables describe the output fields.

Sample output 1
A:R51-CfmA# show cflowd collector 

===============================================================================
Cflowd Collectors 
===============================================================================
Host Address    Port  Version   AS Type   Admin   Oper            Sent         
-------------------------------------------------------------------------------
138.120.135.103 2055  v5        peer      up      up              1380 records 
138.120.135.103 9555  v8        origin    up      up                90 records 
138.120.135.103 9996  v9          -       up      up                 0 packets 
138.120.214.224 2055  v5        origin    up      up              1380 records 
-------------------------------------------------------------------------------
Collectors : 4
===============================================================================

Table: Output fields: cflowd collector
Label Description

Host Address

Displays the IP address of a remote cflowd collector host to receive the exported cflowd data

Port

Displays the UDP port number on the remote cflowd collector host to receive the exported cflowd data

AS Type

Displays the style of AS reporting used in the exported flow data

origin — Reflects the endpoints of the AS path that the flow is following

peer — Reflects the AS of the previous and next hops for the flow

Version

Displays the configured version for the associated collector

Admin

Displays the desired administrative state for this cflowd remote collector host

Oper

Displays the current operational status of this cflowd remote collector host

Recs Sent

Displays the number of cflowd records that have been transmitted to this remote collector host

Collectors

Displays the total number of collectors using this IP address

Sample output 2

A:R51-CfmA# show cflowd collector detail 
===============================================================================
Cflowd Collectors  (detail)
===============================================================================
Address                      : 138.120.135.103
Port                         : 2055
Description                  : Test v5 Collector
Version                      : 5
AS Type                      : peer
Admin State                  : up
Oper State                   : up
Records Sent                 : 1260
Last Changed                 : 09/03/2009 17:24:04
Last Pkt Sent                : 09/03/2009 18:07:10
-------------------------------------------------------------------------------
                                               Sent          Open       Errors 
-------------------------------------------------------------------------------
                                                 42             0            0
===============================================================================
Address                      : 138.120.135.103
Port                         : 9555   
Description                  : Test v8 Collector
Version                      : 8
AS Type                      : origin
Admin State                  : up
Oper State                   : up
Records Sent                 : 82
Last Changed                 : 09/03/2009 17:24:04
Last Pkt Sent                : 09/03/2009 18:06:41
-------------------------------------------------------------------------------
Aggregation Type              Status           Sent          Open       Errors 
-------------------------------------------------------------------------------
as-matrix                    Disabled             0             0            0
protocol-port                Disabled             0             0            0
source-prefix                 Enabled            21             0            0
destination-prefix            Enabled            21             0            0
source-destination-prefix    Disabled             0             0            0
raw                          Disabled             0             0            0
===============================================================================
Address                      : 138.120.135.103
Port                         : 9996
Description                  : Test v9 Collector
Version                      : 9
Admin State                  : up
Oper State                   : up
Packets Sent                 : 51
Last Changed                 : 09/03/2009 17:24:04
Last Pkt Sent                : 09/03/2009 18:07:10
Template Set                 : Basic
-------------------------------------------------------------------------------
Traffic Type            Template Sent          Sent          Open       Errors 
-------------------------------------------------------------------------------
IPv4              09/03/2009 18:07:29            51             1            0
MPLS                 No template sent             0             0            0
IPv6                 No template sent             0             0            0
===============================================================================
A:R51-CfmA# 
Table: Output fields: cflowd collector detailed
Label Description

Address

Displays the IP address of a remote cflowd collector host to receive the exported cflowd data

Port

Displays the UDP port number on the remote cflowd collector host to receive the exported cflowd data

Description

Displays a user-provided descriptive string for this cflowd remote collector host

Version

Displays the version of the flow data sent to the collector

AS Type

Displays the style of AS reporting used in the exported flow data

origin — Reflects the endpoints of the AS path which the flow is following

peer — Reflects the AS of the previous and next hops for the flow

Admin State

Displays the desired administrative state for this cflowd remote collector host

Oper State

Displays the current operational status of this cflowd remote collector host

Records Sent

Displays the number of cflowd records that have been transmitted to this remote collector host

Last Changed

Displays the time when this row entry was last changed

Last Pkt Sent

Displays the time when the last cflowd packet was sent to this remote collector host

Aggregation Type

Displays the bit mask that specifies the aggregation schemes used to aggregate multiple individual flows into an aggregated flow for export to this remote host collector.

none — No data will be exported for this remote collector host

raw — Flow data is exported without aggregation in version 5 format

All other aggregation types use version 8 format to export the flow data to this remote host collector.

Collectors

Displays the total number of collectors using this IP address

Sent

Displays the number of packets with flow date sent to the associated collector

Open

Displays the number of partially filled packets that have some flow data but are not yet filled or have been timed out (60 seconds maximum)

Error

Increments when an error occurs during export of the collector packet. The most common reason is a UDP unreachable destination for the configured collector.

interface

Syntax

interface [ip-int-name]

Context

show>cflowd

Platforms

7210 SAS-Mxp and 7210 SAS-Sx/S 1/10GE (standalone)

Description

This command displays the administrative and operational status of the interfaces in which cflowd is enabled.

Parameters

ip-int-name

Displays only information for the specified IP interface name, up to 32 characters.

Default

all interfaces with cflowd enabled

Output

The following output is an example of cflowd interface information, and Table: Output fields: cflowd interface describes the output fields.

Sample output
# show cflowd interface [ip-int-name] 
===============================================================================
Cflowd Interfaces
===============================================================================
Interface                         Router       IF Index Type/Dir Samp Admin  
  IPv4 Address                                                        Oper IPv4
  IPv6 Address                                                        Oper IPv6
-------------------------------------------------------------------------------
test                              Base         1         intf/ingr    Up
  1.1.1.1/24                                             uni          Down
  N/A                                                    uni          Down
-------------------------------------------------------------------------------
Interfaces : 1
Table: Output fields: cflowd interface
Label Description

Interface

Displays the physical port identifier

IPv4 Address

Displays the primary IPv4 address for the associated IP interface

IPv6 Address

Displays the primary IPv6 address for the associated IP interface

Router

Displays the virtual router index (Base = 0)

IF Index

Displays the global IP interface index

Type/Dir Samp

Displays the cflowd sampling type and direction

intf — Interface based sampling

acl — ACL based sampling

ingr — Ingress sampling

egr — Egress sampling

both — Both ingress and egress sampling

Admin

Displays the administrative state of the interface

Opr-IPv4

Displays the operational state for IPv4 sampling

Opr-IPv6

Displays the operational state for IPv6 sampling

status

Syntax

status

Context

show>cflowd

Platforms

7210 SAS-Mxp and 7210 SAS-Sx/S 1/10GE (standalone)

Description

This command displays administrative and operational status information for cflowd.

Output

The following output is an example of cflowd status information, and Table: Output fields: cflowd status describes the output fields.

Sample output
sr1# show cflowd status
===============================================================================
Cflowd Status
===============================================================================
Cflowd Admin Status : Enabled
Cflowd Oper Status : Enabled
Active Timeout : 1 minutes
Inactive Timeout : 30 seconds
Template Retransmit : 60 seconds
Cache Size : 65536 entries
Overflow : 1%
Sample Rate : 1
Active Flows : 34000
Overflow events 10 
Dropped Flows: 0 
Pkts Rcvd : 801600
Total Pkts Dropped : 0
                           Raw          
Times flow created        160000           
Times flow matched        224428382        
Total flows flushed       150000           
===============================================================================
Version Info
===============================================================================
Version       Status        Sent   Open   Errors
-------------------------------------------------------------------------------
5             Enabled       92     0      0
8             Enabled       46     0      0
9             Enabled       56     1      0
10            Enabled       39     1      0
===============================================================================

===============================================================================
Cflowd Status
===============================================================================
Cflowd Admin Status  : Enabled
Cflowd Oper Status   : Enabled
Active Timeout       : 1 minutes
Inactive Timeout     : 30 seconds
Template Retransmit  : 60 seconds
Cache Size           : 65536 entries
Overflow             : 1%
Sample Rate          : 1
Active Flows         : 34
Total Pkts Rcvd      : 801600
Total Pkts Dropped   : 0

===============================================================================
Version Info
===============================================================================
Version                    Status     Sent          Open          Errors       
-------------------------------------------------------------------------------
     5                     Enabled    92            0             0            
     8                     Enabled    46            0             0            
     9                     Enabled    56            1             0            
    10                     Enabled    39            1             0            
=============================================================================== 
Table: Output fields: cflowd status
Label Description

Cflowd Admin Status

Displays the desired administrative state for this cflowd remote collector host

Cflowd Oper Status

Displays the current operational status of this cflowd remote collector host

Active Timeout

Displays the maximum amount of time, in minutes, before an active flow is exported. If an individual flow is active for this amount of time, the flow is exported and a new flow is created.

Inactive Timeout

Displays the inactive timeout in seconds

Template Retransmit

Displays the time, in seconds, before template definitions are sent

Cache Size

Displays the maximum number of active flows to be maintained in the flow cache table

Overflow

Displays the percentage number of flows to be flushed when the flow cache size has been exceeded

Sample Rate

Displays the rate at which traffic is sampled and forwarded for cflowd analysis

one (1) — All packets are analyzed

1000 (default) — One in every one thousand packet is analyzed

Active Flows

Displays the current number of active flows being collected

Total Pkts Rcvd

Displays the total number of packets sampled and forwarded for cflowd analysis

Total Pkts Dropped

Displays the total number of packets dropped

Aggregation Info:

Type

Displays the type of data to be aggregated and to the collector

Status

enabled — Specifies that the aggregation type is enabled

disabled — Specifies that the aggregation type is disabled

Sent

Displays the number of packets with flow date sent to the associated collector

Open

Displays the number of partially filled packets which have some flow data but are not yet filled or have been timed out (60 seconds maximum)

Error

Counter increments when an error occurs during export of the collector packet. The most common reason is a UDP unreachable destination for the configured collector.

Overflow events

Displays the number of times the active cache overflowed

Dropped Flows

Displays the total number of flows dropped due to cache overflow events