Page 1 of 1

Monitor Cisco Catalyst 6509 port traffic ...

Posted: Fri Jan 10, 2020 11:41 am
by xpertech
There're about 300 ports on the Cisco Catalyst 6509, when using wizard to setup port traffic monitoring, there seems can only setup 127th ports?

Re: Monitor Cisco Catalyst 6509 port traffic ...

Posted: Fri Jan 10, 2020 1:01 pm
by tgriep
On larger devices, the PHP settings need to be increased.
Do this to increase the memory and timeout values that PHP uses, follow this procedure.
Edit 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 = 2048M
add this to the bottom of that file (If it exists, increase it)

Code: Select all

max_input_vars=100000
Save the file

Then edit this file

Code: Select all

/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.
service httpd restart
If the above variables have been changed already on the server to values larger than the examples, increase them further.

Run the wizard again and you should see all of the ports.

Re: Monitor Cisco Catalyst 6509 port traffic ...

Posted: Mon Jan 13, 2020 10:15 am
by xpertech
tgriep wrote:On larger devices, the PHP settings need to be increased.
Do this to increase the memory and timeout values that PHP uses, follow this procedure.
Edit 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 = 2048M
add this to the bottom of that file (If it exists, increase it)

Code: Select all

max_input_vars=100000
Save the file

Then edit this file

Code: Select all

/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.
service httpd restart
If the above variables have been changed already on the server to values larger than the examples, increase them further.

Run the wizard again and you should see all of the ports.


attachment is the profile.

Re: Monitor Cisco Catalyst 6509 port traffic ...

Posted: Mon Jan 13, 2020 4:46 pm
by tgriep
I answered in the PM but the max_input_vars option was commented out and that would not allow the option to be increased.