At ingress LER, the configuration of the egress statistics is under the MPLS P2MP LSP context when carrying multicast packets over a RSVP P2MP LSP in the base routing instance. This is the same configuration as the one already supported with P2P RSVP LSP.
config
router
[no] mpls
[no] lsp lsp-name p2mp-lsp
[no] egress-statistics
accounting-policy policy-id
no accounting-policy
[no] collect-stats
[no] shutdown
If there are no stat indexes available when the user performs the no shutdown command for the egress statistics node, the command fails.
The configuration is in the P2MP LSP template when the RSVP P2MP LSP is used as an I-PMSI or S-PMSI in multicast VPN or in VPLS/B-VPLS.
config
router
[no] mpls
lsp-template template-name p2mp
no lsp-template template-name
[no] egress-statistics
accounting-policy policy-id
no accounting-policy
[no] collect-stats
If there are no stat indexes available at the time, an instance of the P2MP LSP template is signaled, no stats are allocated to the instance, but the LSP is brought up. In this case, an operational state of out-of-resources is shown for the egress stats in the show output of the P2MP LSP S2L path.