CMCIS154 Chapt 05
CMCIS154 Chapt 05
R1(config)# access-list 101 permit tcp 192.168.10.0 0.0.0.255 any eq telnet time-range EVERYOTHERDAY
VTY configuration (restricting access in lieu of SSH using ACL and access-class in configuration mode
Standard and extended ACL apply to packets passing thru router – not router originated
Although usually an extended ACL (high protocol), access-class allows standard with number
Access-class n {in [vrif|also] | out
Example:
Router(config)# access-list 21 permit 192.168.10.0 0.0.0.255
Router(config)# line vty 0 4
Router(config-line)# login
Router(config-line)# password secret
Router(config-line)# access-class 21 in
Examples:
Access list 110 permit tcp 192.168.20.0 0.0.0.255 any eq 23
Access list 110 permit tcp 192.168.20.0 0.0.0.255 any eq telnet
Errors:
Show access-lists