An overall analysis of the structure and stellar content of M 11 is presented, thanks to the wide-angle 2MASS spatial coverage. We derive photometric and structural parameters and discuss the spatial dependance of the luminosity and mass functions. Photometric parameters basically agree with previous ones mostly based on the optical. We obtained a core radius of 1.23 pc and a tidal radius of 29 pc. In particular, the cluster is populous enough so that the tidal radius could be obtained by fitting the three-parameter King profile to the radial distribution of stars. We analyzed the spatial distribution of mass functions, finding that the slope changes from -0.73 in the core to +2.88 in the outer halo. The spatial distribution of mass function slopes derived from 2MASS agrees with that derived from optical CCD data, which further confirms the reliability of 2MASS data for future analyses of this kind at comparable observational limits. We detect mass segregation up to distances from the center of ≈20 arcmin. We emphasize that the mass function slope in the core is flatter than anywhere else as a consequence of mass segregation. The derived total cluster mass is ≈11 000 M_☉.