IP Library Granted Patent US 9,455,935
Granted Patent B2
US 9,455,935 · App. 15/000,964 · Granted Sep 27, 2016

Remote port mirroring

Inventors: Shunjia Yu (San Jose, CA); Phanidhar Koganti (Fremont, CA); John Michael Terry (San Jose, CA); Dilip Chatwani (San Jose, CA)
Assignee: BROCADE COMMUNICATIONS SYSTEMS, INC.
H04L49/208H04H20/93H04L12/4625H04L12/4633H04L12/4641H04L12/4675H04L43/10H04L43/18
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,455,935
App. No.
15/000,964
Granted
Sep 27, 2016
Kind
B2
Abstract

A switch that facilitates remote port mirroring is described. The switch can include an encapsulation mechanism and a forwarding mechanism. The encapsulation mechanism can be configured to encapsulate a copy of a first packet in a second packet, thereby preserving header information (e.g., a VLAN identifier and/or a TRILL header) of the first packet. The forwarding mechanism can be configured to forward the first packet using header information of the first packet, and forward the second packet using header information of the second packet. The second packet can be received at a destination switch which extracts the first packet from the second packet, and sends the first packet on a port which is coupled to a network analyzer.

Claims (44)

1. A switch, comprising:

one or more ports;

packet processing circuitry configured to:

generate a copy of a first packet, wherein a header of the copy of the first packet includes a first identifier of a first virtual local area network (VLAN); and

include a second identifier of a second VLAN in the header of the copy of the first packet, wherein the second identifier corresponds to mirrored traffic;

encapsulation circuitry configured to generate a second packet by encapsulating the copy of the first packet with a first encapsulation header; and

forwarding circuitry configured to identify a port associated with a destination address of the first encapsulation header from the one or more ports as an egress port for the second packet, wherein the destination address of the first encapsulation header corresponds to port mirroring.

2. The switch of claim 1 , wherein encapsulation circuitry is further configured to generate a third packet by encapsulating the first packet with a second encapsulation header; and

wherein the forwarding circuitry is further configured to identify a port associated with a destination address of the second encapsulation header from the one or more ports as an egress port for the third packet.

3. The switch of claim 2 , wherein the packet processing circuitry is further configured to determine the destination address of the second encapsulation header based on a destination address of the header of the first packet.

4. The switch of claim 1 , wherein the packet processing circuitry is further configured to learn a source address of the header of the first packet.

5. The switch of claim 1 , wherein the packet processing circuitry is further configured to determine whether to generate the copy of the first packet based on one or more of: an access control list, an ingress port, an egress port, a VLAN tag, a source identifier, and a destination identifier.

6. The switch of claim 1 , wherein the destination address of the first encapsulation header is a multicast address of a multicast group.

7. The switch of claim 1 , wherein the copy of the first packet indicates that the copy of the first packet is a mirrored packet.

8. A non-transitory computer-readable storage medium storing instructions that when executed by a computer cause the computer to perform a method for facilitating port mirroring, the method comprising:

generating a copy of a first packet at a switch, wherein a header of the copy of the first packet includes a first identifier of a first virtual local area network (VLAN);

including a second identifier of a second VLAN in the header of the copy of the first packet, wherein the second identifier corresponds to mirrored traffic;

generating a second packet by encapsulating the copy of the first packet with a first encapsulation header; and

identifying a port associated with a destination address of the first encapsulation header from one or more ports of the switch as an egress port for the second packet, wherein the destination address of the first encapsulation header corresponds to port mirroring.

9. The computer-readable storage medium of claim 8 , wherein the method further comprises:

generating a third packet by encapsulating the first packet with a second encapsulation header; and

identifying a port associated with a destination address of the second encapsulation header from the one or more ports as an egress port for the third packet.

10. The computer-readable storage medium of claim 9 , wherein the method further comprises determining the destination address of the second encapsulation header based on a destination address of the header of the first packet.

11. The computer-readable storage medium of claim 8 , wherein the method further comprises learning a source address of the header of the first packet.

12. The computer-readable storage medium of claim 8 , wherein the method further comprises determining whether to generate the copy of the first packet based on one or more of: an access control list, an ingress port, an egress port, a VLAN tag, a source identifier, and a destination identifier.

13. The computer-readable storage medium of claim 8 , wherein the destination address of the first encapsulation header is a multicast address.

14. The computer-readable storage medium of claim 8 , wherein the copy of the first packet indicates that the copy of the first packet is a mirrored packet.

15. A computer system for facilitating port

mirroring in a network, the computer system comprising:

one or more ports;

a processor; and

a storage device storing instructions that when executed by the processor cause the processor to perform a method, the method comprising:

generating a copy of a first packet, wherein a header of the copy of the first packet includes a first identifier of a first virtual local area network (VLAN);

including a second identifier of a second VLAN in the header of the copy of the first packet, wherein the second identifier corresponds to mirrored traffic;

generating a second packet by encapsulating the copy of the first packet with a first encapsulation header; and

identifying a port associated with a destination address of the first encapsulation header from the one or more ports as an egress port for the second packet, wherein the destination address of the first encapsulation header corresponds to port mirroring.

16. The computer system of claim 15 , wherein the method further comprises:

generating a third packet by encapsulating the first packet with a second encapsulation header;

determining a destination address of the second encapsulation header based on a destination address of the header of the first packet; and

identifying a port associated with the destination address of the second encapsulation header from the one or more ports as an egress port for the third packet.

17. The computer system of claim 15 , wherein the method further comprises learning a source address of the header of the first packet.

18. The computer system of claim 15 , wherein the method further comprises determining whether to generate the copy of the first packet based on one or more of: an access control list, an ingress port, an egress port, a VLAN tag, a source identifier, and a destination identifier.

19. The computer system of claim 15 , wherein the destination address of the first encapsulation header is a multicast address of a multicast group.

20. The computer system of claim 15 , wherein the copy of the first packet indicates that the copy of the first packet is a mirrored packet.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 18, 2018
From: BROCADE COMMUNICATIONS SYSTEMS LLC
To: AVAGO TECHNOLOGIES INTERNATIONAL SALES PTE. LIMITED
Reel/Frame 047270/0247 →
CHANGE OF NAME Recorded Dec 13, 2017
From: BROCADE COMMUNICATIONS SYSTEMS, INC.
To: BROCADE COMMUNICATIONS SYSTEMS LLC
Reel/Frame 044891/0536 →
Continuity (4)
Continuation 13044326 · Mar 9, 2011
Provisional Application 61352790 · Jun 8, 2010
Provisional Application 61380820 · Sep 8, 2010
Related Publication 20160134563A1 · May 12, 2016