had the same issue. determined that the port listed in the packet tracer documentation vs what was created was different. I got cmd rej.... but when i entered the correct port the command was successful.
Switch(config)#int range g1/1 - 2
interface ra...