Quantcast
Channel: Traffic Analysis
Viewing all articles
Browse latest Browse all 10

How to view top-n Protocol stats on your Cisco Router

$
0
0

Most of production environment has nice monitoring tools that provides nice GUI based stats and information. Actually, you can see protocol stats thru Cisco router. It might be useful tips, when you are deploying QoS policy or bandwidth optimization.

1. NBAR(Network Based Application Recognition) has to enable "ip nbar protocol-discovery" on the interface

Cisco-NBAR(config)# interface serial1/0 
Cisco-NBAR(config-if)# ip nbar protocol-discovery

2. Monitoring protocol stats by top-n

Cisco-NBAR# sh ip nbar protocol-discovery top-n 5

 Serial1/0
                            Input                         Output                  
                            -----                            ------                  
   Protocol          Packet Count          Packet Count            
                            Byte Count               Byte Count              
                            5min Bit Rate (bps)      5min Bit Rate (bps)     
                            5min Max Bit Rate (bps)  5min Max Bit Rate (bps)
   ------------------------ ------------------------ ------------------------
   ospf                 32                              32                      
                            2700                         2724                    
                            0                                0                       
                            0                                0                       
   icmp                20                             10                      
                            2080                         1040                    
                            0                                0                       
                            0                                0                       
   bgp                  8                                4                       
                            368                           184                     
                            0                                0                       
                            0                                0                       
   citrix                 0                                0                       
                            0                                0                       
                            0                                0                       
                            0                                0                       
   cuseeme        0                                0                       
                            0                                 0                       
                            0                                 0                       
                            0                                 0                       
   unknown        0                                  0                       
                            0                                 0                       
                            0                                 0                       
                            0                                 0                       
   Total                60                              46                      
                            5148                         3948                    
                            0                                0                       
                            0                                0              
   

Cisco-NBAR# sh ip nbar protocol-discovery stats bit-rate top-n 5

 Serial1/0
                            Input                              Output                  
                            -----                                 ------                  
   Protocol         5min Bit Rate (bps)      5min Bit Rate (bps)     
   ------------------------ ------------------------ ------------------------
   ospf                     536                              345                      
   icmp                    234                              535                      
   bgp                      23                                 34                      
   citrix                     0                                   0                       
   cuseeme            0                                   0                       
   unknown             0                                   0                       
   Total                    0                                    0                       

3. Monitoring protocol stats of interface by in top-n

Cisco-NBAR# sh ip nbar protocol-discovery interface serial 1/0 stats bit-rate top-n 5

 Serial1/0
                            Input                               Output                  
                            -----                                  ------                  
   Protocol          5min Bit Rate (bps)      5min Bit Rate (bps)     
   ------------------------ ------------------------ ------------------------
   ospf                     102                               1341                      
   icmp                    34                                   34                      
   bgp                      54                                   35                      
   citrix                     0                                     0                       
   cuseeme            0                                     0                       
   unknown             0                                     0                       
   Total                    0                                      0     

 

 

 

 


Viewing all articles
Browse latest Browse all 10

Latest Images

Trending Articles





Latest Images