[c-nsp] assign vty port to a specific IP address

Dennis Peng dpeng at cisco.com
Thu Feb 3 12:13:31 EST 2005


Luan Nguyen [luan.nguyen at mci.com] wrote:
> Hi Dennis,
> 
> "Sure. You can put any line in a rotary group and then hit that
> particular line by telneting to an address on the router port 3000 +
> rotary_group. So say you assign vty 4 to rotary group 99, you would
> hit that vty on port 3099. You can then assign an IP alias for that
> port:
> 
> ip alias 10.1.1.1 3099
> line vty 4
>  rotary 99
> "
> 
> The ip alias [IP] {port} doesn't work for my router - tried on 12.3.10 IOS.
> router(config)#ip alias 1.1.1.1 3099
> Invalid IP address

The address must be on a subnet that is directly connected to the
router and not in use by any other device at the time of configuration
(we will ARP to double check).

Dennis

> But if you just do line vty 4, rotary 99 and telnet to the router IP address
> at port 3099 then it will assign that telnet session to vty 4.
> Thanks for the suggestion.
> 
> Luan


More information about the cisco-nsp mailing list