For feedback, use the following:
ipd_online_feedback@alcatel-lucent.com
Table of Contents Previous Next Index PDF


Show Commands
collector
Syntax 
collector [ip-addr[:port]] [detail]
Context 
show>cflowd
Description 
This command displays administrative and operational status of data collector configuration.
Parameters 
ip-addr
Display only information about the specified collector IP address.
Default
:port
Display only information the collector on the specified UDP port.
Default
Values
detail
Displays details about either all collectors or the specified collector.
Output 
cflowd Collector Output
The following table describes the show cflowd collector output fields:
 
 
 
Sample Output
A:SR1 # show cflowd collector detail
===============================================================================
Cflowd Collectors (detail)
===============================================================================
Address : 138.120.135.103
Port : 2055
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# 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
===============================================================================
 
 
 
 
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# 
interface
Syntax 
interface [ip-addr | ip-int-name]
Context 
show>cflowd
Description 
Displays the administrative and operational status of the interfaces with cflowd enabled.
Parameters 
ip-addr
Display only information for the IP interface with the specified IP address.
Default
ip-int-name
Display only information for the IP interface with the specified name.
Default
 
Output 
cflowd Interface Output
The following table describes the show cflowd interface output fields.
Sample Output
B:sr-002# show cflowd interface [ip-addr | ip-int-name] 
===============================================================================
Cflowd Interfaces
===============================================================================
Interface                         Router       IF Index   Mode      Admin  
  IPv4 Address                                                        Oper IPv4
  IPv6 Address                                                        Oper IPv6
-------------------------------------------------------------------------------
ipv4ipv6NamedIf                   Base          381       intf/ing   Up
    5.5.5.5/24                                                        Up         
    55::55/128                                                        Up
ipv4NamedIf                       5             254       acl-egr   Up   
    10.10.10.10/24                                                    Up
    N/A                                                               Down
ipv6NamedIf                       Base          380       i/f-both  Up   
    N/A                                                               Down
    1234:5678::9/128                                                  Up
-------------------------------------------------------------------------------
Interfaces : 3
===============================================================================
 
 
B:sr-002# show cflowd interface 11.10.1.2
===============================================================================
Cflowd Interfaces
===============================================================================
Interface:  To_Sr1
IP address: 11.10.1.2/24
Admin/Oper state:  Up/Up
Sampling Mode: (ingress | egress | both)
Total Flows seen: 1302000
Pkts sampled (ingress/egress) :  60103/70102  
Bytes sampled (ingress/egress) :  6010300/7010200  
Active flows (ingress/egress) :  6010/7010    
 
 
B:sr-002# show cflowd interface
===============================================================================
Cflowd Interfaces
===============================================================================
Interface                         IP Address        Mode        Admin   Oper
-------------------------------------------------------------------------------
To_Sr1                            1.10.1.2/24       Interface   Up      Up
To_C2                             1.12.1.2/24       Interface   Up      Up
To_Cisco_7600                     1.13.1.2/24       Interface   Up      Up
To_E                              1.11.1.2/24       Interface   Up      Up
To_G2                             150.153.1.1/24    Interface   Up      Up
To_Sr1_Sonet                      150.140.1.2/24    Interface   Up      Down
Main                              120.1.1.1/24      Filter      Down    Down
New                               120.2.1.1/24      Filter      Up      Up
-------------------------------------------------------------------------------
Interfaces : 8
===============================================================================
B:sr12-002#
 
status
Syntax 
status
Context 
show>cflowd
Description 
This command displays basic information regarding the administrative and operational status of cflowd.
Output 
cflowd Status Output
The following table describes the show cflowd status 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            
=============================================================================== 
 
Tools Commands
top-protocols
Syntax 
top-protocols
Context 
tools>dump>cflowd [clear]
Description 
This command displays the summary information for the top 20 protocol traffic seen in the cflowd cache. All statistics are calculated based on the data collected since the last clearing of the cflowd stats with clear keyword for this command.
If the clear optional keyword is given, then the top-flows are displayed, and then this cache is cleared.
Output 
Tools Dump Cflowd Top-protocols Output
The following table describes the tools dump cflowd top-protocols output fields:
 
Sample Output
 
SR# tools dump cflowd top-protocols 
 
The top 20 IPv4 protocols seen by cflowd are:
      Current Time: 08/29/2011 15:36:15
Last Cleared Time: 08/29/2011 15:35:08
Protocol ID     Total   Flows   Packets   Bytes   Packets   Duration   % Total
--------        Flows    /Sec     /Flow    /Pkt      /Sec      /Flow   Bandwidth
--------------------------------------------------------------------------------
UDP                 2       0         6     100         0          6         75%
pr1                   1       0         6      64         0          6         24%
--------------------------------------------------------------------------------
TOTALS              3       0         6      88         0          6        100%
 
 
top-flows
Syntax 
top-flows [ipv4 | ipv6 | mpls] [clear]
Context 
tools>dump>cflowd
Description 
This command displays the top 20 (highest traffic volume) flows for IPv4, IPv6 or MPLS traffic types collected since the cflowd top-flow table was last cleared or initialized.
Output 
Tools Dump Cflowd Top-Flows Output
The following table describes the tools dump cflowd top-flows output fields:
 
 
Sample Output
1         2         3         4         5         6         7         8
12345678901234567890123456789012345678901234567890123456789012345678901234567890
Sr1# tools dump cflowd top-flows ipv4
 
Ingress i/f   SrcIP          Egress i/f     DstIP           Pr  TOS  Flgs  Pkts
 vRtr-ID   S-Port Msk AS     D-Port Msk AS  NextHop         Avg Pkt Size Active
----------------------------------------------------------------------------------
1000          52.52.52.1      2001          123.123.123.122 0x01 55   0x10  3748 
 10201     0000   /8  50         0000 /8  40  202.120.130.2       220     3600
……
 
 
         1         2         3         4         5         6         7         8
12345678901234567890123456789012345678901234567890123456789012345678901234567890
Sr1# tools dump cflowd top-flows ipv6
SrcIP (up to IPv6)                       Ingress i/f  Src Port   vRtr ID     ToS    
DstIP (upto IPv6)                        Egress i/f   Dst Port    Proto    Flags 
   Nexthop (uptoIPv6)                      Total Pkts     Avg Pkt  Active(sec)   
2001:0db8:85a3:0000:0000:8a2e:0370:7334  60005        10020        0        0x12
2001:0db8:85a3:0000:0000:8a2e:0280:1234  60325        20010        17       0x23
   2001:0db8:85a3:0000:0000:8a2e:1234:5678 1234567890     1500     13600      
…… 
 
         1         2         3         4         5         6         7         8
12345678901234567890123456789012345678901234567890123456789012345678901234567890
Sr1# tools dump cflowd top-flows mpls
Label-1    Label-2    Label-3    Label-4    Total Pkts     Avg Pkt   Active(s)
  SrcIP (up to IPv6)                    Ingress i/f  Src Port    ToS    
  DstIP (upto IPv6)                     Egress i/f   Dst Port    Proto    Flags 
--------------------------------------------------------------------------------
 
packet-size
Syntax 
packet-size [ipv4 | ipv6] [clear]
Context 
tools>dump>cflowd
Description 
This command displays packet size distribution for sampled IP traffic. Values are displays in decimal format (1.0 = 100%, .500 = 50%). Separate statistics are maintained and shown for IPv4 and IPv6 traffic.
Sample Output
SR-12# tools dump cflowd packet-size ipv4
 IP packet size distribution (801600 total packets):
   1-32   64   96  128  160  192  224  256  288  320  352  384  416  448  480
   .000 .250 .000 .000 .010 .100 .500 .090 .000 .000 .000 .000 .000 .000 .000
 
    512  544  576 1024 1536 2048 2560 3072 3584 4096 4608 9000
   .000 .000 .000 .050 .000 .000 .000 .000 .000 .000 .000 .000
 
 
Clear Commands
cflowd
Syntax 
cflowd
Context 
clear
Description 
Clears the raw and aggregation flow caches which are sending flow data to the configured collectors. This action will trigger all the flows to be discarded. The cache restarts flow data collection from a fresh state. This command also clears global stats collector stats listed in the cflowd show commands.