# Monitoring DVMRP

You can establish a reference point for DVMRP statistics by setting the statistics counters to zero.

You can display DVMRP information with the show ip dvmrp commands.

baseline ip dvmrp

- Use to set the counters for DVMRP statistics to zero, which establishes a reference point, or baseline, for DVMRP statistics.
- Example
  (host1)#baseline ip dvmrp
- There is no no version.
- See baseline ip dvmrp.

show ip dvmrp

- Use to display DVMRP information for a VR.
- Field descriptions
  - Dvmrp Administrative State—State of DVMRP in the software: Enabled or Disabled
  - Mcast Administrative State—State of multicasting in the software: Enabled or Disabled
  - Dvmrp Version—Version of DVMRP with which this software is compatible
  - GenerationID—A number the router generates each time it reboots; when the number changes, neighbors discard all information previously learned from the router
  - Number of Routes—Number of routes in the DVMRP routing table
  - Number of Triggered Routes—Number of routes waiting to be advertised, because a parameter for the route changed
  - Reachable Routes—Number of routes that the router can currently reach
  - Route-hog-notification—Number of DVMRP routes that the router can record before it generates a system log warning message
  - Route-limit—Maximum number of routes that the router can advertise on each interface
  - Send-S32-Prunes-Only—Indicator of whether the router sends only S-32 prunes
    - true—Router sends only S-32 prunes and grafts to ensure compatibility with other protocols, such as PIM
    - false—Router sends S-32 and S/Prefix grafts and prunes
- Example

      host1:boston>show ip dvmrp
      Routing Process DVMRP - Distance Vector Multicast Routing Protocol
        Dvmrp Administrative State:         Enabled
        Multicast Administrative State:     Enabled
        Dvmrp Version:                      3.255
        Generation ID:                      0x46828e2b
        Number of Routes:                   2
        Number of Triggered Routes:         0
        Reachable Routes:                   2
        route-hog-notification:             10000
        route-limit:                        7000
        Send-S32-Prunes-Only:               true
        unicastRoutingOnly:                 false
        Graceful Restart Duration:          60
        Graceful Restart is:                complete (timer 0 seconds)
        Redistribution                      None Configured
        dynamic-redistribution:             enabled

- See show ip dvmrp.

show ip dvmrp interface

- Use to display DVMRP parameters for the specified interfaces.
- Field descriptions
  - Interface—Type and specifier of the interface connected to a source. For details about interface types and specifiers, see Interface Types and Specifiers in JunosE Command Reference Guide.
  - SourceAddress—IP address of the interface or, for an unnumbered interface, address of the loopback interface
  - Network/Mask—Network and mask of the subnet on which the interface resides
  - Received Bad Packets/RBdPk—Number of bad packets received on this interface
  - Received Bad Routes/RBdRt—Number of bad routes received on this interface
  - Routes Sent/SntRt—Number of bad routes advertised on this interface
  - Administrative State—Configured state of DVMRP on this interface: enabled or Disabled
  - Summary Address(es)—Specific summary address or addresses that this interface should advertise
  - auto-summary—Status of automatic summarization: Enabled or Disabled
  - metric-offset in—Number of hops by which the router increases a DVMRP route advertised in incoming DVMRP reports
  - metric-offset out—Number of hops by which the router increases a DVMRP route advertised in outgoing DVMRP reports
  - announce-filter—Routes advertised by the interface
  - accept-filter(s)—Names of IP access lists that specify the sources for which the interface accepts routes
- Example 1

      host1:v3#show ip dvmrp interface
      Interface: ATM2/0.1
            SourceAddress:                       1.0.0.1
            Network/Mask:                     1.0.0.1/24
            Received Bad Packets:                      0
            Received Bad Routes:                       0
            Routes Sent:                               0
            Administrative State:                Enabled
            Summary Address(es)          None Configured
            auto-summary:                        Disabed
            metric-offset in:                          1
            metric-offset out:                         0
            announce-filter:                        None
            accept-filter(s)             None Configured

- Example 2

      host1:boston#show ip dvmrp interface brief
        Interface          SourceAddress   Network/Mask    RBdPk RBdRt SntRt
        atm5/0.14          14.0.1.1        14.0.1.1/8         0     0     2
        atm5/0.15          15.0.1.1        15.0.1.1/8         0     0     2

- See show ip dvmrp interface.

show ip dvmrp mroute

- Use to display information about DVMRP routes to multicast groups.
- Field descriptions
  - (S,G) pair—Source, Group pair value
  - Uptime—Time, in seconds, that this (S, G) pair entry has been in the routing table
  - Upstream Prune—Whether the router has sent prune messages for this group
  - RPF Interface—Interface that provides the shortest path back to the source
  - Outgoing interface list—Types and specifiers of interfaces through which the VR forwards DVMRP messages, such as atm3/0. For details about interface types and specifiers, see Interface Types and Specifiers in JunosE Command Reference Guide.
- Example

      host1:boston#show ip dvmrp mroute
      IP DVMRP Multicast Routing Table
      (40.0.0.0/16,  228.1.1.1)  Uptime: 77
        Upstream Prune: none
        RPF Interface
            atm5/0.40
        Outgoing interface list:
            atm5/0.31

- See show ip dvmrp mroute.

show ip dvmrp neighbor

- Use to display information about DVMRP neighbors.
- Specify the brief keyword to view a summary of information.
- Field descriptions
  - Neighbor Address/NbrAddress—IP address of the neighbor
  - Interface—Interface type and specifier, such as atm3/0. For details about interface types and specifiers, see Interface Types and Specifiers in JunosE Command Reference Guide.
  - Neighbor upTime/UpTime—Length of time, in seconds, that this router has been a neighbor
  - Neighbor Major Version/Maj—Major number of the DVMRP version on the neighbor
  - Neighbor Minor Version/Min—Minor number of the DVMRP version on the neighbor
  - Neighbor Capabilities/Cap—Capability of the neighbor
    - Prune/P—Ability to send prune messages
    - GenerationId/G—Ability to create a generation ID number
    - Mtrace/M—Ability to trace multicast routes
    - Netmask/N—Ability to send prunes and grafts with a network mask address
  - Neighbor State/State—Status of communications with the neighbor
    - Active—Router is able to communicate with this neighbor
    - Down—Neighbor is down
    - Ignoring—Router is not accepting messages from this neighbor
    - Oneway—Router is receiving messages from the neighbor, but the neighbor does not include the router's IP address in the messages. This state can indicate a starting transition, or a problem.
  - Generation ID—Number that the neighbor generates each time it boots; when the number changes, the VR discards all information previously learned from the router.
  - Routes Received—Number of routes received from this neighbor
  - Bad Routes Received—Number of bad routes received from this neighbor
  - Bad Packets Received—Number of bad packets received from this neighbor
- Example 1

      host1:boston# show ip dvmrp neighbor
      Neighbor Address:                   14.0.0.1
            Interface:                    atm5/0.14
            Neighbor upTime:                28
            Neighbor Major Version:          3
            Neighbor Minor Version:        255
            Neighbor Capabilities:  Prune  GenerationId  Mtrace  NetMask
            Neighbor State:             Active
            Geneneration ID:        0x3a13fbc2
            Routes Received:                 1
            Bad Routes Received              0
            Bad Packets Received:            0

- Example 2

      host1:v3#show ip dvmrp neighbor brief
        Interface          NbrAddress      UpTime Maj Min Cap   State
        atm5/0.14          14.0.0.1            32   3 255 PGMN  Active
        atm5/0.15          15.0.0.1            34   3 255 PGMN  Active

- See show ip dvmrp neighbor.

show ip dvmrp route

- Use to display information about DVMRP routes.
- Specify an IP address to display the best route to that address.
- Specify an IP address and subnet mask to display the route that exactly matches this IP address and subnet mask
- Specify an interface type and specifier to display routes associated with that interface. For details about interface types and specifiers, see Interface Types and Specifiers in JunosE Command Reference Guide.
- Specify the brief keyword to view a summary of information.
- Field descriptions
  - Prefix—IP address of the network
  - Length—Length of the subnet mask for the network
  - usNbr/Owner—IP address of the upstream neighbor associated with this route or a description of the origin of the route
    - Dvmrp Local—Route is associated with a directly attached network
    - Dvmrp Aggregate—Route is an aggregate route determined by summarization
  - Metric—Metric associated with this interface for this route
  - ExpireTime—Time, in seconds, until the VR starts the process for removing the route
  - UpTime—Length of time, in seconds, that the route has been in the DVMRP routing table
  - Interface—Type and specifier for the interface, such as atm3/0.
- Example 1

      host1:boston>show ip dvmrp route
      Prefix/Length        usNbr/Owner       Metric ExpireTime UpTime Interface
        14.0.0.0/8         Dvmrp Local          1      Never     18   atm5/0.14
          Downstream Interface(s)
              Interface
              atm5/0.15
        15.0.0.0/8         Dvmrp Local          1      Never     18   atm5/0.15
          Downstream Interface(s)
              None
        25.0.0.0/8         14.0.0.1             2        129     11   atm5/0.14
          Downstream Interface(s)
              Interface
              atm5/0.15

- Example 2

      host1:v3# show ip dvmrp route brief
        Prefix/Length      usNbr/Owner       Metric ExpireTime UpTime Interface
        14.0.0.0/8         Dvmrp Local          1      Never     26   atm5/0.14
        15.0.0.0/8         Dvmrp Local          1      Never     26   atm5/0.15
        25.0.0.0/8         14.0.0.1             2        121     19   atm5/0.14

- See show ip dvmrp route.

show ip dvmrp routeNextHop

- Use to display information about the next hop.
- Field descriptions
  - addr—IP address of the next-hop router
  - mlen—Mask length of the next-hop router
  - ifIndex—SNMP interface index for the interface that connects to the next hop
  - Type—Description of the next-hop router
    - leaf—Neighbor with no downstream neighbors
    - branch—Neighbor with downstream neighbors
- Example

      host1:boston>show ip dvmrp routeNextHop
        addr/mlen          ifIndex  Type
        172.16.0.0/16            4  leaf
        172.17.0.0/16            4  leaf
        172.18.0.0/16            3  leaf
        172.19.0.0/16            3  leaf
        172.19.0.0/16            4  branch

- See show ip dvmrp routeNextHop.