Professional Documents
Culture Documents
IGMP protocol is used by client to join a multicast group. IGMP protocol is turn
ed ON as soon as we define PIM mode.
"ip igmp join-group" command is used for lab purposed to emulate the router inte
rface as client. it is used for testing where the router is respond back to ping
to the multicast group.
"ip igmp static-group" does not respond back to pings to the multicast group. it
is seldomly used. one example of its use is when you dont want multicast client
s to send multicast join group messages and would rather flood out the multicast
traffic on the interface.
another use can be in setting up span where you put this command on the span int
erface.
so we are using ip igmp join-group to emulate multicast client. how do we emulat
e multicast server. a servere is the end that sends the traffic. we can use ping
traffic from the source to emulate it as the server.
so from source to destination ping, source ip is unicast and destination ip is m
ulticast
ping response from destination, source and destination are both unicast ip addre
sses
in real scenario, source ( server ) send the multicast traffic and destination (
clients ) receive it.
each router run RPF check along the path.
COMMANDS:
-----------
Multicast is something we do after we have fully completed unicast routing.Any c
hanges after multicast config is setup in the unicast routing can cause RPF chec
k failure. so we gotta be careful about that/
(config)#ip multicast-routing distributed //distributed keyword used in 35
60 switches // enables
multicasting
(config-if)#ip pim dense-mode //command goes on all interface that are taki
ng part in multicasting.
//it is the only command used in addition to
enabling multicasting for //dense mode
(config-if)#ip pim sparse-mode // command goes on all interfaces that are t
aking part in multicasting
//use this command even on the RP router inte
rfaces including loopback //if in use
(config)#ip pim rp-address x.x.x.x // static rp assignment
//use this command on all the routers in the
path
// x.x.x.x can be the loopback of the RP rout
er
//use this command even on the RP router
show ip pim neighbor
show ip mroute
sho ip pim mapping
AUTO-RP:
========
defines 2 roles
- candidate RP
uses group 224.0.1.39 to advertise itself ( its unicast address or somet
hing ) to the mapping agent.
other routers ( the ones in the path ) dont listen to group 224.0.1.39
-> ip pim send-rp-announce
- mapping agent
uses group 224.0.1.40 to advertise RP info to other routers.
-> ip pim send-rp-discovery
RPF check on client routers is done on auto-RP announcements