A Rochester man has entered into a plea agreement in a domestic violence case that led to a standoff in Byron.