This website is originally written in the Czech language. Most content is machine (AI) translated into English. The translation may not be exact and may contain errors.
SNMP
Simple Network Management Protocol (SNMP) is very useful for managing a computer network.
SNMP - Simple Network Management Protocol
Almost everyone has heard about SNMP, how convenient and simple it is and how good it is to use it for network monitoring. But not everyone knows what it is and how it works. When I looked around the Internet, I could not find any article that explains what it is in a concise and clear way. That's why I tried to do it myself.
20.12.2006 | Samuraj - Petr Bouška | networks | 114 277x | Comments [38]
Switch port information using SNMP and PHP
In this article I try to present the possibilities of practical use of SNMP in conjunction with the PHP programming language. The example I have chosen is to get information about the ports/interfaces of the switch. No deep knowledge of either SNMP or PHP is needed to achieve interesting functionality. I think the main thing is the idea (or information) of what we can do.
17.03.2007 | | administration | 25 125x | Comments [1]
Port to VLAN information for Cisco Switches using SNMP and PHP
In the previous article I described how to get basic information about switch ports. A good extension is to add to the port information what VLAN it is assigned to. This operation is not so simple anymore and it depends on the manufacturer of the switch. In this article I describe the procedure for Cisco switches, which should be universal, but is a bit more complicated for higher-end switches. I tested it on Catalyst 2960 and 3750 switches.
25.03.2007 | | administration | 17 242x | Comments [1]
Discovering the MAC address of the device on the switch port using SNMP and PHP
In previous articles I described how to find out basic information about the ports on the switch. And how to complete the information by assigning the port to a VLAN. In this episode, I'll cover another interesting extension, finding out the MAC address of the device that is connected to the port. This can come in handy in a number of situations, for example a computer starts communicating on our network and we need to find out where it is physically located. I tested the procedure on Cisco Catalyst 2960, 3750, 6500 switches, but it should be applicable to other brands as well.
20.03.2008 | | administration | 29 345x | Comments [5]
Download ARP table from router (switch) using SNMP and PHP
Having found the MAC addresses of the devices that are connected to the ports of the switch, it would be useful to supplement these MAC addresses with the corresponding IP addresses, which will tell us more about the device. If we have a central router (switch) in the network through which individual computers communicate (on L3), we can download its ARP table and that's it.
26.03.2008 | | administration | 16 569x | Comments [0]