Patent ID: 8005084
Filing Date: 2011-08-23
Classification: H04L

Abstract:
1. A network device for implementing mirroring on packets, the network device comprising: a plurality of ports, each of the plurality of ports being at least one of an ingress port, an egress port and a mirror-to port; respective Mirror_Control registers corresponding with each of the plurality of ports, each Mirror_Control register being configured to store one or more mirroring indices and a Mirror_Enable bit, the Mirror_Enable bit being configured to enable mirroring for a respective port of the plurality of ports; and a processing module configured to perform a plurality of packet mirroring types, wherein each of the respective Mirror_Control registers is configured to support the plurality of packet mirroring types, and wherein, to perform packet mirroring at each ingress port, egress port and mirror-to port, when an incoming packet is received, the respective Mirror_Enable bit is examined to determine if packet mirroring is enabled and the respective one or more mirroring indices are examined to determine which of the plurality of packet mirroring types to apply to the packet.