Chapter 4 - Cisco Group Management Protocol
Cisco Multicast Routing & Switching
William R. Parkhurst
Copyright © 1999 The McGraw-Hill Companies
CGMP Command Summary
Tables 4-2 and 4-3 contain a summary of the router and switch commands pertaining to CGMP. The router command,
ip cgmp proxy
, will be covered in
Chapter 5, “Distance Vector Multicast Routing Protocol.”
Table 4
-
2: Router CGMP Command Summary
Command
Description
ip cgmp
Enables CGMP on an interface or subinterface
ip cgmp proxy
Enables CGMP and DVMRP proxy on an interface or subinterface
clear ip cgmp [interface]
Clears all CGMP groups
show ip igmp interface [interface]
Shows if CGMP is enabled on an interface
debug ip cgmp
Debugs CGMP traffic
Table 4
-
3: Switch CGMP Command Summary
Command
Description
set cgmp enable
Enables CGMP on the switch
set cgmp disable
Disables CGMP on the switch
show multicast router
Lists the ports on the switch that are router ports
show multicast group
Displays active groups
clear cgmp statistics
Clears the CGMP statistics
debug ip cgmp
Debugs CGMP traffic
Example
View the switch CGMP statistics for VLAN 2
switch
.
show cgmp statistics 2
CGMP enabled
CGMP statistics for vlan 2:
valid rx pkts received
257
invalid rx pkts received
0
valid cgmp joins received
252
valid cgmp leaves received
5
valid igmp leaves received
0
valid igmp queries received
0
igmp gs queries transmitted
0
igmp leaves transmitted
0
failures to add GDA to EARL
0
topology notifications received
0
number of packets dropped
0
Example
Verify the CGMP is enabled on the router
router
a
show ip igmp interface ethernet 0
Ethernet0 is up, line protocol is up
Internet address is 172.16.4.3/24
IGMP is enabled on interface
Current IGMP version is 2
CGMP is enabled on interface
IGMP Query Interval is 60 seconds
IGMP Querier Timeout is 120 seconds
IGMP Max. Query Response Time is 10 seconds
Inbound IGMP Access group is not set
IGMP activity: 4 joins, 2 leaves
Multicast routing is enabled on interface
Multicast TTL threshold is 0
Multicast Designated Router (DR) is 172.16.4.3 (this system)
IGMP Querying router is 172.16.4.1
Multicast groups joined (number of users):
224.0.1.40(1) 225.250.250.1(1)
Books24x7.com, Inc © 2000 –
Feedback