12-04-2014 05:18 AM - edited 03-07-2019 09:46 PM
Hello All,
I have a 2906 switch on which i have two user vlans from seperate departments.vlan2 and vlan3 with respective SVIs.
I have enabled telnet access as well on the switch.
my question is how to allow only users of vlan2 to telnet the switch and not the vlan 3 users.
i mean how many ways are there to implement this.
Thanks.
Solved! Go to Solution.
12-04-2014 05:55 AM
access-list 50 permit 192.168.2.0 0.0.0.255
line vty 0 4
access-class 50 in
HTH
Rick
12-04-2014 05:32 AM
The usual way to limit telnet access is to configure a standard access list which permits the subnet of vlan2 and to apply the access list to the vty ports using access-class in. There are other approaches such as configuring ip access-group on the SVI which permit and deny telnet traffic to the switch. But the access-class is the simplest and best way to do it.
HTH
Rick
12-04-2014 05:40 AM
thanks Richard for the reply,
could u plz give me example in the form of configuration,also let me know where to apply that..
12-04-2014 05:55 AM
access-list 50 permit 192.168.2.0 0.0.0.255
line vty 0 4
access-class 50 in
HTH
Rick
12-04-2014 06:03 AM
thanks Richard for the help...
it worked !!!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide