Skip to content

Commit b58592d

Browse files
committed
doc: Update PIM[6] configure docs
Document 'router pim[6] [vrf NAME]' configuration. All the commands are basically the same, just dropped the 'ip pim[6]' prefix and document them under the router pim block. Signed-off-by: Nathan Bahr <[email protected]>
1 parent 98d47f4 commit b58592d

File tree

2 files changed

+67
-49
lines changed

2 files changed

+67
-49
lines changed

doc/user/pim.rst

+42-31
Original file line numberDiff line numberDiff line change
@@ -55,16 +55,22 @@ Certain signals have special meanings to *pimd*.
5555
*pimd* invocation options. Common options that can be specified
5656
(:ref:`common-invocation-options`).
5757

58-
.. clicmd:: ip pim rp A.B.C.D A.B.C.D/M
58+
PIM Routers
59+
-----------
60+
61+
.. clicmd:: router pim [vrf NAME]
62+
Configure global PIM protocol
63+
64+
.. clicmd:: rp A.B.C.D A.B.C.D/M
5965

6066
In order to use pim, it is necessary to configure a RP for join messages to
6167
be sent to. Currently the only methodology to do this is via static rp
6268
commands. All routers in the pim network must agree on these values. The
6369
first ip address is the RP's address and the second value is the matching
6470
prefix of group ranges covered. This command is vrf aware, to configure for
65-
a vrf, enter the vrf submode.
71+
a vrf, specify the vrf in the router pim block.
6672

67-
.. clicmd:: ip pim rp keep-alive-timer (1-65535)
73+
.. clicmd:: rp keep-alive-timer (1-65535)
6874

6975
Modify the time out value for a S,G flow from 1-65535 seconds at RP.
7076
The normal keepalive period for the KAT(S,G) defaults to 210 seconds.
@@ -74,81 +80,84 @@ Certain signals have special meanings to *pimd*.
7480
max(Keepalive_Period, RP_Keepalive_Period) when a Register-Stop is sent.
7581
If choosing a value below 31 seconds be aware that some hardware platforms
7682
cannot see data flowing in better than 30 second chunks. This command is
77-
vrf aware, to configure for a vrf, enter the vrf submode.
83+
vrf aware, to configure for a vrf, specify the vrf in the router pim block.
7884

79-
.. clicmd:: ip pim register-accept-list PLIST
85+
.. clicmd:: register-accept-list PLIST
8086

8187
When pim receives a register packet the source of the packet will be compared
8288
to the prefix-list specified, PLIST, and if a permit is received normal
8389
processing continues. If a deny is returned for the source address of the
8490
register packet a register stop message is sent to the source.
8591

86-
.. clicmd:: ip pim spt-switchover infinity-and-beyond [prefix-list PLIST]
92+
.. clicmd:: spt-switchover infinity-and-beyond [prefix-list PLIST]
8793

8894
On the last hop router if it is desired to not switch over to the SPT tree
8995
configure this command. Optional parameter prefix-list can be use to control
9096
which groups to switch or not switch. If a group is PERMIT as per the
9197
PLIST, then the SPT switchover does not happen for it and if it is DENY,
9298
then the SPT switchover happens.
93-
This command is vrf aware, to configure for a vrf,
94-
enter the vrf submode.
99+
This command is vrf aware, to configure for a vrf, specify the vrf in the
100+
router pim block.
95101

96-
.. clicmd:: ip pim ecmp
102+
.. clicmd:: ecmp
97103

98104
If pim has the a choice of ECMP nexthops for a particular RPF, pim will
99105
cause S,G flows to be spread out amongst the nexthops. If this command is
100106
not specified then the first nexthop found will be used. This command is vrf
101-
aware, to configure for a vrf, enter the vrf submode.
107+
aware, to configure for a vrf, specify the vrf in the router pim block.
102108

103-
.. clicmd:: ip pim ecmp rebalance
109+
.. clicmd:: ecmp rebalance
104110

105111
If pim is using ECMP and an interface goes down, cause pim to rebalance all
106112
S,G flows across the remaining nexthops. If this command is not configured
107113
pim only modifies those S,G flows that were using the interface that went
108-
down. This command is vrf aware, to configure for a vrf, enter the vrf
109-
submode.
114+
down. This command is vrf aware, to configure for a vrf, specify the vrf in
115+
the router pim block.
110116

111-
.. clicmd:: ip pim join-prune-interval (1-65535)
117+
.. clicmd:: join-prune-interval (1-65535)
112118

113119
Modify the join/prune interval that pim uses to the new value. Time is
114120
specified in seconds. This command is vrf aware, to configure for a vrf,
115121
enter the vrf submode. The default time is 60 seconds. If you enter
116122
a value smaller than 60 seconds be aware that this can and will affect
117123
convergence at scale.
118124

119-
.. clicmd:: ip pim keep-alive-timer (1-65535)
125+
.. clicmd:: keep-alive-timer (1-65535)
120126

121127
Modify the time out value for a S,G flow from 1-65535 seconds. If choosing
122128
a value below 31 seconds be aware that some hardware platforms cannot see data
123129
flowing in better than 30 second chunks. This command is vrf aware, to
124-
configure for a vrf, enter the vrf submode.
130+
configure for a vrf, specify the vrf in the router pim block.
125131

126-
.. clicmd:: ip pim packets (1-255)
132+
.. clicmd:: packets (1-255)
127133

128134
When processing packets from a neighbor process the number of packets
129135
incoming at one time before moving on to the next task. The default value is
130136
3 packets. This command is only useful at scale when you can possibly have
131137
a large number of pim control packets flowing. This command is vrf aware, to
132-
configure for a vrf, enter the vrf submode.
138+
configure for a vrf, specify the vrf in the router pim block.
133139

134-
.. clicmd:: ip pim register-suppress-time (1-65535)
140+
.. clicmd:: register-suppress-time (1-65535)
135141

136142
Modify the time that pim will register suppress a FHR will send register
137143
notifications to the kernel. This command is vrf aware, to configure for a
138-
vrf, enter the vrf submode.
144+
vrf, specify the vrf in the router pim block.
139145

140-
.. clicmd:: ip pim send-v6-secondary
146+
.. clicmd:: send-v6-secondary
141147

142148
When sending pim hello packets tell pim to send any v6 secondary addresses
143149
on the interface. This information is used to allow pim to use v6 nexthops
144150
in it's decision for RPF lookup. This command is vrf aware, to configure for
145-
a vrf, enter the vrf submode.
151+
a vrf, specify the vrf in the router pim block.
146152

147-
.. clicmd:: ip pim ssm prefix-list WORD
153+
.. clicmd:: ssm prefix-list WORD
148154

149155
Specify a range of group addresses via a prefix-list that forces pim to
150-
never do SM over. This command is vrf aware, to configure for a vrf, enter
151-
the vrf submode.
156+
never do SM over. This command is vrf aware, to configure for a vrf, specify
157+
the vrf in the router pim block.
158+
159+
Global Multicast
160+
----------------
152161

153162
.. clicmd:: ip multicast rpf-lookup-mode WORD
154163

@@ -334,11 +343,12 @@ MSDP can be setup in different ways:
334343
.. note::
335344

336345
MSDP default peer and SA filtering is not implemented.
346+
MSDP configuration is available under 'router pim'
337347

338348

339349
Commands available for MSDP:
340350

341-
.. clicmd:: ip msdp timers (1-65535) (1-65535) [(1-65535)]
351+
.. clicmd:: msdp timers (1-65535) (1-65535) [(1-65535)]
342352

343353
Configure global MSDP timers.
344354

@@ -354,16 +364,16 @@ Commands available for MSDP:
354364
configures the interval between connection attempts. The default value
355365
is 30 seconds.
356366

357-
.. clicmd:: ip msdp mesh-group WORD member A.B.C.D
367+
.. clicmd:: msdp mesh-group WORD member A.B.C.D
358368

359369
Create or update a mesh group to include the specified MSDP peer.
360370

361-
.. clicmd:: ip msdp mesh-group WORD source A.B.C.D
371+
.. clicmd:: msdp mesh-group WORD source A.B.C.D
362372

363373
Create or update a mesh group to set the source address used to connect to
364374
peers.
365375

366-
.. clicmd:: ip msdp peer A.B.C.D source A.B.C.D
376+
.. clicmd:: msdp peer A.B.C.D source A.B.C.D
367377

368378
Create a regular MSDP session with peer using the specified source address.
369379

@@ -734,8 +744,9 @@ Sample configuration
734744
! You may want to enable ssmpingd for troubleshooting
735745
! See http://www.venaas.no/multicast/ssmping/
736746
!
737-
ip ssmpingd 1.1.1.1
738-
ip ssmpingd 2.2.2.2
747+
router pim
748+
ssmpingd 1.1.1.1
749+
ssmpingd 2.2.2.2
739750
740751
! HINTS:
741752
! - Enable "ip pim ssm" on the interface directly attached to the

doc/user/pimv6.rst

+25-18
Original file line numberDiff line numberDiff line change
@@ -47,21 +47,28 @@ Certain signals have special meanings to *pim6d*.
4747
*pim6d* invocation options. Common options that can be specified
4848
(:ref:`common-invocation-options`).
4949

50-
.. clicmd:: ipv6 pim rp X:X::X:X Y:Y::Y:Y/M
50+
PIMv6 Router
51+
------------
52+
53+
.. clicmd:: router pim6 [vrf NAME]
54+
55+
Configure the global PIMv6 protocol
56+
57+
.. clicmd:: rp X:X::X:X Y:Y::Y:Y/M
5158

5259
In order to use pimv6, it is necessary to configure a RP for join messages to
5360
be sent to. Currently the only methodology to do this is via static rp
5461
commands. All routers in the pimv6 network must agree on these values. The
5562
first ipv6 address is the RP's address and the second value is the matching
5663
prefix of group ranges covered. This command is vrf aware, to configure for
57-
a vrf, enter the vrf submode.
64+
a vrf, specify the vrf in the router pim6 block.
5865

59-
.. clicmd:: ipv6 pim rp X:X::X:X prefix-list WORD
66+
.. clicmd:: rp X:X::X:X prefix-list WORD
6067

6168
This CLI helps in configuring RP address for a range of groups specified
6269
by the prefix-list.
6370

64-
.. clicmd:: ipv6 pim rp keep-alive-timer (1-65535)
71+
.. clicmd:: rp keep-alive-timer (1-65535)
6572

6673
Modify the time out value for a S,G flow from 1-65535 seconds at RP.
6774
The normal keepalive period for the KAT(S,G) defaults to 210 seconds.
@@ -71,48 +78,48 @@ Certain signals have special meanings to *pim6d*.
7178
max(Keepalive_Period, RP_Keepalive_Period) when a Register-Stop is sent.
7279
If choosing a value below 31 seconds be aware that some hardware platforms
7380
cannot see data flowing in better than 30 second chunks. This command is
74-
vrf aware, to configure for a vrf, enter the vrf submode.
81+
vrf aware, to configure for a vrf, specify the vrf in the router pim6 block.
7582

76-
.. clicmd:: ipv6 pim spt-switchover infinity-and-beyond [prefix-list PLIST]
83+
.. clicmd:: spt-switchover infinity-and-beyond [prefix-list PLIST]
7784

7885
On the last hop router if it is desired to not switch over to the SPT tree
7986
configure this command. Optional parameter prefix-list can be use to control
8087
which groups to switch or not switch. If a group is PERMIT as per the
8188
PLIST, then the SPT switchover does not happen for it and if it is DENY,
8289
then the SPT switchover happens.
83-
This command is vrf aware, to configure for a vrf,
84-
enter the vrf submode.
90+
This command is vrf aware, to configure for a vrf, specify the vrf in the
91+
router pim6 block.
8592

86-
.. clicmd:: ipv6 pim join-prune-interval (1-65535)
93+
.. clicmd:: join-prune-interval (1-65535)
8794

8895
Modify the join/prune interval that pim uses to the new value. Time is
8996
specified in seconds. This command is vrf aware, to configure for a vrf,
9097
enter the vrf submode. The default time is 60 seconds. If you enter
9198
a value smaller than 60 seconds be aware that this can and will affect
9299
convergence at scale.
93100

94-
.. clicmd:: ipv6 pim keep-alive-timer (1-65535)
101+
.. clicmd:: keep-alive-timer (1-65535)
95102

96103
Modify the time out value for a S,G flow from 1-65535 seconds. If choosing
97104
a value below 31 seconds be aware that some hardware platforms cannot see data
98105
flowing in better than 30 second chunks. This command is vrf aware, to
99-
configure for a vrf, enter the vrf submode.
106+
configure for a vrf, specify the vrf in the router pim6 block.
100107

101-
.. clicmd:: ipv6 pim packets (1-255)
108+
.. clicmd:: packets (1-255)
102109

103110
When processing packets from a neighbor process the number of packets
104111
incoming at one time before moving on to the next task. The default value is
105112
3 packets. This command is only useful at scale when you can possibly have
106113
a large number of pim control packets flowing. This command is vrf aware, to
107-
configure for a vrf, enter the vrf submode.
114+
configure for a vrf, specify the vrf in the router pim6 block.
108115

109-
.. clicmd:: ipv6 pim register-suppress-time (1-65535)
116+
.. clicmd:: register-suppress-time (1-65535)
110117

111118
Modify the time that pim will register suppress a FHR will send register
112119
notifications to the kernel. This command is vrf aware, to configure for a
113-
vrf, enter the vrf submode.
120+
vrf, specify the vrf in the router pim6 block.
114121

115-
.. clicmd:: ipv6 ssmpingd [X:X::X:X]
122+
.. clicmd:: ssmpingd [X:X::X:X]
116123

117124
Enable ipv6 ssmpingd configuration. A network level management tool
118125
to check whether one can receive multicast packets via SSM from host.
@@ -417,7 +424,7 @@ Clear commands reset various variables.
417424

418425
.. clicmd:: clear ipv6 pim [vrf NAME] interface traffic
419426

420-
When this command is issued, resets the information about the
427+
When this command is issued, resets the information about the
421428
number of PIM protocol packets sent/received on an interface.
422429

423430
.. clicmd:: clear ipv6 pim oil
@@ -494,7 +501,7 @@ the config was written out.
494501

495502
.. clicmd:: debug mld trace [detail]
496503

497-
This traces mld code and how it is running.
504+
This traces mld code and how it is running.
498505

499506
.. clicmd:: debug pimv6 bsm
500507

0 commit comments

Comments
 (0)