'Config connect port by cli'

def config_connect_port_cli(self):

    if ('connect    port' in self.cur_cli_cfg.keys()):
        if (self.cur_cli_cfg['connect    port'] == self.connect_port):
            pass
        else:
            cmd = ('snmp-agent    udp-port    %s' % self.connect_port)
            cmds = list()
            cmds.append(cmd)
            self.updates_cmd.append(cmd)
            self.cli_load_config(cmds)
            self.changed = True
    else:
        cmd = ('snmp-agent    udp-port    %s' % self.connect_port)
        cmds = list()
        cmds.append(cmd)
        self.updates_cmd.append(cmd)
        self.cli_load_config(cmds)
        self.changed = True
