Network path detection method, controller and network device
A network device and network path technology, applied in the field of communication, can solve the problem that the real path of the VXLAN network cannot be completely determined, and achieve the effect of ensuring accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0082] An embodiment of the present invention provides a network path detection method. To facilitate understanding, this embodiment takes a pair of network devices (source network device and destination network device) in a VXLAN network as an example. Refer to image 3 , the method includes the following steps:
[0083] 401. The controller issues a detection command to all network devices, and instructs each network device to obtain quintuple information of locally received traffic after receiving the detection command.
[0084] The network device here refers to the network device running on VXLAN under the management of the controller. After receiving the detection command, the network device samples the traffic of each local port, analyzes the quintuple information of each traffic, and merges the repeated quintuples. Information, to obtain the five-tuple information of the locally received traffic.
[0085] It should be noted that the detection instruction may also instru...
Embodiment 2
[0107] In the third aspect, a controller is disclosed, such as Figure 5 As mentioned above, the controller includes: a sending unit 501 , a receiving unit 502 , a determining unit 503 and a path detecting unit 504 .
[0108] A sending unit 501, configured to issue a detection command to all network devices, instructing each network device to obtain quintuple information of locally received traffic;
[0109] The receiving unit 502 is configured to receive quintuple information reported by all network devices; the quintuple information reported by the network device is determined by the network device according to locally received traffic;
[0110] The determining unit 503 is configured to determine a quintuple information set according to the quintuple information received by the receiving unit 502, and the quintuple information included in the quintuple information set is different from each other;
[0111] The path detection unit 504 is configured to construct a detection m...
Embodiment 3
[0120] An embodiment of the present invention provides a network device, such as Figure 6 As shown, the network device includes: a receiving unit 601 , a sampling unit 602 , a determining unit 603 and a sending unit 604 .
[0121] The receiving unit 601 is configured to receive a detection instruction issued by the controller.
[0122] The sampling unit 602 is configured to perform traffic sampling on all local ports, and obtain quintuple information of locally received traffic.
[0123] The determining unit 603 is configured to determine that there is repeated 5-tuple information in the 5-tuple information acquired by the sampling unit 602, and only retain one piece of the repeated 5-tuple information.
[0124] The sending unit 604 is configured to report 603 the 5-tuple information determined by the determining unit to the controller, and the 5-tuple information reported by the network devices is different from each other.
[0125] If the network device is a source networ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


