def format_frr(cmd):
    """Prefixes FRR command with the appropriate vtysh prefix.

    Arguments:
        cmd {str} -- Unprefixed command

    Returns:
        {str} -- Prefixed command
    """
    return f'vtysh -uc "{cmd}"'