This section describes the tasks to configure MDS. The first task is required.
Enabling MDS
Monitoring and Maintaining MDS
To enable MDS, you must enable it globally and on at least one interface because MDS is an attribute of the interface. Use the following commands, beginning in global configuration mode:
Step | Command | Purpose |
---|---|---|
1 | ip multicast-routing distributed | Enables MDS globally. |
2 | interface type number | Configures an interface. |
3 | ip route-cache distributed | Enables distributed switching on the RSP. (This step is required on the RSP platform only.) |
4 | ip mroute-cache distributed | Enables MDS on the interface. |
5 | Repeat Steps 2 through 4 for each interface that you want to perform MDS. |
Note
When you enable an interface to perform distributed switching of incoming multicast packets, you are configuring the physical interface, not the logical interface (subinterface). All subinterfaces are included in the physical interface.
To maintain MDS on the line cards, use the following command in EXEC mode:
Command | Purpose |
---|---|
clear ip mds forwarding | Clears the line card's MFIB table and resynchronizes with the RP. |
To maintain MDS on the RP, use the following commands in EXEC mode:
Command | Purpose |
---|---|
clear ip mroute{* | group [source]} | Clears multicast routes and counts. |
clear ip pim interface count | Clears all packet counts on the line cards. |
To monitor MDS on the line cards, use the following commands in EXEC mode (remember that to reach a line card's console, enter attach slot# , using the slot number where the line card resides):
Command | Purpose |
---|---|
show ip mds forwarding[group-address] [source- address] | Displays the MFIB table, forwarding information, related flags, and counts. |
show ip mds summary | Displays a summary of the MFIB. |
To monitor MDS on the RP, use the following commands in EXEC mode:
Command | Purpose |
---|---|
show ip mds stats[switching| linecard] | Displays switching statistics or line card statistics for MDS. |
show ip mds interface | Displays the status of MDS interfaces. |
show ip pim interface[type number]count | Displays switching counts for unicast DFS and other fast switching statistics. |
show ip mcache [group [source]] | Displays the contents of the IP fast-switching cache. |
show interface stats | Displays numbers of packets that were process switched, fast switched, and distributed switched. |
18.119.123.252