Ocnos DC Multicast Guide
Ocnos DC Multicast Guide
October 2024
This documentation is subject to change without notice. The software described in this document and this documentation
are furnished under a license agreement or nondisclosure agreement. The software and documentation may be used or
copied only in accordance with the terms of the applicable agreement. No part of this publication may be reproduced,
stored in a retrieval system, or transmitted in any form or any means electronic or mechanical, including photocopying and
recording for any purpose other than the purchaser's internal use without the written permission of IP Infusion Inc.
IP Infusion Inc.
3979 Freedom Circle
Suite 900
Santa Clara, California 95054
http://www.ipinfusion.com/
Trademarks:
IP Infusion and OcNOS are trademarks or registered trademarks of IP Infusion. All other trademarks, service marks,
registered trademarks, or registered service marks are the property of their respective owners.
Use of certain software included in this equipment is subject to the IP Infusion, Inc. End User License Agreement at http://
www.ipinfusion.com/license. By using the equipment, you accept the terms of the End User License Agreement.
Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
IP Maestro Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10
Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10
Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10
Chapter Organization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10
Related Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10
Migration Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Feature Availability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Multicast Configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
CHAPTER 1 Discard Unknown Multicast Traffic . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .24
Prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .24
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .24
New CLI Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .25
Topology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .108
Sparse Mode Operation versus Dense Mode Operation . . . . . . . . . . . . . . . . . . . . . . . 111
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 323
Preface
This guide describes how to configure OcNOS.
IP Maestro Support
Monitor devices running OcNOS Release 6.3.4-70 and above using IP Maestro software.
Audience
This guide is intended for network administrators and other engineering professionals who configure OcNOS.
Conventions
Table P-1 shows the conventions used in this guide.
Convention Description
monospaced type Code elements such as commands, parameters, files, and directories
Chapter Organization
The chapters in command references are organized as described in Command Description Format.
The chapters in configuration guides are organized into these major sections:
• An overview that explains a configuration in words
• Topology with a diagram that shows the devices and connections used in the configuration
• Configuration steps in a table for each device where the left-hand side shows the commands you enter and the
right-hand side explains the actions that the commands perform
• Validation which shows commands and their output that verify the configuration
Related Documentation
For information about installing of OcNOS, see the Installation Guide for your platform.
Migration Guide
Check the Migration Guide for configuration changes to make when migrating from one version of OcNOS to another.
Feature Availability
The features described in this document that are available depend upon the OcNOS SKU that you purchased. See the
Feature Matrix for a description of the OcNOS SKUs.
Support
For support-related questions, contact [email protected].
Comments
If you have comments, or need to report a problem with the content, contact [email protected].
Overview
You use the CLI to configure, monitor, and maintain OcNOS devices. The CLI is text-based and each command is
usually associated with a specific task.
You can give the commands described in this manual locally from the console of a device running OcNOS or remotely
from a terminal emulator such as putty or xterm. You can also use the commands in scripts to automate
configuration tasks.
Command Completion
The CLI can complete the spelling of a command or a parameter. Begin typing the command or parameter and then
press the tab key. For example, at the CLI command prompt type sh:
> sh
Press the tab key. The CLI displays:
> show
If the spelling of a command or parameter is ambiguous, the CLI displays the choices that match the abbreviation. Type
show i and press the tab key. The CLI displays:
> show i
interface ip ipv6 isis
> show i
The CLI displays the interface and ip keywords. Type n to select interface and press the tab key. The CLI
displays:
> show in
> show interface
Type ? and the CLI displays the list of parameters for the show interface command.
> show interface
IFNAME Interface name
| Output modifiers
> Output redirection
<cr>
The CLI displays the only parameter associated with this command, the IFNAME parameter.
Command Abbreviations
The CLI accepts abbreviations that uniquely identify a keyword in commands. For example:
> sh int xe0
is an abbreviation for:
> show interface xe0
Command Negation
Many commands have a no form that resets a feature to its default value or disables the feature. For example:
• The ip address command assigns an IPv4 address to an interface
• The no ip address command removes an IPv4 address from an interface
Syntax Conventions
Table P-2 describes the conventions used to represent command syntax in this reference.
lowercase Keywords that you enter exactly as shown in the show ip ospf
command syntax.
. Repeatable parameter. The parameter that follows a set as-path prepend .<1-65535>
period can be repeated more than once. Do not
enter the period as part of the command.
Variable Placeholders
Table P-3 shows the tokens used in command syntax use to represent variables for which you supply a value.
Token Description
LINE A text string, including spaces; no other parameters can follow this parameter
IFNAME Interface name whose format varies depending on the platform; examples are: eth0,
Ethernet0, ethernet0, xe0
Section Description
Command Name The name of the command, followed by what the command does and when should it be used
Command Mode The mode in which the command runs; see Command Modes
Keyboard Operations
Table P-5 lists the operations you can perform from the keyboard.
Left arrow or Ctrl+b Moves one character to the left. When a command extends beyond a single line, you can press left
arrow or Ctrl+b repeatedly to scroll toward the beginning of the line, or you can press Ctrl+a to go
directly to the beginning of the line.
Right arrow or Ctrl-f Moves one character to the right. When a command extends beyond a single line, you can press right
arrow or Ctrl+f repeatedly to scroll toward the end of the line, or you can press Ctrl+e to go directly to
the end of the line.
Ctrl+y Pastes text previously deleted with Ctrl+k, Alt+d, Ctrl+w, or Ctrl+u at the cursor
Ctrl+c Ignores the current line and redisplays the command prompt
Begin Modifier
The begin modifier displays the output beginning with the first line that contains the input string (everything typed after
the begin keyword). For example:
# show running-config | begin xe1
...skipping
interface xe1
ipv6 address fe80::204:75ff:fee6:5393/64
!
interface xe2
ipv6 address fe80::20d:56ff:fe96:725a/64
!
line con 0
login
!
end
You can specify a regular expression after the begin keyword, This example begins the output at a line with either
“xe2” or “xe4”:
# show running-config | begin xe[3-4]
...skipping
interface xe3
shutdown
!
interface xe4
shutdown
!
interface svlan0.1
no shutdown
!
route-map myroute permit 3
!
route-map mymap1 permit 10
!
route-map rmap1 permit 3
!
line con 0
login
line vty 0 4
login
!
end
Include Modifier
The include modifier includes only those lines of output that contain the input string. In the output below, all lines
containing the word “input” are included:
# show interface xe1 | include input
input packets 80434552, bytes 2147483647, dropped 0, multicast packets 0
input errors 0, length 0, overrun 0, CRC 0, frame 0, fifo 1, missed 0
You can specify a regular expression after the include keyword. This examples includes all lines with “input” or
“output”:
#show interface xe0 | include (in|out)put
input packets 597058, bytes 338081476, dropped 0, multicast packets 0
input errors 0, length 0, overrun 0, CRC 0, frame 0, fifo 0, missed 0
output packets 613147, bytes 126055987, dropped 0
output errors 0, aborted 0, carrier 0, fifo 0, heartbeat 0, window 0
Exclude Modifier
The exclude modifier excludes all lines of output that contain the input string. In the following output example, all lines
containing the word “input” are excluded:
# show interface xe1 | exclude input
Interface xe1
Scope: both
Hardware is Ethernet, address is 0004.75e6.5393
index 3 metric 1 mtu 1500 <UP,BROADCAST,RUNNING,MULTICAST>
VRF Binding: Not bound
Administrative Group(s): None
DSTE Bandwidth Constraint Mode is MAM
inet6 fe80::204:75ff:fee6:5393/64
output packets 4438, bytes 394940, dropped 0
output errors 0, aborted 0, carrier 0, fifo 0, heartbeat 0, window 0
collisions 0
You can specify a regular expression after the exclude keyword. This example excludes lines with “output” or “input”:
# show interface xe0 | exclude (in|out)put
Interface xe0
Scope: both
Hardware is Ethernet Current HW addr: 001b.2139.6c4a
Physical:001b.2139.6c4a Logical:(not set)
index 2 metric 1 mtu 1500 duplex-full arp ageing timeout 3000
<UP,BROADCAST,RUNNING,MULTICAST>
VRF Binding: Not bound
Bandwidth 100m
DHCP client is disabled.
inet 10.1.2.173/24 broadcast 10.1.2.255
VRRP Master of : VRRP is not configured on this interface.
inet6 fe80::21b:21ff:fe39:6c4a/64
collisions 0
Redirect Modifier
The redirect modifier writes the output into a file. The output is not displayed.
# show cli history | redirect /var/frame.txt
The output redirection token (>) does the same thing:
# show cli history >/var/frame.txt
Last Modifier
The last modifier displays the output of last few number of lines (As per the user input). The last number ranges from
1 to 9999.
For example:
#show running-config | last 10
String Parameters
The restrictions in Table P-6 apply for all string parameters used in OcNOS commands, unless some other restrictions
are noted for a particular command.
Restriction Description
Command Modes
Commands are grouped into modes arranged in a hierarchy. Each mode has its own set of commands. Table P-7 lists
the command modes common to all protocols.
Name Description
Executive Also called view mode, this is the first mode to appear after you start the CLI. It is a base mode from where you
mode can perform basic commands such as show, exit, quit, help, and enable.
Privileged Also called enable mode, in this mode you can run additional basic commands such as debug, write, and
executive show.
mode
Configure Also called configure terminal mode, in this mode you can run configuration commands and go into other
mode modes such as interface, router, route map, key chain, and address family.
Configure mode is single user. Only one user at a time can be in configure mode.
Interface In this mode you can configure protocol-specific settings for a particular interface. Any setting you configure in
mode this mode overrides a setting configured in router mode.
Router This mode is used to configure router-specific settings for a protocol such as BGP or OSPF.
mode
Start in
executive
mode
enable (password)
Privileged
executive
mode
configure terminal
Configure
mode
Interface Router
mode mode
To change modes:
Multicast Configuration
Overview
The Layer 2 switch treats the received multicast packet as unknown when there is no explicit group join request from
any of the hosts for the destination group. The unknown multicast traffic is either forward to all ports (except the ingress
port) within the VLAN or discard it.
A new command “l2 unknown mcast (flood|discard)” is introduced to implement it.
This feature is supported on Qumran1 series platforms, and Qumran2 series platforms.
Feature Characteristics
If flood is enabled, the switch forwards multicast traffic to all ports (except the ingress port) within the VLAN, treating it
similar to broadcast traffic. This ensures that even if the switch is not aware of the multicast group memberships for
certain ports, all devices within the VLAN receive the multicast packets.
If discard enabled, the switch do not forward multicast traffic for groups with no known members. Instead of flooding the
multicast packets to all ports within the VLAN, the switch simply drops or discards the unknown multicast traffic.
Limitation:
• For Provider-Bridge (PB), the support is over Provider Network Ports (PNP).
• It is applicable only for L2 services (L2 bridges).
• The CLI support is available globally, and not per VLAN.
Benefits
The feature reduces the traffic at the egress node and efficiently uses the hardware resources.
Prerequisites
Before configuring this command, make sure bridge is configured.
Configuration
Configure the following command to enable the desired option for the unknown multicast traffic in any snooping
configurations. For example, include the command in the IGMP Snooping Configuration or MLD Snooping
Configuration to drop the multicast traffic.
OcNOS(config)#l2 unknown mcast discard
L2 unknown mcast
Use this command to forward the unknown multicast traffic to all ports (except the ingress port) within the VLAN or drop
it.
Command Syntax
l2 unknown mcast
Parameters
Default
L2 unknown multicast traffic is flooded.
Command Mode
Configuration mode
Applicability
This command was introduced in the OcNOS version 6.5.1.
Example
The following command forwards the multicast traffic to all ports
OcNOS#configure terminal
(config)#l2 unknown mcast flood
IGMP Versions
OcNOS supports IGMPv2 and IGMPv3, as well as IGMPv1 report reception. By default, OcNOS enables IGMPv3
when PIM is enabled on an interface.
IGMPv3 includes the following key changes from IGMPv2:
• Support for Source-Specific Multicast (SSM), which builds shortest path trees from each receiver to the source,
through the following feature:
• Host messages that can specify both the group and the source.
• The multicast state that is maintained for groups and sources, not just for groups as in IGMPv2.
• Hosts no longer perform report suppression, which means that hosts always send IGMP membership reports when
an IGMP query message is received.
IGMP Operation
IGMP works on the premise of three major packets exchange between IGMP enabled routers and hosts, interested in
joining a particular group.
Topology
The procedures in this section use the topology in Figure 2-1.
IGMP Configuration
The following example shows IGMP configuration on Router1.
Validation
Enter the commands listed in this section to confirm the previous configurations.
#show running-config
!
no service password-encryption
!
hostname rtr1
!
ip multicast-routing
!
!
interface eth2
ip address 10.1.1.10/24
no shutdown
ip igmp version 2
Validation
Enter the commands listed in this section to confirm the previous configurations.
Rtr1#show running-config
!
no service password-encryption
!
hostname rtr1
!
!
ip multicast-routing
!
!
interface eth2
ip address 10.1.1.10/24
no shutdown
ip igmp access-group 1
ip igmp immediate-leave group-list 1
ip igmp last-member-query-count 7
ip igmp limit 100
ip igmp join-group 224.1.1.1
ip igmp static-group 225.1.1.1
ip igmp last-member-query-interval 25500
ip igmp querier-timeout 300
ip igmp query-interval 200
ip igmp query-max-response-time 150
ip igmp startup-query-interval 50
ip igmp startup-query-count 4
ip igmp robustness-variable 4
ip igmp ra-option
ip igmp version 2
!!
ip domain-lookup
!
ip multicast-routing
!
ip pim register-rp-reachability
ip pim crp-cisco-prefix
!
interface lo
ip address 127.0.0.1/8
ip address 1.1.1.57/32 secondary
ipv6 address ::1/128
no shutdown
!
interface eth0
ip address 10.12.48.179/24
no shutdown
!
interface eth1
ip address 192.168.1.27/24
no shutdown
ip igmp version 2
!
interface eth2
ip address 10.1.1.10/24
no shutdown
ip igmp access-group 1
ip igmp immediate-leave group-list 1
ip igmp last-member-query-count 7
ip igmp limit 100
ip igmp join-group 224.1.1.1
ip igmp static-group 225.1.1.1
ip igmp last-member-query-interval 25500
ip igmp querier-timeout 300
ip igmp query-interval 200
ip igmp query-max-response-time 150
ip igmp startup-query-interval 50
ip igmp startup-query-count 4
ip igmp robustness-variable 4
ip igmp ra-option
ip igmp version 2
!
line con 0
login
line vty 0 16
exec-timeout 0 0
login
line vty 17 39
login
!
End
Group address Displays the Multicast Group for which report is received.
Flags: SG
Uptime: 00:17:28
Group mode: Exclude (Static)
State: Active
Last reporter: 0.0.0.0
Source list is empty
Group address Displays the Multicast Group for which report is received.
For IGMPV3 report source list specifies which source to be included or exclude
based on the membership report sent by the hosts.
Terminology
Following is a brief description of terms and concepts used to describe the IGMP Proxy:
Upstream interface
Also referred to as the proxy interface. A proxy interface is an interface on which IGMP proxy service is configured. It is
in the direction toward the root of the multicast forwarding tree. An upstream interface acts as a host running IGMP;
therefore, it is also called host interface.
Downstream interface
An interface that is running IGMP and in the direction contrary to the root of the multicast forwarding tree. A
downstream interface acts as a router running IGMP; therefore, it is also called router interface.
Member State
State of the associated group address and interface.
• Idle - Interface has not yet responded to a group membership query or general query for this group.
• Delay - Interface has responded to the latest group membership query or general query for this group.
Topology
In this network topology, Router 1 acts as a proxying router to the upstream router Router 2 in which PIM domain is
present. Also the source address is 172.31.1.52 and the group address is set to 224.0.1.3.
Note: Any PIM mode (PIM-SM,PIM-DM,PIM-SMDM) should be enabled on all the interfaces in the PIM domain.
Here in this example default value for unsolicited report interval is considered.
• IGMP Proxying router (Router1) maintains the group membership information and forwards the received report to
the upstream router (Router2).
• Source then sends a data packet for group.
• When the data packet reaches Router1, it forwards via the interface, eth2, because it has an IGMP join requested
for Multicast traffic.
Validation
Here is the same configuration for IGMP Proxying router.
hostname Router1
!
interface lo
!!
ip multicast-routing
!
interface eth0
!
interface eth1
ip address 192.168.1.57/24
no shutdown
ip igmp proxy-service
!
interface eth2
ip address 192.168.10.57/24
no shutdown
ip igmp mroute-proxy eth1
!
IGMP proxy
The following output displays the IGMP proxy information.
Router1#show ip igmp proxy
Validation
Here is the same configuration for IGMP Proxying router.
hostname Router1
!
interface eth0
!
interface eth1
ip address 192.168.1.57/24
ip igmp proxy-service
ip igmp proxy unsolicited-report-interval 20000
!
interface eth2
ip address 192.168.10.57/24
ip igmp mrouter-proxy eth1
!
interface lo
!
!
ip multicast-routing
!
Terminology
Following is a brief description of terms and concepts used to describe the PIM-SM protocol:
Rendezvous Point
A Rendezvous Point (RP) router is configured as the root of a non-source-specific distribution tree for a multicast
group. Join messages from receivers for a group are sent towards the RP. Data from senders is sent to the RP so that
receivers can discover who the senders are, and receive traffic destined for the group.
Upstream
Upstream indicates that traffic is going towards the root of the tree. The root of the tree might be either the Source or
the RP.
Downstream
Downstream indicates that traffic is going away from the root of the tree. The root of tree might be either the Source or
the RP.
Source-Based Trees
In Source-Based Trees, the forwarding paths are based on the shortest unicast path to the source. If the unicast routing
metric used is hop counts, the branches of the multicast Source-Based Trees are minimum hop. If the metric used is
delay, the branches are minimum delay. A corresponding multicast tree directly connects the source to all receivers
for every multicast source. All traffic to the members of an associated group passes along the tree made for their
source. Source-Based Trees have two entries with a list of outgoing interfaces -- the source address and the multicast
group.
Shared Trees
Shared trees, or RP trees (RPT), rely on a central router called the Rendezvous Point (RP) that receives all traffic from
the sources, and forwards that traffic to the receivers. There is a single tree for each multicast group, regardless of the
number of sources. Only the routers on the tree know about the group, and information is sent only to interested
receivers. With an RP, receivers have a place to join, even if no source exists. The shared tree is unidirectional, and
information flows only from the RP to the receivers. If a host other than the RP has to send data on the tree, the data
must first be tunneled to the RP, then multicast to the members. This means that even if a receiver is also a source, it
can only use the tree to receive packets from the RP, and not to send packets to the RP (unless the source is located
between the RP and the receivers).
Note: Not all hosts are receivers.
Bootstrap Router
When a new multicast sender starts sending data packets, or a new receiver starts sending Join messages towards the
RP for that multicast group, the sender needs to know the next-hop router towards the RP. The bootstrap router (BSR)
provides group-to-RP mapping information to all the PIM routers in a domain, allowing them to map to the correct RP
address.
The router with the highest priority (if priorities are same, the higher IP address applies) is selected to be the RP.
Routers receive and store bootstrap messages originated by the BSR. When a DR gets a membership indication
from IGMP for (or a data packet from) a directly connected host, for a group for which it has no entry, the
designated router (DR) maps the group address to one of the candidate RPs that can service that group. The DR
then sends a Join/Prune message towards that RP. In a small domain, the RP can also be configured statically.
PIM-SM Configuration
PIM-SM is a soft-state protocol. The required steps to configure PIM-SM are the following:
• Enable IP multicast on each PIM router (see Enabling IP Multicast Routing)
• Enable PIM-SM on the desired interfaces (see Enable PIM-SM on an Interface)
• Configure the RP statically (see Configuring Rendezvous Point Statically or dynamically (see Configure
Rendezvous Point Dynamically Using Bootstrap Router Method) depending on which method you use)
All multicast group states are dynamically maintained as the result of IGMP Report/Leave and PIM Join/Prune
messages.
This section provides the steps to configure the PIM-SM feature. Configuration steps and examples are used for two
relevant scenarios.
Topology
The following figure displays the network topology used in these examples.
Since Router_E has a higher IP address on interface eth1, it becomes the Designated Router, and is responsible for
sending Join messages to the RP (Router_C).
Configure Static RP
#configure terminal Enter configure mode.
(config)#ip pim rp-address 10.10.1.5 Statically configure an RP address for multicast groups.
(config)#exit Exit Configure mode.
Validation
Enter the commands listed in this section to confirm the previous configurations.
RP Details
At Router_D, the show ip pim rp mapping command shows that 10.10.1.5 is the RP for all multicast groups
224.0.0.0/4, and is statically configured. All other routers will have a similar output:
R-D#show ip pim rp mapping
PIM Group-to-RP Mappings
Override RP cnt: 0
Override RP cnt: 0At Router_D, use the show ip pim rp-hash command to display the selected RP for a specified
group (224.0.1.3):
Router_D#show ip pim rp-hash 224.0.1.3
RP: 10.10.1.5
Interface Details
The show ip pim interface command displays the interface details for Router_E, and shows that Router_E is
the Designated Router on Subnet 1.
Router_E#show ip pim interface
Address Interface VIFindex Ver/ Nbr DR DR
Mode Count Prior
192.168.1.10 eth1 0 v2/S 1 1 192.168.1.10
172.16.1.10 eth2 2 v2/S 1 1 172.16.1.10
(*, 224.0.1.3)
RP: 10.10.1.5
RPF nbr: 172.16.1.2
RPF idx: eth2
Upstream State: JOINED
Local i...............................
Joined ................................
Asserted ................................
FCR:
R-E#
At Router_E, eth2 is the incoming interface of the (*, G) entry, and eth1 is on the outgoing interface list of the
(*, G) entry. This means that there is a group member through eth1, and the RP is reachable through eth2.
The 0 position on this 32-bit index is for eth1 (as illustrated in the interface display above). The j on the 0 index
indicates that the Join has come from eth1.
Since Router_C is the RP, and the root of this multicast tree, the show ip pim mroute command on Router_C
shows RPF nbr as 0.0.0.0 and RPF idx as none.
R-C#show ip pim mroute
IP Multicast Routing Table
(*,*,RP) Entries: 0
(*,G) Entries: 1
(S,G) Entries: 0
(S,G,rpt) Entries: 0
FCR Entries: 0
(*, 224.0.1.3)
RP: 10.10.1.5
RPF nbr: 0.0.0.0
RPF idx: None
Upstream State: JOINED
Local ................................
Joined j...............................
Asserted ................................
FCR:
R-C#
Example 1
For this example, refer to Figure 1 for the topology.
To dynamically configure the RP, Router_C on eth1 and Router_D on eth1 are configured as a Candidate RP using
the ip pim rp-candidate command. Router_D on eth1 is also configured as the Candidate BSR. Since no
other router has been configured as the candidate BSR, Router_D becomes the BSR router and is responsible for
sending group-to-RP-mapping information to all other routers in this PIM domain.
The highest priority router (configured with lowest priority value) is chosen as the RP. If two or more routers have the
same priority, a hash function in the BSR mechanism is used to choose the RP to ensure that all routers in the PIM-
domain have the same RP for the same group.
To change the default priority of any candidate RP, use the ip pim rp-candidate IFNAME PRIORITY command.
At Router_D, the show ip pim rp mapping command shows that Router_C is chosen as the RP for a specified
group.
The following output displays the complete configuration at Router_C and Router_D:
Router_D#show running-config
!
interface eth0
!
interface eth1
ip pim sparse-mode
!
interface eth2
ip pim sparse-mode
!
interface lo
!
ip multicast-routing
ip pim bsr-candidate eth1
ip pim rp-candidate eth1 priority 2
!
Router_C#show running-config
interface eth0
!
interface eth1
ip pim sparse-mode
!
interface eth2
ip pim sparse-mode
!
interface lo
!
!
ip multicast-routing
ip pim rp-candidate eth1
Validation
This section provides the steps to verify the RP configuration.
RP Details
To display information about the RP router for a particular group, use the following command. This output displays that
172.16.1.2 has been chosen as the RP for the multicast group 224.0.1.3.
Router_D#show ip pim rp-hash 224.0.1.3
Group(s): 224.0.0.0/4
RP: 172.16.1.2
Info source: 172.16.1.2, via bootstrap
After RP information reaches all PIM routers in the domain, various state machines maintain all routing states, as a
result of Join/Prune from group membership. To display information on interface details and the multicast routing table,
refer to the Configuring Rendezvous Point Statically section.
Example 2
To dynamically configure the RP, Router_2 on eth1 is configured as a Candidate RP using the ip pim rp-
candidate command. Since no other router is configured as C-RP, Router_2 becomes the RP. Router_1 on
eth1 and Router_2 on eth1 are configured as the Candidate BSRs. Since Router_1 has a higher priority value
than Router_2, Router_1 becomes the BSR router and is responsible for sending group-to-RP-mapping information
to all other routers in this PIM domain.
Topology
For this example, refer to Figure 4-4 for the topology.
Configuration
Router 1
Router 2
Validation
1. Verify the C-BSR state on Router 1.
#show ip pim bsr-router
PIMv2 Bootstrap information
This system is the Bootstrap Router (BSR)
BSR address: 20.0.1.21
Uptime: 00:01:39, BSR Priority: 64, Hash mask length: 10
Next bootstrap message in 00:00:53
Role: Candidate BSR
Anycast-RP Configuration
The Anycast-RP feature provides load balancing among active RPs and redundancy in a PIM-SM network domain. In a
PM-SM configuration, only a single active RP for each multicast group within a domain is permitted. However, in an
Anycast-RP configuration, this restriction is removed with the support of multiple active RPs for each group in a
domain.
OcNOS supports Anycast-RP using the PIM implementation. In PIM Anycast-RP, Multicast Source Discovery Protocol
(MSDP) is not employed to share information about active sources. Instead the Register mechanism in PIM is
extended to provide this same function.
The following describes Anycast-RP in PIM-SM:
• A Unicast IP address is used as the RP address. The address is statically configured, and associated with all PIM
routers throughout the domain.
• A set of routers in the domain is chosen to act as RPs for this RP address. These routers are called the Anycast-
RP set.
• Each router in the Anycast-RP set is configured with a loopback address. The loopback address is configured on
all RPs for the loopback interface, then configured as the RP address (static RP), and injected into OSPF using
redistribute connected. The PIM-SM implementation uses only the first non-loopback address configured on the
loopback interface. Therefore, it is important to be sure that the Anycast-RP address is configured with the first
non-loopback address.
• Each router in the Anycast-RP set also needs a separate IP address, which is used for communication between
the RPs.
• The RP address, or a prefix that includes the RP address, is injected into the unicast routing system inside the
domain.
• Each router in the Anycast-RP set is configured with the addresses of all other routers in the Anycast-RP set. This
must be consistently configured in all RPs in the set.h
Topology
Disable Anycast-RP
Validation
1. Verify RP-mapping in ARP1.
#show ip pim rp mapping
PIM Group-to-RP Mappings
Override RP cnt: 0
Anycast-RP 1.1.1.152 members:23.23.23.1
Group(s): 224.0.0.0/4, Static
RP: 1.1.1.152
Uptime: 00:00:13s
2. Verify RP-mapping in ARP1 after disabling anycast-RP and RP-address.
ARP1#show ip pim rp mapping
PIM Group-to-RP Mappings
Override RP cnt: 0
Terminology
Following is a brief description of terms and concepts used to describe the PIM-DM protocol:
Upstream
Upstream traffic is traffic that is going towards the source.
Downstream
Downstream traffic is anything other than the upstream interface for that group.
Nexthop
PIM-DM does periodic lookups for prefixes to check router reachability. The nexthop lookup mechanism avoids
periodic lookup. During start-up, PIM-DM notifies NSM (Network Services Manager) about the prefixes that pertain to
them. NSM notifies the protocols if a better nexthop is available, or if a nexthop becomes unavailable. In this way, PIM-
DM does not expend resources to do periodic lookups, because NSM is proactive in their maintenance.
Configuration
Configuring PIM-DM requires the following steps:
• Enable IP multicast on each PIM router (see Enabling IP Multicast Routing)
Topology
In this network topology, the Source_1 address is 10.10.1.52 and the group address is set to 224.0.1.3.
2. After Router_C receives this report, it associates its receiving interface, eth1, with the group reported in the IGMP
message, for example, group1.
5. When the data packet reaches Router_C, it forwards via the interface, eth1, because there is a local member on
this interface for this group. Router_C has a downstream receiver, so it does not send a prune message to its
upstream neighbor router, Router_B.
Enabling PIM-DM
Enable PIM-DM on all participating interfaces within each of routers inside the PIM domain on which you want to run
PIM.
Validation
The show ip pim interface command displays the interface details for Router_C.
Router_C#show ip pim interface
Address Interface VIFindex Ver/ Nbr DR
Mode Count prior
192.168.1.10 eth1 0 v2/D 0 1
172.16.1.10 eth2 2 v2/D 1 1
Topology
This example describes the configuration on switch S1. The eth1 interface is configured as a multicast router port.
Because IGMP Snooping is used in bridged LAN environments, router R1 does not require running IGMP Snooping,
and can run any multicast protocol (such as PIM-SM). Thus, the configuration on R1 is not included in this example.
Configuration
To enable IGMP Snooping on an interface:
S1
Validation
#show running-config interface eth3
!
interface eth3
switchport
bridge-group 1
switchport mode trunk
switchport trunk allowed vlan add 2
Eth3
Eth1
Eth2
Terminology
Following is a brief description of terms and concepts used to describe the PIM-ECMP Redirect protocol:
ECMP Bundle
An ECMP bundle is a set of PIM-enabled interfaces on a router, where all interfaces belonging to the same bundle
share the same routing metric. The next hops for the ECMP are all one hop away. There can be one or more ECMP
bundles on any router, while one individual interface can only belong to a single bundle. ECMP bundles are created on
a router via configuration.
Downstream
Away from the root of the multicast forwarding tree. A downstream router is a router that uses an interface in the ECMP
bundle as an RPF interface for a multicast forwarding entry
When a PIM router downstream of the ECMP interfaces creates a new (*,G) or (S,G) entry, it will populate the RPF
interface and RPF neighbor information according to the rules specified by [RFC4601]. This router will send its initial
PIM Joins to that RPF neighbor. When the RPF neighbor router receives the Join message and finds that the receiving
interface is one of the ECMP interfaces, it will check if the same flow is already being forwarded out of another ECMP
interface. If so, this RPF neighbor router will send a PIM ECMPRedirect message onto the interface the Join was
received on. The PIM ECMP Redirect message contains the address of the desired RPF neighbor, an Interface ID
[RFC6395], and the other parameters used as tiebreakers. In essence, a PIM ECMP Redirect message is sent by an
upstream router to notify downstream routers to redirect PIM Joins to the new RPF neighbor via a different interface.
When the downstream routers receive this message, they SHOULD trigger PIM Joins toward the new RPF neighbor
specified in the packet.
This PIM ECMP Redirect message has similar functions as the existing PIM Assert message:
• It is sent by an upstream router.
ECMP Redirect
ECMP Redirects are sent by an upstream router under either of the following conditions:
• It detects a PIM Join on a non-desired outgoing interface.
• It detects multicast traffic on a non-desired outgoing interface.
In both cases, an ECMP Redirect is sent to the non-desired interface. An outgoing interface is considered non-desired
when:
• The upstream router is already forwarding the same flow out of another interface belonging to the same ECMP
bundle.
• The upstream router is not yet forwarding the flow out any interfaces of the ECMP bundle, but there is another
interface with more desired attributes.
Receiving ECMP Redirect
When a downstream router receives an ECMP Redirect, and detects that the desired RPF path from its upstream
router's point of view is different from its current one, it should choose to join the newly suggested path and prune from
the current path.
If a downstream router receives multiple ECMP Redirects sent by different upstream routers, it SHOULD use the
Preference, Metric, or other fields as specified below as the tiebreakers to choose the most preferred RPF interface
and neighbor. The tie-break procedure is the same as that used in PIM Assert processing described by [RFC4601].
If an upstream router receives an ECMP Redirect, it SHOULD NOT change its forwarding behavior even if the ECMP
Redirect makes it a less preferred RPF neighbor on the receiving interface.
PIM-ECMP Configuration
This section provides the configuration steps for configuring PIM ECMP Redirect and examples for a relevant scenario.
Note: Configure PIM SM on the routers. For steps to configure PIM-SM refer to Chapter 4, PIM Sparse Mode
Configuration
Topology
In this network topology, the source address is 172.31.1.52 and the group address is set to 224.0.1.3.
Validation
#show running-config
!
ip multicast-routing
!
Validation
Validation 1
Enter the commands listed in this section to confirm the previous configurations.
router_1#show running-config interface eth2
interface eth2
ip address 192.168.1.57/24
no shutdown
ip ospf cost 10
ip pim bind ecmp-bundle ecmpbundle
ip pim sparse-mode
lldp-agent
no dcbx enable
exit
Validation 2
The following output displays the bundle information:
router_1#show ip pim ecmp-bundle
Name : ecmpbundle1
Interface : <ECMP REDIRECT status>
eth2 : allowed
eth3 : allowed
Validation 3
The following output displays the interface details:
router_1#show ip pim interface detail
eth1 (vif 0):
Address 192.168.10.57, Mode: Sparse
DR 192.168.10.57, DR's priority: 1
Hello period 30 seconds, Next Hello in 22 seconds
Triggered Hello period 5 seconds
PIM GenID sent in Hellos: 56e71c93
Propagation delay is 1000 milli-seconds
Interface ID: Router-ID:1.1.1.1 Local-ID 3
Neighbors:
192.168.10.52
PIM neighbor count: 1
PIM neighbor holdtime: 105
PIM configured DR priority: 1
PIM border interface: no
Validation 1:
Initially router_1 sends the (*, G) to Router_2 IF-2, as Router_2 IF-2 is RIB indicated RPF neighbor.The RIB indicated
RPF neighbor can be checked using command show ip rpf
router_1#show ip rpf 172.31.5.153
RPF information for 172.31.5.153
RPF interface: eth3
RPF neighbor: 192.168.11.152
RPF route: 172.31.5.0/24
RPF type: unicast (ospf)
RPF recursion count: 0
Doing distance-preferred lookups across tables
Distance: 110
Metric: 30
Validation 2:
The show ip pim mroute command displays the IP multicast routing table. In this table, the following fields are
defined:
RPF nbr Displays the unicast next-hop to reach RP. and mask length.
RPF idx Displays the incoming interface for this (*, G) state.
RP Displays the IP address for the RP router
B Displays the bidirectional PIM mode
The leading dots....
(*,*,RP) Entries: 0
(*,G) Entries: 1
(S,G) Entries: 0
(S,G,rpt) Entries: 0
FCR Entries: 0
(*, 224.1.1.1)
RP: 172.31.5.153
RPF nbr: 192.168.1.152
RPF idx: eth2
Upstream State: JOINED
Local i...............................
Joined ................................
Asserted ................................
FCR:
0
The below output displays (*,G) at router_2 IF-1 using the command show ip pim mroute detail:
router_2#show ip pim mroute detail
IP Multicast Routing Table
(*,*,RP) Entries: 0
(*,G) Entries: 1
(S,G) Entries: 0
(S,G,rpt) Entries: 0
FCR Entries: 0
Router-1 Config
(config)#bridge 1 protocol ieee vlan-bridge Create VLAN bridge
(config)#vlan database Enter VLAN database
(config)#ip multicast-routing Enable multi cast routing
(config)#ip pim ecmp-bundle redirect Configure PIM ECMP Bundle
(config-if)#interface ce2 Enter the interface mode
(config-if)#ip address 50.1.1.2/24 Configure IPv4 address
(config-if)#ip pim bind ecmp-bundle redirect Bind ECMP bundle group
(config-if)#ip pim sparse-mode Configure multi cast sparse mode
Interface xe16
(config-if)#interface xe16 Enter the interface mode
(config-if)#speed 10g Configure interface speed same as peer interface
(config-if)#ip address 10.1.1.2/24 Configure IPv4 address
(config-if)#ip pim bind ecmp-bundle redirect Bind ECMP bundle group
(config-if)#ip pim sparse-mode Configure multi cast sparse mode
interface xe17
(config-if)#interface xe17 Enter the interface mode
(config-if)#speed 10g Configure interface speed same as peer interface
(config-if)#ip address 20.1.1.2/24 Configure IPv4 address
(config-if)#ip pim bind ecmp-bundle redirect Bind ECMP bundle group
(config-if)#ip pim sparse-mode Configure multi cast sparse mode
(config-if)#router ospf 1 Configure OSPF
(config-if)#ospf router-id 3.3.3.3 Configure OSPF router id
(config-if)#network 3.3.3.3/32 area 0.0.0.0 Configure OSPF network id
(config-if)#network 10.1.1.0/24 area 0.0.0.0 Configure OSPF network id
(config-if)#network 20.1.1.0/24 area 0.0.0.0 Configure OSPF network id
(config-if)#network 50.1.1.0/24 area 0.0.0.0 Configure OSPF network id
Router-2 Config
(config)#bridge 1 protocol ieee vlan-bridge Create VLAN bridge
(config)#vlan database Enter VLAN database
(config)#ip multicast-routing Enable multi cast routing
(config)#ip pim ecmp-bundle redirect Configure PIM ECMP Bundle
(config-if)#interface ce2 Enter the interface mode
Interface xe16
(config-if)#interface xe16 Enter the interface mode
(config-if)#speed 10g Configure interface speed same as peer interface
(config-if)#ip address 10.1.1.2/24 Configure IPv4 address
(config-if)#ip pim bind ecmp-bundle redirect Bind ECMP bundle group
(config-if)#ip pim sparse-mode Configure multi cast sparse mode
Interface xe17
(config-if)#interface xe17 Enter the interface mode
(config-if)#speed 10g Configure interface speed same as peer interface
(config-if)#ip address 20.1.1.2/24 Configure IPv4 address
(config-if)#ip pim bind ecmp-bundle redirect Bind ECMP bundle group
(config-if)#ip pim sparse-mode Configure multi cast sparse mode
(config-if)#router ospf 1 Configure OSPF
(config-if)#ospf router-id 3.3.3.3 Configure OSPF router id
(config-if)#network 3.3.3.3/32 area 0.0.0.0 Configure OSPF network id
(config-if)#network 10.1.1.0/24 area 0.0.0.0 Configure OSPF network id
(config-if)#network 20.1.1.0/24 area 0.0.0.0 Configure OSPF network id
(config-if)#network 50.1.1.0/24 area 0.0.0.0 Configure OSPF network id
Router-3 Config
(config)#bridge 1 protocol ieee vlan-bridge Create VLAN bridge
(config)#vlan database Enter VLAN database
(config)#ip multicast-routing Enable multi cast routing
(config)#ip pim ecmp-bundle redirect Configure PIM ECMP Bundle
(config-if)#interface ce2 Enter the interface mode
(config-if)#ip address 50.1.1.2/24 Configure IPv4 address
(config-if)#ip pim bind ecmp-bundle redirect Bind ECMP bundle group
(config-if)#ip pim sparse-mode Configure multi cast sparse mode
Interface xe16
(config-if)#interface xe16 Enter the interface mode
(config-if)#speed 10g Configure interface speed same as peer interface
(config-if)#ip address 10.1.1.2/24 Configure IPv4 address
(config-if)#ip pim bind ecmp-bundle redirect Bind ECMP bundle group
(config-if)#ip pim sparse-mode Configure multi cast sparse mode
Interface xe17
(config-if)#interface xe17 Enter the interface mode
(config-if)#speed 10g Configure interface speed same as peer interface
(config-if)#ip address 20.1.1.2/24 Configure IPv4 address
(config-if)#ip pim bind ecmp-bundle redirect Bind ECMP bundle group
(config-if)#ip pim sparse-mode Configure multi cast sparse mode
(config-if)#router ospf 1 Configure OSPF
(config-if)#ospf router-id 3.3.3.3 Configure OSPF router id
(config-if)#network 3.3.3.3/32 area 0.0.0.0 Configure OSPF network id
(config-if)#network 10.1.1.0/24 area 0.0.0.0 Configure OSPF network id
(config-if)#network 20.1.1.0/24 area 0.0.0.0 Configure OSPF network id
(config-if)#network 50.1.1.0/24 area 0.0.0.0 Configure OSPF network id
Validation-1
The following output displays the bundle information.
OcNOS#show ip pim ecmp-bundle
Name : redirect
Interface : <ECMP REDIRECT status>
ce2 : allowed
xe16 : allowed
xe17 : allowed
Validation-2
The following output displays the interface details.
OcNOS#show ip pim ecmp-bundle
Name : redirect
Interface : <ECMP REDIRECT status>
ce2 : allowed
xe16 : allowed
xe17 : allowed
OcNOS#show ip pim interface detail
ce2 (vif 0):
Address 50.1.1.2, Mode: Sparse
DR 50.1.1.2, DR's priority: 1
Hello period 30 seconds, Next Hello in 12 seconds
Triggered Hello period 5 seconds
PIM GenID sent in Hellos: 7b030d86
Propagation delay is 500 milli-seconds
Validation-3
Initially router_1 sends the (*, G) to Router_2 IF-2, as Router_2 IF-2 is RIB indicated RPF neighbor. The RIB indicated
RPF neighbor can be checked using command show ip rpf
IP Multi cast Routing Table for ECMP Redirect
OcNOS#show ipv6 mroute
(*,*,RP) Entries: 0
G/prefix Entries: 0
(*,G) Entries: 0
(S,G) Entries: 1
(S,G,rpt) Entries: 1
FCR Entries: 0
(5001::2, ff06::1)
RPF nbr: fe80::eac5:7aff:fe0a:8533
RPF idx: xe34
SPT bit: 1
Upstream State: JOINED
Local ................................
Joined j...............................
Asserted ................................
Outgoing o...............................
(239.1.1.2::1, rpt)
RP: ::
RPF nbr: ::
RPF idx: None
Upstream State: RPT NOT JOINED
Local ................................
Pruned ................................
Outgoing ................................
Router-1 Config
(config)#bridge 1 protocol ieee vlan-bridge Create VLAN bridge
(config)#vlan database Enter VLAN database
(config-vlan)vlan 10 bridge 1 state enable Configure VLAN
(config-vlan)vlan 20 bridge 1 state enable Configure VLAN
(config-vlan)vlan 50 bridge 1 state enable Configure VLAN
(config)#ipv6 multicast-routing Enable IPv6 multi cast routing
(config)#ipv6 pim ecmp-bundle redirect Create ECMP bundle group
(config)#ipv6 pim ecmp-bundle redirect Configure multi cast sparse mode
(config-if)interface vlan1.10 Enter VLAN interface mode
(config-if)ipv6 address 7001::1/64 Configure IPv6 interface
(config-if)ipv6 router ospf area 0.0.0.0 tag Configure ipv6 OSPF area and instance id
100 instance-id 0
(config-if)ipv6 mld version 2 Create MLD version
(config-if)ipv6 pim bind ecmp-bundle Bind CECMP bundle group
redirect
(config-if)ipv6 pim sparse-mode Configure IPv6 PIM sparse mode
(config-if)interface vlan1.20 Enter the VLAN interface mode
(config-if)ipv6 address 4001::2/64 Configure IPv6 interface
(config-if)ipv6 router ospf area 0.0.0.0 tag Configure IPv6 OSPF area and instance id
100 instance-id 0
(config-if)ipv6 mld version 2 Create MLD version
(config-if)ipv6 pim bind ecmp-bundle Bind ECMP bundle group
redirect
(config-if)ipv6 pim sparse-mode Configure IPv6 pim sparse mode
(config-if)interface vlan1.50 Enter VLAN interface mode
(config)ipv6 address 5001::1/64 Configure IPv6 interface
(config)ipv6 router ospf area 0.0.0.0 tag Configure ipv6 OSPF area and instance id
100 instance-id 0
(config)ipv6 mld version 2 ipv6 pim bind Bind CECMP bundle group
ecmp-bundle redirect
Router-2 Config
(config)#bridge 1 protocol ieee vlan-bridge Create VLAN bridge
(config)#vlan database Enter VLAN database
(config-vlan)vlan 10 bridge 1 state enable Configure VLAN
(config-vlan)vlan 20 bridge 1 state enable Configure VLAN
(config-vlan)vlan 50 bridge 1 state enable Configure VLAN
(config)#ipv6 multicast-routing Enable IPv6 multi cast routing
(config)#ipv6 pim ecmp-bundle redirect Create ECMP bundle group
(config-if)interface vlan1.10 Enter VLAN interface mode
(config-if)ipv6 address 7001::1/64 Configure IPv6 interface
(config-if)ipv6 router ospf area 0.0.0.0 tag Configure ipv6 OSPF area and instance id
100 instance-id 0
(config-if)ipv6 mld version 2 Create MLD version
(config-if)ipv6 pim bind ecmp-bundle Bind CECMP bundle group
redirect
(config-if)ipv6 pim sparse-mode Configure IPv6 PIM sparse mode
(config-if)interface vlan1.20 Enter the VLAN interface mode
(config-if)ipv6 address 4001::2/64 Configure IPv6 interface
(config-if)ipv6 router ospf area 0.0.0.0 tag Configure IPv6 OSPF area and instance id
100 instance-id 0
(config-if)ipv6 mld version 2 Create MLD version
(config-if)ipv6 pim bind ecmp-bundle Bind ECMP bundle group
redirect
(config-if)ipv6 pim sparse-mode Configure IPv6 pim sparse mode
(config-if)interface vlan1.50 Enter VLAN interface mode
(config)ipv6 address 5001::1/64 Configure IPv6 interface
(config)ipv6 router ospf area 0.0.0.0 tag Configure ipv6 OSPF area and instance id
100 instance-id 0
(config)ipv6 mld version 2 ipv6 pim bind Bind CECMP bundle group
ecmp-bundle redirect
Router-3 Config
(config)#bridge 1 protocol ieee vlan-bridge Create VLAN bridge
(config)#vlan database Enter VLAN database
(config-vlan)vlan 10 bridge 1 state enable Configure VLAN
(config-vlan)vlan 20 bridge 1 state enable Configure VLAN
(config-vlan)vlan 50 bridge 1 state enable Configure VLAN
(config)#ipv6 multicast-routing Enable IPv6 multi cast routing
(config)#ipv6 pim ecmp-bundle redirect Create ECMP bundle group
(config-if)interface vlan1.10 Enter VLAN interface mode
(config-if)ipv6 address 7001::1/64 Configure IPv6 interface
(config-if)ipv6 router ospf area 0.0.0.0 tag Configure ipv6 OSPF area and instance id
100 instance-id 0
(config-if)ipv6 mld version 2 Create MLD version
(config-if)ipv6 pim bind ecmp-bundle Bind CECMP bundle group
redirect
(config-if)ipv6 pim sparse-mode Configure IPv6 PIM sparse mode
(config-if)interface vlan1.20 Enter the VLAN interface mode
(config-if)ipv6 address 4001::2/64 Configure IPv6 interface
(config-if)ipv6 router ospf area 0.0.0.0 tag Configure IPv6 OSPF area and instance id
100 instance-id 0
(config-if)ipv6 mld version 2 Create MLD version
(config-if)ipv6 pim bind ecmp-bundle Bind ECMP bundle group
redirect
(config-if)ipv6 pim sparse-mode Configure IPv6 pim sparse mode
(config-if)interface vlan1.50 Enter VLAN interface mode
(config)ipv6 address 5001::1/64 Configure IPv6 interface
(config)ipv6 router ospf area 0.0.0.0 tag Configure ipv6 OSPF area and instance id
100 instance-id 0
(config)ipv6 mld version 2 ipv6 pim bind Bind CECMP bundle group
ecmp-bundle redirect
Validation-1
Enter the commands listed in this section to confirm the previous configurations.
show running-config interface
interface vlan1.10
ipv6 address 7001::1/64
ipv6 router ospf area 0.0.0.0 tag 100 instance-id 0
ipv6 mld version 2
ipv6 pim bind ecmp-bundle redirect
ipv6 pim sparse-mode
!
interface vlan1.20
ipv6 address 4001::2/64
ipv6 router ospf area 0.0.0.0 tag 100 instance-id 0
ipv6 mld version 2
ipv6 pim bind ecmp-bundle redirect
ipv6 pim sparse-mode
Validation 2
The following output displays the bundle information.
show ipv6 pim ecmp-bundle
Name : redirect
Interface : <ECMP REDIRECT status>
vlan1.50 : allowed
vlan1.20 : allowed
vlan1.10 : allowed
Validation 3
The following output displays the interface details.
show ipv6 pim interface detail
vlan1.10 (vif 3):
Address fe80::eac5:7aff:fe25:f131, Mode: Sparse
DR fe80::eac5:7aff:fe25:f131, DR's priority: 1
Hello period 30 seconds, Next Hello in 13 seconds
Triggered Hello period 5 seconds
PIM GenID sent in Hellos: 1eddc141
Propagation delay is 500 milli-seconds
Interface ID: Router-ID:0.0.0.0 Local-ID 10059
ECMP REDIRECT, bundle : redirect, status : allowed
Secondary addresses:
7001::1
Neighbors:
fe80::36ef:b6ff:fe94:3db4
PIM neighbor count: 1
PIM neighbor holdtime: 105
PIM configured DR priority: 1
PIM border interface: no
PIM Neighbor policy: not configured
Validation 4
Initially router_1 sends the (*, G) to Router_2 IF-2, as Router_2 IF-2 is RIB indicated RPF neighbor.The RIB indicated
RPF neighbor can be checked using command show ip rpf
show ipv6 rpf 4001::2
RPF information for 4001::2
RPF interface: vlan1.20
RPF neighbor: ::
RPF route: 4001::/64
RPF type: unicast (connected)
RPF recursion count: 0
Doing distance-preferred lookups across tables
Distance: 0
Metric: 0
Overview
MSDP routers in a PIM-SM domain have a MSDP peering relationship with MSDP peers in another domain using a
TCP connection. MSDP peering is the first step towards exchanging inter-domain multicast source information using
MSDP SA (Source-Active) messages.
When an RP in a PIM-SM domain first learns of a new sender (via PIM register messages), it constructs an SA
message and sends it to its MSDP peers.
All RPs which intend to originate or receive SA messages must establish MSDP peering with other RPs, either directly
or via an intermediate MSDP peer.
An SA message contains these fields:
• Source address of the data source
• Group address the data source sends to
• IP address of the RP
Each SA message received from a MSDP peer goes through an RPF check. The peer-RPF check compares the RP
address carried in the SA message with the MSDP peer from which the message was received:
• If the MSDP peer receives an SA from a non-RPF peer towards the originating RP, it drops the message.
• Otherwise, it forwards the message to all its MSDP peers (except the one from which it received the SA message).
When an RP receives a new SA message from a peer in another domain, it checks if there are any receivers interested
in the traffic. An RP checks for a (*, G) entry with a non-empty outgoing list. If the outgoing list is non-empty, the RP
sends a (S,G) join towards the source.
Caching SA state
If a member joins a group soon after a SA message is received by the local RP, that member needs to wait until the
next SA message to learn about the source. MSDP SA caching is done at MSDP peers to reduce join latency for new
receivers. The SA cache is populated as soon an MSDP peer receives a SA message from its peer.
Configure PIM-SM
For the MSDP topology in Figure 8-9, you must enable PIM-SM on all the routers in both PIM domains and make RTR-
1 a rendezvous point (RP) in Domain-1 and RTR-2 an RP in Domain-2. For the steps to configure PIM-SM and RPs,
see Chapter 4, PIM Sparse Mode Configuration.
Configure MSDP
In the topology in Figure 8-9, an MSDP session is established between RTR-1 and RTR-2 in both domains. The
following sample configuration on RTR-1 shows how to enable MSDP peering between RTR-1 and RTR-2.
Topology
RTR-1
Validation
RTR-1
#show running-config
!
!Last configuration change at 06:54:59 EDT Tue May 28 2019 by ocnos
!
no service password-encryption
!
hostname RTR1
!
logging monitor 7
!
ip vrf management
!
ip domain-lookup
feature telnet
ssh login-attempts 0
ssh server port 39681568
no feature ssh
snmp-server enable snmp
snmp-server view all .1 included
feature ntp
ntp enable
username ocnos role network-admin password encrypted $1$wOL9u7T.$YENa7qmmtL3zWMXKBWSKw/
feature rsyslog
Keepalive sent: 1
Keepalive received: 1
Number of connect retries: 0
In the MSDP topology in Figure 8-9, when a source sends multicast traffic for group 224.1.1.1, RTR-4 (the DR) sends a
register packet towards RTR-2 which is the RP in the domain. RTR-2 receives the register packet and sends an MSDP
SA message to its MSDP peer (RTR-1). RTR-1 receives the SA message and creates an entry in the SA cache
containing the source, group, and RP information.
This command at RTR-1 shows the SA information with source address, group address, and RP address:
#show ip msdp sa-cache
MSDP Source-Active Cache - 1 entries
(20.1.1.11, 224.1.1.1), RP 12.1.1.12, 00:00:14/00:03:16
#
RTR-3 receives an IGMP join for group 224.1.1.1 and joins the shared tree path toward the RP (RTR-1).
When RTR-1 receives an SA message from RTR-2, because it has a receiver, it sends an (S,G) join towards the
source. Now traffic from the source is received at RTR-1 via the shortest path tree formed between RTR-1 and the
source. RTR-1 distributes traffic downstream towards the receiver.
This command shows the PIM state at RTR-1 upon receiving an SA message and joining towards the source:
#show ip pim mroute
IP Multicast Routing Table
(*,*,RP) Entries: 0
(*,G) Entries: 1
(S,G) Entries: 1
(S,G,rpt) Entries: 1
FCR Entries: 0
(*, 224.1.1.1)
RP: 10.1.1.11
RPF nbr: 0.0.0.0
RPF idx: None
Upstream State: JOINED
Local ................................
Joined ..j.............................
Asserted ................................
FCR:
(20.1.1.10, 224.1.1.1)
RPF nbr: 0.0.0.0
RPF idx: None
SPT bit: 0
Upstream State: JOINED
Local ................................
Joined ................................
Asserted ................................
Outgoing ..o.............................
RP: 10.1.1.11
RPF nbr: 0.0.0.0
RPF idx: None
Upstream State: NOT PRUNED
--More-- Local ................................
Pruned ................................
Outgoing ..o.............................
RTR-2
#show running-config
!
!Last configuration change at 13:58:59 EDT Mon May 27 2019 by ocnos
!
no service password-encryption
!
hostname RTR2
!
logging monitor 7
!
ip vrf management
!
ip domain-lookup
feature telnet
no feature ssh
snmp-server enable snmp
snmp-server view all .1 included
feature ntp
ntp enable
username ocnos role network-admin password encrypted $1$wOL9u7T.$YENa7qmmtL3zWMXKBWSKw/
feature rsyslog
ip msdp peer 11.1.1.11
ip msdp default-peer 11.1.1.11
ip msdp mesh-group mesh1 11.1.1.11
ip msdp password myPass peer 11.1.1.11
ip msdp originator-id eth2
!
ip multicast-routing
!
ip pim bsr-candidate eth2
ip pim rp-candidate eth2
!
interface lo
ip address 127.0.0.1/8
RTR-3
#show running-config
!
!Last configuration change at 14:07:38 EDT Mon May 27 2019 by ocnos
!
no service password-encryption
!
hostname RTR3
!
logging monitor 7
!
ip vrf management
!
ip domain-lookup
feature telnet
ssh login-attempts 0
ssh server port 40574496
no feature ssh
snmp-server enable snmp
snmp-server view all .1 included
feature ntp
ntp enable
username ocnos role network-admin password encrypted $1$wOL9u7T.$YENa7qmmtL3zWMXKBWSKw/
feature rsyslog
!
ip multicast-routing
!
ip pim rp-address 10.1.1.11
!
interface lo
ip address 127.0.0.1/8
ipv6 address ::1/128
mtu 65536
!
interface eth0
--More-- ip address 192.168.52.6/24
!
interface eth1
ip address 13.1.1.13/24
ip pim sparse-mode
!
interface eth2
ip address 10.1.1.13/24
ip pim sparse-mode
!
interface eth3
shutdown
!
interface eth4
shutdown
!
router ospf 100
network 10.1.1.0/24 area 0.0.0.0
cspf disable-better-protection
!
line con 0
login
line vty 0 39
login
!
end
RTR-4
#show running-config
!
!Last configuration change at 13:57:34 EDT Mon May 27 2019 by ocnos
!
no service password-encryption
!
hostname RTR4
!
logging monitor 7
!
ip vrf management
!
ip domain-lookup
feature telnet
ssh login-attempts 0
ssh server port 20761744
no feature ssh
snmp-server enable snmp
snmp-server view all .1 included
feature ntp
ntp enable
username ocnos role network-admin password encrypted $1$ypBh3Wo/$4Fq/DbkFF/UWeA7YnTYMm1
feature rsyslog
!
ip multicast-routing
!
interface lo
ip address 127.0.0.1/8
ipv6 address ::1/128
mtu 65536
!
interface eth0
ip address 192.168.52.5/24
!
--More-- interface eth1
ip address 20.1.1.14/24
ip pim sparse-mode
!
interface eth2
ip address 12.1.1.14/24
ip pim sparse-mode
!
interface eth3
shutdown
!
router ospf 200
network 12.1.1.0/24 area 0.0.0.0
cspf disable-better-protection
!
line con 0
login
line vty 0 39
login
!
end
PIM is a multicast routing protocol which uses Hello messages to detect adjacent node failure. This mechanism is very
slow and leads to control plane overhead when interval between hello messages is set to minimum.
BFD is a protocol designed to detect link failures superfast, routing protocols such as OSPF, ISIS uses BFD to get link
failure notification.
BFD detects the link failure immediately after the original DR fails and triggers new DR election. The BFD protocol uses
control packets and shorter detection time limits to more rapidly detect failures in a network.
Topology
PIM-BFD Configuration
This document captures requirements to use BFD with PIM IPv4 and IPv6 to detect adjacent neighbor reachability
failure.
ROUTER2
ROUTER3
ROUTER4
SWITCH
ROUTER5
Validation
ROUTER2
#sh ipv6 pim neighbor
ROUTER3
#sh ipv6 pim neighbor
Number of Sessions: 4
ROUTER4
#sh ipv6 pim neighbor
Single Hop 8 8 Up
Number of Sessions: 4
ROUTER5
#sh ipv6 pim neighbor
Number of Sessions: 2
After Shutdown
#sh bfd session
Number of Sessions: 0
Overview
PIM Source-Specific Multicast (SSM) is a multicast routing protocol that enhances the efficiency and security of
multicast communication by enabling hosts to receive multicast traffic directly from specific sources. Here’s a detailed
overview of how PIM SSM operates using a subset of PIM sparse mode and IGMPv3/MLDv2:
SSM utilizes PIM sparse mode (PIM-SM) to create a Shortest Path Tree (SPT) directly between multicast sources and
receivers. Hosts signal their interest using IGMPv3 (IPv4) or MLDv2 (IPv6), specifying the source IP address to join
multicast groups without requiring a Rendezvous Point (RP). This direct communication approach optimizes multicast
efficiency by bypassing the RP and establishing efficient data paths tailored to specific source-receiver relationships,
enhancing network performance and security in multicast environments.
PIM Source-Specific Multicast (SSM) thus enhances multicast communication by streamlining the process of delivering
multicast traffic directly from sources to receivers, leveraging existing multicast protocols and minimizing network
complexity.
Feature Characteristics
PIM SSM enables hosts to specify source IP addresses when joining multicast groups, facilitating direct communication
paths and eliminating the need for a Rendezvous Point (RP). It leverages PIM sparse mode to establish efficient
Shortest Path Trees (SPTs) between sources and receivers, ensuring optimized multicast traffic delivery. Hosts use
IGMPv3 (IPv4) and MLDv2 (IPv6) for precise membership management, enhancing network security and efficiency by
reducing unnecessary traffic and simplifying configuration. SSM supports scalable deployment alongside existing
multicast infrastructure, promoting interoperability and streamlined network administration while optimizing resource
utilization and improving overall network reliability.
Benefits
The benefits of PIM SSM:
• Efficient Multicast Traffic Handling
• Optimized Resource Utilization
• Enhanced Security
• Simplified Configuration and Management
• Scalability and Compatibility
• Improved Network Performance
• Support for Diverse Applications.
PIM-SSM Configuration
The required steps to configure PIM-SSM are the following:
• Enable IP multicast on each PIM router (see Enabling IP Multicast Routing)
• Enable PIM-SM on the desired interfaces (see Enable PIM-SM on an Interface)
Topology
The following figure displays the network topology used in these examples.
Configuration
Enable IP Multicast Routing on all Routers
Enable IP multicast routing on all of the PIM-SSM routers inside the PIM domain:
RouterA#configure terminal
RouterA(config)#ip multicast-routing
RouterA(config)#ipv6 multicast-routing
(config)#commit
RouterA(config)#interface eth1
RouterA(config-if)#ip address 10.1.1.1/24
RouterA(config-if)#ipv6 address 001::1/64
RouterA(config-if)#ip pim sparse-mode
RouterA(config-if)#ipv6 pim sparse-mode
RouterA(config-if)#ip igmp version 3
RouterA(config-if)#ipv6 mld version 2
RouterA(config-if)#commit
RouterA(config)#interface eth2
RouterA(config-if)#ip address 100.1.1.1/24
RouterA(config-if)#ipv6 address 2001::1/24
RouterA(config-if)#ip pim sparse-mode
RouterA(config-if)#ipv6 pim sparse-mode
RouterA(config-if)#ip igmp version 3
RouterA(config-if)#ipv6 mld version 2
RouterA(config-if)#commit
RouterB(config)#interface eth2
RouterB(config-if)#ip address 10.1.1.2/24
RouterB(config-if)#ipv6 address 3001::2/64
RouterB(config-if)#ip pim sparse-mode
RouterB(config-if)#ipv6 pim sparse-mode
RouterB(config-if)#ip igmp version 3
RouterC(config)#interface eth2
RouterC(config-if)#ip address 11.1.1.2/24
RouterC(config-if)#ipv6 address 4001::2/64
RouterC(config-if)#ip pim sparse-mode
RouterC(config-if)#ipv6 pim sparse-mode
RouterC(config-if)#ip igmp version 3
RouterC(config-if)#ipv6 mld version 2
RouterC(config-if)#exit
RouterC(config)#interface eth1
RouterC(config-if)#ip address 101.1.1.1/24
RouterC(config-if)#ipv6 address 5001::1/24
RouterC(config-if)#ip pim sparse-mode
RouterC(config-if)#ipv6 pim sparse-mode
RouterC(config-if)#ip igmp version 3
RouterC(config-if)#ipv6 mld version 2
RouterC(config-if)#commit
RouterC(config-if)#exit
Validation
Enter the commands listed in this section to confirm the previous configurations.
Interface Details
The show ip pim interface command displays the interface details for Router_C, and shows that Router_C is the
Designated Router on Subnet 1.
(*,*,RP) Entries: 0
G/prefix Entries: 0
(*,G) Entries: 0
(S,G) Entries: 1
(S,G,rpt) Entries: 1
FCR Entries: 0
(101.1.1.2, 239.1.1.1)
RPF nbr: 10.1.1.2
RPF idx: xe14
SPT bit: 1
Upstream State: JOINED
Local ..i.............................
Joined ................................
Asserted ................................
Outgoing ..o.............................
(*,*,RP) Entries: 0
G/prefix Entries: 0
(*,G) Entries: 0
(S,G) Entries: 1
(S,G,rpt) Entries: 1
FCR Entries: 0
(5001::2, ff06::2)
RPF nbr: fe80::36ef:b6ff:fe94:3ddd
RPF idx: xe14
SPT bit: 0
Upstream State: JOINED
Local ..i.............................
Joined ................................
Asserted ................................
Outgoing ..o.............................
The ip igmp group detail and ipv6 mld group detail shows the source included (SSM)
Overview
Protocol Independent Multicast Sparse Mode-Dense Mode (PIM-SMDM) is a protocol designed to manage both sparse
and dense multicast groups, efficiently handling varying multicast distribution patterns. In dense mode, it assumes
listeners on all subnetworks, initially flooding the network and then pruning back areas without listeners. In sparse
mode, it assumes few listeners and forwards traffic only to known listeners, reducing unnecessary transmission. PIM-
SMDM switches between modes based on the multicast group's status, treating interfaces accordingly. A group is
sparse if the router knows about a Rendezvous Point (RP) for it. Its adaptability makes it a versatile solution for diverse
network scenarios.
Feature Characteristics
Protocol Independent Multicast Sparse Mode-Dense Mode (PIM-SMDM) manages both sparse and dense multicast
groups, seamlessly switching modes based on the group's status. In dense mode, it floods the network with multicast
traffic and prunes areas without listeners. In sparse mode, it forwards traffic only to known listeners, reducing
unnecessary data transmission. The protocol treats interfaces as dense or sparse based on the group's mode,
considering a group sparse if a Rendezvous Point (RP) is known. PIM-SMDM efficiently distributes multicast streams,
optimizes network resources, and adapts to different multicast group modes, making it suitable for diverse network
scenarios.
Benefits
• Manages both sparse and dense multicast groups simultaneously, making it adaptable to various network
scenarios.
• Seamlessly switches between dense and sparse modes based on the multicast group's status, ensuring efficient
distribution of multicast streams.
• Reduces unnecessary data transmission in sparse mode by forwarding traffic only to known listeners, optimizing
the use of network resources.
• Can handle networks of different sizes and complexities, adapting to the number of listeners and the multicast
group's distribution patterns.
• By pruning areas without listeners in dense mode and reducing traffic in sparse mode, PIM-SMDM enhances
overall network performance and minimizes congestion.
• Treats interfaces as dense or sparse based on the group's mode, dynamically adapting to the network's current
multicast requirements.
• Utilizes Rendezvous Points (RPs) in sparse mode for efficient centralized management of multicast sources and
receivers.
• Suitable for a wide range of applications, from small-scale deployments to large, complex networks with varying
multicast distribution needs.
Configuration
The required steps to configure PIM-SMDM are the following:
Topology
There are two topologies for this sparse-dense mode configuration. Understanding these modes helps network
administrators select the best multicast strategy for their network, ensuring efficient and reliable traffic delivery.
Sparse Mode
The network topology in Figure 11-12, includes several routers and hosts within a multicast network. Key components
are Router_C, the Rendezvous Point (RP), and Host_1 and Host_2, which join a multicast group. Subnet 1 connects
Host_1, Host_2, Router_E, and Router_F, with the latter two managing multicast traffic on the subnet.
Dense-mode
In the network topology shown in Figure 11-13, Source_1 (10.10.1.52) sends multicast data to group address
224.0.1.3. Host_1 shows interest in this group by sending an IGMP membership report, which Router_C processes to
associate its eth1 interface with the group. As data packets flow from Source_1, each router creates an (S,G) entry in
its multicast routing table. Router_C forwards the packets through eth1 to Host_1 and, having a downstream receiver,
does not send a prune message to its upstream neighbor, Router_E, ensuring continuous delivery of multicast traffic to
interested hosts.
RouterC#configure terminal
RouterC(config)#ip multicast-routing
RouterC(config)#commit
Enabling PIM-SMDM
Enable PIM-SMDM on all participating interfaces within each of routers (Router_A, Router_B, and Router_C) inside the
PIM domain on which you want to run PIM. In the following sample configuration, both eth1 and eth2 are enabled for
PIM-SMDM on the router (Router_C).
RouterC(config)#interface eth1
RouterC(config-if)#ip pim sparse-dense-mode
RouterC(config-if)#commit
RouterC(config-if)#exit
RouterC(config)#interface eth2
RouterC(config-if)#ip pim sparse-dense-mode
RouterC(config-if)#commit
RouterC(config-if)#exit
RouterB
Here is the sample configuration for RouterB:
hostname RouterB
!
ip multicast-routing
!
interface eth1
ip pim sparse-dense-mode
!
interface eth2
ip pim sparse-dense-mode
!
exit
!
RouterC
Here is the sample configuration for RouterC:
hostname RouterC
!
ip multicast-routing
!
interface eth1
ip pim sparse-dense-mode
!
interface eth2
ip pim sparse-dense-mode
!
exit
!
Validation
The show ip pim interface command displays the interface details for Router_C.
Router_C#show ip pim interface
• Router_A:
• Interface eth1 connects to eth2 of Router_B with IP address 10.10.3.9.
• Interface eth2 connects to Source_1.
• Router_B:
• Interface eth1 connects to eth2 of Router_Awith IP address10.10.3.4.
• Interface eth2 connects to eth1 of Router_C with IP address 10.10.5.4.
• Router_C:
• Interface eth1 connects to eth2 of Router_Bwith IP address10.10.5.4.
• Interface eth2 connects to eth1 of Router_D with IP address 10.10.5.5 and 10.10.1.5/24 network.
• Router_D:
• Interface eth1 connects to eth2 of Router_C with IP address 10.10.1.2/24.
• Interface eth2 connects to eth1 of Router_E with IP address 172.16.1.2/24.
• Router_E:
• Interface eth1 connects to eth2 of Router_D with IP address 172.16.1.2/24.
• Interface eth2 connects to eth1 of Router_F with IP address 172.16.1.10/24.
• Interface eth1 connects to Host_1 via IGMP with IP address 192.168.1.10/24.
• Router_F:
• Interface eth1 connects to eth2 of Router_E with IP address 172.16.1.10/24.
• Interface eth1 connects to Host_2 with IP address 192.168.1.50/24.
• Host_1:
• Connected to Router_E with IP address 192.168.1.10/24.
• Host_2:
• Connected to Router_F with IP address 192.168.1.50/24.
Configure Static RP
Configure the static RP all the routers (Router_A, Router_B, Router_C, Router_D, Router_E, and Router_F) inside the
PIM-SMDM domain on which you want to run PIM-SMDM. In the following sample configuration, eth1 is enabled for
PIM-SMDM.
RouterA#configure terminal
RouterA(config)#configure eth1
RouterA(config-if)#ip pim rp-address 10.10.1.5
RouterA(config-if)#commit
RouterA(config-if)#exit
interface eth0
!
interface eth1
ip pim sparse-dense-mode
!
interface eth2
ip pim sparse-dense-mode
!
interface lo
!
!
ip multicast-routing
ip pim rp-address 10.10.1.5
!
RouterB
Here is the sample configuration for RouterB:
hostname RouterB
!
interface eth0
!
interface eth1
ip pim sparse-dense-mode
!
interface eth2
ip pim sparse-dense-mode
!
interface lo
!
!
ip multicast-routing
ip pim rp-address 10.10.1.5
!
RouterC
Here is the sample configuration for RouterC:
hostname RouterC
!
interface eth0
!
interface eth1
ip pim sparse-dense-mode
!
interface eth2
ip pim sparse-dense-mode
!
interface lo
!
!
ip multicast-routing
ip pim rp-address 10.10.1.5
!
RouterD
Here is the sample configuration for RouterD:
hostname RouterD
!
interface eth0
!
interface eth1
ip pim sparse-dense-mode
!
interface eth2
ip pim sparse-dense-mode
!
interface lo
!
!
ip multicast-routing
ip pim rp-address 10.10.1.5
!
RouterE
Here is the sample configuration for RouterE:
hostname RouterE
!
interface eth0
!
interface eth1
ip pim sparse-dense-mode
!
interface eth2
ip pim sparse-dense-mode
!
interface lo
!
!
ip multicast-routing
ip pim rp-address 10.10.1.5
!
RouterF
Here is the sample configuration for RouterF:
hostname RouterF
!
interface eth0
!
interface eth1
ip pim sparse-dense-mode
!
interface eth2
ip pim sparse-dense-mode
!
interface lo
!
!
ip multicast-routing
ip pim rp-address 10.10.1.5
!
Validation
RP Details
At Router_D, the show ip pim rp mapping command shows that 10.10.1.5 is the RP for all multicast groups
224.0.0.0/4, and is statically configured. All other routers will have a similar output:
Router_D#show ip pim rp mapping
PIM Group-to-RP Mappings
Override RP cnt: 0
Group(s): 224.0.0.0/4, Static
RP: 10.10.1.5
Uptime: 00:01:45
At Router_D, use the show ip pim rp-hash command to display the selected RP for a specified group (224.0.1.3):
Router_D#show ip pim rp-hash 224.0.1.3
RP: 10.10.5.37
Interface Details
The show ip pim interface command displays the interface details for Router_E, and shows that Router_E is
the Designated Router on Subnet 1.
Router_E#show ip pim interface
Address Interface VIFindex Ver/ Nbr DR DR
Mode Count Prior
192.168.1.10 eth1 0 v2/SD 1 1 192.168.1.10
172.16.1.10 eth2 2 v2/SD 1 1 172.16.1.10
(*,*,RP) Entries: 0
(*,G) Entries: 1
(S,G) Entries: 0
(S,G,rpt) Entries: 0
(*, 224.0.1.3)
RP: 10.10.1.5
RPF nbr: 172.16.1.2
RPF idx: eth2
Upstream State: JOINED
Local ................................
Joined j...............................
Asserted ................................
Outgoing o...............................
At Router_E, eth2 is the incoming interface of the (*, G) entry, and eth1 is on the outgoing interface list of the
(*, G) entry. This means that there is a group member through eth1, and the RP is reachable through eth2.
The 0 position on this 32-bit index is for eth1 (as illustrated in the interface display above). The j on the 0 index
indicates that the Join has come from eth1.
Since Router_C is the RP, and the root of this multicast tree, the show ip pim mroute command on Router_C
shows RPF nbr as 0.0.0.0 and RPF idx as none.
Router_C#show ip pim mroute
IP Multicast Routing Table
(*,*,RP) Entries: 0
(*,G) Entries: 1
(S,G) Entries: 0
(S,G,rpt) Entries: 0
(*, 224.0.1.3)
RP: 10.10.1.5
RPF nbr: 0.0.0.0
RPF idx: None
Upstream State: JOINED
Local ................................
Joined j...............................
Asserted ................................
Outgoing o...............................
For configuring Rendezvous point dynamically refer Configure Rendezvous Point Dynamically Using Bootstrap Router
Method and Enable PIM-SM Sub-Interface
Dense-mode Operation
The network topology described in Figure 11-13, the Source_1 address is 10.10.1.52 and the group address is set to
224.0.1.3.
In this example all routers are running PIM-SMDM.
• Host_1 sends an IGMP membership report to Subnet 1.
• After Router_C receives this report, it associates its receiving interface, eth1, with the group reported in the
IGMP message, for example, group1.
• Source_1 then sends a data packet for group1.
• Every router creates an (S,G) entry in the multicast routing table.
• When the data packet reaches Router_C, it forwards via the interface, eth1, because there is a local member
on this interface for this group. Router_C has a downstream receiver, so it does not send a prune message to
its upstream neighbor router, Router_E.
The network topology shown in the Figure 11-13, includes a source, three routers, and a host in a subnet.
• Source_1:
• Connected to Router_A via eth2 with IP address 10.10.1.52 and sending multicast traffic to the multicast group
224.0.1.3.
• Router_A:
• Interface eth1 connects to eth2 of Router_B with IP address 10.10.3.9.
• Interface eth2 connects to Source_1 with IP address 10.10.1.9.
• Router_B:
• Interface eth1 connects to eth2 of Router_A with IP address 10.10.3.4.
• Interface eth2 connects to eth1 of Router_C with IP address 172.16.1.2/24.
• Router_C:
• Interface eth1 connects to eth2 of Router_B with IP address 172.16.1.2/24.
• Interface eth2 connects to Host_1 via eth1 with IP address 172.16.1.10/24.
• Interface eth1 connects to Host_1 with IP address 192.168.1.10/24 and 192.168.1.50/24 via IGMP.
• Host_1:
• Connected to Router_C with IP address 192.168.1.50/24 and subscribed to the multicast group 224.0.1.3 via
IGMP.
Validation
Enter the commands listed in this section to confirm the previous configurations.
Overview
Multicast Listener Discovery (MLD) is a protocol used by IPv6 hosts to communicate their desire to receive multicast
traffic to the neighboring multicast routers. It serves a role similar to that of Internet Group Management Protocol
(IGMP) in IPv4 networks. MLD is essential for efficient multicast routing in IPv6 networks, ensuring that multicast data
is only sent to network segments with interested receivers.
IP hosts use MLD to inform multicast routers about their membership in specific multicast groups, allowing routers to
maintain a list of group memberships per interface. When a host joins a multicast group, it sends an MLD Report to the
router, which updates its membership list. Routers then use this information to forward multicast data only to network
segments with interested hosts, optimizing network resources by preventing unnecessary traffic.
By default, when PIMv6 is enabled on an interface, MLD version 2 is enabled. MLD can be enabled on an interface
explicitly.
Feature Characteristics
MLD allows hosts to notify multicast routers about their interest in joining or leaving multicast groups, with routers
maintaining membership lists for each interface. Hosts use MLD Report messages to join and Done messages to leave
groups, enabling routers to update memberships. Routers then use this data to forward multicast traffic only to
interested network segments, optimizing bandwidth. By default, MLDv2 is enabled with PIMv6, supporting source-
specific multicast and maintaining compatibility with MLDv1. Administrators can manually configure MLD on interfaces
as needed, ensuring effective multicast management and interoperability between versions.
Benefits
These benefits make MLD an essential protocol for efficient and effective multicast routing in IPv6 networks, enhancing
performance, scalability, and resource utilization.
• Efficient Multicast Traffic Management
• Network Resource Optimization
• Improved Scalability
• Enhanced Performance and Reliability
• Compatibility and Interoperability
• Administrative Control and Flexibility.
MLD Versions
OcNOS supports MLDv1 and MLDv2. By default, OcNOS enables MLDv2 when PIMv6 is enabled on an interface.
MLDv2 includes the following key changes from MLDv1:
• Support for Source-Specific Multicast (SSM), which builds shortest path trees from each receiver to the source,
through the following feature:
• Host messages that can specify both the group and the source.
• The multicast state that is maintained for groups and sources, not just for groups as in MLDv1.
• Hosts no longer perform report suppression, which means that hosts always send MLD membership reports when
an MLD query message is received.
MLD Operation
MLD works on the premise of three major packets exchange between MLD enabled routers and hosts, interested in
joining a particular group.
Configuration
You can configure MLD on a network device to manage multicast group memberships effectively. This configuration
enables efficient multicast traffic distribution, optimizes bandwidth usage, and ensures that multicast data is only sent
to network segments with interested receivers.
Topology
This topology ensures that each router's interfaces are configured with the specified IP or IPv6 link-local addresses,
and verifies the switch's configurations for connectivity. It involves setting up routing protocols or static routes on each
router for communication, and assigning and configuring IPv6 addresses on router and host interfaces to ensure
proper device communication via link-local addresses. Additionally, routers are configured to handle unicast or
multicast traffic, with necessary multicast routing protocols set up for multicast traffic.
The network topology shown in the Figure 12-14 includes three routers, a switch, two hosts, and a source.
Configuration
MLD Configuration
Configure Multicast Listener Discovery (MLD) on a network device. Activate MLD version 1 on the interface, which is
responsible for managing the multicast group memberships.
R1#configure terminal
R1(config)#ipv6 multicast-routing
R1(config)#interface eth2
R1(config-if)#ip address 2001::1/64
R1(config-if)#ipv6 mld version 1
R1(config-if)#commit
R1(config-if)#exit
Validation
Enter the commands listed in this section to confirm the previous configurations.
#show running-config
!
no service password-encryption
!
hostname rtr1
!
Ipv6 multicast-routing
!
!
interface eth2
ip address 2001::1/64
no shutdown
ipv6 mld version 1
1. Assign the IPv6 address 2001::1/64 to the eth2 interface, enabling IPv6 communication.
R1#configure terminal
R1(config)#interface eth2
R1(config-if)#ip address 2001::1/64
2. Enable MLD Immediate Leave that allows the interface to immediately remove a host from a multicast group
when it sends a leave message, improving the efficiency of multicast group management..
R1(config-if)#ipv6 mld version 1
R1(config)#ipv6 multicast-routing
R1(config)#interface eth2
R1(config-if)#ipv6 mld access-group 1
R1(config-if)#ipv6 mld immediate-leave
3. Configure MLD group-list. This command associates a specific group-list (1) with the MLD configuration,
controlling which multicast groups are permitted on the interface. Set the MLD querier timeout, interval, query
maximum response time, robustness variable, startup query count, and startup query interval.
R1(config-if)#group-list 1
R1(config-if)# ipv6 mld last-member-query-count 7
R1(config-if)# ipv6 mld last-member-query-interval 25500
Validation
Enter the commands listed in this section to confirm the previous configurations
#show running-config
!
no service password-encryption
!
hostname rtr1
!
!
Ipv6 multicast-routing
!
!
interface eth2
ipv6 address 2001::1/64
no shutdown
ipv6 mld access-group 1
ipv6 mld immediate-leave group-list 1
ipv6 mld last-member-query-count 7
ipv6 mld limit 100
ipv6 mld static-group ff1e::1
ipv6 mld last-member-query-interval 25500
ipv6 mld querier-timeout 300
ipv6 mld query-interval 200
ipv6 mld query-max-response-time 150
ipv6 mld startup-query-interval 50
ipv6 mld startup-query-count 4
ipv6 mld robustness-variable 4
ipv6 mld ra-option
ipv6 mld version 1
!!
v2-reports: 0
MLD query interval is 200 seconds
MLD startup query interval is 50 seconds
MLD startup query count is 4
MLD querier timeout is 300 seconds
MLD max query response time is 150 seconds
Group Membership interval is 950 seconds
MLD Last member query count is 7
Last member query response interval is 1000 milliseconds
Group address Displays the Multicast Group for which report is received.
Interface: xe18
Group: ff1e::1
Flags: SG
Uptime: 00:17:45
Group mode: Exclude (Static)
State: Active
Last reporter: ::
Source list is empty
Glossary
The following provides definitions for key terms or abbreviations and their meanings used throughout this document:
IGMP Multicast Listener Discovery (MLD) is a protocol used in IPv6 networks that allows network devices
(hosts) to inform multicast routers of their intention to receive multicast traffic.
MLD The Internet Group Management Protocol (IGMP) is a communication protocol used in IPv4
networks to manage multicast group memberships.
Overview
In IPv6 networks, Multicast Listener Discovery (MLD) Snooping plays a crucial role in optimizing multicast traffic
management within Layer-2 switches. By default, without MLD, Layer-2 switches treat IPv6 multicast traffic like
broadcast traffic, forwarding frames received on one interface to all others. This indiscriminate forwarding leads to
unnecessary traffic across the network, impacting performance.
MLD Snooping addresses this issue by intelligently monitoring and managing multicast traffic. Here’s how it works:
switches enabled with MLD Snooping analyze MLD messages exchanged between IPv6 hosts and multicast routers.
Instead of flooding multicast traffic to all ports, switches learn which ports have hosts interested in specific multicast
groups. They then selectively forward multicast traffic only to those ports where the interested hosts reside, significantly
reducing network congestion and improving efficiency.
To enable MLD Snooping, administrators typically use the switchport command on each switch port to switch it to
Layer-2 mode, allowing the switch to monitor MLD messages effectively. This approach ensures that multicast traffic is
delivered only to the intended recipients, optimizing network performance and resource utilization in IPv6
environments.
Feature Characteristics
MLD Snooping enables Layer-2 switches to intelligently manage IPv6 multicast traffic by forwarding packets only to
ports with active listeners for specific multicast groups, preventing unnecessary network-wide flooding. By selectively
forwarding multicast traffic based on MLD messages exchanged between hosts and routers, MLD Snooping enhances
overall network performance, reducing congestion and optimizing bandwidth usage. It eliminates broadcast-like
behavior by maintaining a multicast group table and forwarding traffic solely to ports where interested hosts are
located, akin to IPv4's IGMP Snooping. This efficient management conserves network resources, delivering packets
only where there are active receivers, and reduces control plane overhead by handling just one MLD membership
report per multicast group, even with multiple interested hosts.
Benefits
• Efficient Multicast Traffic Management
• Improved Network Performance
• Reduced Broadcast-Like Behavior
• Optimized Resource Utilization
• Reduced Control Plane Overhead
• Enhanced Security Features
• Compatibility and Integration.
Topology
In this topology, switch S1 configures eth1 as a multicast router port. Since MLD Snooping manages multicast traffic in
bridged LAN setups, router R1 does not need to run MLD Snooping and can instead utilize any multicast protocol like
PIMv6-SM. Therefore, this example focuses solely on configuring switch S1, and does not cover configuration details
for router R1.
S1
1. Enable the MLD on interface, set the bridge protocol and configure interface eth0 and access the switch port
mode.
S1#configure terminal
S1(config)#bridge 1 protocol ieee vlan-bridge
S1(config)#interface eth0
S1(config-if)#shutdown
S1(config-if)#switchport
S1(config-if)#bridge-group 1
S1(config-if)#switchport mode access
S1(config-if)#no shutdown
2. Set the bridge protocol and configure interface eth1 and access the switch port mode
S1(config)#interface eth1
S1(config-if)#shutdown
S1(config-if)#switchport
S1(config-if)#bridge-group 1
S1(config-if)#switchport mode access
S1(config-if)#no shutdown
3. Set the bridge protocol and configure interface eth2 and access the switch port mode
S1(config)#interface eth2
S1(config-if)#shutdown
S1(config-if)#switchport
S1(config-if)#bridge-group 1
S1(config-if)#switchport mode access
S1(config-if)#no shutdown
4. Configure interface vlan1.1 for MLD snooping.
S1(config)#interface vlan1.1
S1(config-if)# MLD snooping mrouter interface eth1
S1(config-if)#commit
S1(config-if)#exit
Validation
#show running-config interface eth0
!
interface eth0
switchport
bridge-group 1
switchport mode access
!
#show running-config interface eth1
!
interface eth1
switchport
bridge-group 1
switchport mode access
!
Glossary
The following provides definitions for key terms or abbreviations and their meanings used throughout this document:
MLD The Internet Group Management Protocol (IGMP) is a communication protocol used in IPv4
networks to manage multicast group memberships.
clear ip mroute
Use this command to delete entries from the IP multicast routing table. This command clears the multicast route entries
in the multicast route table and removes the entries from the multicast forwarder. MRIB sends a clear message to the
multicast protocols. Each multicast protocol has its own clear multicast route command. The protocol-specific clear
command clears multicast routes from the protocol and clears the routes from the MRIB.
Command Syntax
clear ip mroute *
clear ip mroute A.B.C.D
clear ip mroute A.B.C.D A.B.C.D
clear ip mroute statistics *
clear ip mroute statistics A.B.C.D
clear ip mroute statistics A.B.C.D A.B.C.D
clear ip mroute A.B.C.D pim sparse-mode
clear ip mroute A.B.C.D A.B.C.D pim (dense mode| sparse-mode)
clear ip mroute (vrf NAME|) *
clear ip mroute (vrf NAME|) A.B.C.D
clear ip mroute (vrf NAME|) A.B.C.D A.B.C.D
clear ip mroute (vrf NAME|) statistics *
clear ip mroute (vrf NAME|) statistics A.B.C.D
clear ip mroute (vrf NAME|) statistics A.B.C.D A.B.C.D
clear ip mroute (vrf Name|) A.B.C.D pim sparse-mode
clear ip mroute (vrf Name|) A.B.C.D A.B.C.D pim (dense-mode | sparse-mode)
Parameters
* All multicast routes.
A.B.C.D Group IP address.
A.B.C.D Source IP address.
vrf VRF name.
statistics Multicast route statistics.
dense-mode Dense Mode (PIM-DM).
sparse-mode sparse Mode (PIM-SM)
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#clear ip mroute vrf VRF_A 225.1.1.1 3.3.3.3
debug ip mrib
Use this command to set debug options for IPv4 multicast.
Use the no parameter with this command to disable debugging IPv4 multicast.
Command Syntax
debug ip mrib (all|event|vif|mrt|stats|fib-msg|register-msg|nsm-msg|mrib-
msg|mtrace|mtrace-detail)
debug ip mrib (vrf NAME|)(all|event|vif|mrt|stats|fib-msg|register-msg|nsm-
msg|mrib-msg|mtrace|mtrace-detail)
no debug ip mrib (all|event|vif|mrt|stats|fib-msg|register-msg|nsm-msg|mrib-
msg|mtrace|mtrace-detail)
no debug ip mrib (vrf NAME|) ((all|event|vif|mrt|stats|fib-msg|register-msg|nsm-
msg|mrib-msg|mtrace|mtrace-detail)
Parameters
all Enable all IPv4 multicast debugging.
event Enable debugging of multicast events.
fib-msg Enable debugging of multicast FIB messages
mrib-msg Enable debugging of multicast MRIB messages
mrt Enable debugging of multicast route
mtrace Enable debugging of multicast traceroute
mtrace-detail Enable detailed debugging of multicast traceroute messages
nsm-msg Enable debugging of multicast NSM messages
register-msg Enable debugging of multicast PIM Register messages
stats Enable debugging of multicast statistics.
vif Enable debugging of multicast interface
vrf Specify the VRF name
Command Mode
Exec mode, Privileged Exec mode, and Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#debug ip mrib all
ip mroute
Use this command to create a multicast static route.
Multicast static routes are unicast routes which allow multicast and unicast topologies to be incongruous. These routes
are used by multicast routing protocols to perform Reverse Path Forwarding (RPF) checks.
Use the no form of this command to clear a multicast static route.
Command Syntax
ip mroute (vrf NAME|) A.B.C.D/M (static|rip|ospf|bgp|isis|) A.B.C.D
ip mroute (vrf NAME|) A.B.C.D/M (static|rip|ospf|bgp|isis|) A.B.C.D <1-255>
no ip mroute (vrf NAME|) A.B.C.D/M (static|rip|ospf|bgp|isis|)
Parameters
NAME Virtual Routing and Forwarding name
A.B.C.D/M Multicast source IP address and mask of the source
static Static routes.
rip Routing Information Protocol.
ospf Open Shortest Patch First protocol.
bgp Border Gateway Protocol.
isis Intermediate System to Intermediate System protocol.
A.B.C.D IP address to use as the RPF address. A host IP address can be a directly connected
system or a remote system. For remote systems, a recursive lookup is done from the
unicast routing table to find a directly connected system. Recursive lookup is done up to
one level.
<1-255> Administrative distance for the multicast static route. This value determines whether a
unicast route or multicast static route is used for the RPF lookup. Lower distances have
preference. If the multicast static route has the same distance as the other RPF sources,
the multicast static route takes precedence.
Default
The default administrative distance for the multicast static route is 0.
Command Mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#ip mroute 10.10.10.50/24 10.10.10.20 1
#configure terminal
(config)#ip mroute vrf VRF_A 10.10.10.50/1 10.10.10.20 1
ip multicast route-limit
Use this command to limit the number of multicast routes that can be added to a multicast routing table. It generates an
error message when the limit is exceeded. If the threshold parameter is set, a threshold warning message is generated
when this threshold is exceeded and the message continues to occur until the number of mroutes reaches the limit set
by the limit argument.
Note: The mroute warning threshold must not exceed the mroute limit.
Use the no parameter with this command to disable this configuration.
Command Syntax
ip multicast route-limit <1-2147483647>
ip multicast route-limit <1-2147483647> <1-2147483647>
ip multicast (vrf NAME|) route-limit <1-2147483647>
ip multicast (vrf NAME|) route-limit <1-2147483647> <1-2147483647>
no ip multicast route-limit
no ip multicast (vrf NAME|) route-limit
Parameters
vrf VRF name
<1-2147483647> Number of routes
<1-2147483647> Threshold at which to generate a warning message
Default
The default limit and threshold value is 2147483647.
Command Mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#ip multicast route-limit 34 24
ip multicast ttl-threshold
Use this command to configure the time-to-live (TTL) threshold of packets being forwarded out of an interface. Only
multicast packets with a TTL value greater than the threshold are forwarded out of the interface.
Use the no parameter with this command to return to the default TTL threshold.
Command Syntax
ip multicast ttl-threshold <1-255>
no ip multicast ttl-threshold
Parameters
<1-255> The time-to-live threshold.
Default
The default TTL value is 1.
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#interface eth1
(config-if)#ip multicast ttl-threshold 34
ip multicast-routing
Use this command to turn on/off multicast routing on the router; when turned off, the multicast protocol daemon
remains present, but does not perform multicast functions. When multicast routing is enabled, the MRIB re-creates
tunnels, and starts processing any VIF addition/deletion requests, MRT addition/deletion requests, and any multicast
forwarding events.
Use the no parameter with this command to disable this function. When the no parameter is used, the MRIB releases
all VIFs and tunnels, cleans up MRTs, stops IGMPv2 operation and stops relaying multicast forwarder events to
multicast protocols.
Command Syntax
ip multicast-routing
ip multicast-routing (vrf NAME|)
no ip multicast-routing
no ip multicast-routing (vrf NAME|)
Parameter
vrf Specify the VRF name.
Default
By default, multicast routing is disabled.
Command Mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#ip multicast-routing
ipv6 mroute
Use this command to create a multicast static route.
Multicast static routes are unicast routes that allow multicast and unicast topologies to be incongruous. These routes
are used by multicast routing protocols to perform Reverse Path Forwarding (RPF) checks.
Use the no form of this command to clear a multicast static route.
Command Syntax
ipv6 mroute (vrf NAME|) X:X::X:X/M (static|rip|ospf|bgp|isis|) X:X::X:X
ipv6 mroute (vrf NAME|) X:X::X:X/M (static|rip|ospf|bgp|isis|) X:X::X:X <1-255>
no ipv6 mroute (vrf NAME|) X:X::X:X/M (static|rip|ospf|bgp|isis|)
Parameters
NAME Virtual Routing and Forwarding name
X:X::X:X/M Specify multicast source IP address and mask
static Static routes.
rip Routing Information Protocol.
bgp Border Gateway Protocol.
ospf Open Shortest Path First.
isis Intermediate System to Intermediate System.
X:X::X:X RPF address for the multicast route. A host IP address can be a directly connected
system or a remote system. For remote systems, a recursive lookup is done from the
unicast routing table to find a directly connected system. Recursive lookup is done up one
level.
<1-255> Administrative distance for the multicast static route. This value determines whether a
unicast route or multicast static route is used for the RPF lookup. Lower distances have
preference. If the multicast static route has the same distance as the other RPF sources,
the multicast static route takes precedence.
Default
The default administrative distance for the multicast static route is 0.
Command Mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
(config)#ipv6 mroute 10:10::10:10/64 10:10::10:12 1
l2 unknown mcast
Use this command to either forward the unknown multicast traffic to all ports (except the ingress port) within the VLAN
or drop it.
Note: Before configuring this command, configure the L2 bridge first.
Command Syntax
l2 unknown mcast (flood|discard)
Parameters
discard The switch does not forward multicast traffic for groups with
no known members. Instead of flooding the multicast packets to
all ports within the VLAN, the switch simply drops or discards
the unknown multicast traffic.
flood Tthe switch forwards multicast traffic to all ports (except
the ingress port) within the VLAN, treating it similar to
broadcast traffic. This ensures that even if the switch is not
aware of the multicast group memberships for certain ports,
all devices within the VLAN receive the multicast packets.
.
Default
L2 unknown multicast traffic is set to flood.
Command Mode
Configuration mode
Applicability
Introduced in the OcNOS version 6.5.1.
Example
The following command forwards the multicast traffic to all ports.
OcNOS#configure terminal
(config)#l2 unknown mcast flood
Command Syntax
show debugging ip mrib
show debugging ip mrib (vrf NAME|)
Parameters
vrf Display routes from a VPN Routing/Forwarding instance.
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
The following is a sample output of the show debugging ip mrib command.
#show debugging ip mrib
Debugging status:
MRIBv4 event debugging is on
MRIBv4 VIF debugging is on
MRIBv4 route debugging is on
MRIBv4 route statistics debugging is on
MRIBv4 FIB message debugging is on
MRIBv4 PIM Register message debugging is on
MRIBv4 NSM IPC message debugging is on
MRIBv4 MRIB IPC message debugging is on
MRIBv4 traceroute debugging is on
MRIBv4 traceroute detailed debugging is on
#
show ip mroute
Use this command to display the IP multicast routing (mroute) table. The routing table is based on the pairing of Source
Addresses with their respective Destination Multicast Group Address (S, G).
Command Syntax
show ip mroute (dense|sparse|) (count|summary|)
show ip mroute A.B.C.D (dense|sparse|)(count|summary|)
show ip mroute A.B.C.D A.B.C.D (dense|sparse|) (count|summary|)
show ip mroute (vrf NAME|) (dense|sparse|) (count|summary|)
show ip mroute (vrf NAME|) A.B.C.D (dense|sparse|) (count|summary|)
show ip mroute (vrf NAME|) A.B.C.D A.B.C.D (dense|sparse|) (count|summary|)
Parameters
A.B.C.D Source or Group IP address.
count Route and packet count data.
summary Provide abbreviated display.
dense Show dense multicast routes.
sparse Show sparse multicast routes.
vrf Specify the VRF name.
Command Mode
Exec and Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
The following is a sample output of this command displaying the IP multicast routing table, with and without specifying
the group and source IP address:
rtr6#show ip mroute
IP Multicast Statistics
Total 1 routes using 132 bytes memory
Route limit/Route threshold: 2147483647/2147483647
Total NOCACHE/WRONGVIF/WHOLEPKT recv from fwd: 1/0/0
Total NOCACHE/WRONGVIF/WHOLEPKT sent to clients: 1/0/0
Immediate/Timed stat updates sent to clients: 0/0
Reg ACK recv/Reg NACK recv/Reg pkt sent: 0/0/0
Next stats poll: 00:01:10
Pointers Description
I Immediate statistics
T Timed statistics
F Forwarder installed
B Bidirectional
Entry Description
(a.d.c.d, 224.x.x.x) Source Address paired with its Destination Multicast Group Address
uptime As stated.
Entry Description
Owner The owner is derived from the multicast group notable address (IANA). In the example above,
the owner is specified as PIM because it is using the IANA address: 224.0.0.13.
Other owners can be OSPF (224.0.0.5), IS-IS (224.0.0.19–21), and so on.
Incoming interface The name of the in coming interface (eth1, xe5/2, etc.).
Entry Description
WRONGVIF The Virtual Host Interface (VIF) enables the router to send and receive IP multicast packets
on several different interfaces at once. This is the count of wrong VIFs received.
WHOLEPKT When a source is multicasting a large volume data and the PIM router does not know about
the particular Rendezvous Point (RP(G)), the PIM process will constantly receive
WHOLEPKT notification from the kernel – this shows the count of such notifications.
show ip mvif
Use this command to display the MRIB VIF table entries.
The Virtual Host Interface (VIF) used in Pragmatic General Multicast (PGM) or “Reliable Multicast.” The VIF enables
the router to send and receive IP multicast packets on several different interfaces at once, as dictated by the multicast
routing tables on the router.
Command Syntax
show ip mvif
show ip mvif IFNAME
show ip mvif (vrf NAME|)
show ip mvif (vrf NAME|) IFNAME
Parameters
IFNAME Specify the interface name.
vrf Specify the VRF name.
Command Mode
Exec and Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
The following are sample outputs of this command displaying the contents for the MRIB VIF table, both with and
without the interface parameter specified:
#show ip mvif
Interface Vif Owner TTL Local Remote Uptime
Idx Module Address Address
wm0 0 PIM-SM 1 192.168.1.53 0.0.0.0 00:04:26
Register 1 1 192.168.1.53 0.0.0.0 00:04:26
wm1 2 PIM-SM 1 192.168.10.53 0.0.0.0 00:04:25
#show ip mvif wm0
Interface Vif Owner TTL Local Remote Uptime
Idx Module Address Address
wm0 0 PIM-SM 1 192.168.1.53 0.0.0.0 00:05:17
Entries Description
Vif Idx The VIF Index – the numbering of the entries in the MRIB table.
Owner What multicast protocol is being used for an entry. For example, PIM-SM (PIM Sparce
Mode).
Entries Description
Command Syntax
show running-config interface IFNAME ip multicast
Parameters
IFNAME Interface name.
Command Mode
Privileged exec mode and configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#show running-config interface eth1 ip multicast
!
interface eth1
!
Command Syntax
snmp restart mribd
Parameters
None
Command Mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#snmp restart mribd
clear ip igmp
Use this command to clear all IGMP local-memberships on all interfaces. This command applies to interfaces
configured for IGMP Layer-3 multicast protocols, or IGMP Proxy.
Command Syntax
clear ip igmp
clear ip igmp group *
clear ip igmp group A.B.C.D
clear ip igmp group A.B.C.D IFNAME
clear ip igmp interface IFNAME
clear ip igmp (vrf NAME|)
clear ip igmp (vrf NAME|) group *
clear ip igmp (vrf NAME|) group A.B.C.D
clear ip igmp (vrf NAME|) group A.B.C.D IFNAME
clear ip igmp (vrf NAME|) interface IFNAME
Parameters
* Clears all groups on all interfaces.
A.B.C.D Specify the group address’s local-membership to be cleared from all interfaces.
interface Specify an interface. All groups learned from this interface are deleted.
IFNAME Specify name of the interface.
vrf Specify the VRF name.
group Deletes IGMP group cache entries.
interface Specify name of the interface; all groups learned from this interface are deleted.
Command Mode
Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#clear ip igmp
#clear ip igmp group *
#clear ip igmp group 224.1.1.1
#clear ip igmp interface eth1
#clear ip igmp vrf VRF_A
#clear ip igmp vrf new group *
#clear ip igmp vrf new interface eth1
debug ip igmp
Use this command to enable debugging of all IGMP, or a specific component of IGMP. This command applies to
interfaces configured for IGMP Layer-3 multicast protocols.
Use the no parameter with this command to disable all IGMP debugging, or select a specific IGMP component.
Command Syntax
debug ip igmp all
debug ip igmp decode
debug ip igmp encode
debug ip igmp events
debug ip igmp fsm
debug ip igmp tib
debug ip igmp (vrf NAME|) all
debug ip igmp (vrf NAME|) decode
debug ip igmp (vrf NAME|) encode
debug ip igmp (vrf NAME|) events
debug ip igmp (vrf NAME|) fsm
debug ip igmp (vrf NAME|) tib
no debug ip igmp all
no debug ip igmp decode
no debug ip igmp encode
no debug ip igmp events
no debug ip igmp fsm
no debug ip igmp tib
no debug ip igmp (vrf NAME|) all
no debug ip igmp (vrf NAME|) decode
no debug ip igmp (vrf NAME|) encode
no debug ip igmp (vrf NAME|) events
no debug ip igmp (vrf NAME|) fsm
no debug ip igmp (vrf NAME|) tib
Parameters
all Debug all IGMP.
decode Debug IGMP decoding.
encode Debug IGMP encoding.
events Debug IGMP events.
fsm Debug IGMP Finite State Machine (FSM).
tib Debug IGMP Tree Information Base (TIB).
Command Mode
Privileged Exec mode and Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#debug ip igmp all
ip igmp
Use this command to enable the IGMP operation on an interface. This command enables IGMP operation in stand-
alone mode, and can be used to learn local-membership information prior to enabling a multicast routing protocol on
the interface. This command will has no effect on interfaces configured for IGMP proxy.
Use the no parameter with this command to return all IGMP related configuration to the default (including IGMP proxy
service).
Command Syntax
ip igmp
no ip igmp
Parameters
None
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#interface eth1
(config-if)#ip igmp
ip igmp access-group
Use this command to control the multicast local-membership groups learned on an interface. This command applies to
interfaces configured for IGMP Layer-3 multicast protocols, IGMP proxy.
Use the no parameter with this command to disable this access control.
Command Syntax
ip igmp access-group WORD
no ip igmp access-group WORD
Parameters
WORD Standard IP access-list name.
Default
No access list configured
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
In the following example, hosts serviced by Ethernet interface 0 can only join the group 225.2.2.2:
#configure terminal
(config)#access-list 1 permit 225.2.2.2 0.0.0.0
(config)#interface eth1
(config-if)#ip igmp access-group xyz
(config-if)#exit
ip igmp immediate-leave
In IGMP version 2, use this command to minimize the leave latency of IGMP memberships. This command is used
when only one receiver host is connected to each interface. This command applies to interfaces configured for IGMP
Layer-3 multicast protocols, IGMP Proxy.
To disable this feature, use the no parameter with this command.
Command Syntax
ip igmp immediate-leave group-list WORD
no ip igmp immediate-leave
Parameters
group-list Standard access-list name or number that defines multicast groups in which the
immediate leave feature is enabled.
WORD Standard IP access-list name.
Default
Disabled
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
The following example shows how to enable the immediate-leave feature on an interface for a specific range of
multicast groups. In this example, the router assumes that the group access-list consists of groups that have only one
host membership at a time per interface:
#configure terminal
(config)#interface eth1
(config-if)#ip igmp immediate-leave group-list xyz
(config-if)#exit
(config)#access-list 34 permit 225.192.20.0 0.0.0.255
ip igmp join-group
Use this command to configure a join multicast group.
Use the no parameter with this command to delete group membership entry.
Command Syntax
ip igmp join-group A.B.C.D {(source (A.B.C.D)|)}
no ip igmp join-group A.B.C.D {(source (A.B.C.D)|)}
Parameters
A.B.C.D Standard IP multicast group address to be configured as a group member.
source Static source to be joined.
A.B.C.D Standard IP source address to be configured as a source from where multicast packets
originate.
Command Mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#interface eth1
(config-if)#ip igmp join-group 225.1.1.1 source 1.1.1.2
ip igmp last-member-query-count
Use this command to set the last-member query-count value. This command applies to interfaces configured for IGMP
Layer-3 multicast protocols and IGMP Proxy.
Use the no parameter with this command to return to the default value on an interface.
Command Syntax
ip igmp last-member-query-count <2-7>
no ip igmp last-member-query-count
Parameter
<2-7> Specify the last member query count value.
Default
The default last member query count value is 2.
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#interface eth1
(config-if)#ip igmp last-member-query-count 3
ip igmp last-member-query-interval
Use this command to configure the frequency at which the router sends IGMP group-specific host query messages.
This command applies to interfaces configured for IGMP Layer-3 multicast protocols and IGMP Proxy.
Use the no parameter with this command to set this frequency to the default value.
Command Syntax
ip igmp last-member-query-interval <1000-25500>
no ip igmp last-member-query-interval
Parameter
<1000-25500> Frequency (in milliseconds) at which IGMP group-specific host query messages are sent.
Default
1000 milliseconds
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
The following example changes the IGMP group-specific host query message interval to 2 seconds:
#configure terminal
(config)#interface eth1
(config-if)#ip igmp last-member-query-interval 2000
ip igmp limit
Use this command to set the maximum number of group membership states, at either the router level or at the interface
level. Once the specified number of group memberships is reached, all further local-memberships are ignored.
Optionally, an exception access-list can be configured to specify the group-address(es) to be excluded from being
subject to the limit.
This command applies to interfaces configured for IGMP Layer-3 multicast protocols and IGMP Proxy. The limit
applies, individually, to each of its constituent interfaces.
Use the no parameter with this command to unset the limit and any specified exception access-list.
Command Syntax
ip igmp limit (<1-2097152> (except WORD |)
ip igmp (vrf NAME) limit(<1-2097152> (except WORD |)
no ip igmp limit
no ip igmp (vrf NAME|) limit
Parameters
vrf Specify the VRF name.
<1-2097152> Maximum number of group membership states.
except Number or name that defines multicast groups that are exempted from being subject to
configured limit.
WORD Standard IP access-list name.
Command Mode
Configure mode and Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
The following example configures an IGMP limit of 100 group-membership states across all interfaces on which IGMP
is enabled, and excludes group 224.1.1.1 from this limitation:
#configure terminal
(config)#access-list 1 permit 224.1.1.1 0.0.0.0
(config)#ip igmp limit 100 except xyz
The following example configures an IGMP limit of 100 group-membership states on eth1:
#configure terminal
(config)#interface eth1
(config-if)#ip igmp limit 100
ip igmp mroute-proxy
Use this command to specify the IGMP Proxy service (upstream host-side) interface with which to be associated. IGMP
router-side protocol operation is enabled only when the specified upstream proxy-service interface is functional.
Note: This command should not be used when configuring interfaces enabled for IGMP in association with a
multicast routing protocol, otherwise the behavior will be undefined.
Use the no parameter with this command to remove the association with the proxy-service interface.
Command Syntax
ip igmp mroute-proxy IFNAME
no ip igmp mroute-proxy
Parameter
IFNAME Specify an interface name.
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
The following example configures the eth1 interface as the upstream proxy-service interface for the downstream
router-side interface, eth1.
#configure terminal
(config)#interface eth1
(config-if)#ip igmp mroute-proxy eth1
ip igmp offlink
Use this command to configure off-link for IGMP.
Use the no parameter with this command to remove this configuration.
Command Syntax
ip igmp offlink
no ip igmp offlink
Parameter
None
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#interface eth1
(config-if)#ip igmp offlink
ip igmp proxy-service
Use this command to designate an interface to be the IGMP proxy-service (upstream host-side) interface, thus
enabling IGMP host-side protocol operation on this interface. All associated downstream router-side interfaces will
have their memberships consolidated on this interface, according to IGMP host-side functionality.
Note: This command should not be used when configuring interfaces enabled for IGMP in association with a
multicast-routing protocol, otherwise the behavior will be undefined.
Use the no parameter with this command to remove the designation of the interface as an upstream proxy-service
interface.
Command Syntax
ip igmp proxy-service
no ip igmp proxy-service
Parameter
None
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
The following example designates the eth1 interface as the upstream proxy-service interface.
#configure terminal
(config)#interface eth1
(config-if)#ip igmp proxy-service
Command Syntax
ip igmp proxy unsolicited-report-interval <1000-25500>
no ip igmp proxy unsolicited-report-interval
Parameter
<1000-25500> Specify an unsolicited report interval value in milliseconds.
Default
1000 milliseconds
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#interface eth1
(config-if)#ip igmp proxy unsolicited-report-interval 1234
ip igmp querier-timeout
Use this command to set the timeout period before the router takes over as the querier for the interface after the
previous querier has stopped querying. This command applies to interfaces configured for IGMP Layer-3 multicast
protocols and IGMP Proxy.
To restore the default value, use the no parameter with this command.
Command Syntax
ip igmp querier-timeout <60-300>
no ip igmp querier-timeout
Parameter
<60-300> Number of seconds that the router waits after the previous querier has stopped querying
before it takes over as the querier.
Default
255 seconds
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
The following example configures the router to wait 120 seconds from the time it received the last query before it takes
over as the querier for the interface:
#configure terminal
(config)#interface eth1
(config-if)#ip igmp querier-timeout 120
ip igmp query-interval
Use this command to set the frequency of sending IGMP host query messages. This command applies to interfaces
configured for IGMP Layer-3 multicast protocols and IGMP Proxy.
To return to the default frequency, use the no parameter with this command.
Note: Querier timeout changes by changing query interval.
Command Syntax
ip igmp query-interval <1-18000>
no ip igmp query-interval
Parameter
<1-18000> Frequency (in seconds) at which IGMP host query messages are sent.
Default
Default query interval is 125 seconds.
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
The following example changes the frequency of sending IGMP host-query messages to 2 minutes:
#configure terminal
(config)#interface eth1
(config-if)#ip igmp query-interval 120
ip igmp query-max-response-time
Use this command to set the maximum response time advertised in IGMP queries. This command applies to interfaces
configured for IGMP Layer-3 multicast protocols and IGMP Proxy.
Use the no parameter with this command to restore the default value.
Command Syntax
ip igmp query-max-response-time <1-240>
no ip igmp query-max-response-time
Parameter
<1-240> Maximum response time (in seconds) advertised in IGMP queries.
Default
10 seconds
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
The following example configures a maximum response time of 8 seconds:
#configure terminal
(config)#interface eth1
(config-if)#ip igmp query-max-response-time 8
ip igmp ra-option
Use this command to configure strict RA (Router Advertisement) validation for IGMP.
Use the no parameter with this command to restore the default value.
Command Syntax
ip igmp ra-option
no ip igmp ra-option
Parameter
None
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
The following example configures a maximum response time of 8 seconds:
#configure terminal
(config)#interface eth1
(config-if)#ip igmp ra-option
ip igmp robustness-variable
Use this command to set the robustness variable value on an interface. This command applies to interfaces configured
for IGMP Layer-3 multicast protocols and IGMP Proxy.
To return to the default value on an interface, use the no parameter with this command.
Command Syntax
ip igmp robustness-variable <2-7>
no ip igmp robustness-variable
Parameter
<2-7> Specify the robustness variable value.
Default
Default robustness variable value is 2.
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#interface 0
(config-if)#ip igmp robustness-variable 3
Command Syntax
ip igmp ssm-map enable
ip igmp (vrf NAME|) ssm-map enable
no ip igmp ssm-map enable
no ip igmp (vrf NAME|) ssm-map enable
Parameter
vrf Specify the VRF name.
Command Mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
This example shows how to configure SSM mapping on the router.
#configure terminal
(config)#ip igmp ssm-map enable
Command Syntax
ip igmp ssm-map static WORD A.B.C.D
ip igmp (vrf NAME|) ssm-map static WORD A.B.C.D
no ip igmp (vrf NAME|) ssm-map static WORD A.B.C.D
no ip igmp ssm-map static WORD A.B.C.D
Parameters
vrf Specify the VRF name.
WORD Standard IP access-list name.
A.B.C.D Source address to use for static map group.
Command Mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
This example shows how to configure an SSM static mapping for group-address 224.1.1.1
Note: access-list can only be a permit type access-list
#configure terminal
(config)# ip igmp ssm-map static xyz 1.2.3.4
(config)# access-list 1 permit 224.1.1.1 0.0.0.255
ip igmp static-group
Use this command to statically configure group membership entries on an interface. To statically add only a group
membership, do not specify any parameters. This command applies to IGMP operation on a specific interface to
statically add group and/or source records; on a VLAN interface to statically add group and/or source records.
Use the no parameter with this command to delete static group membership entries.
Command Syntax
ip igmp static-group A.B.C.D (source (A.B.C.D|ssm-map)|)
no ip igmp static-group A.B.C.D (source (A.B.C.D|ssm-map)|)
Parameters
A.B.C.D Standard IP Multicast group address to be configured as a static group member.
source Static source to be joined.
A.B.C.D Standard IP source address to be configured as a static source from where multicast
packets originate.
ssm-map Mode of defining SSM mapping. SSM mapping statically assigns sources to IGMPv1 and
IGMPv2 groups to translate these (*, G) groups' memberships to (S, G) memberships for
use with PIM-SSM.
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
The following examples show how to statically add group and/or source records for IGMP:
#configure terminal
(config)#interface eth1
(config-if)#ip igmp static-group 226.1.2.3
#configure terminal
(config)#interface eth1
(config-if)#ip igmp static-group 226.1.2.4 source 1.2.3.4
#configure terminal
(config)#interface eth1
(config-if)#ip igmp static-group 226.1.2.5 source ssm-map
ip igmp startup-query-count
Use this command to set a startup query count for IGMP.
Use the no parameter with this command to return to the default version.
Command Syntax
ip igmp startup-query-count <2-10>
no ip igmp startup-query-count
Parameters
<2-10> Specify a startup query count value.
Default
The default value 2.
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#interface 0
(config-if)#ip igmp startup-query-count 2
ip igmp startup-query-interval
Use this command to set a query interval value for IGMP.
Use the no parameter with this command to return to the default version.
Command Syntax
ip igmp startup-query-interval <1-18000>
no ip igmp startup-query-interval
Parameters
<1-18000> Specify a startup query interval value in seconds.
Default
The default value 31 seconds.
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#interface 0
(config-if)#ip igmp startup-query-interval 1
ip igmp version
Use this command to set the current IGMP protocol version on an interface. This command applies to interfaces
configured for IGMP Layer-3 multicast protocols and IGMP Proxy.
Use the no parameter with this command to return to the default version.
Command Syntax
ip igmp version <1-3>
no ip igmp version
Parameters
<1-3> Specify IGMP protocol version number.
Default
The default IGMP protocol version number is 3.
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#interface 0
(config-if)#ip igmp version 2
Command Syntax
show debugging ip igmp
show debugging ip igmp (vrf NAME|)
Parameters
vrf Specify the VRF name.
Command Mode
Exec and Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#show debugging ip igmp
IGMP Debugging status:
IGMP Decoder debugging is on
IGMP Encoder debugging is on
IGMP Events debugging is on
IGMP FSM debugging is on
IGMP Tree-Info-Base (TIB) debugging is on
Command Syntax
show ip igmp groups (detail|)
show ip igmp groups A.B.C.D (detail|)
show ip igmp groups IFNAME (detail|)
show ip igmp groups IFNAME A.B.C.D (detail|)
show ip igmp (vrf NAME|) groups (detail|)
show ip igmp (vrf NAME|) groups A.B.C.D (detail|)
show ip igmp (vrf NAME|) groups IFNAME (detail|)
show ip igmp (vrf NAME|) groups IFNAME A.B.C.D (detail|)
Parameters
vrf Specify the VRF name.
A.B.C.D Address of multicast group.
IFNAME Name of the interface.
detail IGMPv3 source information.
Command Mode
Exec and Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
The following command displays local-membership information for all interfaces:
rtr1#show ip igmp groups detail
IGMP Connected Group Membership Details
Table 2-8 shows the flags codes displayed at the start of a group entry.
Flag Meaning
R Remote multicast
L Local multicast
SG Static Group
SS Static Source
Entry Description
Flags Flag on this interface – in this case, the flag indicates that the multicast is Local.
See Table 2-8.
Uptime The amount of time that the multicast connection has been up.
Group mode The group mode is determined by interactions between IGMP router database
entries, which is beyond the scope of this document. For a detailed description of
these interactions, see RFC 3376.
Last reporter The IPv4 address of the last host to send multicast information.
Group source list A list of flags that indicate the state of the multicast connections. See Table 2-8.
Include Source List A table containing parameters about the multicast session:
• Source Address – The IP address of the Source(s) connected to the multicast
hosts.
• Uptime – The multicast session’s uptime.
• v3 Exp – Tells whether IGMPv3 Explicit Tracking is running or not.
• Fwd – Whether IGMP information is being forwarded by this device.
• Flags – See Table 2-8.
Command Syntax
show ip igmp interface (IFNAME|)
show ip igmp (vrf NAME|) interface (IFNAME|)
Parameters
vrf Specify the VRF name.
interface Specify the interface parameter.
IFNAME Specify the name of the interface.
Command Mode
Exec and Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
The following command displays the IGMP interface status on all interfaces enabled for IGMP.
#show ip igmp interface
Interface vlan1.1 (Index 4294967295)
IGMP Active, Non-Querier, Version 3 (default)
IGMP querying router is 0.0.0.0
IGMP query interval is 125 seconds
IGMP querier timeout is 255 seconds
IGMP max query response time is 10 seconds
Last member query response interval is 1000 milliseconds
Group Membership interval is 260 seconds|
#
Table 2-10 explains the output fields.
Entry Description
IGMP Active IGMP status – whether Active or Inactive; whether this interface is a querier; IGMP
version (v1, v2, or v3).
IGMP querying router IP address of the designated router for this LAN segment.
IGMP query interval Interval at which the Cisco IOS software sends Protocol Independent Multicast (PIM)
router query messages.
IGMP querier timeout An interval of time that the software uses when deciding to take over as the querier.
Entry Description
IGMP max query response time An interval of time that is advertised as the maximum response time that is advertised
in IGMP queries.
Last member query response interval This interval is the maximum amount of time between query messages that the querier
will wait before sending messages that indicate that the multicast session has ended.
Group Membership interval A group membership interval timer is maintained for each dynamic multicast group
added to a downstream interface in the table. The timer is refreshed when a
membership report for a multicast group is received. If the timer expires, the multicast
group is removed from the table.
Command Syntax
show ip igmp proxy groups (detail|)
show ip igmp proxy groups A.B.C.D (detail|)
show ip igmp proxy groups IFNAME (detail|)
show ip igmp proxy groups IFNAME A.B.C.D (detail|)
show ip igmp (vrf NAME|) proxy groups (detail|)
show ip igmp (vrf NAME|) proxy groups A.B.C.D (detail|)
show ip igmp (vrf NAME|) proxy groups IFNAME (detail|)
show ip igmp (vrf NAME|) proxy groups IFNAME A.B.C.D (detail|)
Parameters
vrf Specify the VRF name.
groups IGMP proxy group membership information.
A.B.C.D Address of multicast group.
IFNAME The name of the VLAN interface.
detail IGMPv3 source information
Command Mode
Exec and Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#show ip igmp proxy
Entry Description
Administrative status Depends on the interface states – Enabled only if both host and downstream interfaces
are up. Otherwise, Disabled if only one interface is up.
Number of multicast groups The number of multicast groups supported by this proxy.
Entry Description
State The state of the proxy group – can be either Active or Inactive.
Member state The state of the proxy group member – can be either Idle or Delay, Idle is the default
state.
Command Syntax
show ip igmp ssm-map
show ip igmp ssm-map A.B.C.D
show ip igmp (vrf NAME|) ssm-map
show ip igmp (vrf NAME|) ssm-map A.B.C.D
Parameters
vrf Specify the VRF name.
A.B.C.D Address of multicast group.
Command Mode
Exec and Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#sh ip igmp ssm-map
SSM Mapping : Enabled
Database : Static mappings configured
Command Syntax
show running-config interface IFNAME ip igmp
Parameters
IFNAME Interface name.
Command Mode
Privileged Exec mode and Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#show running-config interface eth1 ip igmp
!
interface eth1
!
igmp snooping
Use this command to enable IGMP Snooping. When this command is given in the Configure mode, IGMP snooping is
enabled at switch level on all the vlans in switch. When this command is given at the VLAN interface level, IGMP
Snooping is enabled for that VLAN.
Note: IGMP Snooping can be only enabled/disabled on VLAN interfaces.
Use the no parameter with this command to globally disable IGMP Snooping, or for the specified interface.
Command Syntax
igmp snooping (disable|enable)
no igmp snooping
Parameter
None
Default
IGMP Snooping is enabled.
Command Mode
Interface mode for VLAN interface
Configuration mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#igmp snooping
(config)#interface vlan1.1
(config-if)#igmp snooping enable
Command Syntax
igmp snooping fast-leave
no igmp snooping fast-leave
Parameters
None
Default
IGMP Snooping fast-leave processing is disabled.
Command Mode
Interface mode for VLAN interface
Applicability
This command was introduced before OcNOS version 1.3.
Example
This example shows how to enable fast-leave processing on a VLAN.
#configure terminal
(config)#interface vlan1.1
(config-if)#igmp snooping fast-leave
Command Syntax
igmp snooping mrouter interface IFNAME
no igmp snooping mrouter interface IFNAME
Parameter
IFNAME Specify the name of the interface.
Default
IGMP Snooping mrouter processing is disabled.
Command Mode
Interface mode for VLAN interface.
Applicability
This command was introduced before OcNOS version 1.3.
Example
This example shows interface fe8 statically configured to be a multicast router interface.
#configure terminal
(config)#interface vlan1.1
(config-if)#igmp snooping mrouter interface fe8
Command Syntax
igmp snooping querier
no igmp snooping querier
Default
By default, Querier is disabled
Parameters
None
Command Mode
Interface mode for VLAN interface.
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#interface vlan1.1
(config-if)#igmp snooping querier
Command Syntax
igmp snooping report-suppression (disable|enable)
no igmp snooping report-suppression
Default
By default, report suppression is enabled.
Parameters
None
Command Mode
Interface mode for VLAN interface.
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#interface vlan1.1
(config-if)#igmp snooping report-suppression enable
Command Syntax
igmp snooping static-group A.B.C.D interface IFNAME
no igmp snooping static-group A.B.C.D interface IFNAME
igmp snooping static-group A.B.C.D source A.B.C.D interface IFNAME
no igmp snooping static-group A.B.C.D source A.B.C.D interface IFNAME
Parameters
IFNAME Specify the name of the interface.
A.B.C.D Specify the IP address
In case of static-group, Multicast Address to be Joined.
In case of source, Source Address to be Joined.
Command Mode
Interface mode for VLAN interface.
Applicability
This command was introduced before OcNOS version 1.3.
Example
#conf t
(config)#interface vlan1.1
(config-if)#igmp snooping static-group 230.0.0.1 interface xe2
(config-if)#igmp snooping static-group 230.0.0.1 source 10.10.10.10 interface
xe1
(config-if)#exit
(config)#exit
Command Syntax
show igmp snooping interface IFNAME
Parameters
IFNAME Specify the name of the interface.
Command Mode
Exec and Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
The following command displays the multicast router interfaces in VLAN 1.1.
#sh igmp snooping interface
Global IGMP Snooping information
IGMP Snooping Enabled
IGMPv1/v2 Report suppression Enabled
IGMPv3 Report suppression Enabled
Command Syntax
show igmp snooping groups
show igmp snooping groups details
show igmp snooping groups A.B.C.D
show igmp snooping groups A.B.C.D detail
show igmp snooping groups IFNAME
show igmp snooping groups IFNAME A.B.C.D
show igmp snooping groups IFNAME A.B.C.D detail
show igmp snooping groups IFNAME detail
Parameters
A.B.C.D Specify multicast group address.
IFNAME Specify the name of the interface.
detail IGMPv3 source information.
Command Mode
Exec and Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#show igmp snooping groups
IGMP Snooping Group Membership
Group source list: (R - Remote, S - Static)
Vlan Group/Source Address Interface Flags Uptime Expires Last
Reporter Version
200 230.0.0.1 xe1 S 00:02:07 static 0.0.0.0
V3
#show igmp snooping groups detail
IGMP Snooping Group Membership Details
Flags: (R - Remote, S - Static)
Interface: xe1
Group: 230.0.0.1
Flags: S
Uptime: 00:02:08
Group mode: Exclude (Static)
Last reporter: 0.0.0.0
Source list is empty
Interface: xe1
Group: 230.0.0.1
Flags: S
Uptime: 00:02:37
Group mode: Exclude (Static)
Last reporter: 0.0.0.0
Source list is empty
Interface: xe1
Group: 230.0.0.1
Flags: S
Uptime: 00:02:50
Group mode: Exclude (Static)
Last reporter: 0.0.0.0
Source list is empty
Entries Description
Interface The interface (port) on the multicast router that is marked as taking place in the
multicast.
Uptime How long the member has been a part of the group.
Entries Description
Last reporter In IGMPv3, a host can send a membership report that includes a list of source
addresses. When the host sends a membership report in INCLUDE mode, the host
is interested in group multicast traffic only from those sources in the source
address list. If host sends a membership report in EXCLUDE mode, the host is
interested in group multicast traffic from any source except the sources in the
source address list.
A host can also send an EXCLUDE report in which the source-list parameter is
empty, which is known as an EXCLUDE NULL report. An EXCLUDE NULL report
indicates that the host wants to join the multicast group and receive packets from
all sources.
Interface The interface (port) on the multicast router that is marked as taking place in the
multicast.
Uptime How long the member has been a part of the group.
Expires Either by a timeout (IGMPv1) or by checking whether the member is still a part of
the multicast (IGMPv2 or v3). Can also be statically configured.
Last Reporter Indicates that the host wants to join a particular multicast group.
Command Syntax
show igmp snooping mrouter IFNAME
Parameters
IFNAME Specify the name of the interface.
Command Mode
Exec and Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
The following command displays the multicast router interfaces in VLAN 1.1.
#show igmp snooping mrouter vlan1.1
VLAN Interface IP-address Expires
1 xe1(static)
Command Syntax
show igmp snooping statistics interface IFNAME
Parameters
IFNAME Specify the name of the interface.
Command Mode
Exec and Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#show igmp snooping statistics interface vlan1.1
IGMP Snooping statistics for vlan1.1
Group Count : 1
IGMPv1 reports received : 0
IGMPv2 reports received : 0
IGMPv2 leaves received : 0
IGMPv3 reports received : 0
IGMPv1 query warnings : 0
IGMPv2 query warnings : 0
IGMPv3 query warnings : 0
Command Syntax
clear mld snooping group *
clear mld snooping group X.X.X.X (IFNAME|)
clear mld snooping interface IFNAME
Parameters
* Displays all groups
IFNAME The name of the VLAN interface
X:X::X:X Multicast group Address
Command Mode
Exec mode
Applicability
This command was introduced in OcNOS version 3.0 and updated in OcNOS version 6.2.0.
Examples
#clear mld snooping group *
mld snooping
Use this command to enable MLD Snooping. When this command is given in the Configure mode, MLD Snooping is
enabled at the switch level. When this command is given at the VLAN interface level, MLD Snooping is enabled for that
VLAN.
Use the no parameter with this command to globally disable MLD Snooping, or for the specified interface.
Command Syntax
mld snooping
mld (vrf NAME|) snooping
no mld snooping
no mld (vrf NAME|) snooping
Parameter
vrf Specify the VRF name.
Default
MLD Snooping is enabled.
Command Mode
Configure mode and Interface mode for VLAN interface
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#mld snooping
(config)#interface vlan1.1
(config-if)#mld snooping
Command Syntax
mld snooping fast-leave
no mld snooping fast-leave
Parameters
None
Default
MLD Snooping fast-leave processing is disabled.
Command Mode
Interface mode for VLAN interface
Applicability
This command was introduced before OcNOS version 1.3.
Example
This example shows how to enable fast-leave processing on a VLAN.
#configure terminal
(config)#interface vlan1.1
(config-if)#mld snooping fast-leave
Command Syntax
mld snooping mrouter interface IFNAME
no mld snooping mrouter interface IFNAME
Parameters
IFNAME Specify the name of the interface.
Command Mode
Interface mode for VLAN interface
Applicability
This command was introduced before OcNOS version 1.3.
Example
This example shows how to specify the next-hop interface to the multicast router.
#configure terminal
(config)#interface vlan1.1
(config-if)#mld snooping mrouter interface fe8
Command Syntax
mld snooping querier
no mld snooping querier
Default
By default MLD snooping querier is disabled
Parameters
None
Command Mode
Interface mode for VLAN interface
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#interface vlan1.1
(config-if)#mld snooping querier
Command Syntax
mld snooping report-suppression
no mld snooping report-suppression
Default
By default, mld snooping report suppression is enabled
Parameters
None
Default
Report suppression does not apply to MLDv2, so it is turned off by default for MLDv1 reports.
Command Mode
Interface mode for VLAN interface
Applicability
This command was introduced before OcNOS version 1.3.
Example
This example shows how to enable report suppression for MLDv1 reports.
#configure terminal
(config)#interface vlan1.1
(config-if)#mld version 1
(config-if)#mld snooping report-suppression
Command Syntax
show debugging mld
show debugging mld (vrf NAME|)
Parameters
vrf Indicates the vrf keyword.
NAME Displays the VRF name.
Command Mode
Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
The following is a sample output of the show debugging mld command:
#show debugging nsm
show debugging mld
MLD Debugging status:
MLD Decoder debugging is off
MLD Encoder debugging is off
MLD Events debugging is off
MLD FSM debugging is off
MLD Tree-Info-Base (TIB) debugging is off
#
Command Syntax
show debugging mld snooping
Parameters
None
Default
N/A
Command Mode
Privileged Exec mode
Applicability
This command was introduced in OcNOS version 3.0.
Examples
#show debugging mld snooping
MLD Snooping Debugging status:
MLD Snooping Decoder debugging is on
MLD Snooping Encoder debugging is on
MLD Snooping Events debugging is on
MLD Snooping FSM debugging is on
MLD Snooping Tree-Info-Base (TIB) debugging is on
Command Syntax
show mld snooping mrouter IFNAME
show mld (vrf NAME|) snooping mrouter IFNAME
Parameters
vrf Indicates the vrf keyword.
NAME Displays the VRF name..
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
The following displays the multicast router interfaces in VLAN 1.1
#show mld snooping mrouter vlan1.1
VLAN Interface
1 ge9
1 ge11
Command Syntax
show mld snooping statistics interface IFNAME
show mld (vrf NAME|) snooping statistics interface IFNAME
Parameters
vrf Indicates the vrf keyword.
NAME Displays the VRF name.
IFNAME The name of the VLAN interface
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
The following displays MLDv2 statistical information for the ge10 interface.
#show mld snooping statistics ge10
Interface: ge10
Group: ff1e::10
Uptime: 00:00:13
Group mode: Include
Last reporter: fe80::202:b3ff:fef0:79d8
Group source list: (R - Remote, M - SSM Mapping)
Source Address Uptime v2 Exp Fwd Flags
7ffe::4 00:00:13 00:04:06 Yes R
#
Command Syntax
show mld snooping groups
show mld snooping groups (IFNAME|)
show mld snooping groups (IFNAME|) detail
show mld snooping groups X.X.X.X
show mld snooping groups X.X.X.X detail.
Parameters
IFNAME The name of the VLAN interface
X:X::X:X Address of multicast group
detail MLDv2 source information
Command Mode
Exec mode
Applicability
This command was introduced in OcNOS version 3.0.
Example
#sh mld snooping groups detail
MLD Connected Group Membership Details for eth3
Interface: eth3
Group: ff1e::10
Uptime: 00:00:10
Group mode: Include ()
Last reporter: fe80::a00:27ff:febb:5235
Group source list: (R - Remote, M - SSM Mapping, S - Static )
Source Address Uptime v2 Exp Fwd Flags
3000::10 00:00:10 00:04:09 Yes R
Command Syntax
show mld snooping interface (IFNAME|)
Parameters
IFNAME Name of the interface.
Command Mode
Exec mode
Applicability
This command was introduced in OcNOS version 3.0.
Example
#sh mld snooping interface vlan1.100
MLD Snooping information for vlan1.100 (Index 9)
MLD Snooping is globally enabled
MLD Snooping is enabled on this interface
MLD Active, Non-Querier,
Internet address is fe80::a00:27ff:fe8d:e47a
MLD querying router is :
MLD query interval is 125 seconds
MLD querier timeout is 255 seconds
MLD max query response time is 10 seconds
Last member query response interval is 1000 milliseconds
Group Membership interval is 260 seconds
MLD Snooping fast-leave is not enabled
MLD Snooping querier is not enabled
MLD Snooping report suppression is disabled
Number of Groups: 0
Number of v1-reports: 0
Number of v1-leaves: 0
Number of v2-reports: 0
Active Ports:
eth2
• ip pim hello-holdtime
• ip pim hello-interval
• ip pim ignore-rp-set-priority
• ip pim jp-timer
• ip pim neighbor-filter
• ip pim passive
• ip pim propagation-delay
• ip pim redundancy
• ip pim register-rate-limit
• ip pim register-rp-reachability
• ip pim register-source
• ip pim register-suppression
• ip pim router-id
• ip pim rp-address
• ip pim rp-candidate
• ip pim rp-register-kat
• ip pim spt-threshold
• ip pim ssm
• ip pim state-refresh origination-interval
• ip pim unicast-bsm
• show debugging ip pim
• show debugging pim
• show ip msdp peer
• show ip msdp sa-cache
• show ip pim interface
• show ip pim interface df
• show ip pim mroute
• show ip pim neighbor
• show ip pim nexthop
• show ip pim bsr-router
• show ip pim local-members
• show ip pim rp-hash
• show ip pim rp mapping
• snmp restart pim
clear ip mroute
Use this command to delete all multicast route table entries and all multicast routes at the PIM protocol level.
Command Syntax
clear ip mroute *
clear ip mroute * pim (dense-mode|sparse-mode)
clear ip mroute A.B.C.D
clear ip mroute A.B.C.D A.B.C.D
clear ip mroute A.B.C.D A.B.C.D pim (dense-mode|sparse-mode)
clear ip mroute A.B.C.D pim sparse-mode
clear ip mroute statistics *
clear ip mroute statistics A.B.C.D
clear ip mroute statistics A.B.C.D A.B.C.D
clear ip mroute (vrf NAME|) *
clear ip mroute (vrf NAME|) * pim (dense-mode|sparse-mode)
clear ip mroute (vrf NAME|) A.B.C.D
clear ip mroute (vrf NAME|) A.B.C.D A.B.C.D
clear ip mroute (vrf NAME|) A.B.C.D A.B.C.D pim (dense-mode|sparse-mode)
clear ip mroute (vrf NAME|) A.B.C.D pim sparse-mode
clear ip mroute (vrf NAME|) statistics *
clear ip mroute (vrf NAME|) statistics A.B.C.D
clear ip mroute (vrf NAME|) statistics A.B.C.D A.B.C.D
Parameters
vrf The VPN routing/forwarding instance
NAME Specify the name of the VPN routing/forwarding instance
* Delete all multicast routes
pim Protocol Independent Multicast (PIM)
A.B.C.D Clears group IP address
A.B.C.D Clears source IP address
dense-mode Clears multicast rout table for PIM dense-mode
sparse-mode Clears multicast route table for PIM sparse mode
statistics Clears multicast route statistics
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#clear ip mroute * pim sparse-mode
#clear ip mroute 224.2.2.2 4.4.4.4 pim sparse-mode
Command Syntax
clear ip msdp peer (A.B.C.D|)
clear ip msdp (vrf NAME|) peer (A.B.C.D|)
Parameters
A.B.C.D IPv4 address of peer
NAME Name of the VPN routing/forwarding instance
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced in OcNOS-SP version 4.0.
Example
#clear ip msdp peer 192.168.1.26
Command Syntax
clear ip msdp sa-cache (A.B.C.D |)
clear ip msdp (vrf NAME|) sa-cache (A.B.C.D |)
Parameters
A.B.C.D Multicast group address; if not specified, all SA cache entries are cleared
NAME Name of the VPN routing/forwarding instance
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced in OcNOS-SP version 4.0.
Example
#clear ip msdp sa-cache 225.25.25.1
Command Syntax
clear ip pim sparse-mode bsr rp-set *
clear ip pim (vrf NAME|) sparse-mode bsr rp-set *
Parameters
vrf The VPN routing/forwarding instance
NAME Specify the name of the VPN routing/forwarding instance
rp-set PIMv2 bootstrap router RP set
bsr PIMv2 Bootstrap Router
* Clear all RP sets
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#clear ip pim sparse-mode bsr rp-set *
debug ip pim
Use this command to enable debugging for PIM.
Use the no option with this command to deactivate debugging for PIM.
Command Syntax
debug ip pim (all|events|mfc|mib|mtrace|msdp|nexthop|nsm|packet|state|timer)
debug ip pim (vrf
NAME|)(all|events|mfc|mib|mtrace|msdp|nexthop|nsm|packet|state|timer)
no debug ip pim (all|events|mfc|mib|mtrace|msdp|nexthop|nsm|packet|state|timer)
no debug ip pim (vrf NAME|) (all|events|mfc|mib|mtrace|msdp|nexthop|nsm|packet
|state|timer)
Parameters
vrf The VPN routing/forwarding instance
NAME Specify the name of the VPN routing/forwarding instance
all Enable debugging for all PIM events
events Enable debugging for general configuration, VRF context
mfc Enable debugging for MFC updates
mib Enable debugging for MIB entries
mtrace Enable debugging for MTRACE messages
msdp Enable debugging for MSDP
nexthop Enable debugging for Reverse Path Forwarding (RPF) neighbor nexthop cache handling
nsm Enable debugging for NSM
packet Enable debugging for PIM packets
state Enable debugging for PIM states
timer Enable debugging for PIM timers
Default
By default, all debug options are disabled.
Command Mode
Exec mode, Privileged Exec mode, and Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#debug ip pim all
Command Syntax
debug ip pim packet
debug ip pim packet in
debug ip pim packet out
debug ip pim (vrf NAME|) packet
debug ip pim (vrf NAME|) packet in
debug ip pim (vrf NAME|) packet out
no debug ip pim packet
no debug ip pim packet in
no debug ip pim packet out
no debug ip pim (vrf NAME|) packet
no debug ip pim (vrf NAME|) packet in
no debug ip pim (vrf NAME|) packet out
Parameters
vrf The VPN routing/forwarding instance
NAME Specify the name of the VPN routing/forwarding instance
in Debug incoming packets
out Debug outgoing packets
Default
By default, all debug options are disabled.
Command Mode
Configure and Exec modes
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#debug ip pim packet in
Command Syntax
Parameters
None
Default
By default, PIM BFD logging is disabled.
Command Mode
Exec mode, Privileged Exec mode, and Configure mode
Applicability
This command is introduced in OcNOS version 5.1
Examples
#configure terminal
(config)#debug pim bfd
Command Syntax
debug ip pim timer assert
debug ip pim timer assert at
debug ip pim (vrf NAME|) timer assert
debug ip pim (vrf NAME|) timer assert at
no debug ip pim timer assert
no debug ip pim timer assert at
no debug ip pim (vrf NAME|) timer assert
no debug ip pim (vrf NAME|) timer assert at
Parameters
vrf The VPN routing/forwarding instance
NAME Specify the name of the VPN routing/forwarding instance
at Use this option to turn on or off debugging of the PIM Assert Timer
Default
By default, all debug options are disabled.
Command Mode
Exec mode, Privileged Exec mode, and Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#debug ip pim timer assert at
Command Syntax
debug ip pim timer bsr
debug ip pim timer bsr bst
debug ip pim timer bsr crp
debug ip pim (vrf NAME|) timer bsr
debug ip pim (vrf NAME|) timer bsr bst
debug ip pim (vrf NAME|) timer bsr crp
no debug ip pim timer bsr
no debug ip pim timer bsr bst
no debug ip pim timer bsr crp
no debug ip pim (vrf NAME|) timer bsr
no debug ip pim (vrf NAME|) timer bsr bst
no debug ip pim (vrf NAME|) timer bsr crp
Parameters
vrf The VPN routing/forwarding instance
NAME Specify the name of the VPN routing/forwarding instance
bst Turn on or turn off the bootstrap debugging timer
crp Turn on or turn off the Candidate-RP debugging timer
Default
By default, all debug options are disabled.
Command Mode
Exec mode, Privileged Exec mode, and Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#debug ip pim timer bsr bst
Command Syntax
debug ip pim timer hello
debug ip pim timer hello ht
debug ip pim timer hello nlt
debug ip pim timer hello tht
debug ip pim (vrf NAME|) timer hello
debug ip pim (vrf NAME|) timer hello ht
debug ip pim (vrf NAME|) timer hello nlt
debug ip pim (vrf NAME|) timer hello tht
no debug ip pim timer hello
no debug ip pim timer hello ht
no debug ip pim timer hello nlt
no debug ip pim timer hello tht
no debug ip pim (vrf NAME|) timer hello
no debug ip pim (vrf NAME|) timer hello ht
no debug ip pim (vrf NAME|) timer hello nlt
no debug ip pim (vrf NAME|) timer hello tht
Parameters
vrf The VPN routing/forwarding instance
NAME Specify the name of the VPN routing/forwarding instance
ht Turn on or turn off the PIM Hello debugging timer (ht)
nlt Turn on or turn off the PIM Neighbor Liveliness debugging timer (nlt)
tht Turn on or turn off the Triggered Hello Timer (tht)
Default
By default, all debug options are disabled.
Command Mode
Exec mode, Privileged Exec mode, and Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
Command Syntax
debug ip pim timer joinprune
debug ip pim timer joinprune et
debug ip pim timer joinprune kat
debug ip pim timer joinprune jt
debug ip pim timer joinprune ot
debug ip pim timer joinprune ppt
debug ip pim (vrf NAME|) timer joinprune
debug ip pim (vrf NAME|) timer joinprune et
debug ip pim (vrf NAME|) timer joinprune kat
debug ip pim (vrf NAME|) timer joinprune jt
debug ip pim (vrf NAME|) timer joinprune ot
debug ip pim (vrf NAME|) timer joinprune ppt
no debug ip pim timer joinprune
no debug ip pim timer joinprune et
no debug ip pim timer joinprune kat
no debug ip pim timer joinprune jt
no debug ip pim timer joinprune ot
no debug ip pim timer joinprune ppt
no debug ip pim (vrf NAME|) timer joinprune
no debug ip pim (vrf NAME|) timer joinprune et
no debug ip pim (vrf NAME|) timer joinprune kat
no debug ip pim (vrf NAME|) timer joinprune jt
no debug ip pim (vrf NAME|) timer joinprune ot
no debug ip pim (vrf NAME|) timer joinprune ppt
Parameters
vrf The VPN routing/forwarding instance
NAME Specify the name of the VPN routing/forwarding instance
et Turn on or turn off the PIM JoinPrune expiry timer (et)
jt Turn on or turn off the PIM JoinPrune upstream Join Timer (jt)
kat Turn on or turn off the PIM JoinPrune Keep Alive timer (kat)
ot Turn on or turn off the PIM JoinPrune Upstream Override Timer (ot)
ppt Turn on or turn off the PIM JoinPrune PrunePending Timer ((ppt)
Default
By default, all debug options are disabled.
Command Mode
Exec mode, Privileged Exec mode, and Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#debug ip pim timer joinprune et
Command Syntax
debug ip pim timer register
debug ip pim timer register rst
debug ip pim (vrf NAME|) timer register
debug ip pim (vrf NAME|) timer register rst
no debug ip pim timer register
no debug ip pim timer register rst
no debug ip pim (vrf NAME|) timer register
no debug ip pim (vrf NAME|) timer register rst
Parameters
vrf The VPN routing/forwarding instance
NAME Specify the name of the VPN routing/forwarding instance
rst Turn on or turn off the PIM Register Stop Timer (rst)
Default
By default, all debug options are disabled.
Command Mode
Exec mode, Privileged Exec mode, and Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#debug ip pim timer register
ip msdp default-peer
Use this command to set a Multicast Source Discovery Protocol (MSDP) peer from which to accept Source-Active (SA)
messages.
You can have multiple active default peers:
• When you enter multiple ip msdp default-peer commands with a prefix-list keyword, all the default
peers are used at the same time for different RP prefixes. This form is typically used in a service provider cloud that
connects stub site clouds.
• When you enter multiple ip msdp default-peer commands without a prefix-list keyword, a single active
peer accepts all SA messages. If that peer fails, the next configured default peer accepts all SA messages. This
form is typically used at a stub site.
Use the no option with this command to stop accepting SA messages from a peer.
Command Syntax
ip msdp default-peer A.B.C.D (prefix-list WORD|)
ip msdp (vrf NAME|) default-peer A.B.C.D (prefix-list WORD|)
no ip msdp default-peer A.B.C.D
no ip msdp (vrf NAME|) default-peer A.B.C.D
Parameters
A.B.C.D IPv4 address of a previously configured MSDP peer
prefix-list Make this the default peer only for an access list of rendezvous points (RPs):
WORD Access list name
NAME Name of the VPN routing/forwarding instance
Default
The IPv4 multicast forwarding is disabled by default
Command Mode
Configure mode
Applicability
This command was introduced in OcNOS-SP version 4.0.
Example
#configure terminal
(config)#ip msdp default-peer 192.168.1.26 prefix-list xyz
ip msdp mesh-group
Use this command to add a Multicast Source Discovery Protocol (MSDP) peer to a mesh group.
You can set up multiple mesh groups on the same device and multiple peers per mesh group.
Use the no option with this command to remove a peer from a mesh group.
Command Syntax
ip msdp mesh-group WORD A.B.C.D
ip msdp (vrf NAME|) mesh-group WORD A.B.C.D
no ip msdp mesh-group WORD A.B.C.D
no ip msdp (vrf NAME|) mesh-group WORD A.B.C.D
Parameters
WORD Name of the mesh group
A.B.C.D IPv4 address of peer
NAME Name of the VPN routing/forwarding instance
Default
The IPv4 multicast forwarding is disabled by default
Command Mode
Configure mode
Applicability
This command was introduced in OcNOS-SP version 4.0.
Example
#configure terminal
(config)#ip msdp mesh-group mg-1 192.168.1.26
ip msdp originator-id
Use this command to allow a Multicast Source Discovery Protocol (MSDP) speaker that originates a Source-Active
(SA) message to use the IP address of an interface as a rendezvous point (RP) address in the SA message.
By default, OcNOS uses the RP address of the device.
Use the no option with this command to use the RP address of the device in SA messages.
Command Syntax
ip msdp originator-id IFNAME
ip msdp (vrf NAME|) originator-id IFNAME
no ip msdp originator-id IFNAME
no ip msdp (vrf NAME|) originator-id IFNAME
Parameters
IFNAME Use the IP address of this interface as an RP address in SA messages
NAME Name of the VPN routing/forwarding instance
Default
The RP address is used as the originator ID.
Command Mode
Configure mode
Applicability
This command was introduced in OcNOS-SP version 4.0.
Example
#configure terminal
(config)#ip msdp originator-id eth2
ip msdp password
Use this command to set an MD5-shared password key used for authenticating a Multicast Source Discovery Protocol
(MSDP) peer. By default, no MD5 password is enabled.
Use the no option with this command to remove a password.
Command Syntax
ip msdp password WORD peer A.B.C.D
ip msdp (vrf NAME|) password WORD peer A.B.C.D
no ip msdp password WORD peer A.B.C.D
no ip msdp (vrf NAME|) password WORD peer A.B.C.D
Parameters
WORD Password
A.B.C.D IPv4 address of peer
NAME Name of the VPN routing/forwarding instance
Default
The MD5 password authentication for TCP connections between MSDP peer is disabled.
Command Mode
Configure mode
Applicability
This command was introduced in OcNOS-SP version 4.0.
Example
#configure terminal
(config)#ip msdp password S#m*u104!! peer 192.168.1.26
ip msdp peer
Use this command to configure an Multicast Source Discovery Protocol (MSDP) peer relationship.
Use the no option with this command to remove a peer relationship.
Command Syntax
ip msdp peer A.B.C.D ((connect-source (IFNAME))|)
ip msdp (vrf NAME|) peer A.B.C.D ((connect-source (IFNAME))|)
ip msdp peer A.B.C.D connect-source A.B.C.D
ip msdp (vrf Name|) peer A.B.C.D connect-source A.B.C.D
no ip msdp peer A.B.C.D
no ip msdp (vrf NAME|) peer A.B.C.D
Parameters
A.B.C.D IP address of the potential peer
A.B.C.D IP address of local peer
IFNAME Use the primary address of this interface for the TCP connection with the peer
NAME Name of the VPN routing/forwarding instance
Default
By default, all ip msdp options are disabled.
Command Mode
Configure mode
Applicability
This command was introduced in OcNOS-SP version 4.0.
Example
#configure terminal
(config)#ip msdp peer 192.168.1.26 connect-source eth2
ip msdp sa
Use this command to configure an msdp source active entry.
Use the no form of this command to remove an msdp source active entry configuration.
Command Syntax
ip msdp (vrf NAME|) sa s A.B.C.D g A.B.C.D r A.B.C.D
no ip msdp (vrf NAME|) sa s A.B.C.D g A.B.C.D
Parameters
NAME Name of the VPN routing/forwarding instance name
A.B.C.D IP address of the remote peer
A.B.C.D IP address of the remote group
A.B.C.D IP address of the remote RP
Default
By default, all ip msdp options are disabled.
Command Mode
Configure mode
Applicability
This command was introduced in OcNOS-SP version 4.0.
Example
#configure terminal
(config)#ip msdp sa s 192.0.2.1 g 233.252.0.1 r 192.0.2.2
(config)#no ip msdp sa s 192.0.2.1 g 233.252.0.1
ip pim
Use this command to enable PIM dense-mode or sparse-mode on the current interface.
Use the no option with this command to disable PIM dense-mode or sparse-mode on the interface.
Command Syntax
ip pim (dense-mode|sparse-mode)
no ip pim (dense-mode|sparse-mode)
Parameters
dense-mode Enable PIM dense-mode operation
sparse-mode Enable PIM sparse-mode
Default
By default, the ip pim option is disabled.
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#interface eth0
(config-if)#ip pim dense-mode
(config)#interface eth0
(config-if)#no ip pim dense-mode
(config)#interface eth0
(config-if)#ip pim sparse-mode
(config-if)#no ip pim sparse-mode
ip pim accept-register
Use this command to configure the ability to filter out multicast sources specified by the given access-list at the RP, so
that the RP will accept/refuse to perform the Register mechanism for the packets sent by the specified sources. By
default, the RP accepts Register packets from all multicast sources.
Use the no option with this command to revert to default.
Command Syntax
ip pim accept-register list WORD
ip pim (vrf NAME|) accept-register list WORD
no ip pim accept-register
no ip pim (vrf NAME|) accept-register
Parameters
vrf The VPN routing/forwarding instance
NAME Specify the name of the VPN routing/forwarding instance
WORD Name of a standard access list
Default
By default, all ip pim options are disabled.
Command Mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#ip pim accept-register list xyz
ip pim anycast-rp
Use this command to configure the Anycast RP in the RP set.
Use the no option with this command to remove the configuration.
Command Syntax
ip pim anycast-rp A.B.C.D A.B.C.D
ip pim (vrf NAME|) anycast-rp A.B.C.D A.B.C.D
no ip pim anycast-rp A.B.C.D
no ip pim anycast-rp A.B.C.D A.B.C.D
no ip pim (vrf NAME|) anycast-rp A.B.C.D
no ip pim (vrf NAME|) anycast-rp A.B.C.D A.B.C.D
Parameters
vrf The VPN routing/forwarding instance.
NAME Specify the name of the VPN routing/forwarding instance.
A.B.C.D Unicast IP address of the Anycast RP set. An Anycast RP set is a collection of RPs in the
same domain.
A.B.C.D Destination IP address where Register messages are copied and sent. A Member RP is
an individual RP member in the Anycast RP set.
Default
By default, all ip pim options are disabled.
Command Mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
The following example shows how to configure the Anycast RP in the RP set.
#configure terminal
(config)#ip pim anycast-rp 1.1.1.1 10.10.10.10
The following example shows how to remove the configuration.
#configure terminal
(config)#no ip pim anycast-rp 1.1.1.1 10.10.10.10
ip pim bfd
Use this command to enable PIMv4 BFD on an interface.
Use the no option with this command to revert to default.
Command Syntax
ip pim bfd (disable|)
no ip pim bfd
Parameters
disable Useful when PIMv4 BFD is enabled at global level (refer command ip pim bfd all-
interfaces) and it is required to disable pim bfd on a particular interface.
Default
By default, PIMv4 BFD is disabled on the interface.
Command Mode
Interface mode
Applicability
This command was introduced in OcNOS-SP version 5.1.
Examples
#configure terminal
(config)#interface eth0
(config-if))#ip pim bfd
(config-if)#ip pim bfd disable
(config-if)#no ip pim bfd
Command Syntax
ip pim (vrf NAME|) bfd all-interfaces
no ip pim (vrf NAME|) bfd all-interfaces
Parameters
vrf The VPN routing/forwarding instance.
NAME Specify the name of the VPN routing/forwarding instance.
Default
By default, PIMv4 BFD is disabled on all interfaces.
Command Mode
Configure mode
Applicability
This command was introduced in OcNOS-DC version 5.1.
Examples
#configure terminal
(config)#ip pim bfd all-interfaces
(config)#no ip pim bfd all-interfaces
#configure terminal
(config)#ip pim vrf TEST_VRF bfd all-interfaces
ip pim bidir-enable
Use this command to enable Bidirectional PIM.
Use the no option with this command to disable Bidirectional PIM.
Command Syntax
ip pim bidir-enable
no ip pim bidir-enable
Parameters
None
Default
By default, bidirectional pim is disabled.
Command Mode
Global mode
Applicability
This command was introduced in OcNOS-SP version 4.0.
Examples
#configure terminal
(config)#ip pim bidir-enable
#configure terminal
(config)#no ip pim bidir-enable
ip pim bidir-offer-interval
Use this command to configure the bidirectional pim designated forwarder (DF) election offer message interval time.
Time interval default unit is seconds.
Use the no command to revert the offer interval period configuration to the default value.
Command Syntax
ip pim bidir-offer-interval <1-20000> (msec|)
no ip pim bidir-offer-interval
Parameters
msec Specify interval time in milliseconds
Default
The default value for interval time is 100 ms.
Command Mode
Global mode
Applicability
This command was introduced in OcNOS-SP version 4.0.
Examples
#configure terminal
(config)#ip pim bidir-offer-interval 123 msec
(config)#no ip pim bidir-offer-interval
ip pim bidir-offer-limit
Use this command to configure the number of unanswered offers before the device changes the interface state to the
designated forwarder (DF) Winner
Use the no command to reset the offer limit to its default
Command Syntax
ip pim bidir-offer-limit <4-100>
no ip pim bidir-offer-limit
Parameters
<4-100> Specify the limit of unanswered offers.
Default
The default value is three unanswered offers.
Command Mode
Global mode
Applicability
This command was introduced in OcNOS-SP version 4.0.
Examples
#configure terminal
(config)#ip pim bidir-offer-limit 50
(config)#no ip pim bidir-offer-limit
ip pim bidir-neighbor-filter
Use this command to specify which BIDIR neighbors to be considered in DF election.
Use the no form of this command to allow all BIDIR neighbors to take place in DF election.
Command Syntax
ip pim bidir-neighbor-filter WORD
no ip pim bidir-neighbor-filter
Parameters
WORD Name of an BIDIR peering filter
Default
None
Command Mode
Interface mode
Applicability
This command was introduced in OcNOS-SP version 4.0.
Examples
#configure terminal
(config)#interface eth1
(config-if)#ip pim bidir-neighbor-filter acl1
(config-if)#no ip pim bidir-neighbor-filter
Command Syntax
ip pim bind ecmp-bundle WORD
no ip pim bind ecmp-bundle
Parameters
WORD ECMP bundle name
Default
None
Command Mode
Configure mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3
Examples
OcNOS(config)#ip pim bind ecmp-bundle ebund1
OcNOS(config)#commit
OcNOS(config)#no ip pim bind ecmp-bundle
OcNOS(config)#commit
ip pim bsr-border
Use this command to prevent bootstrap router (BSR) messages from being sent or received through an interface.
When this command is configured on an interface, no PIM Version 2 BSR messages are sent or received through the
interface. Use this command to configure an interface bordering another PIM domain to avoid the exchange of BSR
messages between the two domains. BSR messages should not be exchanged between different domains, because
routers in one domain may elect rendezvous points (RPs) in the other domain, resulting in a protocol malfunction or
loss of isolation between the domains.
Note: This command does not set up multicast boundaries. It only sets up a PIM domain BSR message border.
Use the no option with this command to remove the BSR border configuration.
Command Syntax
ip pim bsr-border
no ip pim bsr-border
Default
By default, the ip pim bsr-border is disabled.
Parameters
None
Default
Bootstrap router border configuration is disabled by default.
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
The following example configures the interface to be the PIM domain border:
#configure terminal
(config)#interface eth0
(config-if)#ip pim bsr-border
(config)#interface eth0
(config-if)#no ip pim bsr-border
ip pim bsr-candidate
Use this command to give the router the candidate BSR status using the specified IP address of the interface.
Use the no option with this command to disable this function.
Command Syntax
ip pim (vrf NAME|) bsr-candidate IFNAME
ip pim (vrf NAME|) bsr-candidate IFNAME <0-32>
ip pim (vrf NAME|) bsr-candidate IFNAME <0-32> <0-255>
ip pim (vrf NAME|) bsr-candidate IFNAME
no ip pim (vrf NAME|) bsr-candidate
Parameters
vrf The VPN routing/forwarding instance
NAME Specify the name of the VPN routing/forwarding instance
IFNAME Specify the name of the interface
<0-32> Specify a hash mask length for RP selection
<0-255> Specify a priority for a BSR candidate
Default
The router is not configured to announce itself as a candidate BSR.
Command Mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
(config)#ip pim bsr-candidate eth0 20 30
(config)#ip pim bsr-candidate eth1
(config)#no ip pim bsr-candidate
ip pim cisco-register-checksum
Use this command to configure the option to calculate the register checksum over the whole packet. This command is
used to inter-operate with older Cisco IOS versions.
Use the no option with this command to revert to the default settings.
Command Syntax
ip pim cisco-register-checksum
ip pim cisco-register-checksum group-list WORD
ip pim (vrf NAME|) cisco-register-checksum
ip pim (vrf NAME|) cisco-register-checksum group-list WORD
no ip pim cisco-register-checksum
no ip pim cisco-register-checksum group-list WORD
no ip pim (vrf NAME|) cisco-register-checksum
no ip pim (vrf NAME|) cisco-register-checksum group-list WORD
Parameters
vrf The VPN routing/forwarding instance.
NAME Specify the name of the VPN routing/forwarding instance.
group-list Use this parameter to configure the option to calculate the register checksum over the
whole packet on multicast groups specified by the access-list.
WORD IP named standard access list.
Default
This command is disabled by default. By default, Register Checksum is calculated only over the header.
Command Mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#ip pim cisco-register-checksum
#configure terminal
(config)#ip pim cisco-register-checksum group-list xyz
(config)#ip access-list 34 permit 224.0.1.3
ip pim crp-cisco-prefix
Use this command to turn on or turn the Candidate-RP debugging timer-working with Cisco BSR.
Use the no form of this command to turn off the Candidate-RP debugging timer-working with Cisco BSR.
Command Syntax
ip pim (vrf NAME|) crp-cisco-prefix
no ip pim (vrf NAME|) crp-cisco-prefix
Parameters
crp-cisco-prefix
Candidate-RP debugging timer-working with Cisco BSR.
Default
None
Command Mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#ip pim crp-cisco-prefix
(config)#no ip pim crp-cisco-prefix
ip pim dr-priority
Use this command to set the designated router’s priority value.
Use the no option with this command to remove the priority from the DR.
Command Syntax
ip pim dr-priority <0-4294967294>
no ip pim dr-priority
Parameter
<0-4294967294> Valid range of values for DR priority, with a higher value resulting in a higher preference
Default
The default DR priority value is 1.
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#interface eth0
(config-if)#ip pim dr-priority 11234
(config)#interface eth0
(config-if)#no ip pim dr-priority
ip pim ecmp-bundle
se this command to create an ECMP bundle.
Use the no option with this command to delete an ECMP bundle.
Command Syntax
ip pim (vrf NAME|) ecmp-bundle WORD
no ip pim (vrf NAME|) ecmp-bundle WORD
Parameters
vrf The VPN routing/forwarding instance
NAME Specify the name of the VPN routing/forwarding instance
WORD ECMP bundle name
Default
None
Command Mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
OcNOS(config)#ip pim ecmp-bundle ebund1
OcNOS(config)#commit
OcNOS(config)#no ip pim ecmp-bundle ebund1
OcNOS(config)#commit
ip pim exclude-genid
Use this command to exclude the GenID (generated ID) option from Hello packets sent by the PIM module on an
interface. This command is used to inter-operate with older Cisco IOS versions.
Use the no option with this command to restore PIM to its default setting.
Command Syntax
ip pim exclude-genid
no ip pim exclude-genid
Parameters
None
Default
By default, the ip pim exclude-genid command is disabled.
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Default
By default, this command is disabled; that is, the GenID option is included.
Examples
#configure terminal
(config)#interface eth0
(config-if)#ip pim exclude-genid
(config)#interface eth0
(config-if)#no ip pim exclude-genid
ip pim hello-holdtime
Use this command to configure a hello holdtime other than the default(3.5 * hello_interval seconds).
When configuring hello-holdtime, if the configured value is less than the current hello_interval, it is refused.
When removing a configured hello_holdtime, the value is reset to (3.5 * current hello_interval) value.
Every time the hello_interval is updated, the hello-holdtime is also updated according to rules below:
If the hello_holdtime is not configured, or if the hello_holdtime is configured, but is less than the current hello_interval
value, it is modified to (3.5 * hello_interval). Otherwise, the configured value is maintained.
Use the no option with this command to remove the configured hello-holdtime.
Command Syntax
ip pim hello-holdtime <1-65535>
no ip pim hello-holdtime
Parameter
<1-65535> Range of values for hello-holdtime, in seconds
Default
The default hello-holdtime is 105 seconds.
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#interface eth0
(config-if)#ip pim hello-holdtime 123
(config)#interface eth0
(config-if)#no ip pim hello-holdtime
ip pim hello-interval
Use this command to configure a hello interval value other than the default. When a hello-interval is configured and
hello-holdtime is not configured, or when the hello-holdtime value configured is less than the new hello-interval value,
the holdtime value is modified to (3.5 * hello_interval). Otherwise, the hello-holdtime value is the configured value.
Use the no option with this command to reset the hello-interval to its default value.
Command Syntax
ip pim hello-interval <1-18724>
no ip pim hello-interval
Parameter
<1-18724> Range of values for the hello-interval. No fractional values are allowed in seconds.
Default
The default value for hello-interval is 30 seconds.
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#interface eth0
(config-if)#ip pim hello-interval 123
(config)#interface eth0
(config-if)#no ip pim hello-interval
ip pim ignore-rp-set-priority
Use this command to ignore the RP-SET priority value, and use only the hashing mechanism for RP selection. This
command is used to inter-operate with older Cisco IOS versions.
Use the no option with this command to remove this setting.
Command Syntax
ip pim ignore-rp-set-priority
ip pim (vrf NAME|) ignore-rp-set-priority
no ip pim ignore-rp-set-priority
no ip pim (vrf NAME|) ignore-rp-set-priority
Parameters
vrf The VPN routing/forwarding instance
NAME Specify the name of the VPN routing/forwarding instance
Default
By default, all ip pim options are disabled.
Command Mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#ip pim ignore-rp-set-priority
#configure terminal
(config)#no ip pim ignore-rp-set-priority
ip pim jp-timer
Use this command to set a PIM join/prune timer.
Use the no option with this command to remove the join/prune timer.
Command Syntax
ip pim (vrf NAME|) jp-timer <1-65535>
no ip pim (vrf NAME|) jp-timer
Parameters
vrf The VPN routing/forwarding instance
NAME Specify the name of the VPN routing/forwarding instance
<1-65535> Range of values for the Join/Prune timer, in seconds
Default
The ip pim jp-timer default value is 60 seconds.
Command Mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#ip pim jp-timer 234
#configure terminal
(config)#no ip pim jp-timer
ip pim neighbor-filter
Use this command to enable filtering of neighbors on the interface. When configuring a neighbor filter, PIM either not
establish adjacency with neighbor or terminates adjacency with existing neighbors, when denied by filtering access list.
Use the no option with this command to disable filtering of neighbors on the interface.
Command Syntax
ip pim neighbor-filter WORD
no ip pim neighbor-filter
Parameters
WORD Name of an IP standard access list
Default
By default, the ip pim option is disabled.
Command Mode
Interface mode
Default
This command is disabled by default there is no filtering.
Applicability
This command was introduced before OcNOS version 1.3.
Example
OcNOS#configure terminal
OcNOS(config)#interface eth0
OcNOS(config-if)#ip pim neighbor-filter xyz
OcNOS(config-if)#commit
OcNOS(config-if)#no ip neighbor-filter
OcNOS(config-if)#commit
OcNOS(config-if)#
ip pim passive
Use this command to enable or disable passive mode operation for local members on the interface. Passive mode
essentially stops PIM transactions on the interface, allowing only the Internet Group Management Protocol (IGMP)
mechanism to be active.
Use the no option with this command to disable the passive mode.
Command Syntax
ip pim (dense-mode|sparse-mode) passive
no ip pim (dense-mode|sparse-mode) passive
Parameters
dense-mode Enable passive operation for PIM dense-mode
sparse-mode Enable passive operation for PIM sparse-mode
Default
By default, the ip pim option is disabled.
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#interface eth0
(config-if)#ip pim dense-mode passive
(config)#interface eth0
(config-if)#no ip pim dense-mode passive
#configure terminal
(config)#interface eth0
(config-if)#ip pim sparse-mode passive
(config)#interface eth0
(config-if)#no ip pim sparse-mode passive
ip pim propagation-delay
Use this command to configure a propagation delay value for PIM.
Use the no option with this command to return the propagation delay to its default value.
Command Syntax
ip pim propagation-delay <0-32767>
no ip pim propagation-delay
Parameter
<0-32767> Range of values for propagation delay, in milliseconds
Default
The default propagation delay is 1000 milliseconds.
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#interface eth0
(config-if)#ip pim propagation-delay 1000
(config)#interface eth0
(config-if)#no ip pim propagation-delay
ip pim redundancy
Use this command to set the priority for which a router is elected as the designated router (DR).
Use the no form of this command to unset the configured priority.
Note: This command should be applied to the all related VRRP routers with identical priority values
Command Syntax
ip pim redundancy <1-255> vrrp dr-priority <0-4294967294>
no ip pim redundancy vrrp
Parameter
<1-255> VRRP virtual router identifier
<0-4294967294> DR priority
Default
None.
Command Mode
Interface mode
Applicability
This command was introduced in OcNOS-SP version 4.0.
Examples
#configure terminal
(config)#interface eth0
(config-if)#ip pim redundancy 1 vrrp dr-priority 900
(config)#interface eth0
(config-if)#no ip pim redundancy vrrp
ip pim register-rate-limit
Use this command to configure the rate of Register packets sent by this designated router (DR), in number of packets
per second.
Use the no option to remove the register-rate-limit configuration.
Note: The configured rate is per (S,G) state, and is not a system-wide rate.
Command Syntax
ip pim (vrf NAME|) register-rate-limit <1-65535>
no ip pim (vrf NAME|) register-rate-limit
Parameters
vrf The VPN routing/forwarding instance
NAME Specify the name of the VPN routing/forwarding instance
<1-65535> Range of values for packets to send per second
Default
No rate limit is set for PIM-SM register packets.
Command mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#ip pim register-rate-limit 3444
#configure terminal
(config)#no ip pim register-rate-limit
ip pim register-rp-reachability
Use this command to enable the RP reachability check for PIM Registers at the DR.
Use the no option to reset to disable the RP reachability check for PIM Registers at the DR.
Command Syntax
ip pim (vrf NAME|) register-rp-reachability (disable|enable)
no ip pim (vrf NAME|) register-rp-reachability
Parameter
vrf The VPN routing/forwarding instance
NAME Specify the name of the VPN routing/forwarding instance
Default
The default setting is checking for rendezvous point reachability,
Command Mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#ip pim register-rp-reachability disable
(config)#no ip register-rp-reachability
(config)#commit
ip pim register-source
Use this command to configure the source address of Register packets sent by this DR, overriding the default source
address, which is the address of the RPF interface toward the source host.
Use the no option to remove the source address of register packets sent by this DR, and reset it to use the default
source address, that is, the address of the RPF interface toward the source host.
The configured address must be a reachable address so the RP can send corresponding Register-Stop messages in
response. This address is usually the loopback interface address, but can also be other physical addresses. The
address must be advertised by unicast routing protocols on the DR.
Note: The interface configured does not require PIM to be enabled.
Command Syntax
ip pim (vrf NAME|) register-source (A.B.C.D|IFNAME)
no ip pim (vrf NAME|) register-source
Parameters
vrf The VPN routing/forwarding instance
NAME Specify the name of the VPN routing/forwarding instance
A.B.C.D The IP address to use as the source of the register packets
IFNAME The name of the interface to use as the source of the register packets
Default
By default, the IP address of the outgoing interface of the DR leading toward the RP is used as the IP source address
of a register message.
Command mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#ip pim register-source 3.3.3.2
OcNOS(config)#no ip register-source
ip pim register-suppression
Use this command to configure the register-suppression time, in seconds, overriding the default value of 60 seconds.
Configuring this value modifies register-suppression time at the DR; configuring this value at the RP modifies the RP-
keepalive-period value if the ip pim rp-register-kat command is not used.
Use the no option to remove the register-suppression setting.
Command Syntax
ip pim register-suppression <11-65535>
ip pim (vrf NAME|) register-suppression <11-65535>
no ip pim register-suppression
no ip pim (vrf NAME|) register-suppression
Parameters
vrf The VPN routing/forwarding instance
NAME Specify the name of the VPN routing/forwarding instance
<11-65535> Range of values for register suppression time in seconds
Default
By default, the ip pim option is disabled.
Command mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#ip pim register-suppression 555
#configure terminal
(config)#no ip pim register-suppression
ip pim router-id
Use this command to configure PIM router-ID to uniquely identify the router.By default, PIM registers for the NSM
router-id service. This command will override the router-id received from NSM.
Use the no option with this command to unconfigure PIM router-ID. This will make PIM fall back to the NSM router-id
Command Syntax
ip pim (vrf NAME|) router-id A.B.C.D
no ip pim (vrf NAME|) router-id
Parameters
vrf The VPN routing/forwarding instance
NAME Specify the name of the VPN routing/forwarding instance
A.B.C.D Specify the Router ID
Default
By default, the ip pim option is disabled.
Command Mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#ip pim router-id 1.1.1.1
ip pim rp-address
Use this command to statically configure Rendezvous Point (RP) address for multicast groups.
Use the no option to remove the RP address.
OcNOS PIM supports multiple static RPs. It also supports static-RP and Bootsrtrap Router (BSR) mechanism
simultaneously. The following list states the correct usage of this command:
• If RP-address configured through BSR and RP-address configured statically are both available for a group range,
the RP-address configured through BSR is chosen over statically configured RP-address.
• One static-RP can be configured for multiple group ranges using Access Lists. However, configuring multiple static
RPs (using ip pim rp-address command) with the same RP address is not allowed. The static-RP can either
be configured for the whole multicast group range 224/4 (without ACL) or for specific group ranges (using ACL).
For example, configuring ip pim rp-address 1.2.3.4 will configure static-RP 1.2.3.4 for the default group
range 224/4. Configuring ip pim rp-address 5.6.7.8 grp-list will configure static-RP 5.6.7.8 for all
the group ranges represented by Permit filters in grp-list ACL.
• If multiple static-RPs are available for a group range, then one with the highest IP address is chosen.
• Only permit filters in ACL are considered as valid group ranges. The default Permit filter 0.0.0.0/0 is
converted to default multicast filter 224/4.
• When selecting static-RPs for a group range, the first element, with the static-RP with highest IP address, is
chosen.
• Group mode and RP address mappings learned through BSR take precedence over mappings statistically defined
by the ip pim rp-address command without the override keyword. Commands with the override keyword
take precedence over dynamically learned mappings.
Command Syntax
ip pim (vrf NAME|) rp-address A.B.C.D (override|)
ip pim (vrf NAME|) rp-address A.B.C.D WORD
ip pim (vrf NAME|) rp-address A.B.C.D WORD override bidir
no ip pim (vrf NAME|) rp-address A.B.C.D WORD override bidir
no ip pim (vrf NAME|) rp-address A.B.C.D bidir
no ip pim (vrf NAME|) rp-address A.B.C.D (override|)
no ip pim (vrf NAME|) rp-address A.B.C.D WORD
Parameters
bidir Bidirectional RP address
vrf The VPN routing/forwarding instance
NAME Specify the name of the VPN routing/forwarding instance
WORD Standard Access-list name
override Static RP overrides dynamically-learned RP
Default
No PIM static group-to-RP mappings are configured.
Command Mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
(config)#ip pim rp-address 192.168.100.1 override
(config)#ip pim rp-address 3.3.3.3 xyz
(config)#ip pim rp-address 2.2.2.2 ip1 bidir
(config)#ip pim rp-address 192.168.0.1 abc override bidir
(config)#no ip pim rp-address 192.168.0.1 abc override bidir
(config)#no ip pim rp-address 192.168.100.1 override
(config)#no ip pim rp-address 192.168.0.1 bidir
ip pim rp-candidate
Use this command to give the router a candidate RP status using the IP address of the specified interface.
Use the no option along with this command to remove the settings.
Command Syntax
ip pim rp-candidate IFNAME (bidir|) (group-list WORD|) (interval <0-16383>|)
(priority <0-255>|)
ip pim (vrf NAME) rp-candidate IFNAME (bidir|) (group-list WORD|) (interval <0-
16383>|) (priority <0-255>|)
no ip pim rp-candidate (IFNAME|)
no ip pim (vrf NAME) rp-candidate (IFNAME|)
Parameters
vrf NAME The VPN routing/forwarding instance
IFNAME Specify an interface name
WORD A named standard access list
group-list Group Ranges for this C-RP
interval C-RP advertisement interval
priority Candidate-RP priority
<0-16383> Range of values for candidate-RP advertisement interval, in seconds
<0-255> Range of values for priority of an RP candidate
Default
The ip pim rp-candidate default priority is 192 and interval is 60 seconds.
Command Mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#ip pim rp-candidate eth0
ip pim rp-register-kat
Use this command to configure a Keepalive Timer (KAT) value for (S,G) states at RP to monitor PIM register packets,
overriding the generic KAT timer value.
Use the no option to remove this configuration.
Command Syntax
ip pim rp-register-kat <1-65535>
ip pim (vrf NAME|) rp-register-kat <1-65535>
no ip pim rp-register-kat
no ip pim (vrf NAME|) rp-register-kat
Parameters
vrf The VPN routing/forwarding instance
NAME Specify the name of the VPN routing/forwarding instance
<1-65535> Range of values for a KAT time in seconds
Default
The ip pim rp-register-kat default is 60 seconds.
Command mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#ip pim rp-register-kat 3454
ip pim spt-threshold
Use this command to turn on the ability of the last-hop PIM router to switch to SPT.
Use the no option with this command to turn off the ability of the last-hop PIM router to switch to SPT.
Note: This option is binary, meaning that the switching to SPT happens either at the receiving of the first data packet
or not at all. It is not rate-based.
Command Syntax
ip pim spt-threshold
ip pim spt-threshold group-list WORD
ip pim (vrf NAME|) spt-threshold
ip pim (vrf NAME|) spt-threshold group-list WORD
no ip pim spt-threshold
no ip pim spt-threshold group-list WORD
no ip pim (vrf NAME|) spt-threshold
no ip pim (vrf NAME|) spt-threshold group-list WORD
Parameters
vrf The VPN routing/forwarding instance
NAME Specify the name of the VPN routing/forwarding instance
group-list Enable the ability for the last-hop PIM router to switch to SPT for multicast group
addresses indicated by the given access-list
WORD A named standard access list
Default
When this command is not used, the PIM leaf router joins the shortest path tree immediately after the first packet
arrives from a new source.
Command Mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#ip pim spt-threshold
#configure terminal
(config)#ip pim spt-threshold group-list LIST1
(config)#ip access-list permit 224.0.1.3
#configure terminal
(config)#no ip pim spt-threshold
ip pim ssm
Use this command to configure Source Specific Multicast (SSM) and define the range of multicast IP addresses. The
keyword default defines the SSM range as 232/8. To define an SSM range other than the default, specify an access-
list.
When an SSM range of IP multicast addresses is defined with this command, the no (*,G) or (S,G,rpt) state is initiated
for groups in the SSM range.
The messages corresponding to these states are not accepted and originate in the SSM range.
Use the no form of this command to disable the SSM range.
Command Syntax
ip pim ssm default
ip pim ssm range WORD
ip pim (vrf NAME|) ssm default
ip pim (vrf NAME|) ssm range WORD
no ip pim ssm
no ip pim (vrf NAME|) ssm
Parameters
vrf The VPN routing/forwarding instance
NAME Specify the name of the VPN routing/forwarding instance
default This keyword defines the 232/8 group range for SSM
range Define an access-list for group range to use for SSM
WORD A named standard access list
Default
By default, all ip pim options are disabled.
Command Mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
The following example shows how to configure SSM service for the IP address range defined by access list 10:
#configure terminal
(config)#access-list 10 permit 225.1.1.1
(config)#ip pim ssm range xyz
Command Syntax
ip pim state-refresh origination-interval <1-100>
no ip pim state-refresh origination-interval
Parameter
<1-100> Range of values for state-refresh origination interval, in seconds
Note: No fractional values are allowed for the interval time.
Default
The default state-refresh origination interval is 60 seconds.
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#interface eth0
(config-if)#ip pim state-refresh origination-interval 65
(config)#interface eth0
(config-if)#no ip pim state-refresh origination-interval
ip pim unicast-bsm
Use this command to enable support for sending and receiving unicast Bootstrap Messages (BSM) on an interface.
This command supports backward-compatibility with older versions of the Bootstrap Router specification, which
specifies unicast BSM to refresh the state of new or restarting neighbors.
Use the no option with this command to disable unicast bootstrap messaging on an interface.
Command Syntax
ip pim unicast-bsm
no ip pim unicast-bsm
Parameters
None
Default
Unicast bootstrap messaging is disabled by default.
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#interface eth0
(config-if)#ip pim unicast-bsm
(config)#interface eth0
(config-if)#no ip pim unicast-bsm
Command Syntax
show debugging ip pim
show debugging ip pim (vrf NAME|)
Parameters
vrf The VPN routing/forwarding instance
NAME Specify the name of the VPN routing/forwarding instance
Command Mode
Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#show debugging ip pim
PIM Debugging status:
PIM event debugging is on
PIM MFC debugging is on
PIM state debugging is on
PIM incoming packet debugging is on
PIM outgoing packet debugging is on
PIM Hello HT timer debugging is on
PIM Hello NLT timer debugging is on
PIM Hello THT timer debugging is on
PIM Join/Prune JT timer debugging is on
PIM Join/Prune ET timer debugging is on
PIM Join/Prune PPT timer debugging is on
PIM Join/Prune KAT timer debugging is on
PIM Join/Prune OT timer debugging is on
PIM Assert AT timer debugging is on
PIM Register RST timer debugging is on
PIM Bootstrap BST timer debugging is on
PIM Bootstrap CRP timer debugging is on
PIM mib debugging is on
PIM nexthop debugging is on
PIM mtrace debugging is on
PIM NSM debugging is on
PIM MSDP debugging is on
Command Syntax
show debugging pim
Parameters
None
Command Mode
Privileged Exec and Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
This command displays one of several status:
#show debugging pim
PIM Debugging status:
PIM event debugging is on
PIM MFC debugging is on
PIM state debugging is on
PIM incoming packet debugging is on
PIM outgoing packet debugging is on
PIM Hello HT timer debugging is on
PIM Hello NLT timer debugging is on
PIM Hello THT timer debugging is on
PIM Join/Prune JT timer debugging is on
PIM Join/Prune ET timer debugging is on
PIM Join/Prune PPT timer debugging is on
PIM Join/Prune KAT timer debugging is on
PIM Join/Prune OT timer debugging is on
PIM Assert AT timer debugging is on
PIM Register RST timer debugging is on
PIM Bootstrap BST timer debugging is on
PIM Bootstrap CRP timer debugging is on
PIM mib debugging is on
PIM nexthop debugging is on
PIM mtrace debugging is on
PIM NSM debugging is on
PIM MSDP debugging is on
Command Syntax
show ip msdp peer (A.B.C.D|)
show ip msdp (vrf NAME|) peer (A.B.C.D|)
Parameters
A.B.C.D IPv4 address of peer
NAME Name of the VPN routing/forwarding instance
Command Mode
Privileged Exec and Exec mode
Applicability
This command was introduced in OcNOS-SP version 4.0.
Example
#show ip msdp peer
Entry Description
Connection status State – Up, Down, Invalid, Disabled, Inactive, Listening, Connecting, Established, or
Maximum.
Command Syntax
show ip msdp sa-cache
show ip msdp sa-cache details
show ip msdp sa-cache A.B.C.D
show ip msdp sa-cache A.B.C.D A.B.C.D
show ip msdp (vrf NAME|) sa-cache
show ip msdp (vrf NAME|) sa-cache details
show ip msdp (vrf NAME|) sa-cache A.B.C.D
show ip msdp (vrf NAME|) sa-cache A.B.C.D A.B.C.D
Parameters
A.B.C.D Source and/or group IP address
details Detailed sa-cache information
NAME Name of the VPN routing/forwarding instance
Command Mode
Privileged Exec and Exec mode
Applicability
This command was introduced in OcNOS-SP version 4.0.
Example
#show ip msdp sa-cache
MSDP Source-Active Cache:
(20.1.1.11, 224.1.1.1), RP 10.1.1.11, RPF-Peer 11.1.1.12 Uptime 00:00:02
Exptime 00:03:28P
Entry Description
MSDP Source-Active Cache • (S,G) address pair – Source address, multicast address
• RP – Reverse Path address
• RRF-Peer – Reverse Path Forwarding address
• Uptime – as stated
• Exptime – Time until entry timeout
Command Syntax
show ip pim interface
show ip pim interface detail
show ip pim (vrf NAME|) interface
show ip pim (vrf NAME|) interface detail
Parameters
vrf The VPN routing/forwarding instance
NAME Specify the name of the VPN routing/forwarding instance
detail Display detailed information about a PIM interface
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
Router_E#show ip pim interface
Address Interface VIFindex Ver/ Nbr DR DR
Mode Count Prior
192.168.1.10 eth1 0 v2/S 1 1 192.168.1.10
172.16.1.10 eth2 2 v2/S 1 1 172.16.1.10
192.168.1.149
192.168.1.150
192.168.1.152
Note: For show ip pim (vrf NAME|) interface detail command:
• Output shall contain 'Bidirectional Forwarding Detection is enabled' in case PIMv4 BFD is enabled on
an interface either by global command or at interface level.
• Output shall contain 'Bidirectional Forwarding Detection is disabled' in case PIMv4 BFD is explicitly
disabled on an interface.
Entry Description
Ver/Mode PIM version (either v1, v2, or v3) / PIM Mode – Either S (sparse mode) or D (dense
mode).
Hello Period Routing devices send hello messages at a fixed interval on all PIM-enabled interfaces.
By using hello messages, routing devices advertise their existence as PIM routing
devices on the subnet.
Next Hello When the interval counts down to 0, the routing device sends another hello message,
and the timer is reset. A routing device that receives no response from a neighbor in 3.5
times the interval value drops the neighbor.
ECMP Redirect, bundle An ECMP bundle is a set of PIM-enabled interfaces on a router, where all interfaces
belonging to the same bundle share the same routing metric. The next hops for the
ECMP are all one hop away. There can be one or more ECMP bundles on any router,
while one individual interface can only belong to a single bundle. ECMP bundles are
created on a router via configuration.
Command Syntax
show ip pim interface (IFNAME|) df (A.B.C.D|)
Parameters
IFNAME Name of the interface
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced in OcNOS-SP version 4.0.
Examples
Router# show ip pim interface df
Command Syntax
show ip pim mroute (detail|)
show ip pim mroute A.B.C.D (detail|)
show ip pim mroute A.B.C.D A.B.C.D (detail|)
show ip pim (vrf NAME|) mroute (detail|)
show ip pim (vrf NAME|) mroute A.B.C.D (detail|)
show ip pim (vrf NAME|) mroute A.B.C.D A.B.C.D (detail|)
Parameter
vrf The VPN routing/forwarding instance
NAME Specify the name of the VPN routing/forwarding instance
A.B.C.D Display all entries for this group IP address
A.B.C.D Display all entries for this source IP address
Note: A group IP address and a source IP address cannot be simultaneously
detail Display detailed PIM multicast routing table information
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#show ip pim mroute
(*,*,RP) Entries: 0
(*,G) Entries: 1
(S,G) Entries: 0
(S,G,rpt) Entries: 0
(*, 224.0.1.3)
RP: 10.10.1.5
RPF nbr: 172.16.1.2
RPF idx: eth2
Upstream State: JOINED
Local ................................
Joined j...............................
Asserted ................................
Outgoing o...............................
Entry Description
(S, G, rpt) Entries: The RPT is the path between the RP and receivers (hosts) in a multicast group. The RPT is
built by means of a PIM join message from a receiver's DR.
Command Syntax
show ip pim neighbor (detail|)
show ip pim neighbor IFNAME (detail|)
show ip pim neighbor IFNAME A.B.C.D (detail|)
show ip pim (vrf NAME|) neighbor (detail|)
show ip pim (vrf NAME|) neighbor IFNAME (detail|)
show ip pim (vrf NAME|) neighbor IFNAME A.B.C.D (default|)
Parameters
vrf The VPN routing/forwarding instance
NAME Specify the name of the VPN routing/forwarding instance
IFNAME Name of the interface
A.B.C.D IPv4 address of the neighbor interface
detail Display detailed information for a PIM neighbor
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#show ip pim neighbor
Neighbor Interface Uptime/Expires Ver DR
Address Priority/Mode
10.10.14.11 eth3 00:14:30/00:01:45 v2 1 / DR
Entry Description
Uptime/Expires Neighbor’s uptime / time until uptime expires and starts sending hello messages.
Nbr NEighbor IP address and interface name (eth1, xe3, xe5/1 etc.).
Expires in Time before the Hello timer expires and must retransmit.
Holdtime: Before an interface goes down or changes primary IP address, a Hello message with a zero
HoldTime should be sent immediately (with the old IP address if the IP address changed).
This will cause PIM neighbors to remove this neighbor (or its old IP address) immediately.
After an interface has changed its IP address, it MUST send a Hello message with its new
IP address. If an interface changes one of its secondary IP addresses, a Hello message
with an updated Address_List option and a non-zero HoldTime should be sent immediately.
This will cause PIM neighbors to update this neighbor's list of secondary addresses
immediately.
T-bit: RPT-bit is a 1-bit value. The RPT-bit is set to 1 for Assert(*,G) messages and 0 for
Assert(S,G) messages.
Entry Description
Lan delay: In addition to the information recorded for the DR Election, the following per neighbor
information is obtained from the LAN Prune Delay Hello option:
In addition to the information recorded for the DR Election, the following per neighbor
information is obtained from the LAN Prune Delay Hello option:
neighbor.lan_prune_delay_present
A flag indicating if the LAN Prune Delay option was present in
the Hello message.
neighbor.tracking_support
A flag storing the value of the T bit in the LAN Prune Delay
option if it is present in the Hello message. This indicates
the neighbor's capability to disable Join message suppression.
neighbor.propagation_delay
The Propagation Delay field of the LAN Prune Delay option (if
present) in the Hello message.
neighbor.override_interval
The Override_Interval field of the LAN Prune Delay option (if
present) in the Hello message.
The additional state described above is deleted along with the DR neighbor state when the
neighbor timeout expires.
DR priority: The DR_Priority Option allows a network administrator to give preference to a particular
router in the DR election process by giving it a numerically larger DR Priority.The
DR_Priority Option SHOULD be included in every Hello message, even if no DR Priority is
explicitly configured on that interface. This is necessary because priority-based DR election
is only enabled when all neighbors on an interface advertise that they are capable of using
the DR_Priority Option. The default priority is 1.
Router-ID: As stated.
Local-ID: As stated.
Command Syntax
show ip pim nexthop
show ip pim (vrf NAME|) nexthop
Parameter
vrf The VPN routing/forwarding instance
NAME Specify the name of the VPN routing/forwarding instance
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#show ip pim nexthop
Command Syntax
show ip pim bsr-router
show ip pim (vrf NAME|) bsr-router
Parameters
vrf The VPN routing/forwarding instance
NAME Specify the name of the VPN routing/forwarding instance
Command Mode
Privileged Exec and Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#show ip pim bsr-router
PIMv2 Bootstrap information
BSR address: 10.10.11.35 (?)
Uptime: 00:00:38, BSR Priority: 0, Hash mask length: 10
Expires: 00:01:32
Role: Non-candidate BSR
State: Accept Preferred
Entry Description
Uptime As stated
BSR Priority BSR election priority; can be set manually, but default is 64.
Entry Description
Role Specifies whether the BSR is the Candidate BSR or a Non-candidate BSR
State • The current state of a Candidate BSR, one of the following: Candidate-
BSR, Pending-BSR, or Elected-BSR.
• The current state of a Non-candidate BSR, one of the following: Accept Any
or Accept Preferred.
Command Syntax
show ip pim local-members
show ip pim local-members IFNAME
show ip pim (vrf NAME|) local-members
show ip pim (vrf NAME|) local-members IFNAME
Parameters
vrf The VPN routing/forwarding instance
NAME Specify the name of the VPN routing/forwarding instance
IFNAME Display local membership for an interface name
Command Mode
Privileged Exec and Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#show ip pim vrf q local-members p8p1
PIM Local membership information
p8p1:
(*, 233.5.5.5) : Include
(*, 233.7.7.7) : Include
Entry Description
(*,G) The local members in the form (Source/Group). Shows state – either Include or Exclude.
Command Syntax
show ip pim rp-hash A.B.C.D
show ip pim (vrf NAME|) rp-hash A.B.C.D
Parameters
vrf The VPN routing/forwarding instance
NAME Specify the name of the VPN routing/forwarding instance
A.B.C.D Specify a group address
Command Mode
Privileged Exec mode and Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
A.B.C.D in command refers to the group address to be hashed.
#show ip pim rp-hash 224.0.1.3
Group(s): 224.0.0.0/4
RP: 172.16.1.2
Info source: 172.16.1.2, via bootstrap
Entry Description
RP Rendezvous Point
Info source The address and identity from which this information was received. In the example above, it
was learned from the bootstrap router.
Command Syntax
show ip pim rp mapping
show ip pim (vrf NAME|) rp mapping
Parameter
vrf The VPN routing/forwarding instance
NAME Specify the name of the VPN routing/forwarding instance
Command Mode
Privileged Exec mode and Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#show ip pim rp mapping
This system is the Bootstrap Router (v2)
Group(s): 224.0.0.0/4
RP: 10.10.1.5
Info source: 172.16.1.2, via bootstrap, priority 192
Uptime: 00:00:13, expires: 00:02:29
RP: 172.16.1.2
Info source: 172.16.1.2, via bootstrap, priority 2
Uptime: 00:34:42, expires: 00:01:49
Entry Description
Identity declaration This system is the Bootstrap Router (PIM version number v1, v2. or, v3) or not the
Bootstrap Router.
Info source: Address of the info source, whether it was learned from the Bootstrap Router, and the
configured priority.
Command Syntax
snmp restart pim
Parameters
None
Default
By default, the snmp restart pim is disabled.
Command Mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#snmp restart pim
Command Syntax
clear ipv6 mld
clear ipv6 mld group *
clear ipv6 mld group X:X::X:X
clear ipv6 mld group X:X::X:X IFNAME
clear ipv6 mld group [*|X:X::X:X (IFNAME)]
clear ipv6 mld interface IFNAME
clear ipv6 mld (vrf NAME|)
clear ipv6 mld (vrf NAME|) group *
clear ipv6 mld (vrf NAME|) group X:X::X:X
clear ipv6 mld (vrf NAME|) group X:X::X:X IFNAME
clear ipv6 mld (vrf NAME|) interface IFNAME
Parameter
vrf Specify the VRF name.
groups Clears groups from an interface.
* Clears all groups from an interface.
X:X::X:X Specify an IPv6 interface.
interface Specify the interface parameter.
IFNAME Specify the interface name.
Command Mode
Privileged Exec mode
Applicability
This command was introduced in OcNOS version 6.2.0.
Example
#clear ipv6 mld group *
#clear ipv6 mld group 1001::12
#clear ipv6 mld vrf VRF_A
Command Syntax
debug ipv6 mld all
debug ipv6 mld decode
debug ipv6 mld encode
debug ipv6 mld events
debug ipv6 mld fsm
debug ipv6 mld tib
debug ipv6 mld (vrf NAME|) all
debug ipv6 mld (vrf NAME|) decode
debug ipv6 mld (vrf NAME|) encode
debug ipv6 mld (vrf NAME|) events
debug ipv6 mld (vrf NAME|) fsm
debug ipv6 mld (vrf NAME|) tib
no debug ipv6 mld all
no debug ipv6 mld decode
no debug ipv6 mld encode
no debug ipv6 mld events
no debug ipv6 mld fsm
no debug ipv6 mld tib
no debug ipv6 mld (vrf NAME|) all
no debug ipv6 mld (vrf NAME|) decode
no debug ipv6 mld (vrf NAME|) encode
no debug ipv6 mld (vrf NAME|) events
no debug ipv6 mld (vrf NAME|) fsm
no debug ipv6 mld (vrf NAME|) tib
Parameters
all Debug all MLD.
decode Debug MLD decoding.
encode Debug MLD encoding.
events Debug MLD events.
fsm Debug MLD finite state machine (FSM).
tib Debug MLD tree information base (TIB).
Command Mode
Privileged Exec mode and Configure mode
Applicability
This command was introduced in OcNOS version 6.2.0.
Example
#configure terminal
(config)#debug ipv6 mld all
ipv6 mld
Use this command to enable the MLD protocol operation on an interface. This command enables MLD protocol
operation in stand-alone mode, and can be used to learn local-membership information prior to enabling a multicast
routing protocol on the interface. This command will has no effect on interfaces configured for MLD Proxy.
Note: This command can only be issued on VLAN interfaces.
Use the no parameter with this command to return all MLD related configuration to the default or MLD Proxy service.
Command Syntax
ipv6 mld
no ipv6 mld
Parameters
None
Default
Disabled
Command Mode
Interface mode for VLAN interface
Applicability
This command was introduced in OcNOS version 6.2.0.
Example
#configure terminal
(config)#interface eth1
(config-if)#ipv6 mld
Command Syntax
ipv6 mld access-group WORD
no ipv6 mld access-group
Parameter
WORD Standard IPv6 access-list name.
Default
No access list configured.
Command Mode
Interface mode for VLAN interface
Applicability
This command was introduced in OcNOS version 6.2.0.
Examples
In the following example, hosts serviced by Ethernet interface 0 can join the group ff0e::1/128 only:
#configure terminal
(config)#ipv6 access-list Group1 permit ff0e::1/128
(config)#interface fxp0
(config-if)#ipv6 mld access-group Group1
Command Syntax
ipv6 mld immediate-leave group-list WORD
no ipv6 mld immediate-leave
Parameter
group-list Standard IPv6 access-list name that defines multicast groups in which the immediate
leave feature is enabled.
Default
Disabled
Command Mode
Interface mode for VLAN interface
Applicability
This command was introduced in OcNOS version 6.2.0.
Examples
The following example shows how to enable the immediate-leave feature on an interface for a specific range of
multicast groups. In this example, the router assumes that the group access-list consists of groups that have only one
node membership at a time per interface:
#configure terminal
(config)#interface eth0
(config-if)#ipv6 mld immediate-leave v6grp
(config-if)#exit
Command Syntax
ipv6 mld last-member-query-count <2-7>
no ipv6 mld last-member-query-count
Parameters
<2-7> Specify a last-member query-count value.
Default
The default last-member query-count value is 2.
Command Mode
Interface mode for VLAN interface
Applicability
This command was introduced in OcNOS version 6.2.0.
Example
#configure terminal
(config)#interface 0
(config-if)#ipv6 mld last-member-query-count 3
Command Syntax
ipv6 mld last-member-query-interval <1000-25500>
no ipv6 mld last-member-query-interval
Parameter
<1000-25500> Specify a last member query interval value in milliseconds.
Default
The default last-member query-count value is 1000 milliseconds.
Command Mode
Interface mode for VLAN interface
Applicability
This command was introduced in OcNOS version 6.2.0.
Example
The following example changes the MLD group-specific host query message interval to 2 seconds:
#configure terminal
(config)#interface eth0
(config-if)#ipv6 mld last-member-query-interval 2000
Command Syntax
ipv6 mld limit <1-2097152> (except WORD |)
ipv6 mld (vrf NAME|) limit <1-2097152> (except WORD |)
no ipv6 mld limit
Parameters
vrf Specify the VRF name.
<1-2097152> Maximum number of group membership states.
except Standard IPv6 access-list name that defines multicast groups which are exempted from
being subject to the configured limit.
WORD Specify the standard IPv6 access-list name.
Default
The default value is 0 (zero).
Command Mode
Configure mode and Interface mode
Applicability
This command was introduced in OcNOS version 6.2.0.
Examples
The following example configures an MLD limit of 100 group-membership states across all interfaces on which MLD is
enabled, and excludes group 224.1.1.1 from this limitation:
#configure terminal
(config)#ipv6 mld limit 100 except v6grp
The following example configures an MLD limit of 100 group-membership states on eth0:
#configure terminal
(config)#interface eth0
(config-if)#ipv6 mld limit 100
Command Syntax
ipv6 mld mroute-proxy IFNAME
no ipv6 mld mroute-proxy
Parameters
IFNAME Specify the interface name.
Command Mode
Interface mode
Applicability
This command was introduced in OcNOS version 6.2.0.
Example
The following example configures the eth0 interface as the upstream proxy-service interface for the downstream
router-side interface, eth1.
#configure terminal
(config)#interface eth1
(config-if)#ipv6 mld mroute-proxy eth0
Command Syntax
ipv6 mld proxy unsolicited-report-interval <1000-25500>
no ipv6 mld proxy unsolicited-report-interval
Parameter
<1000-25500> Specify an unsolicited report interval value in milliseconds.
Default
1000 milliseconds
Command Mode
Interface mode
Applicability
This command was introduced in OcNOS version 6.2.0
Example
#configure terminal
(config)#interface eth1
(config-if)#ipv6 mld proxy unsolicited-report-interval 1234
(config-if)#no ipv6 mld proxy unsolicited-report-interval
Command Syntax
ipv6 mld proxy-service
no ipv6 mld proxy-service
Parameters
None
Command Mode
Interface mode
Applicability
This command was introduced in OcNOS version 6.2.0.
Example
The following example designates the eth0 interface as the upstream proxy-service interface.
#configure terminal
(config)#interface eth0
(config-if)#ipv6 mld proxy-service
Command Syntax
ipv6 mld querier-timeout <60-300>
no ipv6 mld querier-timeout
Parameter
<60-300> Number of seconds that the router waits after the previous querier has stopped querying
before it takes over as the querier.
Command Mode
Interface mode
Applicability
This command was introduced in OcNOS version 6.2.0.
Example
The following example configures the router to wait 120 seconds from the time it received the last query before it takes
over as the querier for the interface:
#configure terminal
(config)#interface eth0
(config-if)#ipv6 mld querier-timeout 120
Command Syntax
ipv6 mld query-interval <1-18000>
no ipv6 mld query-interval
Parameter
<1-18000> Frequency (in seconds) at which MLD host query messages are sent.
Default
125 seconds.
Command Mode
Interface mode
Applicability
This command was introduced in OcNOS version 6.2.0.
Example
The following example changes the frequency of sending MLD host-query messages to 2 minutes:
#configure terminal
(config)#interface fxp0
(config-if)#ipv6 mld query-interval 120
Command Syntax
ipv6 mld query-max-response-time <1-240>
no ipv6 mld query-max-response-time
Parameter
<1-240> Maximum response time (in seconds) advertised in MLD queries.
Default
10 seconds
Command Mode
Interface mode
Applicability
This command was introduced in OcNOS version 6.2.0.
Example
The following example configures a maximum response time of 8 seconds:
#configure terminal
(config)#interface eth0
(config-if)#ipv6 mld query-max-response-time 8
Command Syntax
ipv6 mld robustness-variable <2-7>
no ipv6 mld robustness-variable
Parameter
<2-7> Specify a robustness variable value in seconds.
Default
Default robustness value is 2 seconds.
Command Mode
Interface mode
Applicability
This command was introduced in OcNOS version 6.2.0.
Example
#configure terminal
(config)#interface 0
(config-if)#ipv6 mld robustness-variable 3
Command Syntax
ipv6 mld ssm-map enable
ipv6 mld (vrf NAME|) ssm-map enable
no ipv6 mld ssm-map enable
no ipv6 mld (vrf NAME|) ssm-map enable
Parameter
vrf Specify the VRF name.
Command Mode
Configure mode
Applicability
This command was introduced in OcNOS version 6.2.0.
Example
This example shows how to enable MLD SSM mapping on the router.
#configure terminal
(config)#ipv6 mld ssm-map enable
Command Syntax
ipv6 mld ssm-map static WORD X:X::X:X
ipv6 mld (vrf NAME|) ssm-map static WORD X:X::X:X
no ipv6 mld ssm-map static WORD X:X::X:X
no ipv6 mld (vrf NAME|) ssm-map static WORD X:X::X:X
Parameters
vrf Specify the VRF name.
WORD Specify IPv6 named standard access-list.
X:X::X:X Specify IPv6 address.
Command Mode
Configure mode
Applicability
This command was introduced in OcNOS version 6.2.0.
Example
This example shows how to configure an SSM static mapping for group-address ff0e::1/128.
#configure terminal
(config)#ipv6 mld ssm-map static v6grp 2006::3
(config)#ipv6 access-list v6grp permit ff0e::1/128
Command Syntax
ipv6 mld startup-query-count <2-10>
no ipv6 mld startup-query-count
Parameters
<2-10> Specify a startup query count value.
Default
The default value 2.
Command Mode
Interface mode
Applicability
This command was introduced in OcNOS version 6.2.0.
Example
#configure terminal
(config)#interface 0
(config-if)#ipv6 mld startup-query-count 2
Command Syntax
ipv6 mld startup-query-interval <1-18000>
no ipv6 mld startup-query-interval
Parameters
<1-18000> Specify a startup query interval value in seconds.
Default
The default value 31 seconds.
Command Mode
Interface mode
Applicability
This command was introduced in OcNOS version 6.2.0.
Example
#configure terminal
(config)#interface 0
(config-if)#ipv6 mld startup-query-interval 1
Command Syntax
ipv6 mld static-group X:X::X:X {(source (X:X::X:X|ssm-map)|) (interface IFNAME|)}
no ipv6 mld static-group X:X::X:X {(source (X:X::X:X|ssm-map)|) (interface
IFNAME|)}
Parameters
X:X::X:X Standard IPv6 Multicast group address to be configured as a static group member.
interface Physical interface. If used, static configuration is applied to the physical interface. If not
used, static configuration is applied on all VLAN constituent interfaces.
IFNAME Physical interface name.
source Static source to be joined.
X:X::X:X Standard IPv6 source address to be configured as a static source from where multicast
packets originate.
ssm-map Mode of defining SSM mapping. SSM mapping statically assigns sources to MLDv1
groups to translate these (*,G) groups' memberships to (S,G) memberships for use with
PIM-SSM.
Command Mode
Interface mode for VLAN interface
Applicability
This command was introduced in OcNOS version 6.2.0.
Examples
The following examples shows how to statically add group and/or source records:
#configure terminal
(config)#interface vlan1.1
(config-if)#ipv6 mld static-group ff1e::10
(config)#interface vlan1.1
(config-if)#ipv6 mld static-group ff1e::10 source fe80::2fd:6cff:fe1c:b
(config)#interface vlan1.1
(config-if)#ipv6 mld static-group ff1e::10 source ssm-map
(config)#interface vlan1.1
(config-if)#ipv6 mld static-group ff1e::10 interface eth0
Command Syntax
ipv6 mld version <1-2>
no ipv6 mld version
Parameter
<1-2> Specify a MLD protocol version number.
Default
Default MLD protocol version number is 2.
Command Mode
Interface mode
Applicability
This command was introduced in OcNOS version 6.2.0.
Example
#configure terminal
(config)#interface 0
(config-if)#ipv6 mld version 1
Command Syntax
show debugging ipv6 mld
show debugging ipv6 mld (vrf NAME|)
Parameters
vrf Indicates the vrf keyword.
NAME Displays the VRF name.
Command Mode
Privileged Exec mode
Applicability
This command was introduced in OcNOS version 6.2.0.
Examples
The following is a sample output of the show debugging mld command:
#show debugging ipv6 mld
MLD Debugging status:
MLD Decoder debugging is off
MLD Encoder debugging is off
MLD Events debugging is off
MLD FSM debugging is off
MLD Tree-Info-Base (TIB) debugging is off
#
Command Syntax
show ipv6 mld groups (detail|)
show ipv6 mld groups IFNAME (detail|)
show ipv6 mld groups IFNAME X:X::X:X (detail|)
show ipv6 mld groups X:X::X:X (detail|)
show ipv6 mld (vrf NAME|) groups (detail|)
show ipv6 mld (vrf NAME|) groups IFNAME (detail|)
show ipv6 mld (vrf NAME|) groups IFNAME X:X::X:X (detail|)
show ipv6 mld (vrf NAME|) groups X:X::X:X (detail|)
Parameters
vrf Indicates the vrf keyword.
NAME Displays the VRF name.
X:X::X:X Displays the multicast group address.
IFNAME Interface name for which to display local information.
detail MLDv2 source information.
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced in OcNOS version 6.2.0.
Example
The following command displays local-membership information for all interfaces:
#show ipv6 mld groupsOcNOS version 6.1.0
MLD Connected Group Membership
Group Address Interface Uptime Expires Last Reporter
ff1e::10 ge10 00:03:16 00:01:09 fe80::202:b3ff:fef0:79d8
Entry Description
Entry Description
Expires Time before multicast group needs to send another uptime message to the
directly connected router.
Command Syntax
show ipv6 mld interface (IFNAME|)
show ipv6 mld (vrf NAME|) interface (IFNAME|)
Parameters
vrf Indicates the vrf keyword.
NAME Displays the VRF name..
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced in OcNOS version 6.2.0.
Example
The following displays MLD interface status on all interfaces enabled for MLD.
#show ipv6 mld interface
Interface eth1 (Index 2)
MLD Enabled, Active, Querier, Version 2 (default)
Internet address is fe80::2fd:6cff:fe1c:b
MLD interface has 0 group-record states
MLD activity: 0 joins, 0 leaves
MLD query interval is 125 seconds
MLD querier timeout is 255 seconds
MLD max query response time is 10 seconds
Last member query response interval is 1000 milliseconds
Group Membership interval is 260 seconds
#
Entry Description
Interface The type and name of the interface. (eth1, xe3/1, ge3, etc.).
MLD activity MLD activity of the interface. In the example above, there is no activity.
Entry Description
MLD query timeout The amount of time before the interface resends an MLD query.
MLD max query response time The amount of time before the interface is considered no longer a multicast listener
and is removed from the multicast.
Last member query response interval The time in which if no query requests are received by the router, it assumes the
multicast is over.
Group membership interval The amount of time the router will wait for a group query before the group is
considered gone.
Command Syntax
show ipv6 mld proxy groups (detail|)
show ipv6 mld proxy groups X:X::X:X (detail|)
show ipv6 mld proxy groups IFNAME (detail|)
show ipv6 mld proxy groups IFNAME X:X::X:X (detail|)
show ipv6 mld (vrf NAME|) proxy groups (detail|)
show ipv6 mld (vrf NAME|) proxy groups X:X::X:X (detail|)
show ipv6 mld (vrf NAME|) proxy groups IFNAME (detail|)
show ipv6 mld (vrf NAME|) proxy groups IFNAME X:X::X:X (detail|)
Parameters
vrf Specify the VRF name.
groups MLD proxy group membership information.
X:X::X:X Address of multicast group.
IFNAME The name of the VLAN interface.
detail MLDv3 source information
Command Mode
Exec and Privileged Exec mode
Applicability
This command was introduced in OcNOS version 6.2.0.
Example
#show ipv6 mld proxy
Entry Description
Administrative status Depends on the interface states – Enabled only if both host and downstream interfaces
are up. Otherwise, Disabled if only one interface is up.
Number of multicast groups The number of multicast groups supported by this proxy.
Entry Description
State The state of the proxy group – can be either Active or Inactive.
Member state The state of the proxy group member – can be either Idle or Delay, Idle is the default
state.
Command Syntax
show ipv6 mld ssm-map
show ipv6 mld ssm-map X:X::X:X
show ipv6 mld (vrf NAME|) ssm-map X:X::X:X
Parameters
vrf Indicates the vrf keyword.
NAME Displays the VRF name.
X:X::X:X Displays the multicast group address.
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced in OcNOS version 6.2.0.
Example
The following is an example of this command:
#show ipv6 mld ssm-map
SSM Mapping : Enabled
Database : None configured
Index parentheses 14
period 15
question mark 15
square brackets 15
B time 15
uppercase 14
begin modifier 17 variable placeholders 15
BGP community value vertical bars 14
command syntax 15 WORD 15
Bootstrap Router 42 X:X::X:X 15
bootstrap router 286 X:X::X:X/M 15
braces XX:XX:XX:XX:XX:XX 15
command syntax 14 configure
BSR 42, 286 IGMP snooping 60
BSR validation 51 configure mode 20
configuring BSR
C BSR topology 50
validation commands 51
clear ip igmp 150 configuring RP dynamically 48
clear ip mroute 133, 213 configuring RP statically 45, 111
clear ip msdp sa-cache 216 curly brackets
clear ip pim sparse-mode bsr 217 command syntax 14
clear ipv6 mld 293
command abbreviations 13 D
command completion 13
command line data flow
errors 13 PIM-SM 42
help 12 debug igmp 151, 184
keyboard operations 16 debug ip pim timer joinprune 225, 227
command modes 20 debug mld 294
configure 20 debug pim packet 219
exec 20 debug pim sparse-mode timer register 227
interface 20 designated router priority 248
privileged exec 20 downstream 42, 56, 64
router 20
command negation 14
command syntax E
? 15 exec command mode 20
. 15
() 14
{} 14 G
| 14
group-to-RP mappings 50
A.B.C.D/M 15
AA:NN 15
BGP community value 15 I
braces 14
conventions 14 IFNAME 15
curly brackets 14 IGMP Commands
HH:MM:SS 15 clear ip igmp 150
IFNAME 15 debug igmp 151, 184
interface name 15 ip igmp 153
IPv4 address 15 ip igmp access-group 154
IPv6 address 15 ip igmp immediate-leave 155
LINE 15 ip igmp last-member-query-count 157
lowercase 14 ip igmp last-member-query-interval 158
MAC address 15 ip igmp limit 159
monospaced font 14 ip igmp mroute-proxy 160
numeric range 15 ip igmp proxy-service 162
parantheses 14 ip igmp querier-timeout 164
ip igmp query-interval 165
S T
shared trees 42 terminology
show commands 17 PIM-DM 64
exclude modifier 18 TIB 41
include modifier 18 time
redirect modifier 19 command syntax 15
show debugging pim 272 Tree Information Base 41
show ip igmp groups 176
show ip igmp interface 178 V
show ip igmp snooping mrouter 191
show ip igmp snooping statistics 197 vertical bars
show ip mroute 142 command syntax 14
show ip msdp sa-cache 275
show ip mvif 145
show ip pim bsr-router 277 W
show ip pim rp-hash 289 WORD 15
show ipv6 mld groups 316
show ipv6 mld interface 318