Home Traffic Analysis Traffic Analysis General How to view top-n Protocol stats on your Cisco Router

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     

 

 

 

 

Last Updated (Wednesday, 31 March 2010 15:30)

 
Smart Link
Search
Statistics
Content View Hits : 2200621
Polls
Highly recommended firewall vendor?
 
Google Translation
English Arabic Chinese (Simplified) Czech Dutch French German Italian Korean Portuguese Russian Spanish Filipino Vietnamese Thai Turkish
BGP routing issue?
Banner
World Route Servers
Banner
Who's Online
We have 92 guests online