< Home

multicast forwarding-table source-nat

Function

The multicast forwarding-table source-nat command enables the multicast NAT function.

The undo multicast forwarding-table source-nat command disables the multicast NAT function.

Format

multicast forwarding-table source-nat source-address [ vpn-instance vpn-instance-name ]

undo multicast forwarding-table source-nat [ vpn-instance vpn-instance-name ]

Parameters

Parameter Description Value
source-address Specifies the source IP address of the multicast after NAT. The address is generally the address of the loopback interface of the device. It is in dotted decimal notation.
vpn-instance vpn-instance-name Specifies the name of a VPN instance. The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Upon receiving a multicast packet (S, G), the device translates the packet into (S', G) through NAT, and then forwards it. Meanwhile, ensure that routes to the address exist on other intranet devices. In this way, the data packets received by downstream devices can pass the RPF check and be forwarded normally.

Example

# Enable the multicast NAT function and specify the translated source IP address of the multicast as 2.2.2.2.

<sysname> system-view
[sysname] multicast forwarding-table source-nat 2.2.2.2 vpn-instance test
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >