August 2005
Intermediate to advanced
798 pages
31h 12m
English
access-class — line
access-classaccess-list[in | out] no access-classaccess-list
Applies an access list to a line
None
This command specifies which access list to apply to this line (access-list), and in what direction the list should be applied (in or out). For more information on creating access lists, see Chapter 7.
The following commands apply access list 10 to outgoing traffic on virtual terminals 0-4.
access-list 10 permit host 10.10.1.2 ! Apply the access-list to the virtual lines 0-4 line vty 0 4 access-class 10 out