cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
214
Views
1
Helpful
2
Replies

Is there a CLI to monitor traffic stats on a l2transport interface?

ThomasD86
Level 1
Level 1

Hi,

as per the topic title is there a command that will allow me to display the traffic stats of a l2transport interface or is this achievable only through SNMP?

Thanks a lot

2 Replies 2

balaji.bandi
Hall of Fame
Hall of Fame

you use show command with associated interface to l2transport on the cli or best for long term report use NMS with SNMP

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

nkarpysh
Cisco Employee
Cisco Employee

You can see thet stats on l2transport interface using "show interface X.Y" as any other interface, however this can be a bit slow to update (update counters every few seconds).

Alternatively you can use

VPWS: show l2vpn xconnect detail

VPLS: "show l2vpn forwarding bridge-domain <>:<> det loc <>"

commands and see counters for traffic coming from AC (l2transport interface) and sends towards core (PW):

 

 

RP/0/RSP0/CPU0:PE-1#show l2vpn xconnect detail

Group XG-POD1, XC XC-POD1-EVPN-VPWS, state is up; Interworking none

  AC: Bundle-Ether1.10, state is up

    Type VLAN; Num Ranges: 1

    Rewrite Tags: []

    VLAN ranges: [10, 10]

    MTU 1500; XC ID 0xc0000004; interworking none

    Statistics:

      packets: received 147, sent 1

      bytes: received 15564, sent 64

      drops: illegal VLAN 0, illegal length 0

  EVPN: neighbor 24007, PW ID: evi 1000, ac-id 100, state is up ( established )

    XC ID 0xa0000003

*SNIP*

    Statistics:

      packets: received 1, sent 147

      bytes: received 64, sent 15564

 

 

RP/0/RSP0/CPU0:PE4#show l2vpn bridge-domain bd-name AREA51 det

***SNIP***

  ACs: 1 (1 up), VFIs: 1, PWs: 2 (1 up), PBBs: 0 (0 up)

  List of EVPNs:

    EVPN, state: up

      evi: 400

      XC ID 0x80000009

     Statistics:

       packets: received 0 (unicast 0), sent 2

       bytes: received 0 (unicast 0), sent 112

       MAC move: 0

List of ACs:

    AC: TenGigE0/1/0/1.400, state is up

 ***SNIP***

      Statistics:

  packets: received 2013 (multicast 0, broadcast 1, unknown unicast 2, unicast 2011), sent 2011

 

HTH,
Niko