def test_partial_standby_ip_definition(self, t):
        enable(t)

        create_vlan(t, "2999")
        create_interface_vlan(t, "2999")

        configuring_interface_vlan(t, "2999", do='standby 1 ip')
        assert_interface_configuration(t, "Vlan2999", [
            "interface Vlan2999",
            " no ip address",
            " standby 1 ip",
            "end"])
        configuring_interface_vlan(t, "2999", do='no standby 1 ip')

        t.write("configure terminal")
        t.readln("Enter configuration commands, one per line.  End with CNTL/Z.")
        t.read("my_switch(config)#")
        t.write("interface vlan 2999")
        t.read("my_switch(config-if)#")

        t.write("standby 1 ip 1..1.1")
        t.readln(" ^")
        t.readln("% Invalid input detected at '^' marker.")
        t.readln("")
        t.read("my_switch(config-if)#")

        t.write("standby 1 ip 1.1.1.1")
        t.readln("% Warning: address is not within a subnet on this interface")

        t.read("my_switch(config-if)#")
        t.write("exit")
        t.read("my_switch(config)#")
        t.write("exit")
        t.read("my_switch#")

        assert_interface_configuration(t, "Vlan2999", [
            "interface Vlan2999",
            " no ip address",
            "end"])

        configuring_interface_vlan(t, "2999", do="ip address 1.1.1.2 255.255.255.0")

        t.write("configure terminal")
        t.readln("Enter configuration commands, one per line.  End with CNTL/Z.")
        t.read("my_switch(config)#")
        t.write("interface vlan 2999")
        t.read("my_switch(config-if)#")

        t.write("standby 1 ip 2.1.1.1")
        t.readln("% Warning: address is not within a subnet on this interface")

        t.read("my_switch(config-if)#")
        t.write("exit")
        t.read("my_switch(config)#")
        t.write("exit")
        t.read("my_switch#")

        configuring_interface_vlan(t, "2999", do='standby 1 ip 1.1.1.1')
        assert_interface_configuration(t, "Vlan2999", [
            "interface Vlan2999",
            " ip address 1.1.1.2 255.255.255.0",
            " standby 1 ip 1.1.1.1",
            "end"])

        configuring_interface_vlan(t, "2999", do='standby 1 ip')
        assert_interface_configuration(t, "Vlan2999", [
            "interface Vlan2999",
            " ip address 1.1.1.2 255.255.255.0",
            " standby 1 ip 1.1.1.1",
            "end"])

        configuring_interface_vlan(t, "2999", do="no ip address 1.1.1.2 255.255.255.0")
        assert_interface_configuration(t, "Vlan2999", [
            "interface Vlan2999",
            " no ip address",
            " standby 1 ip 1.1.1.1",
            "end"])

        configuring_interface_vlan(t, "2999", do='no standby 1 ip 1.1.1.1')
        assert_interface_configuration(t, "Vlan2999", [
            "interface Vlan2999",
            " no ip address",
            "end"])

        configuring(t, do="no interface vlan 2999")
        remove_vlan(t, "2999")