[CLI to sw_api] Replace SWCFG_GETIFCFG ioctl with sw_ops->if_get_cfg call.

Test with `sh running interface ...`.
Resolves issue #38.

Signed-off-by: Andreea Hodea <hodea_andreea@yahoo.com>