show ip mroute

Displays information on multicast routes. You can specify whether you want to display information from static or connected mroutes or from a particular mroute.
cleaned up syntax and added nexthop from the switch. next hop needs an example and the history needs updating if nexthop was introduced in 8.0.20
Syntax
show ip mroute [vrf vrf-name ] { static | connected | nexthop | ip-subnet [ mask]}
Parameters
vrf vrf-name
Specifies a VRF route.
static
Specifies a static multicast route.
connected
Specifies a directly attached (connected) multicast route.
nexthop
Specifies an IPv4 next hop table.
ip-subnet [ mask ]
Specifies an IP address.
Modes

Privileged EXEC mode

Global configuration mode

Examples

The following example displays information for IP multicast routes:

Device(config)# show ip mroute

Total number of IP routes: 5
 Type Codes - B:BGP  D:Connected  S:Static;   Cost - Dist/Metric
        Destination             Gateway              Port             Cost         Type    Uptime
1       20.20.20.0/24           220.220.220.1        ve 220           1/1           S      8m54s 
2       50.50.50.0/24           DIRECT               ve 50            0/0           D      8h26m 
3       77.1.1.1/32             DIRECT               loopback 1       0/0           D      8h26m 
4       129.129.129.0/24        DIRECT               ve 129           0/0           D      8h26m 
5       220.220.220.0/24        DIRECT               ve 220           0/0           D      2h49m 

The following example displays information for static multicast routes:

Device(config)# show ip mroute static

 Type Codes - B:BGP  D:Connected  S:Static;   Cost - Dist/Metric
        Destination              Gateway           Port           Cost   Type   Uptime
1       20.20.20.0/24            220.220.220.1     ve 220         1/1    S      8m54s

The following example displays information for directly attached multicast routes:

Device(config)# show ip mroute connected

 Type Codes - B:BGP  D:Connected  S:Static;   Cost - Dist/Metric
        Destination             Gateway           Port          Cost   Type   Uptime
1       50.50.50.0/24           DIRECT            ve 50         0/0    D      8h26m 
2       77.1.1.1/32             DIRECT            loopback 1    0/0    D      8h26m 
3       129.129.129.0/24        DIRECT            ve 129        0/0    D      8h26m 
4       220.220.220.0/24        DIRECT            ve 220        0/0    D      2h49m 

The following example displays information for IP multicast route 50.50.50.100:

Device(config)# show ip mroute 50.50.50.100

 Type Codes - B:BGP  D:Connected  S:Static;   Cost - Dist/Metric
        Destination             Gateway           Port          Cost   Type   Uptime
1       50.50.50.0/24           DIRECT            ve 50         0/0    D      8h26m 
History
Release version Command history

08.0.10a

This command was introduced.