Here in Louisiana, the Illegal Carrying of a Firearm (LRS 14:95) provision exempts the following:
G.(1) The provisions of this Section except Paragraph (4) of Subsection A shall not apply to sheriffs and their deputies, state and city police, constables and town marshals, or persons vested with police power when in the actual discharge of official duties. These provisions shall not apply to sheriffs and their deputies and state and city police who are not actually discharging their official duties, provided that such persons are full time, active, and certified by the Council on Peace Officer Standards and Training and have on their persons valid identification as duly commissioned law enforcement officers.
(2) The provisions of this Section except Paragraph (4) of Subsection A shall not apply to any law enforcement officer who is retired from full-time active law enforcement service with at least twelve years service upon retirement, nor shall it apply to any enforcement officer of the office of state parks, in the Department of Culture, Recreation and Tourism who is retired from active duty as an enforcement officer, provided that such retired officers have on their persons valid identification as retired law enforcement officers, which identification shall be provided by the entity which employed the officer prior to his or her public retirement. The retired law enforcement officer must be qualified annually in the use of firearms by the Council on Peace Officer Standards and Training and have proof of such qualification. This exception shall not apply to such officers who are medically retired based upon any mental impairment.
(3)(a) The provisions of this Section except Paragraph (4) of Subsection A shall not apply to active or retired reserve or auxiliary law enforcement officers qualified annually by the Council on Peace Officer Standards and Training and who have on their person valid identification as active or retired reserve law or auxiliary municipal police officers. The active or retired reserve or auxiliary municipal police officer shall be qualified annually in the use of firearms by the Council on Peace Officer Standards and Training and have proof of such certification.
(b) For the purposes of this Paragraph, a reserve or auxiliary municipal police officer shall be defined as a volunteer, non-regular, sworn member of a law enforcement agency who serves with or without compensation and has regular police powers while functioning as such agency's representative, and who participates on a regular basis in agency activities including, but not limited to those pertaining to crime prevention or control, and the preservation of the peace and enforcement of the law.
H. The provisions of this Section shall not prohibit active justices or judges of the supreme court, courts of appeal, district courts, parish courts, juvenile courts, family courts, city courts, and traffic courts, constables, coroners, district attorneys and designated assistant district attorneys, and justices of the peace from possessing and concealing a handgun on their person when the justice or judge, constable, coroner, district attorneys and designated assistant district attorneys, or justice of the peace is certified by the Council on Peace Officer Standards and Training.
I. The provisions of this Section shall not prohibit the carrying of a concealed handgun by a person who is a college or university police officer under the provisions of R.S. 17:1805 and who is carrying a concealed handgun in accordance with the provisions of that statute.
GD