An autoimmune disorder in which white blood cells and antibodies primarily attack the optic nerves and the spinal cord, but may also attack the brain.