Cisco IOS commands output is unstructured in the perception of scripting, the output format made sense only to engineers, however if you need to program such output is difficult if the output is not processed. One of the better way to structure the unstructured cisco output is to check each row of the output, then … Continue reading [python]Convert show ip int brief into structured json data
Category: Network Maintenance
Maintenance topic such as disaster recovery, image upgrade, image backup etc
Cisco Systems: Cisco Security Manager tickets
Ticket If you want to configure security devices with Cisco Security Manager a ticket is created, after you have made changes to the security devices you must submit the ticket to make it effective. Example: Add virtual sensor When I wanted to add a virtual sensor Cisco Security Manager will automatically popup a ticket creation … Continue reading Cisco Systems: Cisco Security Manager tickets
Cisco Systems: Cisco Security Manager Event storage
Cisco Security Manager requirements 1. At least 100GB partition for Windows 2008 server OS. 2. At least 150GB partition for Cisco Security Manager 3. At least 1TB partition for event storage. Turn on event management Login to Cisco Security Manager - Configuration Manager. Then Choose event management, turn on the extended store management, so that … Continue reading Cisco Systems: Cisco Security Manager Event storage
Cisco Systems: Unable to access Cisco Security Manager with correct credential
Reference:http://www.cisco.com/en/US/docs/security/security_management/cisco_security_manager/security_manager/3.0/troubleshooting/guide/scts.html#wp1043038 Recently I have been installing and trying to access Cisco Security Manager and encountered several problems which I did not understand. The first problem I encountered after I have login with a correct credential. The second problem which I have encountered after I have login with a correct credential. The reason behind the problems … Continue reading Cisco Systems: Unable to access Cisco Security Manager with correct credential
Cisco Systems: Spanning tree inconsistent port
Problem The topology is arranged in a star, a links terminate at a pair of Cisco 4503-E switches, problem occurred that some switches could not reach the Cisco 4503-E switches after the 4503 switches became primary and secondary root. Solution Desg BKN*4 the port is blocked although it should be forwarding. The blocking is due … Continue reading Cisco Systems: Spanning tree inconsistent port
Palo Alto Networks: Maintenance Mode
To enter maintenance mode, you need to restart your system with request restart system in operational mode or look out for bootloader message that looks like below: Type maint after 5 seconds the grub bootloader will appear: Choose the first partition PANOS (maint, sda), you will enter the maintenance mode that looks like this: You … Continue reading Palo Alto Networks: Maintenance Mode
Copy multiple files to Cisco flash using IOS command
I found that copy files one by one from tftp server to Cisco router flash is extremely annoying and inefficient. So what I did is to group the files I want to copy to Cisco router flash in tar format with 7zip, then use the copy command in cisco IOS.
Cacti Spine: configure: error: MySQL libraries not found
I was trying to compile the cacti spine poller source code and I encounter this error: configure: error: MySQL libraries not found To specify the lib location: LDFLAGS="-L/usr/lib -L/usr/lib/i386-linux-gnu/" ./configure Reference:http://forums.cacti.net/viewtopic.php?f=2&t=46947
Adding allowed list to nrpe.cfg
Add the IP address of the nagios server to nrpe.cfg, for my case my configuration file is located in /usr/local/nagios/etc/nrpe.cfg, if your cfg file is located else where use this command to find find / -name nrpe.cfg Search for the parameter allowed_hosts: append the nagios server ip address.