04-19-2024 07:35 AM
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
04-19-2024 08:11 AM
you use show command with associated interface to l2transport on the cli or best for long term report use NMS with SNMP
04-23-2024 08:29 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide