Page 1 of 1

Network/Switch Router Wizard Fails

Posted: Wed Mar 13, 2019 2:36 pm
by kcarlson
Hello,

Trying to run this particular wizard up against a new switch in our network. We have multiple other identical switches and I've never had an issue with running this before. After this one failed I went back and ran it again on an existing switch and didn't have any other issues. Once I go through Step 1 of the wizard and click next the wizard just hangs. Today I received a failure stating "No ports were detected on the switch" I've gone through the possible reasons and none of them appear to be applicable. The switch is up and I can login to it. I can use the snmpwalk wizard on the switch and receive the switch type and other info back. The troubleshooting tip has me run a cfgmaker command and post output. The output is attached below. Eventually I stop the command as many minutes has gone by.

Any help on this would be greatly appreciated.

Thanks

Re: Network/Switch Router Wizard Fails

Posted: Wed Mar 13, 2019 2:56 pm
by tgriep
It looks like the number of ports on that device is very large so when the wizard tries to gather the data from it, it could be overflowing the default PHP settings and that would cause the wizard to not run.

Let' increase the settings by editing the /etc/php.ini file and change the following from

Code: Select all

max_execution_time = 30
max_input_time = 60
memory_limit = 128M
to

Code: Select all

max_execution_time = 120
max_input_time = 240
memory_limit = 1024M
add this to the bottom of that file

Code: Select all

max_input_vars=50000
Save the file

Then edit this file
/etc/httpd/conf/httpd.conf
add this to the bottom of that file

Code: Select all

LimitRequestLine 100000
Save the file and restart Apache for the changes to take affect.

Code: Select all

service httpd restart
If the above variables have been changed already on the server to values larger than the examples, increase them further.

Upgrade the Network Switch / Router wizard in XI by logging in to the XI GUI and going to the Admin > Manage Config Wizards menu.
Click the Check for Updates button and update the Network Switch / Router wizard.
Then re-run the Wizard again against that device and make sure the Scan Interface box is checked so it will gather fresh data.
Let us know if this fixes the issue.

Re: Network/Switch Router Wizard Fails

Posted: Wed Mar 13, 2019 3:39 pm
by kcarlson
Increasing these limits led to us to the actual problem. The switch itself only has 6 ports but we found that one port was set to allow all VLANS. So once the limits were increased the wizard came back with the option to monitor VLANS 1-4094 plus the 6 ports. There was our issue and allowed us to correct our switch config. Once that was done we re-ran the wizard which ran much quicker as normal and came back with the VLANS in use.

Thanks for all the help, this issue is now resolved.

Re: Network/Switch Router Wizard Fails

Posted: Wed Mar 13, 2019 4:22 pm
by tgriep
Your welcome, glad it is resolved now. I'll close and lock the post as solved but feel free to open a new post in the future for any new questions.