Cable discovery with visual display of a network topology

Aspects of the disclosure provide a method for highlighting a port of a network device in a network. The method includes receiving, by a processor, a selection of graphical element displayed at a graphical user interface. The network device is separate from the processor. The graphical element corresponds to a port of a network device in a network. The method further includes identifying, by the processor, the port and the network device at which the port is disposed, and transmitting an instruction to the network device to cause a specific signaling component associated with the port to have a different state from other signaling components associated with other ports of the network device in order to highlight the port at the network device to a user.

BACKGROUND

Generally, in a local area network (LAN), network infrastructure devices, such as switches, routers, and the like, are commonly housed in a central location for easy access. In an example, an office building uses a small room to keep the network switch devices for a LAN used in the office building. Then, host devices, such as computers, printers, IP phones, and the like, distributed at various places in the office building are connected to the network switch devices in the small room by cables.

SUMMARY

Aspects of the disclosure provide a method for highlighting a port of a network device in a network. The method includes receiving, by a processor, a selection of graphical element displayed at a graphical user interface. The graphical element corresponds to a port of a network device in a network. The network device is separate from the processor. The method further includes identifying, by the processor, the port and the network device at which the port is disposed, and transmitting an instruction to the network device to cause a specific signaling component associated with the port to have a different state from other signaling components associated with other ports of the network device in order to highlight the port at the network device to a user.

According to an aspect of the disclosure, the method includes transmitting the instruction to the network device to cause a lighting component to have a different light emitting state from other lighting components associated with the other ports of the network device. In an example, the method includes transmitting the instruction to the network device to cause the lighting component to flash. In another example, the method includes transmitting the instruction to the network device to cause the lighting component to have a different color from the other lighting components associated with the other ports of the network device.

In an embodiment, the switch device is among a plurality of other switch devices on a rack. Further, in an example, the instruction to the network device is sent via a Layer 3 protocol.

Aspects of the disclosure provide an apparatus that includes a user interface module and a processor. The user interface module is configured to provide a graphical user interface. The processor is configured to receive a selection of graphical element displayed at the graphical user interface. The graphical element corresponds to a port of a network device in a network. The network device is separate from the processor. The processor is further configured to identify the port and the network device at which the port is disposed and transmit an instruction to the network device to cause a specific signaling component associated with the port to have a different state from other signaling components associated with other ports of the network device in order to highlight the port to a user at the network device.

Aspects of the disclosure provide a non-transitory computer readable medium storing program instructions for causing a processor to execute operations for highlighting a port of a network device in a network. The operations include receiving, by the processor, a selection of graphical element displayed at a graphical user interface. The graphical element corresponds to a port of a network device in a network. The network device is separate from the processor. The operations further include identifying, by the processor, the port and the network device at which the port is disposed, and transmitting an instruction to the network device to cause a specific signaling component associated with the port to have a different state from other signaling components associated with other ports of the network device in order to highlight the port to a user at the network device.

DETAILED DESCRIPTION OF EMBODIMENTS

FIG. 1shows a diagram of a network example100according to an embodiment of the disclosure. In an example, the network100includes a plurality of network devices coupled together to form a plurality of nodes in the network100. For example, the network100includes host devices120, such as host devices H1-H13and the like, that form the host nodes. Further, the network100includes switch devices, such as switch devices S1-S6and the like, that form the switch nodes. In an embodiment, the host devices are distributed at various locations and the switch devices are located at a central place.

According to an aspect of the disclosure, among the devices, at least one device, such as the host device H5, is configured to provide a network topology180to a user via a user interface. Further, the host device H5is configured to assist the user to discover a specific port or a specific cable connected to the port among a large number of ports and cables in the network100. In an example, the host device H5is configured to receive, a selection of an element at the user interface. In an example, the element corresponds to a port of a switch device in the network100. The host device H5then transmits an instruction to the switch device to cause the port to be highlighted, such that the user can easily locate the port or the cable connected to the port.

The network100is any suitable network, in an embodiment. In an example, the network100is a local area network (LAN)100. The LAN100is a Layer 2 network that uses a data link protocol, such as Ethernet protocol, and the like, for communication between host devices in the LAN. In theFIG. 1example, the LAN100is coupled to the Internet (not shown) via a router (not shown) for example. In an example, communication to the Internet crosses the border of the LAN100and continues using a higher level protocol, such as Layer 3 protocol, and the like.

The host devices can be any suitable electronic devices, such as voice over IP (VoIP) phones, computers, laptops, TVs, servers, and the like that are configured to be a source of network traffic and/or a destination of network traffic. Generally, an electronic device includes one or more network interface controllers (NICs) connected to the switch devices via wired or wireless connections. It is noted that when the electronic device includes multiple NICs connected to the switch devices, the electronic device is considered as a set of host devices and each connection has its own MAC address. The host devices communicate with each other via the switch devices. Generally, the host devices and wireless access point devices are distributed at various places in a building. The devices located at the various places are connected to the switch devices in a central place via cables.

The switch devices S1-S6can be any suitable switch devices. Generally, a switch device includes a plurality of ports connected to host devices and/or other switch devices. The switch device is configured to receive a network traffic unit (e.g., a data link frame) from a port (e.g., ingress port) and forward the received network traffic unit to one or more ports (e.g., egress ports) based on network configuration information. In an embodiment, the network configuration information is stored in a plurality of tables within a switch device. The network configuration information includes, for example, port connectivity information of the switch device, port connectivity information of other switch devices in the LAN100, virtual LAN (VLAN) configuration, and the like.

Generally, in an example, the switch devices in a network are typically placed at one central place for easy access and central management. In theFIG. 1example, the switch devices S1-S6are installed on a rack190in a communications room. In an embodiment, the rack190is configured to provide a central controlled environment for the operation of the switch devices S1-S6. For example, the rack190has a power system configured to provide a central controlled electrical power to the switch devices S1-S6. It is noted that the central place can include more racks with more switch devices.

According to an aspect of the disclosure, generally, the switch devices and the host devices are connected by cables. A LAN can include a large number of the host devices and switch devices and may require a large number of cables to connect the host devices with ports of the switch devices. From time to time, a network administrator may need to locate a specific port, or a cable connected to a specific port for the purpose of troubleshooting, reconfiguration, for example.

According to an aspect of the disclosure, the switch devices include signaling components associated with ports in the switch devices. In theFIG. 1example, for example, the switch device S4includes signaling components L1-L6respectively associated with ports P1-P6in the switch device S4. The signaling components can be any suitable components. In an example, the signaling components L1-L6are lighting devices, such as light emitting diodes (LED) and the like. In addition, the switch device S4includes a controller configured to respectively control the signaling states of the signaling components L1-L6.

Further, a management application is implemented in a network device, such as one of the host devices and the switch devices, within the LAN100. The management application is configured to determine a specific port in a switch device to highlight, and send an instruction to the switch device to cause a signaling component associated with the specific port to have a different signaling state from other signaling components of the switch device in order to highlight the specific port. Thus, the user can easily discover the specific port. Further, in an example, the user can discover a cable in connection with the specific port.

In an embodiment, a signaling component is configured to have a flashing state while the other signaling components have a steady state to highlight the signaling component. In another embodiment, a signaling component is configured to emit a different color of light from the other signaling components.

In theFIG. 1example, the management application is implemented in a computer H5, labeled with reference numeral110. The computer H5is used for network administration and is coupled to port5(P5) of the switch device S1in an example. In another example, the computer H5communicates with the switch device S1wirelessly, for example, via antennas111and191.

In theFIG. 1example, the computer H5includes a processor120, a memory module130and a user interface module160coupled together by a bus109. The processor120executes system and application codes to perform system functions and application functions. The memory module130stores the system and application codes, such as codes140for the management application. In addition, the memory module130stores data processed or to be processed by the processor120.

In an example, the memory module130stores network configuration information, such as a network topology for the LAN100. The network topology includes, for example, coupling information of host devices to ports of the switch devices, coupling pairs of ports of different switch devices, relationship of workgroups to VLANs, VLAN membership, and the like. In an example, the memory module130stores a database (not shown) holding the network topology information, such as disclosed in Assignee's co-pending application Ser. No. 14/056,237, filed Oct. 17, 2013, which is incorporated herein by reference in its entirety. The memory module130can include any suitable memory, such as a hard disk drive, an optical storage medium, a solid-state drive, and the like.

In an embodiment, the processor120executes the codes140for the management application to access the network topology, and provide the network topology to a user. It is noted that the network topology can be stored in another device in the LAN100, such as in the switch devices S1, S2, S3, S4and the like, and can be accessed by the processor120.

The user interface module160enables communication between the computer110and a user. The user interface module160can include any suitable component, such as a touch screen, a display, a keyboard, a mouse, a printer, and the like. In theFIG. 1example, the user interface module160provides a graphical user interface (GUI) to interact with a user, for example a network administrator, in a graphical manner. For example, the GUI presents to the user a graphical network topology180on a display screen. Specifically, the GUI uses suitable graphical elements, such as picture icons, to represent devices, such as the host devises, the switch devices and the like. In an example, the GUI includes laptop icons, desktop icons, phone icons, switch icons and the like to respectively represent the devices in the network100based on the types of devices. In theFIG. 1example, the GUI uses circles representing the switch devices and uses squares representing the host devices.

Further, the GUI uses graphical line elements to represent physical links or cables that connect the devices in the network100. According to an aspect of the disclosure, the GUI is configured to enable line element selection and/or terminal selection of the line element. In theFIG. 1example, a graphical line element181links a first circle S3and a second circle S4. The first circle S3represents the switch device S3on the rack190, the second circle S4represents the switch device S4on the rack190, and the line element180represents the cable connecting port P5of the switch device S3with port P5of the switch device S4. The terminals of the line element181can be respectively selected. In theFIG. 1example, a terminal182of the line element181is selected. The terminal182corresponds the port P5of the switch device S4.

According to an aspect of the disclosure, when the terminal182of the line element181is selected by the GUI, the management application identifies the switch device, such as the switch device S4, and the port, such as the port P5, corresponding to the selected terminal182. Then, the management application sends an instruction to the switch device S4. In an example, the instruction is sent via a higher level protocol, such as a Layer 3 protocol, and the like. The instruction causes the switch device S4to highlight the port P5of the switch device S4. Specifically, in theFIG. 1example, the instruction causes the switch device S4to turn on a LED L5associated with the port P5, while the other LEDs associated with other LEDs are turned off. It is noted that other suitable techniques, such as a flash technique, a color technique, and the like can be used to highlight the port P5. Thus, the user can easily discover, for example the port P5of the switch device S4, or a cable connected to the port P5of the switch device S4.

According to another aspect of the disclosure, an electronic device other than the switch devices in the network100includes multiple NICs and signaling components associated with the NICs. The electronic device is represented as a set of host devices120that each corresponds to an NIC. When a terminal of a line element connecting a host device icon is selected by the GUI, the management application identifies the electronic device and the NIC to which the host device icon corresponds. Then, the management application sends an instruction to the electronic device. In an example, the instruction is sent via a higher level protocol, such as a Layer 3 protocol, and the like. The instruction causes the electronic device to highlight the NIC of the electronic device. In an example, the instruction causes a signaling component associated with the NIC to have a different state from other signaling components associated with the other NICs of the electronic device.

FIG. 2shows a flowchart outlining a process200according to an embodiment of the disclosure. In an example, the process200is executed when the processor120executes the codes140of the management application. The process starts at S201and proceeds to S210.

At S210, a network topology is provided at a GUI. In theFIG. 1example, the processor120executes the management application codes140, and accesses a database of network configuration. Based on the network configuration, the processor120determines the network topology, and provides the graphical network topology180to, for example a network administrator, via the GUI.

At S220, an element at the GUI corresponding to a port of a network device is selected. In theFIG. 1example, the terminal182of the line element181is selected. The line element181connects the two circle elements S3and S4at the GUI. The circle S3corresponds to the switch device S3on the rack190and the circle S4corresponds to the switch device S4on the rack190. The line element181corresponds to the cable connecting the port P5of the switch device S3and the port P5of the switch device S4. The terminal182corresponds to the port P5of the switch device S4.

At S230, a network element and a port of the network element is identified. In theFIG. 1example, the processor120identifies the switch device S4and the port P5of the switch device S4based on the network configurations stored in the database.

At S240, an instruction is sent to the identified network element to highlight the identified port. In theFIG. 1example, the processor120sends an instruction to the switch device S4, for example, based on a Layer 3 communication protocol. In response to the instruction, the controller in the switch device S4turns on the signaling component L5associated with the port P5, and keeps the other signaling components, such as L1-L4and L6of the switch device S4to be turned off. Thus, the port P5in the switch device S4is highlighted. It is noted that, in another example, other suitable signaling technique, such as flashing, turning on a different color LED, and the like is used to highlight the port. Then the process proceeds to S299and terminates.