< Home

max-program-num (VLAN view)

Function

The max-program-num command sets the maximum number of programs that users can receive simultaneously.

The undo max-program-num command restores the maximum number of programs for a user to the default value.

By default, users can receive a maximum of 8 programs simultaneously.

Format

max-program-num max-value [ interface interface-type interface-number | mac-address mac-address ] *

undo max-program-num [ interface interface-type interface-number | mac-address mac-address ] *

Parameters

Item

Description

Value

max-value

Indicates the maximum number of programs that users can receive simultaneously.

The value ranges from 1 to 8.

interface interface-type interface-number

Indicates the maximum number of programs that users on a specified interface can watch simultaneously.

-

mac-address mac-address

Indicates the maximum number of programs that users with specified MAC addresses can watch simultaneously.

The value is in H-H-H format, in which H is a 4-digit hexadecimal number.

Views

VLAN view

Default Level

2: Configuration level

Usage Guidelines

Run the max-program-num (multicast profile view) command in the multicast profile view to set the maximum number of multicast groups that users can simultaneously join. If the value is set in a VLAN and the multicast profile bound to the VLAN, only the configuration in the VLAN takes effect. If the value is not set in a VLAN:
  • The configuration in the multicast profile takes effect if the VLAN is bound to only one multicast profile.
  • The default value 8 is used if the VLAN is bound to multiple multicast profiles.

The interface interface-type interface-number and mac-address mac-address parameters specified in the command must be the same as those specified in the attach multicast-profile command.

Example

# Allow users in VLAN 10 to watch four programs simultaneously.

<HUAWEI> system-view
[HUAWEI] vlan 10
[HUAWEI-vlan10] max-program-num 4
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >