11-17-2021 09:06 AM
I want to change default gateway of cucm. When i tried to save change it returned with below error.
The requested command returned a result code of 4. Non zero results indicate a failure.
Kindly check sceenshot.
Solved! Go to Solution.
11-17-2021 11:52 AM - edited 11-17-2021 11:49 PM
Thanks for that.
As Amin suggested, try changing the default gateway from the CLI using the command:
set network gateway 172.16.50.254
Make sure you’re in a change window!
11-17-2021 09:27 AM
Hi,
Is the gateway reachable?
Did you try changing using CLI command?
regds,
aman
11-17-2021 09:32 AM
Yes, new gateway which I want to configure is reachable
Regards,
Prashant
11-17-2021 10:48 AM
Is it reachable from CUCM?
SSH onto the CUCM platform and issue the command “utils network Ping 172.16.50.254”
11-17-2021 11:39 AM
Hi scott,
admin:utils network ping 172.16.50.254
PING 172.16.50.254 (172.16.50.254) 56(84) bytes of data.
64 bytes from 172.16.50.254: icmp_seq=1 ttl=254 time=0.488 ms
64 bytes from 172.16.50.254: icmp_seq=2 ttl=254 time=0.416 ms
64 bytes from 172.16.50.254: icmp_seq=3 ttl=254 time=0.616 ms
64 bytes from 172.16.50.254: icmp_seq=4 ttl=254 time=0.432 ms
--- 172.16.50.254 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3008ms
rtt min/avg/max/mdev = 0.416/0.488/0.616/0.078 ms
We can reach to 172.16.50.254
Regards,
Prashant
11-17-2021 11:52 AM - edited 11-17-2021 11:49 PM
Thanks for that.
As Amin suggested, try changing the default gateway from the CLI using the command:
set network gateway 172.16.50.254
Make sure you’re in a change window!
11-17-2021 12:07 PM
Thanks Scott for the quick response.
set default gateway 172.16.50.254
This is invalid syntax
I can see below systax, is it correct?
admin:set network gateway ?
Syntax:
set network gateway addr
addr mandatory IP addr to be assigned
Regards,
Prashant
11-17-2021 12:19 PM - edited 11-17-2021 12:46 PM
Hi,
Oops, sorry about that. Clearly I don’t change default gateways on CUCM’s very often.
Yeah that is the correct syntax. I updated my previous post to reflect the correct syntax.
11-17-2021 07:00 PM - edited 11-17-2021 07:01 PM
it's set network gateway XX.XX.XX.XX.
11-18-2021 01:08 AM
Hi,
Could be one of the reason according to below bug as per symptom . Suggest opening TAC case.
Cisco Unified Communications Manager command "set network hostname" fails without full information
CSCvh66543
Symptom: When using the "set network hostname" command and change hostname and IP address, if the IP change fails it provides the following error: The requested command returned a result code of 1. Non zero results indicate a failure
.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide