05-09-2013 дата публикации
Номер: US20130230049A1
The present invention provides a packet sending method and a network device. The packet sending method includes: receiving, by a network device, a first data packet; and if a MAC entry matching a destination MAC address of the first data packet is not found in a media access control MAC address table of the network device, sending, by the network device, the first data packet according to a forwarding behavior in a MAC default entry of the MAC address table. When the MAC entry matching the destination MAC address of the first data packet is not found, the network device does not need to flood the first data packet on all interfaces, but directly sends the first data packet according to the MAC default entry in the own MAC address table, thereby reducing a need for MAC address capacity in the network device, and not increasing unnecessary network traffic. 1. A packet sending method , comprising:receiving, by a network device, a first data packet; andif a MAC entry matching a destination MAC address of the first data packet is not found in a media access control MAC address table of the network device, sending, by the network device, the first data packet according to a forwarding behavior in a MAC default entry of the MAC address table.2. The method according to claim 1 , wherein the MAC default entry is used to indicate the forwarding behavior when the MAC entry matching the destination MAC address of the data packet received by the network device is not found in the MAC address table.3. The method according to claim 2 , wherein a MAC address in the MAC default entry is a default MAC address claim 2 , and a value of each bit of the default MAC address is 0.4. The method according to claim 2 , wherein the network device comprises a provider edge PE device;before the receiving, by the network device, the first data packet, the method further comprises:receiving, by the PE device, an update message sent by a route reflector, wherein the update message sent by the route ...
Подробнее