12-06-2011 08:49 AM - edited 03-01-2019 04:45 PM
This documents lists various Multicast Configuration best practices in Catalyst 6500
Requirements
There are no specific requirements for this document.
- Ensure that the IIF and OIF MTU sizes match.
- Ensure that multicast sources are configured not to send multicast data packets with any IP options.
Replication mode
Egress replication mode provides better performance only when there are a significant number of multicast outgoing interfaces (OIFs) served by DFCs. Without a DFC to support local egress replication mode, egress replication mode performance is lower then ingress replication mode because of the load placed on the PFC.
1. Ingress marking and egress policing are not compatible with egress replication.
2. Egress SPAN is not supported in egress multicast mode.
3. Use the automatically detected replication mode. If possible, the switch will use egress replication mode.
Router(config)# no mls ip multicast replication-mode ingress
Router(config)# no mls ip multicast replication-mode egress
If the switch is operating in egress replication mode, enable local egress replication mode.
Router(config)# mls ip multicast egress local
The switch uses the NetFlow table to drop non-RPF traffic.
Router(config)# mls ip multicast non-rpf aging fast
Router(config)# mls ip multicast non-rpf aging global
Router(config)# mls rate-limit multicast ipv4 non-rpf pps [packets_in_burst]
Multicast Consistency Checker
Enable the multicast consistency checker:
Router(config)# mls ip multicast consistency-check
Router(config)# mls ip multicast consistency-check type scan-mroute
The RP-SP multicast consistency checker results are most reliable when multicast traffic levels are stable. When multicast traffic levels vary significantly, the RP-SP multicast consistency checker might indicate a problem when none exists.
The RP-SP checker is enabled by default in Release 12.2(33)SXH and later releases.
If you have PIM sparse mode configured, enter this command:
Router(config)# mls rate-limit multicast ipv4 connected packets_per_second
Set a packets-per-second value between 150 and 1000
If the switch is not the first hop router for any multicast sources, disable installation of directly connected subnet entries:
Router(config)# no mls ip multicast connected
If the switch is the first hop router for any multicast source, rate-limit the traffic.
Router(config)# interface vlan vlan_ID
Router(config-if)# no ip pim snooping
Router(config)# ip pim snooping
Router(config)# ip pim snooping dr-flood
Router(config)# interface vlan vlan_ID
Router(config-if)# ip pim snooping
- A VLAN with multicast routers running PIM-SM only and with no directly connected multicast sources.
- A VLAN with multicast routers running SSM only and with no directly connected multicast sources.
- A VLAN with multicast routers running bidirectional PIM only, whether or not there are any directly connected multicast sources.
Router(config)# no ip pim snooping dr-flood
This situation lasts only briefly because the PIM-ASSERT mechanism stops the extraneous flow, but this cycle repeats again when the next (*,G) join (S,G) RPT bit prune message is sent by one of the receivers.
If the switch is in a topology that has the problem, take one of these actions:
- With Release 12.2(18)SXF9 and later releases, enter this command to disable SGR-prune message suppression:
Router(config)# ip pim snooping suppress sgr-prune
- With releases earlier than Release 12.2(18)SXF9, disable PIM snooping in the VLAN:
Router(config)# interface vlan vlan_ID
Router(config-if)# no ip pim snooping
Router(config)# ip igmp snooping source-only-learning limit {1000 | 2000}
- Enter 2000 unless Virtual Switching System (VSS) is configured.
- Enter 1000 if VSS is configured.
Modify the value based on the requirements of your network.
Router(config)# mls rate-limit multicast ipv4 igmp 5000 100
Modify the packets-per-second and burst values based on the requirements of your network and the available CPU capacity.
Command given to disable the sgr prune suppression is wrong. no form of this command should be used to suppress the prunes
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: