'configure command at the VBDIF interface view'

def config_vbdif(self):

    cmd = ('interface    %s' % self.vbdif_name.lower().capitalize())
    exist = is_config_exist(self.config, cmd)
    if (not exist):
        self.module.fail_json(msg=('Error:    Interface    %s    does    not    exist.' % self.vbdif_name))
    cmd = 'arp    collect    host    enable'
    exist = is_config_exist(self.config, cmd)
    if ((self.arp_collect_host == 'enable') and (not exist)):
        self.cli_add_command(('interface    %s' % self.vbdif_name.lower().capitalize()))
        self.cli_add_command(cmd)
        self.cli_add_command('quit')
    elif ((self.arp_collect_host == 'disable') and exist):
        self.cli_add_command(('interface    %s' % self.vbdif_name.lower().capitalize()))
        self.cli_add_command(cmd, undo=True)
        self.cli_add_command('quit')
