cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1688
Views
0
Helpful
7
Replies

l2vpn statistics

m-stawiski
Level 1
Level 1

Hi guys,

 

Should be quick for you - trying to find the way to clear statistics in command 

sh l2vpn xconnect interface Te0/x/x/x.3531 detail 

 

...

Statistics:
packets: received 653391833, sent 1016
bytes: received 179842397573, sent 472452

 

in 6500 I used command like bellow 

clear xconnect interface gigabitEthernet 2/3

to do similar things 

 

but can't find equivalent for ASR - any help appreciated 

 

Regards,

Marcin

 

7 Replies 7

Aleksandar Vidakovic
Cisco Employee
Cisco Employee

Have you tried this one:

 

RP/0/RSP0/CPU0:our9001#clear l2vpn counters ?
bridge Clear bridge domain counters
l2fwd Clear l2fwd lib counters
l2tp L2VPN L2TP counters
xconnect Clear xconnect counters

Hi Alex,

 

Well yes - i thought it will be - clear l2vpn counters xconnect - but when I check options i got only bellow 

 

#clear l2vpn counters xconnect ?
mac-withdraw Clear mac withdraw statistics

 

can't specify interface or pw-id 

 

Regards,

Marcin

try clear mpls forwarding counters, it may help here

dducamps01
Level 1
Level 1

it does NOT work also

RP/0/RP0/CPU0:***#clear mpls forwarding counters

Sun Dec  1 00:00:32.034 UTC

 


RP/0/RP0/CPU0:***#
#sh l2vpn xc det
Sun Dec 1 00:00:35.472 UTC

Group VPWS, XC *** , state is up; Interworking none
Description: ***
AC: TenGigE0/0/0/20.1900, state is up
Type VLAN; Num Ranges: 1
Rewrite Tags: []
VLAN ranges: [1900, 1900]
MTU 9000; XC ID 0x1000002; interworking none
Statistics:
packets: received 51898, sent 14380
bytes: received 3529040, sent 920826
drops: illegal VLAN 0, illegal length 0

 

 

Make new post please 

Thanks 

MHM

have you tried "clear l2vpn forwarding counters"?

best,

/Aleksandar

dducamps01
Level 1
Level 1

hello Aleksandar
I tried your command and it WORKS !
below counters AC and PW before and AFTER to have typed the command
THANKS a lot for your help
Dominique


RP/0/RP0/CPU0:###-B12#sh l2vpn xc det

Tue Dec  3 08:56:21.791 UTC

 

Group VPWS, XC ###-RT04, state is up; Interworking none

  AC: TenGigE0/0/0/20.1901, state is up

    Type VLAN; Num Ranges: 1

    Rewrite Tags: []

    VLAN ranges: [1901, 1901]

    MTU 9000; XC ID 0x1000002; interworking none

    Statistics:

      packets: received 1123, sent 201

      bytes: received 201922, sent 12814

      drops: illegal VLAN 0, illegal length 0

  PW: neighbor

#####################################

 

    MIB cpwVcIndex: 2684354567

    Create time: 02/12/2024 09:45:57 (23:10:24 ago)

    Last time status changed: 02/12/2024 10:06:36 (22:49:45 ago)

    Last time PW went down: 02/12/2024 10:05:06 (22:51:15 ago)

    Statistics:

      packets: received 201, sent 1123

      bytes: received 12814, sent 201922

RP/0/RP0/CPU0:###-B12#

 

 

 

 

RP/0/RP0/CPU0:###-B12#clear l2vpn forwarding counters

Tue Dec  3 08:56:28.176 UTC

RP/0/RP0/CPU0:###-B12#

 

 

 

RP/0/RP0/CPU0:###-B12#sh l2vpn xc det                

Tue Dec  3 08:56:31.006 UTC

 

Group VPWS, XC ###-RT04, state is up; Interworking none

  AC: TenGigE0/0/0/20.1901, state is up

    Type VLAN; Num Ranges: 1

    Rewrite Tags: []

    VLAN ranges: [1901, 1901]

    MTU 9000; XC ID 0x1000002; interworking none

    Statistics:

      packets: received 15, sent 0

      bytes: received 3060, sent 0

      drops: illegal VLAN 0, illegal length 0

  PW: neighbor

#####################################

 

 

    MIB cpwVcIndex: 2684354567

    Create time: 02/12/2024 09:45:57 (23:10:33 ago)

    Last time status changed: 02/12/2024 10:06:36 (22:49:54 ago)

    Last time PW went down: 02/12/2024 10:05:06 (22:51:24 ago)

    Statistics:

      packets: received 0, sent 15

      bytes: received 0, sent 3060

RP/0/RP0/CPU0:###-B12#