[ad_1]
Command
Entry-Class
Use
Specifies which hosts can telnet/ssh into the vty.
Syntax
Router(config-line)#access-class <checklist> <in or out>
Choices
<in> | Applies the access-list to inbound site visitors on the interface. |
<out> | Applies the access-list to site visitors leaving the router. |
Instance
On this instance, an access-class is created on R2..
R2#conf t Enter configuration instructions, one per line. Finish with CNTL/Z. R2(config)#l R2(config)#line vty 0 4 R2(config-line)#access-class 1 in
[ad_2]