[c-nsp] acess-list

Valentin Stoicescu valentin.stoicescu at gmail.com
Wed Oct 29 17:26:40 EDT 2008


Hi,
There's no difference ,just that you can configure different lines with
different passwords.
For your access-class put in your access list the ips you want to grant
access to vty and everything else is denied.
Ex:
access-list 10 permit "your ip "
line vty 0 15
access-class 10 in

adrian kok wrote:
> Hi
>
> 1/ What is the different between line vty 0 4 and line
> vty 5 15
>
> how can I deny one ip to access vty? I tried both but
> all are not working. and deny all ip to access
>
> access-list 10 deny 192.168.0.10 0.0.0.0 or
> access-list 10 deny 192.168.0.10 255.255.255.255
>
>
> router(config)#line vty 0 4
> router(config-line)#access-class 10 in
> router(config-line)#
>
> Thank you
>
> Send instant messages to your online friends http://uk.messenger.yahoo.com 
> _______________________________________________
> cisco-nsp mailing list  cisco-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/
>
>   



More information about the cisco-nsp mailing list