I just noticed that all of the example output for the set intfport ip command forgets to include the "ip" portion of the command.
3.8.2 Guide sample:
set intfport ip Sets an IP address to an interface port.
Syntax: set intfport <1><2><3> ip A.B.C.D E.F.G.H
Example: set intfport 1 10.10.10.10 255.255.255.0
The example output leaves out the "ip" portion of the command. I've check the 3.6, 3.8, and 4.0 documentation and they all have the incorrect sample data.
This is something that tends to happen with portions of the documentation that don't change from version to version. They simply copy the section from previous documentation and paste into new guide. No proof reading required because they assume the previous version is correct.
At best this would be fixed in a few releases if we get it to the right peoples attention.