Objective: Verify that the standard access list created in the previous lab is configured correctly.
Lab Equipment: Router 2 and Router 4 from the eRouters menu
Background Reading: Lab Primer Lesson 10: Access Lists
Prerequisite: You must have just completed Lab 27: Standard Access Lists in order to complete this lab successfully.
1. First, see if you can still ping Router2 from Router4. Connect to Router4, and try to ping Router2’s Ethernet 0 interface (24.17.2.2).
Route4>enable
Router4#ping 24.17.2.2
Lab Equipment: Router 2 and Router 4 from the eRouters menu
Background Reading: Lab Primer Lesson 10: Access Lists
Prerequisite: You must have just completed Lab 27: Standard Access Lists in order to complete this lab successfully.
1. First, see if you can still ping Router2 from Router4. Connect to Router4, and try to ping Router2’s Ethernet 0 interface (24.17.2.2).
Route4>enable
Router4#ping 24.17.2.2
If you see UUUUU, indicating that the ping was not successful, then your access list is working correctly.
2. Now, connect to Router2 and view the running configuration in order to verify that the access list is running on the interfaces.
Router2>enable
Router2#show running-config
3. You can also view which access lists are applied to the interfaces by using the show ip interface command.
Router2#show ip interface
4. The show access-lists command will display which access lists have been created on the router. It will also tell you which lines have been used and how many packets have been either permitted or denied.
Router2#show access-lists
Note: Continue on to Lab 29: Extended Access Lists without accessing the Lab Navigator. This will save you the trouble of confi guring the same IP addresses again.
***************************************************
本文转自redking51CTO博客,原文链接:
http://blog.51cto.com/redking/74756
,如需转载请自行联系原作者