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

        t.write("conf t")
        t.readln("Enter configuration commands, one per line.  End with CNTL/Z.")
        t.read("my_switch(config)#")

        t.write("interface Fa0/2")
        t.read("my_switch(config-if)#")
        t.write("ip vrf forwarding DEFAULT-LAN")
        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, "Fa0/2", [
            "interface FastEthernet0/2",
            " ip vrf forwarding DEFAULT-LAN",
            "end"])

        t.write("conf t")
        t.readln("Enter configuration commands, one per line.  End with CNTL/Z.")
        t.read("my_switch(config)#")
        t.write("interface Fa0/2")
        t.read("my_switch(config-if)#")
        t.write("no ip vrf forwarding")
        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, "Fa0/2", [
            "interface FastEthernet0/2",
            "end"])