The configuration model files matching VLAN management are huawei-vlan.yang and ietf-interfaces.yang.
Object |
Description |
Value |
Remarks |
---|---|---|---|
/huawei-vlan:voice-vlan/remark-8021p |
Specifies the 802.1p priority. |
The value is an integer that ranges from 0 to 7. The default value is 6. A larger value indicates a higher priority. |
NA |
/huawei-vlan:voice-vlan/remark-dscp |
Specifies the DSCP priority. |
The value is an integer that ranges from 0 to 63. The default value is 46. A larger value indicates a higher priority. |
NA |
/huawei-vlan:voice-vlan/address/mac |
Specifies the OUI address of voice packets that can be transmitted in the voice VLAN. |
The value is in H:H:H:H:H:H format. H is a hexadecimal number that contains 1 to 2 digits, such as e0 and fc. The address cannot be all 0s, multicast address, or broadcast address. |
NA |
/huawei-vlan:voice-vlan/address/mask |
Specifies the mask length of the OUI address. |
The value is an integer that ranges from 1 to 48. |
NA |
/huawei-vlan:voice-vlan/address/description |
Indicates the description of the OUI address. |
The value is a string of 1 to 80 case-sensitive characters. |
NA |
/ietf-interfaces:interfaces/interface/huawei-vlan:voice-vlan/voice-vlan-id |
Configures a specified VLAN as a voice VLAN. |
The value is an integer that ranges from 2 to 4094. |
NA |
/ietf-interfaces:interfaces/interface/huawei-vlan:voice-vlan/include-untagged |
Adds voice VLAN IDs to untagged packets. |
The value is of the Boolean type:
The default value is false. |
NA |
/ietf-interfaces:interfaces/interface/huawei-vlan:voice-vlan/include-tag0 |
Changes VLAN 0 in packets to the voice VLAN ID. |
The value is of the Boolean type:
The default value is false. |
Only the S5720-EI, S6720-EI, and S6720S-EI supports include-tag0. |
/ietf-interfaces:interfaces/interface/huawei-vlan:voice-vlan/remark-mode |
Configures a mode to increase the priority of voice packets. |
The value is of the enumerated type:
The default value is vlan. |
You must enable the voice VLAN function on interfaces before configuring a mode to increase the priority of voice packets. |
/ietf-interfaces:interfaces/interface/huawei-vlan:voice-vlan/security |
Configures the secure or normal mode of a voice VLAN. |
The value is of the enumerated type:
The default value is disable. |
You must specify that the priority of voice VLANs is increased based on MAC addresses before enabling the secure mode of the voice VLAN. |
/ietf-interfaces:interfaces/interface/huawei-vlan:voice-vlan/mode |
Specifies the working mode of the voice VLAN. |
The value is of the enumerated type:
The default value is manual. |
The S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-HI, S6730-H, S6730S-H, S6730-S, and S6730S-S do not support this configuration. You must specify that the priority of voice VLANs is increased based on MAC addresses before specifying the auto mode for the voice VLAN. Access, negotiation-auto, or negotiation-desirable interfaces cannot work in auto mode. To configure these interfaces to work in auto mode, change the interface type to trunk or hybrid. |
/ietf-interfaces:interfaces/interface/huawei-vlan:voice-vlan/legacy |
Enables the CDP-compatible voice VLAN function so that the switch encapsulates voice VLAN information in CDP packets and sends them to connected IP phones. |
The value is of the enumerated type:
The default value is disable. |
You must enable the voice VLAN function on interfaces before enabling the CDP-compatible voice VLAN function so that the switch encapsulates voice VLAN information in CDP packets and sends them to connected IP phones. |