|Well, in that case all I can tell you is, if it were me in your shoes, I'd be figuring out how to do that with the user interface provided by your switch.|
With a cisco, I'd to do this from the command line. With the Avaya switches we use here, it would be simpler to do it from the GUI and that's what I'd use on them.
If your D-Link is like most other managed switches I've worked with over the years, the CLI will be very similar to that of a Cisco.
It matters not how straight the gate,
How charged with punishments the scroll,
I am the master of my fate;
I am the captain of my soul.