cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
611
Views
15
Helpful
9
Replies
prash723
Beginner

Chnage Default Gateway of CUCM in OS administration

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. 

1 ACCEPTED SOLUTION

Accepted Solutions

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!

View solution in original post

9 REPLIES 9
Aman Soi
Advisor

Hi,

 

Is the gateway reachable?

 

 

Did you try changing using CLI command?

 

regds,

aman

Yes, new gateway which I want to configure is reachable 

 

Regards,

Prashant

Is it reachable from CUCM? 

SSH onto the CUCM platform and issue the command “utils network Ping 172.16.50.254”

 

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

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!

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

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. 

it's set network gateway XX.XX.XX.XX.  

 

 

 

 

 



Response Signature


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

.

Create
Recognize Your Peers
Content for Community-Ad