Command
Access-Class
Use
Specifies which hosts can telnet/ssh into the vty.
Syntax
Router(config-line)#access-class <list> <in or out>
Options
<in> | Applies the access-list to inbound traffic on the interface. |
<out> | Applies the access-list to traffic leaving the router. |
Example
In this example, an access-class is created on R2..
R2#conf t |