hi and3p
I have a
8325 with 10.06.0130 showing this:
show interf vlan 4
Interface vlan4 is up
Admin state is up
Description: management_4
Hardware: Ethernet, MAC Address: b8:d4:e7:dc:4b:00
IPv4 address 10.1.4.13/24
active-gateway L3 source mac b8:d4:e7:dc:4b:00
Rx
L3:
28756334 packets, 2533390745 bytes
Tx
L3:
17540615 packets, 2079909648 bytes
A
6400 with 10.07.0010 showing this:
show interf vlan 1080
Interface vlan1080 is up
Admin state is up
Description: trusted
Hardware: Ethernet, MAC Address: f8:60:f0:f4:ec:00
IPv4 address 172.17.80.2/20
active-gateway ip mac 12:00:00:00:01:00
active-gateway ip 172.17.80.1
Statistic RX TX Total
---------------- -------------------- -------------------- --------------------
L3 Packets 3489304864 4304976307 7794281171
L3 Bytes 2669151643783 4819795628031 7488947271814
An on
6400 with 10.07.0010 and disabled L3-Counters it looks like this.
show interf vlan 1080
Interface vlan1080 is up
Admin state is up
Description: trusted
Hardware: Ethernet, MAC Address: f8:60:f0:f4:ec:00
IPv4 address 172.17.80.2/20
active-gateway ip mac 12:00:00:00:01:00
active-gateway ip 172.17.80.1
Statistic RX TX Total
---------------- -------------------- -------------------- --------------------
L3 Packets 0 0 0
L3 Bytes 0 0 0
But sorry,
I dont have a 8325 with 10.07.0010. Maybe it is a bug in this combination. Have you tried updating to a newer version? e.g. 10.07.0021?
Regards
Manuel
------------------------------
Manuel Bitzi
SOFTEC
------------------------------
Original Message:
Sent: Aug 25, 2021 06:23 AM
From: Andy Partridge
Subject: Aruba OS-CX l3-counter interface command
its on an 8325 on GL.10.07.0010
Thanks
------------------------------
Andy Partridge
Original Message:
Sent: Aug 25, 2021 06:18 AM
From: Alexis La Goutte
Subject: Aruba OS-CX l3-counter interface command
Hi Andy,
What hardware and firmware ?
------------------------------
PowerArubaSW : Powershell Module to use Aruba Switch API for Vlan, VlanPorts, LACP, LLDP...
PowerArubaCP: Powershell Module to use ClearPass API (create NAD, Guest...)
PowerArubaCL: Powershell Module to use Aruba Central
PowerArubaCX: Powershell Module to use ArubaCX API (get interface/vlan/ports info)..
ACEP / ACMX #107 / ACDX #1281
Original Message:
Sent: Aug 25, 2021 04:25 AM
From: Andy Partridge
Subject: Aruba OS-CX l3-counter interface command
Thanks for the info - although I'm still not clear. I read the documentation and tried to apply this on a live switch and found not a material difference in counters.
My example is from an uplink VLAN
Following configuration interface vlan3365
vrf attach vrf-management
description Link_to_core
ip address 10.1.10.116/31
ip mtu 9100
l3-counters
exit
But when i run the command
AOX-CX-001(config-if-vlan)# show int statistics | inc vlan3365
vlan3365 0 0 0 0 0 0 0 0 0 0 0 0
or
AOS-CX-001# diag interface vlan3365 statistics
AOS-CX-001#
then I tried
dtsw-pilot-001(config-if-vlan)# show int vlan 3365
Interface vlan3365 is up
Admin state is up
Description: Link_to_Core
Hardware: Ethernet, MAC Address: 90:20:c2:bb:32:00
IPv4 address 10.1.10.116/31
active-gateway L3 source mac 90:20:c2:bb:32:00
Statistic RX TX Total
---------------- -------------------- -------------------- --------------------
L3 Packets 5238 0 5238
L3 Bytes 890017 0 890017
but there are no tx counters
So trying to understand where i can make use of the command and the value.
------------------------------
Andy Partridge
Original Message:
Sent: Aug 16, 2021 01:57 PM
From: Davide Poletto
Subject: Aruba OS-CX l3-counter interface command
Hello Andy, the l3-counters command applies to a Layer 3 interface (thus a routing interface). Directly from documentation: "l3-counters enables counters on a layer 3 interface. By default, all interfaces are layer 3. To change a layer 2 interface to layer 3, use the routing command. The no form of this command, with no specification, disables both transmit and receive counters on a layer 3 interface. To disable transmit (tx) or receive (rx) counters only, specify the counter type you want to disable." so if your interface 1/1/52 is a Layer 2 interface (no routing) then Layer 3 counters not apply.
------------------------------
Davide Poletto
Original Message:
Sent: Aug 16, 2021 10:29 AM
From: Andy Partridge
Subject: Aruba OS-CX l3-counter interface command
What is the l3-counters command for, having searched the user guide and also applying to a CX 8325 switch, I can't see where these counters are.
Is there a command to see the l3-counters?
At first, I assumed it was #diag in 1/1/52 statistics
but counters were incrementing in this output before the command.
AP.
------------------------------
Andy Partridge
------------------------------