Introduction- This article explains how to add timestamp on all the show commands on controllers running 6.4 and above.
Feature Notes- "Adding timestamp on show commands" feature was actually introduced in Aruba OS 6.2.1.x. However from Aruba OS 6.4 the command to enable this feature has been modified from "clock append" to "clock cli-timestamp".
Environment- This is applicable to all the controller model running Aruba OS 6.4 and above.
Here in this example we have used a "Aruba7240" controller running Aruba OS: ArubaOS 6.4.2.2
Network Topology- NA
Configuration Steps- "clock append" command is deprecated and we need to use "clock cli-timestamp" to enable the timestamp feature on all the show commands.
(Aruba) #clock append
This command is deprecated. Please use : clock cli-timestamp
Here we have taken "show ap active" command as an example.
To enable timestamp:
=============
(Aruba) #clock cli-timestamp
(Aruba) #
(Aruba) #show ap active
Mon Nov 10 09:17:39.487 2014 ---->showing timestamp
Active AP Table
---------------------
Name Group IP Address 11g Clients 11g Ch/EIRP/MaxEIRP 11a Clients 11a Ch/EIRP/MaxEIRP AP Type Flags Uptime Outer IP
-------- -------- --------------- -------------- ----------------------------- -------------- ----------------------------- ----------- ------- --------- -----------
AP1 Test 10.17.168.93 0 AP:HT:11/12/19 0 AP:HT:116+/22.5/22.5 135 Ada 16h:52m:6s N/A
Flags: 1 = 802.1x authenticated AP; 2 = Using IKE version 2;
A = Enet1 in active/standby mode; B = Battery Boost On; C = Cellular;
D = Disconn. Extra Calls On; E = Wired AP enabled; F = AP failed 802.1x authentication;
H = Hotspot Enabled; K = 802.11K Enabled; L = Client Balancing Enabled; M = Mesh;
N = 802.11b protection disabled; P = PPPOE; R = Remote AP;
S = AP connected as standby; X = Maintenance Mode;
a = Reduce ARP packets in the air; d = Drop Mcast/Bcast On; u = Custom-Cert RAP;
r = 802.11r Enabled
Channel followed by "*" indicates channel selected due to unsupported configured channel.
"Spectrum" followed by "^" indicates Local Spectrum Override in effect.
Num APs:1
To disable timestamp:
=============
(Aruba) #no clock cli-timestamp
(Aruba) #
(Aruba) #show ap active
Active AP Table
---------------------
Name Group IP Address 11g Clients 11g Ch/EIRP/MaxEIRP 11a Clients 11a Ch/EIRP/MaxEIRP AP Type Flags Uptime Outer IP
-------- -------- --------------- -------------- ----------------------------- -------------- ----------------------------- ----------- ------- --------- -----------
AP1 Test 10.17.168.93 0 AP:HT:11/12/19 0 AP:HT:116+/22.5/22.5 135 Ada 16h:52m:6s N/A
Flags: 1 = 802.1x authenticated AP; 2 = Using IKE version 2;
A = Enet1 in active/standby mode; B = Battery Boost On; C = Cellular;
D = Disconn. Extra Calls On; E = Wired AP enabled; F = AP failed 802.1x authentication;
H = Hotspot Enabled; K = 802.11K Enabled; L = Client Balancing Enabled; M = Mesh;
N = 802.11b protection disabled; P = PPPOE; R = Remote AP;
S = AP connected as standby; X = Maintenance Mode;
a = Reduce ARP packets in the air; d = Drop Mcast/Bcast On; u = Custom-Cert RAP;
r = 802.11r Enabled
Channel followed by "*" indicates channel selected due to unsupported configured channel.
"Spectrum" followed by "^" indicates Local Spectrum Override in effect.
Num APs:1
Verification- (Aruba) #show clock cli-timestamp
clock cli-timestamp status: disabled
(Aruba) #clock cli-timestamp
(Aruba) #
(Aruba) #show clock cli-timestamp
Mon Nov 10 09:36:36.214 2014
clock cli-timestamp status: enabled
Related Links- https://arubanetworkskb.secure.force.com/pkb/articles/HowTo/How-do-I-enable-timestamp-feature-on-the-Aruba-controller-so-that-a-timestamp-is-included-in-the-output-of-each-show-command-in-the-CLI-indicating-the-date-and-time-the-command-was-issued