Hi Xyxue,

Works for me;

BGvpp# sh int
              Name               Idx       State          Counter          Count
...
mpls-tunnel0                      3         up       tx packets                 
   61
                                                     tx bytes                   
 5368

MPLS-tunnels are uni-directional, so you’ll never see RX.

Regards,
Neale


From: 薛欣颖 <xy...@fiberhome.com>
Date: Wednesday, 31 May 2017 at 09:45
To: "Neale Ranns (nranns)" <nra...@cisco.com>, vpp-dev <vpp-dev@lists.fd.io>
Subject: Re: Re: [vpp-dev] The count information on virtual interface

Hi Neale,

The mpls-tunnel0 display only the tx/rx packets info.But the vxlan_tunnel and 
gre0 display the tx/rx packets and bytes info.
Is this an error?
DBGvpp#
              Name               Idx       State          Counter          Count
local0                            0        down
mpls-tunnel0                      3         up           rx packets             
21792
                                                         tx packets             
2484288

vpp# show int
              Name               Idx       State          Counter          Count

local0                            0        down
vxlan_tunnel0              5         up       rx packets                    39
                                                            rx bytes            
       13489
                                                            tx packets          
          43
                                                            tx bytes            
       15277

DBGvpp# show int
              Name               Idx       State          Counter          Count
gre0                              3         up       rx packets                 
 6111
                                                     rx bytes                  
696654
                                                     tx packets                 
 6121
                                                     tx bytes                  
820841
                                                     ip4                        
 6111

Thanks,
xyxue
________________________________

From: xyxue<mailto:xy...@fiberhome.com>
Date: 2017-05-31 15:29
To: nranns<mailto:nra...@cisco.com>; vpp-dev<mailto:vpp-dev@lists.fd.io>
Subject: Re: Re: [vpp-dev] The count information on virtual interface
Hi Neale,

I'm sorry. The previous display was caused by my error configuration.The 
display after change configuration is shown below:
DBGvpp#
              Name               Idx       State          Counter          Count
local0                            0        down
mpls-tunnel0                      3         up           rx packets             
21792
                                                         tx packets             
2484288


Thanks,
xyxue

________________________________

From: Neale Ranns (nranns)<mailto:nra...@cisco.com>
Date: 2017-05-31 15:14
To: 薛欣颖<mailto:xy...@fiberhome.com>; 
vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>
Subject: Re: [vpp-dev] The count information on virtual interface
Hi Xyxue,

MPLS tunnels (and all other tunnels/virtual interfaces) should accumulate stats.
Are you seeing no stats when the MPLS tunnel is carrying L2 or L3 traffic?

Regards,
neale

From: <vpp-dev-boun...@lists.fd.io> on behalf of 薛欣颖 <xy...@fiberhome.com>
Date: Wednesday, 31 May 2017 at 07:28
To: "vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io>
Subject: [vpp-dev] The count information on virtual interface

Hi guys,

Whether VPP collect count information on virtual interfaces?
I can only see the count information on virtual interfaces associated with 
VLAN.Some infomation is shown below:
vpp# show int
              Name               Idx       State          Counter          Count

local0                            0        down
vxlan_tunnel0              5         up       rx packets                    39
                                                            rx bytes            
       13489
                                                            tx packets          
          43
                                                            tx bytes            
       15277



DBGvpp#
              Name               Idx       State          Counter          Count
local0                            0        down
mpls-tunnel0                      3         up



Do other virtual interfaces support the count information?



Thanks,
xyxue

________________________________
_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to