troubleshooting Question

Cisco Router Access Control List commands

Avatar of duta
duta asked on
Routers
5 Comments1 Solution509 ViewsLast Modified:
Dear experts:

I have a fictitious network as the following diagram.

Assume that currently  I am using Router B (in the middle).

I wrote commands to execute the following two access controls:

1.To deny   192.168.1.99      access to  192.168.3.99:

(config)#            access-list      10   deny    192.168.1.99   0.0.0.0
(config)#            access-list      10   permit   any
(config)#                  int     s1/1
(config-if)#            ip    access-group   10     out

2. To deny 192.168.2.99   access to  192.168.1.99:

(config)#            access-list      10   deny    192.168.2.99   0.0.0.0
(config)#            access-list      10   permit   any
(config)#                  int     s1/0
(config-if)#            ip    access-group   10     out

I am not quite sure whether my commands are absolutely accurate.  Can you experts kindly check my commands above?   I am confused particualrly about   "int   s1/0"  part.  Can you give me some extra explanations regarding which serial piort IO I should use?

I am total novice. Please give me a complete command if  my commands were inaccurate.

Thanks a lot!


-------------------------------------------------   NETWORK  DIAGRAM ---------------------------------------

e0: 192.168.1.1                                            e0/0: 192.168.2.1                                    e0/0: 192.168.3.1
s0: 192.168.                                                 s1/0: 192.168.4.2                                    s1/0: 192.168.5.2
                                                                     s1/1: 192.168.5.1

   e0                                                                         e0/0                                                                   e0/0
Router  A  s0   -----------------------------    s1/0    Router  B   s1/1    -----------------------         s1/0Router C
      |                                                                            |                                                                          |
      |                                                                            |                                                                          |
      |                                                                            |                                                                          |
192.168.1.99                                                  192.168.2.99                                                    192.168.3.99

Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 5 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros