The correct phrase would be "2 levels." When referring to a quantity greater than one, the plural form is used. Therefore, if you are talking about multiple instances or units of something, such as levels in this case, you would use the plural form "levels."