Even though peer-groups work great, they have a few shortcomings especially when it comes to configuration management.
Peer templates can be applied to neighbors that share policies and are also reusable via inheritance feature. We can inherit peer templates within another peer template aka nested structure.