< Home

Data Model

The configuration model file matching sub-interface management is ietf-interfaces.yang.

Table 1 Sub-interface management

Object

Description

Value

Remarks

/ietf-interfaces:interfaces/interface/huawei-vlan-termination:vlan-termination-list/termination-type

Indicates the termination sub-interface type.

The value is of the enumerated type:

  • dot1q: Set the sub-interface to a Dot1q termination sub-interface.
  • qinq: Set the sub-interface to QinQ termination sub-interface.

N/A

/ietf-interfaces:interfaces/interface/huawei-vlan-termination:vlan-termination-list/dot1q-termination-list

Indicates the termination function for packets with a single VLAN tag on a Dot1q termination sub-interface.

A maximum of eight rules can be configured for user packets on a sub-interface, and the maximum number of VLANs that can be configured in each rule is 128.

N/A

/ietf-interfaces:interfaces/interface/huawei-vlan-termination:vlan-termination-list/qinq-termination-mode

Indicates the attribute of a QinQ termination sub-interface.

The value is of the enumerated type:

  • asymmetry: Set the QinQ termination sub-interface to access the PWE3/VLL and VPLS in asymmetry mode.
  • symmetry: Set the QinQ termination sub-interface to access the PWE3/VLL and VPLS in symmetry mode.

N/A

/ietf-interfaces:interfaces/interface/huawei-vlan-termination:vlan-termination-list/qinq-termination-list

Indicates the termination function for packets with two VLAN tags on a QinQ termination sub-interface.

A maximum of eight rules can be configured for user packets on a sub-interface, and the maximum number of VLANs that can be configured in each rule is 128.

N/A

/ietf-interfaces:interfaces/interface/huawei-interfaces:common/statistics-enable

Indicates whether traffic statistics collection is enabled on a sub-interface.

The value is of the Boolean type:

  • true: The function is enabled.
  • false: The function is disabled.

N/A

/ietf-interfaces:interfaces/interface/huawei-interfaces:common/statistics-direction

Indicates the direction of traffic statistics collection on a sub-interface.

The value is of the enumerated type:

  • both: Traffic statistics in inbound and outbound directions are collected on the sub-interface.
  • inbound: Traffic statistics only in the inbound direction are collected on the sub-interface.
  • outbound: Traffic statistics only in the outbound direction are collected on the sub-interface.

N/A

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