News:

This week IPhone 15 Pro winner is karn
You can be too a winner! Become the top poster of the week and win valuable prizes.  More details are You are not allowed to view links. Register or Login 

Main Menu

Standard IP Access Control List.

Started by Sunite, October 06, 2007, 11:09:42 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Sunite

Standard IP Access Control List.






 

 
RouterA#configure terminal

RouterA(config)#access-list 1 remark stop all traffic whose source ip 1.1.1.2

RouterA(config)#access-list 1 deny 1.1.1.2 0.0.0.0

RouterA(config)#access-list 1 permit any



RouterA(config)#int s0/0

RouterA(config-if)#ip access-group 1 in



RouterA#show access-lists

Standard IP access list 1

Deny 1.1.1.2

Permit any



Now verify these configuration on router with command us under:

RouterA#show ip int s0/0



RouterB#ping