Professional Documents
Culture Documents
nexus multicast
nexus multicast
What is Multicast
239.0.0.0/8
- Administrative scope
Global scope - private ip
- organization local scope
- allocated over internet - 239.0.0.0 to 239.255.255.255
- 224.0.1.0 to 238.255.255.255
L2 Multicast Addressing (ipv4)
01-00-5E-00-00-00 to 01-00-5E-7F-FF-FF
https://www.dqnetworks.ie/toolsinfo.d/multicastaddressing.html
Multicast Model
Components of a Multicast Model
- source
- receivers
- multicast routers
- first hop router
- last hop router
Multicast Model
Sender / source
Sends one copy addressed to multicast ip
and has no need to know the receivers
Receiver
Receivers use multicast ip address to
receive multicast traffic by registering/
subscribing at the last hop routers through
IGMP or MLD
Routers
Routers build multicast distribution trees
with the help of PIM and replicates
datagrams along the path wherever
branches exist
Protocols used in Mcast
- Source → no protocol
- Receivers → igmp
Examples:
Internet Group Management Protocol(IPv4)
Multicast Listener Discovery (IPv6)
Internet Group Management Protocol
IGMP Versions
– v1, v2 and v3
IGMP Version 1
- Obsolete
- Defined by Rfc1112, standard protocol, not a cisco proprietary
Process
1. Query
2. Timer
3. Report
4. Host report suppression
Query Interval in Igmp
- interval in which every igmp general query is sent from the querier
- this interval can be changed
- by default, this value is 60 seconds in Ios
- and 125 seconds in Nxos
In Nxos
In Ios
Disadvantages in Igmp V1
If any host wants to leave the group, there is no way to inform the router
Router keeps sending IGMP general queries. Router waits for 3 queries before closing the
group. This accounts to atleast 3 minutes (180 seconds)
IGMP V2
IGMP Versions 2
Leave message
IGMP V2 Group Specific Membership Query is sent from Querier after leave message
This Query is sent to GDA
This query has Group address in the packet
IGMP V2 General Membership Query is sent from Querier during Query Interval
This Query is sent to 224.0.0.1
This query has No Group address in the packet
Configure Last member Query Response Time
Querier Timeout
IGMP Snooping
IGMP snooping
Benefits of IGMP snooping
Configure explicit host tracking per vlan. Tracks Igmpv3 membership reports
from hosts on each port. This feature is enabled by default globally
Fast leave is used to wind up the group without last member query. Usually used when there is
only one listener for a multicast group
Multicast Routing
Multicast Routing
PIM in NXos
- Cisco NX-OS does not support PIM dense mode
- Cisco NX-OS supports PIM sparse mode only
- We can configure PIM and PIM6 to run simultaneously on a router.
- In NX-OS, multicast is enabled only after you enable the PIM and PIM6 feature on each router
PIM
Enable Pim /Pim6
No dense-mode in Nxos
PIM
- Protocol Independent Multicast
- Pim tracks sources and receivers and also topology changes
- Versions = Pim v4 and pim v6
- Modes = Sparse mode and Dense mode
- Objective = to build the multicast distribution tree from
receiver to source
PIM IN NEXUS
Only Sparse mode is supported in Nexus
PIM VERSIONS
- Version 1 and Version 2
- V1 used IGMP as the transport protocol
- V1 is obsolete
- In V2, Pim had become an individual IP protocol
- Also, PIM BSR is available only in version 2
- Only V2 is supported in NXos
PIM Hello msg
Pim Hellos
- Contains information about DR priority and Hold time
- Sent to multicast address 224.0.0.13
- Hello is exchanged at an interval of 30 seconds by default.
This value can be configured.
- Authentication can be configured for hello messages
PIM MODES
- Sparse; multicasts to specific receiver
- Dense; pushes to all; use of prune messages
ASM
- Uses both source tree and shared tree as needed
- Can learn Rp address statically or dynamically
- Default mode
SSM mode
- Need to change to IGMPv3
- Forms source tree between receiver and source
- No need for RP configuration
Distribution modes
•Any Source Multicast (ASM) provides discovery of multicast sources. It builds a shared tree between sources and
receivers of a multicast group and supports switching over to a source tree when a new receiver is added to a group. ASM
mode requires that you configure an RP.
•Source-Specific Multicast (SSM) builds a source tree originating at the designated router on the LAN segment that
receives a request to join a multicast source. SSM mode does not require you to configure RPs. Source discovery must be
accomplished through other means.
•Bidirectional shared trees (Bidir) build a shared tree between sources and receivers of a multicast group but do not
support switching over to a source tree when a new receiver is added to a group. Bidir mode requires that you configure an
RP. Bidir forwarding does not require source discovery because only the shared tree is used.
Shortest path tree
Shared path tree with RP
Verification of Rp configuration
Auto RP
Rp candidates configuration
Rp announcements
- Encap’d in UDP
- Uses UDP port 496
- Information in announce msg
- Interval -60seconds
- Rp address, GDA, Hold time
- Hold time -180seconds
- Also check TTL and UDP ports
- Sent to 224.0.1.39
- Only mapping agents are listening at above address
Rp Mapping agents
- Listens for announce messages
- If more than one RP is announced for same GDA, elects best
- Elects based on higher IP address.
- Send Rp-Discovery messages which has list of Rp per GDA
-Open standard
-Similar to Auto RP
-Compatible with Pim Version2
-Cant define scope
-Supports sparse mode