With the following config you will enable telnet on your cisco device and you can assign a IP address
line vty 0 4
line con 0
enable secret cisco
enable password cisco
As you can see on the int line are only a few dots, int stand for interface.
You can find the interface name if you enter the show ip int brief command
View Counter: (1568)