DVMRP Commands

Use these commands to configure and view Distance Vector Multicast Routing Protocol (DVMRP) settings.

Note: Distance Vector Multicast Routing Protocol (DVMRP) commands are supported on the M4350 series switches only. The M4250 series switches do not support DVMRP.

This section describes the Distance Vector Multicast Routing Protocol (DVMRP) commands.

ip dvmrp (Global Config)

M4350

This command sets the administrative mode of DVMRP in the router to active.

Default disabled
Format ip dvmrp
Mode Global Config

no ip dvmrp

This command sets the administrative mode of DVMRP in the router to inactive.

Format no ip dvmrp
Mode Global Config

ip dvmrp metric (Global Config)

M4350

This command configures the metric for an interface or range of interfaces. This value is used in the DVMRP messages as the cost to reach this network. The metric argument is a value in the range from 1 to 31.

Default 1
Format ip dvmrp [metric metric]
Mode Interface Config

no ip dvmrp metric (Global Config)

This command resets the metric for an interface to the default value. This value is used in the DVMRP messages as the cost to reach this network.

Format no ip dvmrp [metric]
Mode Interface Config

ip dvmrp trapflags

M4350

This command enables the DVMRP trap mode.

Default disabled
Format ip dvmrp trapflags
Mode Global Config

no ip dvmrp trapflags

This command disables the DVMRP trap mode.

Format no ip dvmrp trapflags
Mode Global Config

ip dvmrp (Interface Config)

M4350

This command sets the administrative mode of DVMRP on an interface or range of interfaces to active.

Default disabled
Format ip dvmrp
Mode Interface Config

no ip dvmrp (Interface Config)

This command sets the administrative mode of DVMRP on an interface to inactive.

Format no ip dvmrp
Mode Interface Config

show ip dvmrp

M4350

This command displays the system-wide information for DVMRP.

Format show ip dvmrp
Modes

Privileged EXEC

User EXEC

Term Definition
Admin Mode Indicates whether DVMRP is enabled or disabled.
Version String The version of DVMRP being used.
Number of Routes The number of routes in the DVMRP routing table.
Reachable Routes The number of entries in the routing table with non-infinite metrics.

The following fields are displayed for each interface.

Term Definition
Interface unit/slot/port
Interface Mode The mode of this interface. Possible values are Enabled and Disabled.
State The current state of DVMRP on this interface. Possible values are Operational or Non-Operational.

show ip dvmrp interface

M4350

This command displays the interface information for DVMRP on the specified interface.

The argument unit/slot/port corresponds to a physical routing interface or VLAN routing interface. The vlan keyword and vlan-id parameter are used to specify the VLAN ID of the routing VLAN. The vlan-id parameter is a number in the range of 1–4093.

Format show ip dvmrp interface {unit/slot/port | vlan vlan-id}
Modes

Privileged EXEC

User EXEC

Term Definition
Interface Mode Indicates whether DVMRP is enabled or disabled on the specified interface.
Metric The metric of this interface. This is a configured value.
Local Address The IP address of the interface.

The following field is displayed only when DVMRP is operational on the interface.

Term Definition
Generation ID The Generation ID value for the interface. This is used by the neighboring routers to detect that the DVMRP table should be resent.

The following fields are displayed only if DVMRP is enabled on this interface.

Term Definition
Received Bad Packets The number of invalid packets received.
Received Bad Routes The number of invalid routes received.
Sent Routes The number of routes that have been sent on this interface.

show ip dvmrp neighbor

M4350

This command displays the neighbor information for DVMRP.

Format show ip dvmrp neighbor
Modes

Privileged EXEC

User EXEC

Term Definition
IfIndex The value of the interface used to reach the neighbor.
Nbr IP Addr The IP address of the DVMRP neighbor for which this entry contains information.
State The state of the neighboring router. The possible values for this field are ACTIVE or DOWN.
Up Time The time since this neighboring router was learned.
Expiry Time The time remaining for the neighbor to age out. This field is not applicable if the State is DOWN.
Generation ID The Generation ID value for the neighbor.
Major Version The major version of DVMRP protocol of neighbor.
Minor Version The minor version of DVMRP protocol of neighbor.
Capabilities The capabilities of neighbor.
Received Routes The number of routes received from the neighbor.
Rcvd Bad Pkts The number of invalid packets received from this neighbor.
Rcvd Bad Routes The number of correct packets received with invalid routes.

show ip dvmrp nexthop

M4350

This command displays the next hop information on outgoing interfaces for routing multicast datagrams.

Format show ip dvmrp nexthop
Modes

Privileged EXEC

User EXEC

Term Definition
Source IP The sources for which this entry specifies a next hop on an outgoing interface.
Source Mask The IP Mask for the sources for which this entry specifies a next hop on an outgoing interface.
Next Hop Interface The interface in unit/slot/port format for the outgoing interface for this next hop.
Type The network is a LEAF or a BRANCH.

show ip dvmrp prune

M4350

This command displays the table listing the router’s upstream prune information.

Format show ip dvmrp prune
Modes

Privileged EXEC

User EXEC

Term Definition
Group IP The multicast Address that is pruned.
Source IP The IP address of the source that has pruned.
Source Mask The network Mask for the prune source. It should be all 1s or both the prune source and prune mask must match.
Expiry Time (secs) The expiry time in seconds. This is the time remaining for this prune to age out.

show ip dvmrp route

M4350

This command displays the multicast routing information for DVMRP.

Format show ip dvmrp route
Modes

Privileged EXEC

User EXEC

Term Definition
Source Address The multicast address of the source group.
Source Mask The IP Mask for the source group.
Upstream Neighbor The IP address of the neighbor which is the source for the packets for a specified multicast address.
Interface The interface used to receive the packets sent by the sources.
Metric The distance in hops to the source subnet. This field has a different meaning than the Interface Metric field.
Expiry Time (secs) The expiry time in seconds, which is the time left for this route to age out.
Up Time (secs) The time when a specified route was learnt, in seconds.