< Home

reset multicast routing-table

Function

The reset multicast routing-table command clears the entries in the multicast routing table. The corresponding forwarding entries in the forwarding table are deleted at the same time.

Format

reset multicast [ vpn-instance vpn-instance-name | all-instance ] routing-table all

reset multicast [ vpn-instance vpn-instance-name | all-instance ] routing-table { group-address [ mask { group-mask | group-mask-length } ] | source-address [ mask { source-mask | source-mask-length } ] | incoming-interface { interface-type interface-number | register } } *

Parameters

Parameter Description Value

vpn-instance vpn-instance-name

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

The name is a string of 1 to 31 characters.

all-instance

Indicates all the instances.

-

all

Indicates all entries in the multicast routing table.

-

group-address

Specifies the address of the specified group.

The address is in dotted decimal notation and ranges from 224.0.0.0 to 239.255.255.255.

mask

Indicates the address mask of a multicast group or source.

-

group-mask

Specifies the address mask of a multicast group.

The address mask is in dotted decimal notation.

group-mask-length

Specifies the mask length of a multicast group address.

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

source-address

Specifies the address of a specified source.

The address is in dotted decimal notation.

source-mask

Specifies the address mask of a multicast source, in dotted decimal notation.

The address mask is in dotted decimal notation.

source-mask-length

Specifies the mask length of a multicast source address.

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

incoming-interface

Specifies the incoming interface of a multicast entry.

-

interface-type interface-number

Specifies the type and the number of an interface, used to specify an interface.

-

register

Indicate the register interface of PIM-SM.

-

Views

User view

Default Level

3: Management level

Usage Guidelines

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

  • If vpn-instance or all-instance is not specified, only routing entries of the public network instance are deleted.

  • If group-address is specified, only the entries to which the group address corresponds are deleted.

  • If group-address mask is specified, only the entries to which the group address range corresponds are deleted.

  • If source-address is specified, only the entries to which the multicast source address corresponds are deleted.

  • If source-address mask is specified, only the entries to which the source address range corresponds are deleted.

  • The order of group-address and source-address can be reversed. Ensure that group-address and source-address must be valid.

  • If incoming-interface interface-type interface-number is specified, only the entries of a specified upstream interface are deleted.

  • If incoming-interface register is specified, only the entries of the register interfaces among the upstream interfaces are deleted.

Example

# Clear the entries of the group with address of 225.5.4.3 from the multicast routing table of the public network instance.

<sysname> reset multicast routing-table 225.5.4.3
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic