Method and device for monitoring traffic in a network
A method for monitoring traffic in a network is provided. The method is used in a communication device, wherein the network is formed by switches and hosts. The method includes: collecting LLDP information, VLAN information, host NIC information and host-tenant mapping information to obtain a physical network topology and a plurality of virtual network topologies; detecting a plurality of physical link loads of the physical network topology; obtaining a target path between two of the hosts or between the switches by analyzing the virtual network topologies; selecting one of the switches on the target path to serve as a mirror switch according to the physical link load corresponding to the target path or a hop count; and receiving mirror traffic transmitted from the mirror switch, and performing packet payload analysis on the mirror traffic.
INDUSTRIAL TECHNOLOGY RESEARCH INSTITUTE
H H H H H H H H H Y H H H H
H04L H04L H04L H04L H04L H04L H04L H04L H04L Y02D H04L H04L H04L H04L
inventional inventional inventional inventional additional inventional inventional inventional inventional additional inventional additional inventional inventional
Ming-Hung Yu-Wei Yi-An Tzi-Cker
Hsu Lee Chen Chiueh