Configure routing instance VPN-A on a PE router to use tunnel identifiers taken from the 227.0.0.0/8 multicast address range. Create a data MDT when traffic for any multicast group matching the prefix 224.0.0.0/4 (224/4) from any local source matching the prefix 10.0.0.0/8 (10/8) exceeds a threshold rate of 10 Kbps. Only 10 tunnels can be in use for this routing instance at any one time:
- [edit routing-instances VPN-A protocols pim]
- mdt {
- group-range 227.0.0.0/8;
-
- threshold {
-
- group 224.0.0.0/4 {
-
- source 10.0.0.0/8 {
- rate 10;
- }
- }
- }
- tunnel-limit 10;
- }
No tunnels are created if 10 tunnels already exist for this routing instance on the PE router. Tunnels are deleted when the rate of traffic from the source falls below 10 Kbps, as determined by the normal, 60-second multicast statistics-collection cycle.
Explicit and prefix address forms can be combined if they do not overlap:
- group 224.0.0.0/4 {
-
- source 10.10.20.43 {
- rate 10;
- }
-
- source 10.10.30.0/24 {
- rate 20;
- }
- }
However, overlapping configurations such as the following are not supported:
- group 224.0.0.0/4 {
-
- source 0/0 {
- rate 100; /* every source at 100 kbps...
*/
- }
-
- group 224.0.0.0/4 {
-
- source 10.10.20.43 {
- rate 10; /* ...but THIS source at 10 kbps
*/
- }
- }
- }