I am doing some cleanup on a Nexus switch I have (3048) and was wondering if there was an easy way to copy or move a configuration from one interface to another? When I move an existing connection to a new physical port, I'd love to avoid configuring the new port -- instead, I want to copy (or move) the configuration from the old port.
"Configuring the new port" is your only option. I just cut-n-paste the configuration from the old port to the new port. You may have to clear / default the old port first. (and maybe the new one.) And change whatever configuration(s) that might have referenced the old port.
If you have to rearrange a large number of ports, and a reload isn't out of the question, copy the configuration off the switch, edit it, and copy it back as the startup config. (I've done this with many different types of devices.)