===SITE A Configuration
spanning-tree global state enable
vlan 101,172
exit
interface ethernet 1/0/1
switchport mode access
switchport access vlan 172
exit
interface ethernet 1/0/2
switchport mode access
switchport access vlan 101
exit
!
interface Vlan101
ip address 101.1.1.1 255.255.255.0
exit
interface Vlan172
ip address 172.16.1.1 255.255.255.0
exit
ip route 40.40.40.0 255.255.255.0 172.16.1.2
!
router ospf 1
router-id 1.1.1.1
redistribute static
redistribute connected
network 101.1.1.0 0.0.0.255 area 0.0.0.0
network 172.16.1.0 0.0.0.255 area 0.0.0.0
!
===SITE B Configuration
spanning-tree global state enable
!
vlan 102,152,172
exit
interface ethernet 1/0/1
switchport mode access
switchport access vlan 172
exit
interface ethernet 1/0/2
switchport mode access
switchport access vlan 102
exit
interface ethernet 1/0/3
switchport mode access
switchport access vlan 152
exit
interface Vlan102
ip address 102.1.1.1 255.255.255.0
exit
interface Vlan152
ip address 152.1.1.1 255.255.255.0
exit
interface Vlan172
ip address 172.16.1.2 255.255.255.0
exit
!
ip route 40.40.40.0 255.255.255.0 152.1.1.2
!
router ospf 1
router-id 1.1.1.2
redistribute static
redistribute connected
network 102.1.1.0 0.0.0.255 area 0.0.0.0
network 172.16.1.0 0.0.0.255 area 0.0.0.0
exit
!
==========SITE C Configuration
spanning-tree global state enable
vlan 40,152
exit
interface ethernet 1/0/3
switchport mode access
switchport access vlan 152
exit
interface ethernet 1/0/5
switchport mode access
switchport access vlan 40
exit
interface vlan 40
ip address 40.40.40.1 255.255.255.0
exit
interface vlan 152
ip address 152.1.1.2 255.255.255.0
exit
ip route 101.1.1.0 255.255.255.0 152.1.1.1
ip route 102.1.1.0 255.255.255.0 152.1.1.1
Watch video How to configure OSPF Routing & Static Route Redistribution -E2 Type OSPF using DLink Layer 3 Switch online without registration, duration hours minute second in high quality. This video was added by user Shabirs Tech Talks 14 March 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 2,70 once and liked it 3 people.