06-20-2006 03:37 AM - edited 03-03-2019 03:43 AM
what is the difference between access group and access class commands.Which one is better and under what conditions are each used
Solved! Go to Solution.
06-20-2006 04:00 AM
Hello athambi,
access-group
access-class
So in case you want to prevent incoming network traffic on port 80 through Ethernet 0/0 you use
int E0/0
ip access-group 123 in
In case you want to allow only your PC from accessing the VTY via telnet/SSH use
line vty 0 4
ip access-class 1 in
HTH
--Leon
* Please rate posts.
06-20-2006 04:00 AM
Hello athambi,
access-group
access-class
So in case you want to prevent incoming network traffic on port 80 through Ethernet 0/0 you use
int E0/0
ip access-group 123 in
In case you want to allow only your PC from accessing the VTY via telnet/SSH use
line vty 0 4
ip access-class 1 in
HTH
--Leon
* Please rate posts.
06-20-2006 04:46 AM
Hi
Access-group is used to bind a access-list with a particular interface.
access-class is used to bind a access-list to VTY lines.
in order to restrict access through telnet.
Thanks
Mahmood
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