Use Extended ACLs.
On Sun, Jul 31, 2011 at 9:02 PM, GAURAV MADAN <gauravmadan1177_at_gmail.com> wrote:
> Hi
>
> Sorry for basic question but it is eating up my mind .. may be I am missing
> up something very basic .
>
> Task
> --------
> Permit telnet access for 1.1.1.1 and 2.2.2.2
> Permit SSH access for 1.1.1.1 ,2.2.2.2 , 3.3.3.3
>
> These are on VTY lines
>
> What I do
> ------------
>
> !
> ip access-list standard TELNET
> B permit 1.1.1.1
> B permit 2.2.2.2
> B permit B 3.3.3.3
> !
>
> line vty 0 4
> transport input telnet ssh
> access-class TELNET in
> !
> !
>
> I am sure I am missing something basic .. How do we differentiate in what
> hosts are allowed to telnet and what hosts are allowed to SSH ?
>
> Thanks in advance
> Gaurav Madan
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
Blogs and organic groups at http://www.ccie.net
Received on Sun Jul 31 2011 - 21:23:30 ART
This archive was generated by hypermail 2.2.0 : Mon Aug 01 2011 - 06:30:06 ART