< Home

reset multicast forwarding-table

Function

The reset multicast forwarding-table command clears the entries of the multicast forwarding table.

Format

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

reset multicast [ vpn-instance vpn-instance-name | all-instance ] forwarding-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 the VPN instance. vpn-instance-name specifies 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 forwarding entries of multicast forwarding tables. -
group-address Specifies the address of a multicast group. The address is in dotted decimal notation and ranges from 224.0.0.0 to 239.255.255.255.
mask Specifies the mask of a multicast group address or source address. -
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 multicast source. The address is in dotted decimal notation.
source-mask Specifies the address mask of a multicast source. 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 Indicates the upstream interface of the forwarding entry. -
interface-type interface-number Specifies the type and the number of an interface, used to specify an interface. -
register Indicates the register interface in PIM-SM. -

Views

User view

Default Level

3: Management level

Usage Guidelines

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

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

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

  • If the source-address is specified, only the forwarding entries to which the multicast source 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 forwarding entries of a specified upstream interface are deleted.

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

Example

# Clear the multicast forwarding entries of the group with the address being 225.5.4.3 from the forwarding table.

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