See the solution below in Explanation:
Solution:
R1
Config t
Int et0/0
Ip flow monitor Monitor-R1Flow input
Ip flow monitor Monitor-R1Flow output
Exit
Ip sla 1
Icmp-echo 10.12.1.2
Freq 300
Ip sla schedule 1 life foreve start-time now
Sw1
Monitor session 12 source vlan 12
Monitor session 12 destination interface et1/3
R30
router ospf 100
router-id 10.0.1.30
int ran lo0 , e0/0-1
ip ospf 100 a 0
exit
int et0/2
ip ospf 100 a 50
router ospf 30
area 50 range 10.10.0.0 255.255.192.0
area 50 range 10.50.0.0 255.255.192.0
end
wr
Sw10
config t
no int po20
int et0/0
channel-group 20 mode active
no shut
spanning-tree vlan 20 pri 0
Verification:-
R3
Config#int et0/1
config-if#ip ospf priority 255
R20
clear ip ospf process
yes
R10
ip ospf priority 0
R2
show ip access-list
ip access-list extended 151
5 permit eigrp any any
ip access-list extended 100
permit tcp 192.168.211.0 0.0.0.255 any eq 22
class-map match-any SSH
match access-group 100
policy-map CoPP
class SSH
police 8000 conform-action transmit exceed-action drop
control-plane
service-policy input CoPP
Copy run start
Verification:
OR
en
Conf t
Router ospf 10
Router-id 10.x.x.x – lo0 address
Int range lo0, e0/0-1
Ip ospf 10 area 0
Area 10 range 10.1.0.0 255.255.0.0
Area 10 range 10.2.0.0 255.255.0.0
Wr
no int po1
default int ran et0/0-2
int ran e0/0-2
switchport trunk encap dot1q
switchport mode trunk
channel-group 1 mode active
router ospf 10
ip ospf 10 a 0
ip ospf 10 a 50
area 50 range 10.10.0.0 255.255.128.0
area 50 range 10.50.0.0 255.255.128.0
ip access-list extended 120
permit tcp 192.168.25.0 0.0.0.255 any eq 23
class-map match-any TELNET
class TELNET
police 10000 conform-action transmit exceed-action drop