To configure the master PIM instance that communicates with other PIM neighbors, include the pim statement at the [edit protocols] hierarchy level. BGP-based multicast VPNs support sparse mode, dense mode, or sparse-dense mode. The first example shown enables PIM sparse mode.
- [edit protocols]
- pim {
-
- interface all {
- mode sparse;
- version 2;
- }
- }
The next example shown enables PIM dense mode.
- [edit protocols]
- pim {
-
- interface all {
- mode dense;
- }
- }