multicast-nat outbound-group bind instance-group

Function

The multicast-nat outbound-group bind instance-group command is used to create relationship between outbound-group and instance-group.

The undo multicast-nat outbound-group bind instance-group command is used to delete relationship between outbound-group and instance-group.

By default, a multicast NAT outbound group is not bound to any multicast NAT instance group.

This command is supported only on the NetEngine 8000 F1A.

Format

multicast-nat outbound-group id outbound-group-id [ name outbound-group-name ] bind instance-group id instance-group-id [ name instance-group-name ] [ switch-mode clean-switch [ switch-field { first-field | second-field } ] ] [ fast-mode ]

undo multicast-nat outbound-group id outbound-group-id [ name outbound-group-name ] bind instance-group id instance-group-id [ name instance-group-name ] [ switch-mode clean-switch [ switch-field { first-field | second-field } ] ] [ fast-mode ]

undo multicast-nat outbound-group id outbound-group-id

Parameters

Parameter Description Value
name outbound-group-name

Specifies the name of a multicast NAT outbound group.

The value is a string of 1 to 127 case-sensitive characters, spaces not supported.

id outbound-group-id

Specifies the ID of a multicast NAT outbound group.

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

instance-group-id

Specifies the ID of a multicast NAT instance group.

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

instance-group-name

Specifies the name of a multicast NAT instance group.

The value is a string of 1 to 127 case-sensitive characters, spaces not supported.

switch-mode

Sets the switching mode of multicast groups.

-

clean-switch

clean switching.

-

switch-field

Switch field.

-

first-field

Sets the first field for multicast group switching.

-

second-field

Sets the second field for multicast group switching.

-

fast-mode

Fast mode.

-

Views

multicast-nat-bind-list

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
forwarding write

Usage Guidelines

Usage Scenario

In multicast NAT, to translate an input multicast stream into output multicast streams, you must create a multicast NAT instance. To switch multiple input multicast streams at the same time, you must add the input and output multicast streams to a multicast NAT instance group and multicast NAT outbound group, respectively. Then run the multicast-nat outbound group bind instance group command to bind the multicast NAT outbound group to the multicast NAT instance group. To perform clean switching for the multicast NAT outbound group, you must set the switch-mode clean-switch parameter and specify a field sequence for clean switching according to the requirements of a media gateway.

Prerequisites

Output multicast streams have been added to the created multicast NAT outbound group using the assign outbound command.

Precautions

The part IDs and flow types configured for members in a multicast NAT instance group must correspond to those configured for members in a multicast NAT outbound group, and the two groups must contain members. Otherwise, the binding fails.

This command is supported only in the admin VS.

Example

# This command is used to create relationship between outbound-group and instance-group.
<HUAWEI> system-view
[~HUAWEI] multicast-nat enable
[*HUAWEI] multicast-nat instance id 1 name stream1
[*HUAWEI-multicast-nat-instance-1] multicast-nat instance id 2 name stream2
[*HUAWEI-multicast-nat-instance-2] commit
[~HUAWEI-multicast-nat-instance-2] quit
[~HUAWEI] multicast-nat instance-group id 1 name streamin1
[~HUAWEI-multicast-nat-instance-group-1] assign instance id 1 part 1
[*HUAWEI-multicast-nat-instance-group-1] assign instance id 2 part 2
[*HUAWEI-multicast-nat-instance-group-1] commit
[~HUAWEI-multicast-nat-instance-group-1] 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-GigabitEthernet0/1/1] multicast-nat outbound id 2 name out2 src-mac auto-translate src-ip 10.0.0.1 dst-ip 225.0.0.2 dst-udp-port 101
[*HUAWEI-GigabitEthernet0/1/1] commit
[~HUAWEI-GigabitEthernet0/1/1] quit
[~HUAWEI] multicast-nat outbound-group id 1 name streamout1
[~HUAWEI-multicast-nat-outbound-group-1] assign outbound id 1 part 1
[*HUAWEI-multicast-nat-outbound-group-1] assign outbound id 2 part 2
[*HUAWEI-multicast-nat-outbound-group-1] commit
[~HUAWEI-multicast-nat-outbound-group-1] quit
[~HUAWEI] multicast-nat bind-list
[~HUAWEI-multicast-nat-bind-list] multicast-nat outbound-group id 1 name streamout1 bind instance id 1 name streamin1 switch-mode clean-switch switch-field first-field fast-mode
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >