MVPN Operational Commands

Show Commands

Syntax:

show mroute <options>

Option Description

-

Without any option, the commands displays summary of all the multicast routes.

all

Displays multicast routes for all the VPN instances.

detail

Displays detailed view of all the multicast routes including the statistics and ingress interface details.

detail all

Displays detailed view of all the multicast routes for all the VPN instances.

instance <vpn-instance-name>

Name of the VPN instance

group <group-address>

Multicast group address

`<ipv4

ipv6> instance <instance_name> source <source-address>`

The following example output shows the mroute details for two PPPoE subscribers joining two different multicast group, where it displays the multicast traffic statistics along with nexthop information, ingress and egress interface.

Multicast traffic statistics is fetched at an interval of 60 seconds
supervisor@rtbrick.net: cfg> show mroute detail
Instance: service, AFI: ipv4, SAFI: multicast
198.51.100.251/32, 232.1.1.1/32
  Source: pim, Preference: 250
  Forwarded packets: 103199, Forwarded bytes: 8255920, Forwarded pps: 1000
  Dropped packets: 0, Dropped bytes: 0, Dropped pps: 0
      Next Hop type: Multicast Fanout, Next Hop action: PPPoE Replicate
      Resolved in: ip2vrf-ipv4-multicast
      Egress interface: ppp-0/0/4/72339069014638596
      Ingress interface: ifl-0/0/2/21
198.51.100.252/32, 232.1.1.2/32
  Source: pim, Preference: 250
  Forwarded packets: 103188, Forwarded bytes: 8255040, Forwarded pps: 1000
  Dropped packets: 0, Dropped bytes: 0, Dropped pps: 0
      Next Hop type: Multicast Fanout, Next Hop action: PPPoE Replicate
      Resolved in: ip2vrf-ipv4-multicast
      Egress interface: ppp-0/0/4/72339069014638597
      Ingress interface: ifl-0/0/2/21
supervisor@rtbrick.net: cfg>

MVPN Route Show Commands

Syntax:

show bgp fib ipv4 vpn-multicast instance default <attribute> <value>

Option Description

-

Without any option, the commands displays summary of all the multicast routes.

detail

Displays detailed view of all the VPN multicast routes.

<prefix>

Destination prefix address

Example: Display MVPN Route Summary Information

supervisor@rtbrick: op> show bgp fib ipv4 vpn-multicast instance default
Flags: & - Imported, ! - Error
Instance: default, AFI: ipv4, SAFI: vpn-multicast
  Hostname: PE1, Peer IP: 12::1
  Source IP: 12::2, Total routes: 6
    Flags  Group          Source              Next Hop     MED    Lpref   AS Path  Route Type            Originator ID
           -              -                   12::1        -      100     -        Intra-AS_I-PMSI_AD    192.168.3.10
           -              -                   12::1        -      100     -        Intra-AS_I-PMSI_AD    192.168.4.10
           232.1.1.1/32   198.51.100.251/32   12::1        -      100     -        Source_Tree_Join      -

Clear Commands

Clearing Multicast Statistics

Use the clear multicast statistics command to reset multicast traffic counters to zero. After the command completes successfully, the counters begin collecting new statistics.

Syntax:

clear multicast statistics

The example below shows the output of the "show mroute detail" command before clearing the statistics.

supervisor@rtbrick.net: cfg> show mroute detail
Instance: service, AFI: ipv4, SAFI: multicast
198.51.100.251/32, 232.1.1.1/32
  Source: pim, Preference: 250
  Forwarded packets: 103199, Forwarded bytes: 8255920, Forwarded pps: 1000
  Dropped packets: 0, Dropped bytes: 0, Dropped pps: 0
      Next Hop type: Multicast Fanout, Next Hop action: PPPoE Replicate
      Resolved in: ip2vrf-ipv4-multicast
      Egress interface: ppp-0/0/4/72339069014638596
      Ingress interface: ifl-0/0/2/21
198.51.100.252/32, 232.1.1.2/32
  Source: pim, Preference: 250
  Forwarded packets: 103188, Forwarded bytes: 8255040, Forwarded pps: 1000
  Dropped packets: 0, Dropped bytes: 0, Dropped pps: 0
      Next Hop type: Multicast Fanout, Next Hop action: PPPoE Replicate
      Resolved in: ip2vrf-ipv4-multicast
      Egress interface: ppp-0/0/4/72339069014638597
      Ingress interface: ifl-0/0/2/21
supervisor@rtbrick.net: cfg>

The example below shows the command to clear multicast statistics.

supervisor@rtbrick.net: cfg> clear multicast statistics
Success : command success

The example below shows the output of the "show mroute detail" command after clearing the statistics.

supervisor@rtbrick.net: cfg> show mroute detail
Instance: service, AFI: ipv4, SAFI: multicast
198.51.100.251/32, 232.1.1.1/32
  Source: pim, Preference: 250
  Forwarded packets: 0, Forwarded bytes: 0, Forwarded pps: 0
  Dropped packets: 0, Dropped bytes: 0, Dropped pps: 0
      Next Hop type: Multicast Fanout, Next Hop action: PPPoE Replicate
      Resolved in: ip2vrf-ipv4-multicast
      Egress interface: ppp-0/0/4/72339069014638596
      Ingress interface: ifl-0/0/2/21
198.51.100.252/32, 232.1.1.2/32
  Source: pim, Preference: 250
  Forwarded packets: 0, Forwarded bytes: 0, Forwarded pps: 0
  Dropped packets: 0, Dropped bytes: 0, Dropped pps: 0
      Next Hop type: Multicast Fanout, Next Hop action: PPPoE Replicate
      Resolved in: ip2vrf-ipv4-multicast
      Egress interface: ppp-0/0/4/72339069014638597
      Ingress interface: ifl-0/0/2/21
supervisor@rtbrick.net: cfg>