摘要 |
A traffic monitoring method. The traffic monitoring method comprises: determining a forwarding mode of a data packet sent by a source virtual machine, the forwarding mode comprising a virtual Ethernet bridge VEB mode or a virtual Ethernet port aggregation VEPA mode; and instructing a pre-configured network management agent to monitor first traffic used for forwarding the data packet when the forwarding mode is the VEB mode, and instructing an exchanger to monitor second traffic used for forwarding the data packet when the forwarding mode is the VEPA mode. By means of the technical solution of embodiments of the present invention, when an EVBS channel mode is used, traffic monitoring can be performed on a data packet forwarded between internal virtual machines under the VEB mode. |