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

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

        t.write("vlan -1")
        t.readln("Command rejected: Bad VLAN list - character #1 ('-') delimits a VLAN number")
        t.readln(" which is out of the range 1..4094.")
        t.read("my_switch(config)#")

        t.write("vlan 0")
        t.readln("Command rejected: Bad VLAN list - character #X (EOL) delimits a VLAN")
        t.readln("number which is out of the range 1..4094.")
        t.read("my_switch(config)#")

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

        t.write("vlan 4094")
        t.read("my_switch(config-vlan)#")
        t.write("exit")
        t.read("my_switch(config)#")
        t.write("no vlan 4094")
        t.read("my_switch(config)#")

        t.write("vlan 4095")
        t.readln("Command rejected: Bad VLAN list - character #X (EOL) delimits a VLAN")
        t.readln("number which is out of the range 1..4094.")
        t.read("my_switch(config)#")

        t.write("exit")
        t.read("my_switch#")