Example: Configuring DVMRP

This example shows how to use DVMRP to announce routes used for multicast routing as well as multicast data forwarding.

Requirements

Before you begin:

Overview

DVMRP is a distance vector protocol for multicast. It is similar to RIP, in that both RIP and DVMRP have issues with scalability and robustness challenges. PIM domains are more commonly used than DVMRP domains. In some environments, you might need to configure interoperability with DVMRP.

This example includes the following DVMRP settings:

Configuration

CLI Quick Configuration

To quickly configure DVMRP, copy the following commands into a text file and then paste the commands into the CLI.

[edit]set routing-options interface-routes rib-group inet ifrg set routing-options rib-groups ifrg import-rib inet.0 set routing-options rib-groups ifrg import-rib inet.2 set routing-options rib-groups dvmrp-rib export-rib inet.2 set routing-options rib-groups dvmrp-rib import-rib inet.2set protocols sap set protocols dvmrp rib-group dvmrp-rib set protocols dvmrp interface ip-0/0/0.0 metric 5 set protocols dvmrp interface ip-0/0/0.0 hold-time 40

Step-by-Step Procedure

The following example requires you to navigate various levels in the configuration hierarchy. For information about navigating the CLI, see Modification of the Junos OS Configuration in Junos OS CLI, Release 10.3.

To configure an MSDP routing instance:

  1. Create the routing tables for DVMRP routes.

    [edit]user@host# edit routing-options[edit routing-options]user@host# set interface-routes rib-group ifrg[edit routing-options]user@host# set rib-groups ifrg import-rib [ inet.0 inet.2 ][edit routing-options]user@host# set rib-groups dvmrp-rib import-rib inet.2[edit routing-options]user@host# set rib-groups dvmrp-rib export-rib inet.2[edit routing-options]user@host# exit
  2. Configure SAP and SDP.
    [edit]user@host# edit protocols[edit protocols]user@host# set sap
  3. Enable DVMRP on the router and associate the dvmrp-rib routing table group with DVMRP to enable multicast RPF checks.
    [edit protocols]user@host# set dvmrp rib-group dvmrp-rib
  4. Configure the DVMRP interface with a hold-time value and a metric. This example shows an IP-over-IP encapsulation tunnel interface.
    [edit protocols]user@host# set dvmrp interface ip–0/0/0.0[edit protocols]user@host# set dvmrp interface ip–0/0/0.0 hold-time 40[edit protocols]user@host# set dvmrp interface ip–0/0/0.0 metric 5
  5. If you are done configuring the device, commit the configuration.

    [edit protocols]user@host# commit

Results

Confirm your configuration by entering the show routing-options command and the show protocols command from configuration mode. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.

user@host# show routing-optionsinterface-routes {rib-group inet ifrg;}rib-groups {ifrg {import-rib [ inet.0 inet.2 ];}dvmrp-rib {export-rib inet.2;import-rib inet.2;}}
user@host# show protocolssap;dvmrp {rib-group dvmrp-rib;interface ip-0/0/0.0 {metric 5;hold-time 40;}}

Verification

To verify the configuration, run the following commands:

Related Topics