how to restart CUCM feature with CLI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2022 08:39 PM
i want to write a script to auto restart CDR Agent
but i can't find the command, CUCM has this command ?
- Labels:
-
Other Unified Communications
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2022 11:26 PM
Some of the services can be restarted from the CLI, but far from all. The command for this is utils services restart <name of the service>. To see a list of all the services you’d be using utils services list, however as mentioned not all of these are possible to restart by the previous command. If you try to restart a service and it cannot be restarted from the CLI you’ll get a list of the services that can be restarted this way.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2022 12:43 AM
Hello!
Using the utils service restart command can only restart some of the services. For example, the services in the feature cannot be restarted through the CLI. For example, utils service restart Cisco CDP Agen is invalid. Is there a CLI command to restart the services in the feature?
utils service restart Cisco CDP Agen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2022 02:16 AM
Hi WangYuwu,
Please try to use exact name of service: "utils service restart Cisco CDP Agent"
In your screenshot you missed letter "t"
BR Oleksandr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2022 02:57 AM
You cant do that from CLI, CDR agent need to be restarted from GUI.
What you are trying is CDP agent.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2022 04:23 AM - edited 03-14-2022 04:25 AM
This is why I wrote that some of the services can be restarted from CLI. Apart from this your using an incorrect name for the service, it is missing a “t” at the end.
