In the default, the view routes option is gray.
You can select "Enable View Routes" option first and then stop/start the OSPF device again, the "view routes" option is available.