The configuration model files matching VLAN management are huawei-vlan.yang, huawei-forward-traffic-security.yang and ietf-interfaces.yang.
Object |
Description |
Value |
Remarks |
---|---|---|---|
/huawei-vlan:vlans/management-vlan/vlanid |
Indicates a management VLAN ID |
The value is an integer in the range from 1 to 4094. |
N/A |
/huawei-vlan:vlans/id |
Indicates a VLAN ID. |
The value is an integer in the range from 1 to 4094. |
N/A |
/huawei-vlan:vlan-pools/vlan-pool/name |
Indicates the name of a VLAN pool. |
The value is a string of 1 to 31 characters. The value cannot contain question marks (?) or spaces, and cannot begin or end with double quotation marks (" "). |
N/A |
/huawei-vlan:vlan-pools/vlan-pool/vlans |
Indicates the range of VLANs added to the VLAN pool. |
The value is in the format of start-vlan[..end-vlan ], where the value of start-vlan or end-vlan is an integer in the range from 1 to 4094. The value of start-vlan must be less than that of end-vlan. For example, 10..20 indicates that VLANs 10 to 20 are added to the VLAN pool. |
A nonexistent VLAN can also be added to a VLAN pool. However, you need to create the VLAN after adding a nonexistent VLAN to a VLAN pool; otherwise, the VLAN does not take effect. |
/huawei-vlan:vlan-pools/vlan-pool/assignment-method |
Indicates the VLAN assignment algorithm in a VLAN pool. |
The value is of the enumerated type:
|
N/A |
/ietf-interfaces:interfaces/interface/huawei-vlan:vlan/port-link-type |
Indicates the type of an interface. |
The options are as follows:
|
N/A |
/ietf-interfaces:interfaces/interface/huawei-vlan:vlan/default-vlan |
Indicates the default VLAN ID. |
The value is an integer in the range from 1 to 4094. |
N/A |
/ietf-interfaces:interfaces/interface/huawei-vlan:vlan/trunk |
Indicates the trunk type. |
- |
N/A |
/ietf-interfaces:interfaces/interface/huawei-vlan:vlan/trunk-vlan |
Indicates the VLANs allowed by a trunk interface. |
NOTE:
The VLAN range and VLAN list are mutually exclusive. |
N/A |
/ietf-interfaces:interfaces/interface/huawei-vlan:vlan/hybrid |
Indicates the hybrid type. |
- |
N/A |
/ietf-interfaces:interfaces/interface/huawei-vlan:vlan/hybrid-vlan |
Indicates the VLANs allowed by a hybrid interface. |
- |
N/A |
/ietf-interfaces:interfaces/interface/huawei-vlan:vlan/name |
Indicates a VLAN name. |
The value is a string of 1 to 31 case-sensitive characters. The question mark (?) is not supported. |
N/A |
/ietf-interfaces:interfaces/interface/huawei-vlan:vlan/description |
Indicates the VLAN description. |
The value is a string of 1 to 255 case-sensitive characters. The question mark (?) is not supported. |
N/A |
/huawei-vlan:vlans/vlan/huawei-traffic:traffic-security/ipv4-check-enable |
Indicates whether IPv4 packet check is enabled in a VLAN. |
The value is of the Boolean type:
The default value is false. |
N/A |
/huawei-vlan:vlans/vlan/huawei-traffic:traffic-security/ipv6-check-enable |
Indicates whether IPv6 packet check is enabled in a VLAN. |
The value is of the Boolean type:
The default value is false. |
N/A |
/huawei-vlan:vlans/vlan/huawei-traffic:traffic-security/arp-check-enable |
Indicates whether ARP packet check is enabled in a VLAN. |
The value is of the Boolean type:
The default value is false. |
N/A |
/huawei-vlan:vlans/vlan/ip-subnet-vlan/ip-prefix |
Indicates the source IP address or network address and mask length for IP subnet-based VLAN assignment. |
The value is in the format of ipv4-address/mask-length.
|
N/A |
/huawei-vlan:vlans/vlan/ip-subnet-vlan/priority |
Indicates the 802.1p priority of the VLAN associated with an IP address or subnet. |
The value is an integer in the range from 0 to 7. A larger value indicates a higher priority. The default value is 0. |
N/A |
/ietf-interfaces:interfaces/interface/huawei-vlan:ip-subnet-vlan-enable/enable |
Indicates whether IP subnet-based VLAN assignment is enabled on an interface. |
The value is of the Boolean type:
The default value is false. |
N/A |