assign outbound

Function

The assign outbound command adds an output multicast stream to a multicast NAT outbound group.

The undo assign outbound command deletes an output multicast stream from a multicast NAT outbound group.

By default, no output multicast stream exists in a multicast NAT outbound group.

This command is supported only on the NetEngine 8000 F1A.

Format

assign outbound id outbound-id [ name outbound-name ] part part-id [ type { video-stream | audio-stream | ancillary-data } ]

undo assign outbound id outbound-id [ name outbound-name ] part part-id [ type { video-stream | audio-stream | ancillary-data } ]

Parameters

Parameter Description Value
name outbound-name

Specifies the name of an output multicast stream.

The value is a string of 1 to 127 case-sensitive characters. It cannot contain spaces.

part part-id

Specifies the sequence number of an output multicast stream in a multicast NAT outbound group.

The value is an integer ranging from 1 to 16.

type

Specifies the type of media streams.

-

video-stream

Sets the type of media streams to video stream when an output multicast stream is added to a multicast NAT outbound group.

-

audio-stream

Sets the type of media streams to audio stream when an output multicast stream is added to a multicast NAT outbound group.

-

ancillary-data

Sets the type of media streams to ancillary data when an output multicast stream is added to a multicast NAT outbound group.

-

id outbound-id

Specifies the ID of an output multicast stream.

The value is an integer ranging from 1 to 16000.

Views

multicast-nat-outbound-group

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, create a multicast NAT instance and then associate the input multicast stream with the multicast NAT instance. If there are multiple input multicast streams (that is, multiple multicast NAT instances exist) and you want to place the streams together based on unified rules, you can create a multicast NAT instance group and add those multicast NAT instances to the group. If the multicast input is a multicast NAT instance group, the multicast output must be a multicast NAT outbound group. To add an outbound multicast stream to a multicast NAT outbound group, run the assign outbound command.

Prerequisites

Multicast NAT has been globally enabled using the multicast-nat enable command.

Multicast stream translation has been enabled on an outbound interface and multicast stream translation parameters have been configured using the multicast-nat outbound command.

A multicast NAT outbound group has been created using the multicast-nat outbound group command.

Precautions

In VS mode, this command is supported only by the admin VS.

If none of video-stream, audio-stream, and ancillary-data is specified, the default stream type is retained when an output multicast stream is added to a multicast NAT outbound group.

Before adding output multicast streams to a multicast NAT outbound group, you must either specify the type of media streams or retain the default stream type for the multicast NAT outbound group.

Example

# Create a multicast NAT outbound group, add output multicast streams 1 and 2 to the multicast NAT outbound group, and specify the type of media streams for the multicast NAT outbound group.
<HUAWEI> system-view
[~HUAWEI] multicast-nat enable
[*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] quit
[*HUAWEI] multicast-nat outbound-group id 1 name group1
[*HUAWEI-multicast-nat-outbound-group-1] assign outbound id 1 part 1 type video-stream
[*HUAWEI-multicast-nat-outbound-group-1] assign outbound id 2 part 2 type audio-stream
# Create a multicast NAT outbound group, add output multicast streams 1 and 2 to the multicast NAT outbound group, and retain the default stream type for the multicast NAT outbound group.
<HUAWEI> system-view
[~HUAWEI] multicast-nat enable
[*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] quit
[*HUAWEI] multicast-nat outbound-group id 1 name group1
[*HUAWEI-multicast-nat-outbound-group-1] assign outbound id 1 part 1
[*HUAWEI-multicast-nat-outbound-group-1] assign outbound id 2 part 2
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >