cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
359
Views
0
Helpful
2
Replies

proper syntax for pipe statment

john.wright
Level 3
Level 3

I am trying to get the end date on asa certificate expiration.

I can get start date but cannot figure out how to get end date.

sh crypto ca certificates | in start date:
    start date: 11:11:44 EST Nov 10 2005
    start date: 01:33:58 EDT Jun 14 2015
    start date: 15:01:03 EDT Oct 29 2014
    start date: 01:42:59 EDT Jul 1 2014
    start date: 14:55:00 EDT Jul 28 2014
    start date: 09:06:12 EDT May 12 2014

1 Accepted Solution

Accepted Solutions

kvaldelo
Level 1
Level 1

John,

Please use the following command:


ASA2(config)# show crypto ca certificates | grep end
end date: 14:24:53 GMT Feb 21 2018
end date: 13:10:03 GMT Oct 5 2020
ASA2(config)#
ASA2(config)#
ASA2(config)# show crypto ca certificates | grep start
start date: 14:24:53 GMT Feb 22 2016
start date: 13:01:48 GMT Oct 5 2015
ASA2(config)#

View solution in original post

2 Replies 2

kvaldelo
Level 1
Level 1

John,

Please use the following command:


ASA2(config)# show crypto ca certificates | grep end
end date: 14:24:53 GMT Feb 21 2018
end date: 13:10:03 GMT Oct 5 2020
ASA2(config)#
ASA2(config)#
ASA2(config)# show crypto ca certificates | grep start
start date: 14:24:53 GMT Feb 22 2016
start date: 13:01:48 GMT Oct 5 2015
ASA2(config)#

Fantastic

Thanks

Review Cisco Networking for a $25 gift card