Implementing Multicast Routing on Cisco IOS XR Software
Command or Action
Step 4
interface {type interface-path-id | all} enable
Example:
RP/0/0/CPU0:router(config-mcast-default-ipv4)#
interface all enable
or
RP/0/0/CPU0:router(config-mcast-default-ipv4)#
interface FastEthernet0/3/3/1 enable
Step 5
Do one of the following:
• accounting per-prefix
• accounting per-prefix forward-only
Example:
RP/0/0/CPU0:router(config-mcast-default-ipv)#
accounting per-prefix
Step 6
Use the commit or end command.
Step 7
show mfib [vrf vrf-name] [ipv4 | ipv6] route [rate |
statistics] [* | source-address] [group-address
[/prefix-length] [detail | old-output] | summary]
[location node-id]
Example:
RP/0/0/CPU0:router# show mfib vrf 12 route
statistics location 0/1/cpU0
OL-30405-02
Purpose
Enables multicast routing on all interfaces.
commit—Saves the configuration changes, and remains within
the configuration session.
end—Prompts user to take one of these actions:
Displays route entries in the Multicast Forwarding Information
Base (MFIB) table.
Cisco IOS XR Multicast Configuration Guide for the Cisco XR12000 Series Router, Release 5.1.x
• Enables per-prefix counters present in hardware accounting
per-prefix—Enables three counters on ingress (forward, punt
and drop, and two on egress (forward and punt) on every
existing and new (S, G) route. The (*, G) routes are assigned
a single counter.
• accounting per-prefix forward-only—Enables one counter
on ingress and one on egress in hardware to conserve
hardware statistics resources. (Recommended for
configuration of multicast VPN routing or for any line card
that has a route-intensive configuration.)
• Yes— Saves configuration changes and exits the
configuration session.
• No—Exits the configuration session without committing the
configuration changes.
• Cancel—Remains in the configuration mode, without
committing the configuration changes.
• When the rate keyword is used with the source- and
group-address, the command displays the cumulative rates
per route for all line cards in the Multicast Forwarding
Information Base (MFIB) table.
• When the statistics keyword is used, the command displays
the rate per route for one line card in the Multicast
Forwarding Information Base (MFIB) table.
Calculating Rates per Route
55