def get_igmp_status(cli_output):
    """ takes str output from 'show ip igmp snooping | include "IGMP Snooping" n 1' command
        and returns a dictionary containing enabled/disabled state of each vlan
    """
    search_prefix = "IGMP Snooping information for vlan "
    vlan_status={}
    counter = 0
    line_list = cli_output.splitlines()
    for line in line_list:
        if line.startswith(search_prefix):
            vlan_status.update({line.strip(search_prefix):line_list[counter+1].strip('IGMP snooping ')})
        counter += 1
    return vlan_status