Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

MPLS label packet count

Is there a way to find out how many packets/bytes with a certain MPLS-label are sent out an interface ?

Looking for a command like in ipv4

access-lists x x log

Thanks

3 REPLIES

Re: MPLS label packet count

Dear Ketimun,

In IOS-XR (show mpls packet counters..) can do the job and below is the guide line for this command

http://www.cisco.com/en/US/docs/ios_xr_sw/iosxr_r3.0/mpls/command/reference/gr3fwd.html#wp1509663

For native IOS, i didn't notice this before but let's check.

Community Member

Re: MPLS label packet count

wouldn't a simple "show mpls forwarding-table" do it?

7200-SF04#show mpls forwarding-table labels 52

Local Outgoing Prefix Bytes tag Outgoing Next Hop

tag tag or VC or Tunnel Id switched interface

52 Untagged 10.6.0.0/16[V] 33776412 Se2/1/16:0.3 point2point

Bytes tag switched column

Cisco Employee

Re: MPLS label packet count

Sergio,

This will definitely work on the P router(s) (and egress PE if a service label is used) but not on the ingress PE.

Regards,

Harold Ritter
Sr. Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México
161
Views
8
Helpful
3
Replies
CreatePlease to create content