Learn F5 Technologies, Get Answers & Share Community Solutions Join DevCentral

Filter by:
  • Solution
  • Technology
Answers

License Check Date of Big-IP from Big-IQ

I would like to check License date of Big-IP devices from Big-IQ.Where I can find it?

0
Rate this Question

Answers to this Question

placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER

I believe option is not there to check License date, infect i am also checking same.

0
placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER

If you are after the output from tmsh show sys license, then send a GET request to the BIG-IP's /mgmt/tm/sys/license endpoint: e.g.,

# curl -sku <user>:<pass> https://<bigip>/mgmt/tm/sys/license

To grab just the date related fields, pipe the output to a JSON parser and grep.

... | python -m json.tool | grep -E -A 1 'license.+Date|serviceCheckDate'

An example output:

                       "licenseEndDate": {
                            "description": "2019/01/29"
    --
                        "licenseStartDate": {
                            "description": "2018/11/04"
    --
                        "licensedOnDate": {
                            "description": "2018/12/19"
    --
                        "serviceCheckDate": {
                            "description": "2018/12/30"
0