cli timestamp

Use this command to enable timestamp print after every show command line interfaces.

Use the no form of this command disable the timestamp print.

Command Syntax

Copy
cli timestamp

Parameters

None

Default

Disabled

Command Mode

Configure mode

Applicability

This command was introduced before OcNOS version 6.5.2.

Example

Copy
OcNOS#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
OcNOS(config)#cli timestamp
OcNOS(config)#commit
OcNOS(config)#exit
OcNOS#
OcNOS#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
OcNOS(config)#no cli timestamp
OcNOS(config)#commit
OcNOS(config)#exit

Validation Example

Copy
Virgo-6#show ip ospf neighbor
! [execution timestamp : 2024 May 14 08:57:44]
Virgo-6#
Virgo-6#show mpls forwarding-table
! [execution timestamp : 2024 May 14 08:57:49]
Codes: > - installed FTN, * - selected FTN, p - stale FTN, ! - using backup
       B - BGP FTN, K - CLI FTN, (t) - tunnel, P - SR Policy FTN, (b) - bypass,
       L - LDP FTN, R - RSVP-TE FTN, S - SNMP FTN, I - IGP-Shortcut,
       U - unknown FTN, O - SR-OSPF FTN, i - SR-ISIS FTN, k - SR-CLI FTN
       (m) - FTN mapped over multipath transport, (e) - FTN is ECMP
 
FTN-ECMP LDP: Disabled
Code   FEC  FTN-ID  Nhlfe-ID  Tunnel-ID Pri Out-Label Out-Intf ELC   Nexthop         UpTime