< Home

Data Model

The configuration model file matching selective QinQ and VLAN mapping is huawei-vlan.yang.

Table 1 Selective QinQ and VLAN mapping

Object

Description

Value

Remarks

/ietf-interfaces:interfaces/interface/huawei-vlan:vlan-translation-enable/huawei-vlan:translation-enable

Indicates whether to enable VLAN translation on an interface.

The value is of the Boolean type:
  • true: Enable VLAN translation on an interface.
  • false: Disable VLAN translation on an interface.

By default, VLAN translation is disabled on an interface.

N/A

/ietf-interfaces:interfaces/interface/huawei-vlan:vlan-translation/huawei-vlan:mapping/huawei-vlan:vlan

Indicates the VLAN ID carried in the received frame.

The value is of the character string type and must be in the format x..y, which indicates VLANs in the range from x to y. x and y are in the range from 1 to 4094.

N/A

/ietf-interfaces:interfaces/interface/huawei-vlan:vlan-translation/huawei-vlan:mapping/huawei-vlan:map-vlan

Indicates the mapped VLAN ID.

The value is an integer in the range from 1 to 4094.

N/A

/ietf-interfaces:interfaces/interface/huawei-vlan:vlan-translation/huawei-vlan:mapping/huawei-vlan:remark-8021p

Indicates the re-marked 802.1p priority of the mapped tag.

The value is an integer in the range from 0 to 7. A larger value indicates a higher priority.

N/A

/ietf-interfaces:interfaces/interface/huawei-vlan:vlan-translation/huawei-vlan:stacking/huawei-vlan:vlan

Indicates the VLAN ID in a received tagged frame.

The value is of the character string type and must be in the format x..y, which indicates VLANs in the range from x to y. x and y are in the range from 1 to 4094.

N/A

/ietf-interfaces:interfaces/interface/huawei-vlan:vlan-translation/huawei-vlan:stacking/huawei-vlan:stack-vlan

Indicates the outer VLAN ID added to a frame.

The value is an integer in the range from 1 to 4094.

N/A

/ietf-interfaces:interfaces/interface/huawei-vlan:vlan-translation/huawei-vlan:stacking/huawei-vlan:remark-8021p

Indicates the re-marked 802.1p priority in the outer tag added to a frame.

The value is an integer in the range from 0 to 7. A larger value indicates a higher priority.

N/A

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >