IPv6 PIM Commands
Use these commands to configure Protocol Independent Multicast - Dense Mode (PIM-DM) and Protocol Independent Multicast - Sparse Mode (PIM-SM) for IPv6 multicast routing.
PIM-DM and PIM-SM are multicast routing protocols that provide scalable inter-domain multicast routing across the Internet, independent of the mechanisms provided by any particular unicast routing protocol. Only one PIM mode can be operational at a time.
ipv6 pim dense
M4250
M4350
This command enables the administrative mode of PIM-DM in the router.
| Default | disabled |
| Format | ipv6 pim dense |
| Mode | Global Config |
Command example:
(NETGEAR) (Config) #ipv6 pim dense
no ipv6 pim dense
This command disables the administrative mode of PIM-DM in the router.
| Format | no ipv6 pim dense |
| Mode | Global Config |
ipv6 pim sparse
M4250
M4350
This command enables the administrative mode of PIM-SM in the router.
| Default | disabled |
| Format | ipv6 pim sparse |
| Mode | Global Config |
Command example:
(NETGEAR) (Config) #ipv6 pim sparse
no ipv6 pim sparse
This command disables the administrative mode of PIM-SM in the router.
| Format | no ipv6 pim sparse |
| Mode | Global Config |
ipv6 pim
M4250
M4350
This command administratively enables PIM on an interface or range of interfaces.
| Default | disabled |
| Format | ipv6 pim |
| Mode | Interface Config |
Command example:
(NETGEAR) (Interface 1/0/1) #ipv6 pim
no ipv6 pim
This command sets the administrative mode of PIM on an interface to disabled.
| Format | no ipv6 pim |
| Mode | Interface Config |
ipv6 pim hello-interval
M4250
M4350
Use this command to configure the PIM hello interval for the specified router interface or range of interfaces. The seconds argument is the hello-interval, specified in the range 0–18000 seconds.
| Default | 30 |
| Format | ipv6 pim hello-interval seconds |
| Mode | Interface Config |
Command example:
(NETGEAR) (Interface 1/0/1) #ipv6 pim hello-interval 50
no ipv6 pim hello-interval
Use this command to set the PIM hello interval to the default value.
| Format | no ipv6 pim hello-interval |
| Mode | Interface Config |
ipv6 pim bsr-border
M4250
M4350
Use this command to prevent bootstrap router (BSR) messages from being sent or received on the specified interface.
| Default | disabled |
| Format | ipv6 pim bsr-border |
| Mode | Interface Config |
(NETGEAR) (Interface 1/0/1) #ipv6 pim bsr-border
no ipv6 pim bsr-border
Use this command to disable the setting of BSR border on the specified interface.
| Format | no ipv6 pim bsr-border |
| Mode | Interface Config |
ipv6 pim bsr-candidate
M4250
M4350
This command is used to configure the router to announce its candidacy as a bootstrap router (BSR).
The interface corresponds to a physical routing interface or VLAN routing interface. To specify an actual interface or port, do the following:
- For an M4250 series switch, use the argument slot/port.
- For an M4350 series switch, use the argument unit/slot/port, as shown in the command format.
The vlan keyword and vlan-id parameter are used to specify the VLAN ID of the routing VLAN. The vlan-id parameter is a number in the range of 1–4093.
| Default | Disabled |
| Format | ipv6 pim bsr-candidate interface {unit/slot/port | vlan vlan-id} hash-mask-length [bsr-priority] [interval interval] |
| Mode | Global Config |
| Parameters | Description |
|---|---|
| slot/port or unit/slot/port or vlan-id | The interface or VLAN number on this switch from which the BSR address is derived, to make it a candidate. This interface or VLAN must be enabled with PIM. |
| hash-mask-length | Length of a mask (32 bits maximum) that is to be ANDed with the group address before the hash function is called. All groups with the same seed hash correspond to the same RP. For example, if this value was 24, only the first 24 bits of the group addresses matter. This allows you to get one RP for multiple groups. |
| bsr-priority | [Optional] Priority of the candidate BSR. The range is an integer from 0 to 255. The BSR with the larger priority is preferred. If the priority values are the same, the router with the larger IPv6 address is the BSR. The default value is 0. |
| interval | [Optional] Indicates the BSR candidate advertisement interval. The range is from 1 to 16383 seconds. The default value is 60 seconds. |
Command example:
(NETGEAR) (Config) #ipv6 pim bsr-candidate interface 1/0/1 32 5
(NETGEAR) (Config) #ipv6 pim bsr-candidate interface 1/0/1 32 5 interval 100
no ipv6 pim bsr-candidate
This command is used to remove the configured PIM Candidate BSR router.
| Format | no ipv6 pim bsr-candidate interface {unit/slot/port | vlan vlan-id} |
| Mode | Global Config |
ipv6 pim dr-priority
M4250
M4350
Use this command to set the priority value for which a router is elected as the designated router (DR). The priority argument is a value in the range of 0–2147483647.
| Default | 1 |
| Format | ipv6 pim dr-priority priority |
| Mode | Interface Config |
Command example:
(NETGEAR) (Interface 1/0/1) #ipv6 pim dr-priority 10
no ipv6 pim dr-priority
Use this command to return the DR Priority on the specified interface to its default value.
| Format | no ipv6 pim dr-priority |
| Mode | Interface Config |
ipv6 pim join-prune-interval
M4250
M4350
This command is used to configure the join/prune interval for the PIM-SM router on an interface or range of interfaces. The join/prune interval is specified in seconds. The seconds argument can be configured as a value from 0 to 18000 seconds.
| Default | 60 |
| Format | ipv6 pim join-prune-interval seconds |
| Mode | Interface Config |
Command example:
The following shows examples of the command.
(NETGEAR) (Interface 1/0/1) #ipv6 pim join-prune-interval 90
no ipv6 pim join-prune-interval
Use this command to set the join/prune interval on the specified interface to the default value.
| Format | no ipv6 pim join-prune-interval |
| Mode | Interface Config |
ipv6 pim rp-address
M4250
M4350
This command defines the address of a PIM Rendezvous point (RP) for a specific multicast group range.
| Default | 0 |
| Format | ipv6 pim rp-address rp-address {group-address/prefix-length | prefix-list list-name} [override] |
| Mode | Global Config |
| Parameter | Description |
|---|---|
| rp-address | The IPv6 address of the RP. |
| group-address/ prefix-length | The group address and prefix length supported by the RP. |
| list-name | The name of a list that contains group ranges for the RP. |
| override | [Optional] Indicates that if there is a conflict, the RP configured with this command prevails over the RP learned by BSR. |
no ipv6 pim rp-address
This command is used to remove the address of the configured PIM Rendezvous point (RP) for the specified multicast group range.
| Format | no ipv6 pim rp-address rp-address {group-address/prefix-length | prefix-list list-name} |
| Mode | Global Config |
ipv6 pim rp-candidate
M4250
M4350
This command is used to configure the router to advertise itself as a PIM candidate rendezvous point (RP) to the bootstrap router (BSR) for a specific multicast group range.
The interface corresponds to a physical routing interface or VLAN routing interface. To specify an actual interface or port, do the following:
- For an M4250 series switch, use the argument slot/port.
- For an M4350 series switch, use the argument unit/slot/port, as shown in the command format.
The vlan keyword and vlan-id parameter are used to specify the VLAN ID of the routing VLAN. The vlan-id parameter is a number in the range of 1–4093.
| Default | Disabled |
| Format | ipv6 pim rp-candidate interface {unit/slot/port | vlan vlan-id} group-address/prefixlength [interval interval] [priority value] |
| Mode | Global Config |
| Parameter | Description |
|---|---|
| slot/port or unit/slot/port or vlan-id | The interface or VLAN ID is advertised as a candidate RP address. This interface or VLAN must be enabled with PIM. |
| group-address | The multicast group address that is advertised in association with the RP address. |
| prefixlength | The multicast group prefix that is advertised in association with the RP address. |
| interval | [Optional] Indicates the RP candidate advertisement interval. The range is from 1 to 16383 seconds. The default value is 60 seconds. |
| value | [Optional] Indicates the RP candidate advertisement priority value. The range is from 0 to 255. |
no ipv6 pim rp-candidate
This command is used to disable the router to advertise itself as a PIM candidate rendezvous point (RP) to the bootstrap router (BSR).
| Format | no ipv6 pim rp-candidate interface {unit/slot/port | vlan vlan-id} group-address/prefixlength |
| Mode | Global Config |
ipv6 pim ssm
M4250
M4350
Use this command to define the Source Specific Multicast (SSM) range of IPv6 multicast addresses on the router.
| Default | disabled |
| Format | ipv6 pim ssm {default | group-address/prefixlength} |
| Mode | Global Config |
| Parameter | Description |
|---|---|
| default | Defines the SSM range access list FF3x::/32. |
no ipv6 pim ssm
Use this command to remove the Source Specific Multicast (SSM) range of IP multicast addresses on the router.
| Format | no ipv6 pim ssm {default | group-address/prefixlength} |
| Mode | Global Config |
clear ipv6 pim statistics
M4250
M4350
This command clears all the IPv6 PIM statistics.
| Format | clear ipv6 pim statistics |
| Modes | Privileged EXEC |
show ipv6 pim
M4250
M4350
This command displays the system-wide information for PIM-DM or PIM-SM.
| Format | show ipv6 pim |
| Modes |
Privileged EXEC User EXEC |
| Term | Definition |
|---|---|
| PIM Mode | Indicates whether the PIM mode is dense (PIM-DM) or sparse (PIM-SM). |
| Interface | unit/slot/port |
| Interface Mode | Indicates whether PIM is enabled or disabled on this interface. |
| Operational Status | The current state of PIM on this interface: Operational or Non-Operational. |
The following example displays PIM Mode - Dense:
(NETGEAR) #show ipv6 pim
PIM Mode Dense
Interface Interface-Mode Operational-Status
--------- -------------- ------------------
1/0/1 Enabled Operational
1/0/3 Disabled Non-Operational
Command example:
The following example displays PIM Mode - Sparse:
(NETGEAR) #show ipv6 pim
PIM Mode Sparse
Interface Interface-Mode Operational-Status
--------- -------------- ------------------
1/0/1 Enabled Operational
1/0/3 Disabled Non-Operational
Command example:
The following example shows that PIM is not configured:
(NETGEAR) #show ipv6 pim
PIM Mode None
None of the routing interfaces are enabled for PIM.
show ipv6 pim ssm
M4250
M4350
This command displays the configured source specific IPv6 multicast addresses. If no SSM Group range is configured, the command output shows the following message:
No SSM address range is configured.
| Format | show ipv6 pim ssm |
| Modes |
Privileged EXEC User EXEC |
| Term | Definition |
|---|---|
| Group Address | The IPv6 multicast address of the SSM group. |
| Prefix Length | The network prefix length. |
show ipv6 pim interface
M4250
M4350
This command displays the interface information for PIM on the specified interface.
The interface corresponds to a physical routing interface or VLAN routing interface. To specify an actual interface or port, do the following:
- For an M4250 series switch, use the argument slot/port.
- For an M4350 series switch, use the argument unit/slot/port, as shown in the command format.
The vlan keyword and vlan-id parameter are used to specify the VLAN ID of the routing VLAN. The vlan-id parameter is a number in the range of 1–4093.
If no interface is specified, the command displays the status parameters for all PIM-enabled interfaces.
| Format | show ipv6 pim interface [unit/slot/port | vlan vlan-id] |
| Modes |
Privileged EXEC User EXEC |
| Term | Definition |
|---|---|
| Interface | The interface number. |
| Mode | Indicates whether the PIM mode enabled on the interface is dense or sparse. |
| Hello Interval | The frequency at which PIM hello messages are transmitted on this interface. By default, the value is 30 seconds. |
| Join Prune Interval | The join/prune interval for the PIM router. The interval is in seconds. |
| DR Priority | The priority of the Designated Router configured on the interface. This field is not applicable if the interface mode is Dense. |
| BSR Border | Identifies whether this interface is configured as a bootstrap router border interface. |
| Neighbor Count | The number of PIM neighbors learned on this interface. This is a dynamic value and is shown only when a PIM interface is operational. |
| Designated Router | The IP address of the elected Designated Router for this interface. This is a dynamic value and will only be shown when a PIM interface is operational. This field is not applicable if the interface mode is Dense. |
Command example:
(NETGEAR) #show ipv6 pim interface
Interface.........................................1/0/1
Mode............................................Sparse
Hello Interval (secs)...........................30
Join Prune Interval (secs)......................60
DR Priority.....................................1
BSR Border......................................Disabled
Neighbor Count..................................1
Designated Router...............................192.168.10.1
Interface.........................................1/0/2
Mode............................................Sparse
Hello Interval (secs)...........................30
Join Prune Interval (secs)......................60
DR Priority.....................................1
BSR Border......................................Disabled
Neighbor Count..................................1
Designated Router...............................192.168.10.1
Command example:
If none of the interfaces are enabled for PIM, the following message is displayed:
None of the routing interfaces are enabled for PIM.
show ipv6 pim neighbor
M4250
M4350
This command displays PIM neighbors discovered by PIMv2 Hello messages.
The interface corresponds to a physical routing interface or VLAN routing interface. To specify an actual interface or port, do the following:
- For an M4250 series switch, use the argument slot/port.
- For an M4350 series switch, use the argument unit/slot/port, as shown in the command format.
The vlan keyword and vlan-id parameter are used to specify the VLAN ID of the routing VLAN. The vlan-id parameter is a number in the range of 1–4093.
If the interface number is not specified, this command displays the neighbors discovered on all the PIM-enabled interfaces.
| Format | show ipv6 pim neighbor [unit/slot/port | vlan vlan-id] |
| Modes |
Privileged EXEC User EXEC |
| Term | Definition |
|---|---|
| Neighbor Address | The IPv6 address of the PIM neighbor on an interface. |
| Interface | The interface number. |
| Up Time | The time since this neighbor has become active on this interface. |
| Expiry Time | Time remaining for the neighbor to expire. |
| DR Priority |
The DR Priority configured on this Interface (PIM-SM only).
Note: DR Priority is applicable only when sparse-mode configured routers are neighbors. Otherwise, NA is displayed in this field.
|
Command example:
(NETGEAR) #show ipv6 pim neighbor
Neighbor Addr Interface Uptime Expiry Time
(HH:MM::SS) (HH:MM::SS)
----------------- --------- ----------- -----------
2001:DB8:39::/32 1/0/1 00:02:55 00:01:15
2001:DB8:A3::/32 1/0/2 00:03:50 00:02:10
Command example:
If no neighbors were learned on any of the interfaces, the following message is displayed:
No neighbors are learnt on any interface.
show ipv6 pim bsr-router
M4250
M4350
This command displays the bootstrap router (BSR) information.
| Format | show ipv6 pim bsr-router {candidate | elected} |
| Mode |
Privileged EXEC User EXEC |
| Term | Definition |
|---|---|
| BSR Address | IPv6 address of the BSR. |
| BSR Priority | Priority as configured in the ipv6 pim bsr-candidate command. |
| BSR Hash Mask Length | Length of a mask (maximum 32 bits) that is to be ANDed with the group address before the hash function is called. This value is configured in the ipv6 pim bsr-candidate command. |
| C-BSR Advertisement Interval | Indicates the configured C-BSR Advertisement interval with which the router, acting as a C-BSR, will periodically send the C-BSR advertisement messages. |
| Next Bootstrap Message | Time (in hours, minutes, and seconds) in which the next bootstrap message is due from this BSR. |
Command example:
(NETGEAR) #show ipv6 pim bsr-router elected
BSR Address................................... 192.168.10.1
BSR Priority................................ 0
BSR Hash Mask Length........................ 30
Next Bootstrap message (hh:mm:ss)........... 00:00:24
Command example:
(NETGEAR) #show ipv6 pim bsr-router candidate
BSR Address................................... 192.168.10.1
BSR Priority................................ 0
BSR Hash Mask Length........................ 30
C-BSR Advertisement Interval (secs)......... 60
Next Bootstrap message (hh:mm:ss)........... NA
Command example:
If no configured or elected BSRs exist on the router, the following message is displayed:
No BSR's exist/learned on this router.
show ipv6 pim rp-hash
M4250
M4350
This command displays which rendezvous point (RP) is being used for a specified group that you must specify with the group-address argument.
| Format | show ipv6 pim rp-hash group-address |
| Modes |
Privileged EXEC User EXEC |
| Term | Definition |
|---|---|
| RP Address | The IPv6 address of the RP for the group specified. |
| Type | Indicates the mechanism (BSR or static) by which the RP was selected. |
Command example:
(NETGEAR) #show ipv6 pim rp-hash 224.1.2.0
RP Address192.168.10.1
Type Static
Command example:
If no RP Group mapping exists on the router, the following message is displayed:
No RP-Group mappings exist/learned on this router.
show ipv6 pim rp mapping
M4250
M4350
Use this command to display the mapping for the PIM group to the active Rendezvous points (RP) of which the router is aware (either configured or learned from the bootstrap router [BSR]). Use the optional parameters to limit the display to a specific RP address (rp-address) or to view group-to-candidate RP (candidate) or group to Static RP mapping information (static).
| Format | show ipv6 pim rp mapping [rp-address | candidate | static] |
| Modes |
Privileged EXEC User EXEC |
| Term | Definition |
|---|---|
| RP Address | The IPv6 address of the RP for the group specified. |
| Group Address | The IPv6 address and prefix length of the multicast group. |
| Origin | Indicates the mechanism (BSR or static) by which the RP was selected. |
| C-RP Advertisement Interval | Indicates the configured C-RP Advertisement interval with which the router acting as a Candidate RP will periodically send the C-RP advertisement messages to the elected BSR. |
Command example:
(NETGEAR) #show ipv6 pim rp mapping 192.168.10.1
RP Address 192.168.10.1
Group Address 224.1.2.1
Group Mask 255.255.255.0
Origin Static
Command example:
(NETGEAR) #show ipv6 pim rp mapping
RP Address 192.168.10.1
Group Address 224.1.2.1
Group Mask 255.255.255.0
Origin Static
RP Address 192.168.20.1
Group Address 229.2.0.0
Group Mask 255.255.0.0
Origin Static
Command example:
(NETGEAR) # show ipv6 pim rp mapping candidate
RP Address.................................... 192.168.10.1
Group Address.............................. 224.1.2.1
Group Mask................................. 255.255.0.0
Origin..................................... BSR
C-RP Advertisement Interval (secs)......... 60
Next Candidate RP Advertisement (hh:mm:ss). 00:00:15
Command example:
If no RP Group mapping exists on the router, the following message is displayed:
No RP-Group mappings exist on this router.
show ipv6 pim statistics
M4250
M4350
This command displays statistics for the received PIM control packets per interface. This command displays statistics only if PIM sparse mode is enabled.
The interface corresponds to a physical routing interface or VLAN routing interface. To specify an actual interface or port, do the following:
- For an M4250 series switch, use the argument slot/port.
- For an M4350 series switch, use the argument unit/slot/port, as shown in the command format.
The vlan keyword and vlan-id parameter are used to specify the VLAN ID of the routing VLAN. The vlan-id parameter is a number in the range of 1–4093.
| Format | show ipv6 pim statistics [unit/slot/port | vlan vlan-id] |
| Modes |
Privileged EXEC User EXEC |
| Term | Definition |
|---|---|
| Stat |
|
| Interface | The PIM-enabled routing interface. |
| Hello | The number of PIM Hello messages. |
| Register | The number of PIM Register messages. |
| Reg-Stop | The number of PIM Register-stop messages. |
| Join/Pru | The number of PIM Join/Prune messages. |
| BSR | The number of PIM Boot Strap messages. |
| Assert | The number of PIM Assert messages. |
| CRP | The number of PIM Candidate RP Advertisement messages. |
Command example:
(NETGEAR) #show ipv6 pim statistics
=====================================================================
Interface Stat Hello Register Reg-Stop Join/Pru BSR Assert CRP
=====================================================================
Vl10 Rx 0 0 0 0 0 0 0
Tx 2 0 0 0 0 0 0
Invalid Packets Received - 0
---------------------------------------------------------------------
Vl20 Rx 0 0 0 5 0 0 0
Tx 8 7 0 0 0 0 0
Invalid Packets Received - 0
---------------------------------------------------------------------
1/0/5 Rx 0 0 6 5 0 0 0
Tx 10 9 0 0 0 0 0
Invalid Packets Received - 0
---------------------------------------------------------------------
Command example:
(NETGEAR) #show ipv6 pim statistics vlan 10
=====================================================================
Interface Stat Hello Register Reg-Stop Join/Pru BSR Assert CRP
=====================================================================
Vl10 Rx 0 0 0 0 0 0 0
Tx 2 0 0 0 0 0 0
Invalid Packets Received - 0
---------------------------------------------------------------------
Command example:
(NETGEAR) #show ipv6 pim statistics 1/0/5
=====================================================================
Interface Stat Hello Register Reg-Stop Join/Pru BSR Assert CRP
=====================================================================
1/0/5 Rx 0 0 6 5 0 0 0
Tx 10 9 0 0 0 0 0
Invalid Packets Received - 0