which way is correct, or both are?

From: bindong.shi@gmail.com
Date: Sat Jul 29 2006 - 03:44:25 ART


If I was required to log all the telnet session to router R1 comming from outside with the following network topology:
outside -------(S0/0, IP addr 11.1.1.1) R1 (e0/0)-----inside

1: interface s0/0
     ip access-group Incoming in
   ip access-list extended Incoming
     permit tcp any 11.1.1.1 eq telnet log
     permit ip any any

2: line vty 0 4
     access-class incoming
   ip access-list standard incoming
     permit any log

Which way is correct? Or both are correct?
thanks



This archive was generated by hypermail 2.1.4 : Tue Aug 01 2006 - 07:13:48 ART