< Home

display multicast routing-table static

Function

The display multicast routing-table static command displays the multicast static routes.

Format

display multicast routing-table [ vpn-instance vpn-instance-name ] static [ config ] [ source-address { mask | mask-length } ]

Parameters

Parameter Description Value
vpn-instance vpn-instance-name

Specifies a VPN instance. vpn-instance-name specifies the name of the VPN instance.

The name is a string of 1 to 31 characters.

config

Displays the configuration of the multicast static routes.

-

source-address

Indicates a multicast source address.

The address is in dotted decimal notation.

mask

Indicates the mask of the multicast source address.

The mask is in dotted decimal notation.

mask-length

specifies the mask length of the multicast source address.

The value is an integer that ranges from 0 to 32.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

When the display multicast routing-table static command is used, the following situations occur:

  • If vpn-instance or all-instance is not specified, the multicast static routing table of the public network instance is displayed.

  • If config is specified, the configurations of all the multicast static routes, including active routes and inactive routes, are displayed.

  • If source-address is specified, the multicast static routes of a specified multicast source are displayed.

  • If the multicast static route configured on the local router cannot be displayed, use the ip rpf-route-static command to configure multicast static routes.

Example

# Display all multicast static routes in the public network instance.
<sysname> display multicast routing-table static
Multicast Routing Table
Routes : 1

 Mroute 10.1.0.0/24
          Interafce = GigabitEthernet0/0/0       RPF Neighbor = 10.1.2.2
          Matched routing protocol = ospf, process-id = 100, Route-policy = none
          Preference = 1, Order = 1
 Running Configuration = ip rpf-route-static 10.1.0.0 24 ospf 100 10.1.2.2 order 1
# Display all multicast static routes to multicast source 10.10.0.0/16 in the public network instance.
<sysname> display multicast routing-table static 10.1.0.0 255.255.255.0
Multicast Routing Table
Routes : 1

 Mroute 10.1.0.0/24
          Interafce = GigabitEthernet0/0/0       RPF Neighbor = 10.1.2.2
          Matched routing protocol = ospf, process-id = 100, Route-policy = none
          Preference = 1, Order = 1
 Running Configuration = ip rpf-route-static 10.1.0.0 24 ospf 100 10.1.2.2 order 1

# Display the configuration of static routes in the multicast routing table.

<sysname> display multicast routing-table static config
Multicast Routing Table
Routes : 1

 Mroute 10.1.0.0/24,     RPF neighbor = 10.1.2.2
 Matched routing protocol = ospf, process-id = 100, Route-policy = none
 Preference = 1, Order = 1
Table 1 Description of the display multicast routing-table static command output

Item

Description

Multicast Routing Table

Multicast routing table.

Routes

Number of routes.

Mroute

Source address and mask length of a multicast route.

Interface

Outgoing interface of the reachable multicast source.

RPF-neighbor

Neighbor IP address through which the source address is reachable.

Matched routing protocol

Matching unicast route type.

process-id

Process ID of a routing protocol.

Route-policy

Routing policy. The source address of a route must match the routing policy.

Preference

Preference of a route.

Order

Order of a route.

Running Configuration

Command line for configuring a static route.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >