Chapter 42 Configuring IP Multicast Routing

Configuring Basic DVMRP Interoperability Features

 

Command

Purpose

Step 4

 

 

ip dvmrp metric metric [list

Configure the metric associated with a set of destinations for DVMRP

 

access-list-number] [[protocol process-id]

reports.

 

[dvmrp]]

For metric, the range is 0 to 32. A value of 0 means that the route

 

 

 

 

is not advertised. A value of 32 is equivalent to infinity

 

 

(unreachable).

 

 

(Optional) For list access-list-number, enter the access list number

 

 

created in Step 2. If specified, only the multicast destinations that

 

 

match the access list are reported with the configured metric.

 

 

(Optional) For protocol process-id, enter the name of the unicast

 

 

routing protocol, such as eigrp, igrp, ospf, rip, static, or dvmrp,

 

 

and the process ID number of the routing protocol. If specified,

 

 

only routes learned by the specified routing protocol are advertised

 

 

in DVMRP report messages.

 

 

(Optional) If specified, the dvmrp keyword allows routes from the

 

 

DVMRP routing table to be advertised with the configured metric

 

 

or filtered.

Step 5

 

 

end

Return to privileged EXEC mode.

Step 6

 

 

show running-config

Verify your entries.

Step 7

 

 

copy running-config startup-config

(Optional) Save your entries in the configuration file.

 

 

 

To disable the metric or route map, use the no ip dvmrp metric metric [list access-list-number]

[[protocol process-id] [dvmrp]] or the no ip dvmrp metric metric route-mapmap-name interface configuration command.

A more sophisticated way to achieve the same results as the preceding command is to use a route map (ip dvmrp metric metric route-mapmap-nameinterface configuration command) instead of an access list. You subject unicast routes to route-map conditions before they are injected into DVMRP.

This example shows how to configure DVMRP interoperability when the PIM device and the DVMRP router are on the same network segment. In this example, access list 1 advertises the networks (198.92.35.0, 198.92.36.0, 198.92.37.0, 131.108.0.0, and 150.136.0.0) to the DVMRP router, and access list 2 prevents all other networks from being advertised (ip dvmrp metric 0 interface configuration command).

Switch(config-if)#interface gigabitethernet1/0/1

Switch(config-if)# ip address

131.119.244.244 255.255.255.0

Switch(config-if)# ip pim dense-mode

 

Switch(config-if)# ip dvmrp

metric 1

list 1

Switch(config-if)# ip dvmrp

metric 0

list 2

Switch(config-if)# exit

 

 

 

Switch(config)# access-list

1

permit

198.92.35.0 0.0.0.255

Switch(config)# access-list

1

permit

198.92.36.0 0.0.0.255

Switch(config)# access-list

1

permit

198.92.37.0 0.0.0.255

Switch(config)# access-list

1

permit

131.108.0.0 0.0.255.255

Switch(config)# access-list

1

permit

150.136.0.0 0.0.255.255

Switch(config)# access-list

1

deny

0.0.0.0 255.255.255.255

Switch(config)# access-list

2

permit

0.0.0.0 255.255.255.255

 

Catalyst 3750-E and 3560-E Switch Software Configuration Guide

42-40

OL-9775-02

Page 1046
Image 1046
Cisco Systems 3750E manual Ip dvmrp metric metric list, 42-40