set multicast-nat bind

Function

The set multicast-nat bind command fast switches the binding between a multicast NAT output stream and multicast NAT instance in the multicast NAT binding view.

This command is supported only on the NetEngine 8000 F1A.

Format

set multicast-nat outbound-id outbound-id-value bind instance-id instance-id-value [ clean-switch [ first-field | second-field ] ] fast-mode

Parameters

Parameter Description Value
instance-id instance-id-value

Specifies the ID of a multicast NAT instance.

The value is an integer that ranges from 1 to 16000.

clean-switch

Sets the switching mode of multicast NAT to clean switching.

-

first-field

Sets the first field for multicast NAT's switching.

-

second-field

Sets the second field for multicast NAT's switching.

-

fast-mode

Sets the switching mode of multicast NAT to fast switching.

-

outbound-id outbound-id-value

Specifies the ID of a multicast NAT output stream.

The value is an integer that ranges from 1 to 16000.

Views

multicast-nat-bind-list

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
forwarding write

Usage Guidelines

Usage Scenario

To fast switch the binding between a multicast NAT output stream and multicast NAT instance, run the set multicast nat bind fast switch command in the multicast NAT binding view.

This command takes effect only when fast switching is configured for the binding between a multicast NAT output stream and multicast NAT instance. No configuration is generated in the configuration file.

Example

# In the multicast NAT binding view, fast switch the binding between the multicast output stream and the multicast instance.
<HUAWEI> system-view
[~HUAWEI] multicast-nat enable
[*HUAWEI] multicast-nat instance id 1 name stream1
[*HUAWEI-multicast-nat-instance-1] quit
[*HUAWEI] multicast-nat instance id 2 name stream2
[*HUAWEI-multicast-nat-instance-2] quit
[*HUAWEI] interface GigabitEthernet 0/1/1
[*HUAWEI-GigabitEthernet0/1/1] multicast-nat outbound id 1 name out1 src-mac auto-translate src-ip 10.0.0.1 dst-ip 225.0.0.1 dst-udp-port 100
[*HUAWEI] multicast-nat bind-list
[*HUAWEI-multicast-nat-bind-list] multicast-nat outbound id 1 name out1 bind instance id 1 name stream1 switch-mode clean-switch switch-field first-field fast-mode
[*HUAWEI-multicast-nat-bind-list] commit
[~HUAWEI-multicast-nat-bind-list] set multicast-nat outbound-id 1 bind instance-id 2 clean-switch first-field fast-mode
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >