/* Static routes, multicast routing using cand-bsr and cand-rp.
 * Think of 'rddVRX' as ethernet interfaces.  rddVR3 is connected
 * to rddVR2 on the other router.
 */

interfaces {
    interface "rddVR3" {
        vif "rddVR3" {
            address 2.1.1.2 {
                prefix-length: 24
            }
        }
    }

    interface "rddVR6" {
        vif "rddVR6" {
            address 3.1.1.1 {
                prefix-length: 24
            }
        }
    }
}

fea {
    unicast-forwarding4 {
        disable: false
        /* table-id: 10002 */
    }
}

protocols {
    static {
	route 5.1.1.0/24 {
           next-hop: 2.1.1.1
        }
    }
    
    fib2mrib {
        disable: false
    }
    igmp {
        disable: false
        interface "rddVR3" {
            vif "rddVR3" {
                disable: false
                version: 2
                enable-ip-router-alert-option-check: false
                query-interval: 125
                query-last-member-interval: 1
                query-response-interval: 10
                robust-count: 2
            }
        }

        interface "rddVR6" {
            vif "rddVR6" {
                disable: false
                version: 2
                enable-ip-router-alert-option-check: false
                query-interval: 125
                query-last-member-interval: 1
                query-response-interval: 10
                robust-count: 2
            }
        }

    } /* igmp */

    pimsm4 {
        disable: false
        interface "rddVR3" {
            vif "rddVR3" {
                disable: false
                dr-priority: 125
                hello-period: 30
                hello-triggered-delay: 5
            }
        }

        interface "rddVR6" {
            vif "rddVR6" {
                disable: false
                dr-priority: 125
                hello-period: 30
                hello-triggered-delay: 5
            }
        }

        interface "register_vif" {
            vif "register_vif" {
                disable: false
                dr-priority: 1
                hello-period: 30
                hello-triggered-delay: 5
            }
        }
        bootstrap {
            disable: false
            cand-bsr {
                scope-zone 224.0.0.0/4 {
                    is-scope-zone: false
                    cand-bsr-by-vif-name: "rddVR3"
                    bsr-priority: 198
                }
            }

            cand-rp {
                group-prefix 224.0.0.0/4 {
                    is-scope-zone: false
                    cand-rp-by-vif-name: "rddVR3"
                    rp-priority: 102
                    rp-holdtime: 150
                }
            }
        } /* bootstrap */

        switch-to-spt-threshold {
            disable: false
            interval: 100
            bytes: 1024000
        }

    } /* pimsm4 */

}  /* protocols */

plumbing {
    mfea4 {
        disable: false
        interface "rddVR3" {
            vif "rddVR3" {
                disable: false
            }
        }
        interface "rddVR6" {
            vif "rddVR6" {
                disable: false
            }
        }
        interface "register_vif" {
            vif "register_vif" {
                disable: false
            }
        }
    } /*  mfea4  */
} /* plumbing */

/* End of Config File */
