Dear user,
You can use display version to view the version of the S5700 switch on eNSP.
In the case of the S5700 switch, in V200R005C00 and later versions, after you run the undo portswitch command on an interface to switch the Ethernet interface from Layer 2 mode to Layer 3 mode, the interface can be configured with an IP address.