! hostname R_A ! enable password cisco ! interface Ethernet0 ip address 192.168.1.1 255.255.255.0 ! interface FastEthernet0 ip address 192.168.2.1 255.255.255.0 ! line vty 0 4 password cisco login ! end
R_A#show access-lists Extended IP access list 100 10 permit tcp host 192.168.1.2 host 192.168.2.2 eq www (27 matches) 20 permit tcp host 192.168.1.2 host 192.168.2.2 eq telnet (4 matches) 30 deny ip any any (399 matches)