< Home

voice-vlan mac-address

Function

The voice-vlan mac-address command sets the OUI address of the voice VLAN.

The undo voice-vlan mac-address command cancels the setting of the OUI address.

By default, no OUI address is set.

Format

voice-vlan mac-address mac-address mask oui-mask [ description text ]

undo voice-vlan mac-address { mac-address | all }

Parameters

Parameter

Description

Value

mac-address

Specifies the OUI address of voice packets that can be transmitted in the voice VLAN.

The value is in the format of H-H-H. H is a hexadecimal number that contains 1 to 4 digits, such as 00e0 and fc01. The address cannot be all 0s, multicast address, or broadcast address.

mask oui-mask

Specifies the mask of the OUI address.

The value is in the format of H-H-H. H is a 4-digit hexadecimal number that can be f or 0. The value in binary notation must start with consecutive 1s and end with consecutive 0s.

description text

Indicates the description of the OUI address.

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

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

An OUI is the first 24 bits of a 48-bit MAC address assigned to each vendor by the Institute of Electrical and Electronics Engineers (IEEE). Voice packets sent by IP phones can be identified by the MAC address ranges requested by IP phone vendors.

In voice VLAN, the OUI is user-defined and not necessarily 24 bits long. The OUI is the result of the AND operation between the MAC address and mask in the voice-vlan mac-address command.

Precautions

  • The mac-address value cannot be all 0s or a multicast or broadcast address.

  • The S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support a maximum of 100 OUIs. When the switch is configured with 100 OUIs, subsequent configurations will not take effect. Other models support a maximum of 32 OUIs. When the switch is configured with 32 OUIs, subsequent configurations will not take effect.

When you run the undo voice-vlan mac-address command to delete an OUI MAC address, set mac-address to the result of the logical AND operation between the OUI and the OUI mask that you set.

Example

# Allow the voice packets coming from Phone A, an IP phone, to be identified by the voice VLAN. The MAC address of Phone A is 1234-1234-1234 and the OUI mask address is ffff-ff00-0000.

<HUAWEI> system-view
[HUAWEI] voice-vlan mac-address 1234-1234-1234 mask ffff-ff00-0000 description PhoneA
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >