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

        create_interface_vlan(t, "2999")
        configuring_interface_vlan(t, "2999", do="description hey ho")
        configuring_interface_vlan(t, "2999", do="no ip redirects")
        configuring_interface_vlan(t, "2999", do="ip address 1.1.1.1 255.255.255.0")
        configuring_interface_vlan(t, "2999", do="ip address 2.2.2.1 255.255.255.0 secondary")
        configuring_interface_vlan(t, "2999", do="ip address 4.4.4.1 255.255.255.0 secondary")
        configuring_interface_vlan(t, "2999", do="ip address 3.3.3.1 255.255.255.0 secondary")

        assert_interface_configuration(t, "Vlan2999", [
            "interface Vlan2999",
            " description hey ho",
            " ip address 2.2.2.1 255.255.255.0 secondary",
            " ip address 4.4.4.1 255.255.255.0 secondary",
            " ip address 3.3.3.1 255.255.255.0 secondary",
            " ip address 1.1.1.1 255.255.255.0",
            " no ip redirects",
            "end"])

        configuring_interface_vlan(t, "2999", do="no ip address")
        configuring_interface_vlan(t, "2999", do="ip redirects")

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

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