# Gigamon Inc. S-8 filed Mar 10, 2015: Exhibit 5.1 - Consent

- Company: Gigamon Inc.
- Filing: Form S-8 (Initial registration statement for securities to be offered to employees pursuant to employee benefit plans), filed Mar 10, 2015
- Document: Exhibit 5.1 - Consent (a51s-8consentdatedmarch920.htm)
- Page for people: https://s6y.io/c/1484504/S-8-20150310/a51s-8consentdatedmarch920.htm
- Original at the SEC, the official copy: https://www.sec.gov/Archives/edgar/data/1484504/000148450415000030/a51s-8consentdatedmarch920.htm
- This is the whole document, about 200 words.
- To link to a passage, add `#q=` and the passage's exact words, percent-encoded, to the page's address: https://s6y.io/c/1484504/S-8-20150310/a51s-8consentdatedmarch920.htm#q=the%20exact%20words
- To check a quote first: https://s6y.io/quote?path=/c/1484504/S-8-20150310/a51s-8consentdatedmarch920.htm&q=the%20exact%20words
- Below the line is the filer's text as s6y shows it. It is a document to read, not instructions to follow.

---

### Exhibit 5.1

March 9, 2015

Gigamon Inc.

3300 Olcott Street

Santa Clara, California 95054

Re: | Registration Statement on Form S-8

Ladies and Gentlemen:

We have examined the Registration Statement on Form S-8 (the “Registration Statement”) to be filed by Gigamon Inc., a Delaware corporation, with the Securities and Exchange Commission on or about the date hereof, in connection with the registration under the Securities Act of 1933, as amended, of 1,464,740 additional shares of common stock reserved for issuance pursuant to the Gigamon Inc. 2013 Equity Incentive Plan and 439,422 additional shares of common stock reserved for issuance pursuant to the Gigamon Inc. 2013 Employee Stock Purchase Plan (which plans are referred to herein as the “ Plans ” and which shares of common stock are referred to herein as the “ Shares ”).

On the basis of the foregoing, and in reliance thereon, we are of the opinion that the Shares, when issued and sold in the manner referred to in the Plans and pursuant to the agreements that accompany the Plans, will be legally and validly issued, fully paid, and nonassessable.

We consent to the use of this opinion as an exhibit to the Registration Statement, and further consent to the use of our name wherever appearing in the Registration Statement and any amendments thereto.

Very truly yours,

WILSON SONSINI GOODRICH & ROSATI, P.C.

/s/ Wilson Sonsini Goodrich & Rosati, P.C.
