HI
The interface can either be in L2 "ethernet-switching" mode or L3 "inet" mode.
By default all ports are in ethernet-witching mode so you may want to delete that and add the new configs.
You can also use an RVI/IRB to access the device.
Thanks
Partha