< Home

Data Model

The configuration model files matching VXLAN are huawei-bd.yang and huawei-vxlan.yang.

Table 1 BD

Object

Description

Value Range

Remarks

/huawei-bd/bridge-domains

Create a BD.

The value is an integer that ranges from 1 to 16777215.

NA

/huawei-bd/bridge-domains/bridge-domain

BD list

The value is an integer that ranges from 1 to 16777215.

NA

/huawei-bd/bridge-domains/bridge-domain/id

BD ID

The value is an integer that ranges from 1 to 16777215.

NA

/huawei-bd:bridge-domains/bridge-domain/description

BD description

The value is a string of 1 to 80 case-sensitive characters without spaces and question marks.

NA

/huawei-bd/bridge-domains/bridge-domain/members/vlan-id

Bind a global VLAN to a BD.

The value is an integer that ranges from 1 to 4094.

NA

/huawei-bd/bridge-domains/bridge-domain/members/interface-name

Interface name in default encapsulation

-

NA

/huawei-bd/bridge-domains/bridge-domain/members/port-vlan

dot1q encapsulation

-

NA

/huawei-bd/bridge-domains/bridge-domain/members/port-vlan/vlan-id

VLAN ID in dot1q encapsulation

The value is an integer that ranges from 2 to 4094.

NA

/huawei-bd:bridge-domains/bridge-domain /members/port-vlan/high-vlan-id

Endpoint VLAN ID of the VLAN segment in dot1q encapsulation

The value is an integer that ranges from 2 to 4094.

NA

/huawei-bd/bridge-domains/bridge-domain/members/port-vlan/interface-name

Interface name in dot1q encapsulation

-

NA

/huawei-bd:bridge-domains/bridge-domain /members/port-vlan/rewrite-action/pop-action

Operation of removing VLAN tags from the packets received by Layer 2 sub-interfaces:
  • 1: none
  • 2: single
  • 3: double

-

NA

/huawei-bd/bridge-domains/bridge-domain/members/port-qinq

QinQ encapsulation

-

NA

/huawei-bd/bridge-domains/bridge-domain/members/port-qinq/c-vlan-id

Inner VLAN ID in QinQ encapsulation

The value is an integer that ranges from 1 to 4094.

NA

/huawei-bd:bridge-domains/bridge-domain/members/port-qinq/high-c-vlan-id

Endpoint VLAN ID of the inner VLAN segment in QinQ encapsulation

The value is an integer that ranges from 1 to 4094.

NA

/huawei-bd/bridge-domains/bridge-domain/members/port-qinq/p-vlan-id

Outer VLAN ID in QinQ encapsulation

The value is an integer that ranges from 2 to 4094.

NA

/huawei-bd:bridge-domains/bridge-domain/members/port-qinq/high-p-vlan-id

Endpoint VLAN ID of the outer VLAN segment in QinQ encapsulation

The value is an integer that ranges from 2 to 4094.

NA

/huawei-bd/bridge-domains/bridge-domain/members/port-qinq/interface-name

Interface name in QinQ encapsulation

-

NA

/huawei-bd:bridge-domains/bridge-domain /members/port-vlan/rewrite-action/pop-action

Operation of removing VLAN tags from the packets received by Layer 2 sub-interfaces:
  • 1: none
  • 2: single
  • 3: double

-

NA

/huawei-bd:bridge-domains/bridge-domain/qos/storm-control/broadcast/cir

The committed information rate (CIR) of broadcast traffic, which is the allowed rate at which traffic can pass through.

The value is an integer that ranges from 0 to 10000000, in kbit/s.

NA

/huawei-bd:bridge-domains/bridge-domain/qos/storm-control/broadcast/cbs

The committed burst size (CBS) of broadcast traffic, which is the maximum size of traffic that can pass through.

The value is an integer that ranges from 10000 to 4294967295, in bytes.

NA

/huawei-bd:bridge-domains/bridge-domain/qos/storm-control/multicast/cir

The committed information rate (CIR) of multicast traffic

The value is an integer that ranges from 0 to 10000000, in kbit/s.

NA

/huawei-bd:bridge-domains/bridge-domain/qos/storm-control/multicast/cbs

The committed burst size (CBS) of multicast traffic

The value is an integer that ranges from 10000 to 4294967295, in bytes.

NA

/huawei-bd:bridge-domains/bridge-domain/qos/storm-control/unknown-unicast/cir

The committed information rate (CIR) of unicast traffic

The value is an integer that ranges from 0 to 10000000, in kbit/s.

NA

/huawei-bd:bridge-domains/bridge-domain/qos/storm-control/unknown-unicast/cbs

The committed burst size (CBS) of unicast traffic

The value is an integer that ranges from 10000 to 4294967295, in bytes.

NA

Table 2 VXLAN tunnel

Object

Description

Value Range

Remarks

/huawei-vxlan/vxlan/nve

Create an NVE interface.

The value is 1.

NA

/huawei-vxlan/vxlan/nve/id

NVE interface number

The value is 1.

NA

/huawei-vxlan/vxlan/nve/local-address

IP address of the source VTEP

The value is in dotted decimal notation.

NA

/huawei-vxlan/vxlan/nve/local-ipv6-address

IPv6 address of the source VTEP

The address is a 32-bit hexadecimal number, in the format of X:X:X:X:X:X:X:X.

NA

/huawei-vxlan/vxlan/nve/vni-config

Configure a VNI.

The value is an integer that ranges from 1 to 16777215.

NA

/huawei-vxlan/vxlan/nve/vni-config/vni

VNI ID

The value is an integer that ranges from 1 to 16777215.

NA

/huawei-vxlan/vxlan/nve/vni-config/peer-address

Configure an IP address for the destination VTEP

  • IPv4: The value is in dotted decimal notation.
  • IPv6: The address is a 32-bit hexadecimal number, in the format of X:X:X:X:X:X:X:X.

NA

/huawei-vxlan/vxlan/nve/vni-config/bgp

VXLAN Layer 2 tunnels are dynamically established through the BGP routing protocol.

-

NA

/huawei-vxlan/vxlan/nve/vni-config/vni-attachment

VNI association mode

-

NA

/huawei-vxlan/vxlan/nve/vni-config/vni-attachment/layer2

Layer 2 mode

-

NA

/huawei-vxlan/vxlan/nve/vni-config/vni-attachment/layer2/bdid

Associated BD ID

The value is an integer that ranges from 1 to 16777215.

NA

/huawei-vxlan/vxlan/global-attribute/exact-route-subscribe

Precise route status subscription of the VXLAN tunnel destination:
  • true: Enable
  • false: Disable

-

NA

/huawei-vxlan/huawei-vxlan:vxlan/vxlan-state

View VXLAN tunnel information, which cannot be configured

-

NA

/huawei-vxlan/huawei-vxlan:vxlan/vxlan-state/vxlan-tunnels

VXLAN tunnel

-

NA

/huawei-vxlan/huawei-vxlan:vxlan/vxlan-state/nve-addresses

The IP address for a source VXLAN Tunnel Endpoint (VTEP)

-

NA

/huawei-vxlan/huawei-vxlan:vxlan/vxlan-state/vxlan-tunnels/vxlan-tunnel

VXLAN tunnel ID

-

NA

/huawei-vxlan/huawei-vxlan:vxlan/vxlan-state/vxlan-tunnels/vxlan-tunnel/local-address

Source IP address of the VXLAN tunnel

-

NA

/huawei-vxlan/huawei-vxlan:vxlan/vxlan-state/vxlan-tunnels/vxlan-tunnel/peer-address

Destination IP address of the VXLAN tunnel

-

NA

/huawei-vxlan/huawei-vxlan:vxlan/vxlan-state/vxlan-tunnels/vxlan-tunnel/vxlan-tunnel-state

VXLAN tunnel status

-

NA

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