Mcast Topics | Previous

Mcast Examples


This example sends 10 multicast packets with the source address 172.31.253.55 to the group address 230.1.1.1 with an inter-packet spacing of one second (1,000 milliseconds).

mcast /send /srcs:172.31.253.55 /grps:230.1.1.1 /intvl:1000 /numpkts:10
Send Packet - 10

This example listens for multicast packets on the group address 230.1.1.1 for 1 minute.

mcast /recv /grps:230.1.1.1 /runtime:1
Started.... Waiting to receive packets...
Received [1]: [GOOD] SRC- 172.31.253.55 GRP- 230.1.1.1    TTL- 5 Len- 256
Received [2]: [GOOD] SRC- 172.31.253.55 GRP- 230.1.1.1    TTL- 5 Len- 256
Received [3]: [GOOD] SRC- 172.31.253.55 GRP- 230.1.1.1    TTL- 5 Len- 256
Received [4]: [GOOD] SRC- 172.31.253.55 GRP- 230.1.1.1    TTL- 5 Len- 256
Received [5]: [GOOD] SRC- 172.31.253.55 GRP- 230.1.1.1    TTL- 5 Len- 256
Test ran for the specified time - 1 Minutes