Cisco is contradicting themselves, unless I'm not understanding what I'm reading.
I'm preparing for my CCNA and currently reading about Access Lists. The book I'm reading specifically mentions, in a few places, that access lists are only used for traffic being routed through the router and not traffic destined for it.
In a Cisco Security Advisory, Cisco suggests blocking SNMP traffic destine for the router with an access list applied to an inbound interface E 0/0. From what the CCNA book tells me, this won't work.
Here's a link to the advisory:
And the snippet from the advisory that's confusing me:
"The following extended access-list can be adapted to your network. This example assumes that the router has IP addresses 192.168.10.1 and 172.16.1.1 configured on its interfaces, that all SNMP access is to be restricted to a management station with the IP address of 10.1.1.1, and that the management station need only communicate with IP address 192.168.10.1:
access-list 101 permit udp host 10.1.1.1 host 192.168.10.1 range 161 162
access-list 101 permit udp host 10.1.1.1 host 192.168.10.1 range 49152 65535
access-list 101 deny udp any host 192.168.10.1 range 161 162
access-list 101 deny udp any host 192.168.10.1 range 49152 65535
access-list 101 deny udp any host 172.16.1.1 range 161 162
access-list 101 deny udp any host 172.16.1.1 range 49152 65535
access-list 101 permit ip any any
The access-list must then be applied to all interfaces using the following configuration commands:
interface ethernet 0/0
ip access-group 101 in"
Can someone explain this to me?
I'm preparing for my CCNA and currently reading about Access Lists. The book I'm reading specifically mentions, in a few places, that access lists are only used for traffic being routed through the router and not traffic destined for it.
In a Cisco Security Advisory, Cisco suggests blocking SNMP traffic destine for the router with an access list applied to an inbound interface E 0/0. From what the CCNA book tells me, this won't work.
Here's a link to the advisory:
And the snippet from the advisory that's confusing me:
"The following extended access-list can be adapted to your network. This example assumes that the router has IP addresses 192.168.10.1 and 172.16.1.1 configured on its interfaces, that all SNMP access is to be restricted to a management station with the IP address of 10.1.1.1, and that the management station need only communicate with IP address 192.168.10.1:
access-list 101 permit udp host 10.1.1.1 host 192.168.10.1 range 161 162
access-list 101 permit udp host 10.1.1.1 host 192.168.10.1 range 49152 65535
access-list 101 deny udp any host 192.168.10.1 range 161 162
access-list 101 deny udp any host 192.168.10.1 range 49152 65535
access-list 101 deny udp any host 172.16.1.1 range 161 162
access-list 101 deny udp any host 172.16.1.1 range 49152 65535
access-list 101 permit ip any any
The access-list must then be applied to all interfaces using the following configuration commands:
interface ethernet 0/0
ip access-group 101 in"
Can someone explain this to me?