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

        create_vlan(t, "4000")
        create_interface_vlan(t, "4000")
        configuring_interface_vlan(t, "4000", do="ip address 10.10.0.10 255.255.255.0")
        configuring_interface_vlan(t, "4000", do="ip address 10.10.1.10 255.255.255.0 secondary")

        assert_interface_configuration(t, "Vlan4000", [
            "interface Vlan4000",
            " ip address 10.10.1.10 255.255.255.0 secondary",
            " ip address 10.10.0.10 255.255.255.0",
            "end"])

        configuring_interface_vlan(t, "4000", do="ip vrf forwarding DEFAULT-LAN")

        assert_interface_configuration(t, "Vlan4000", [
            "interface Vlan4000",
            " ip vrf forwarding DEFAULT-LAN",
            " no ip address",
            "end"])

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