< Home

Data Model

The configuration model files matching EVPN are huawei-ethernet-vpn.yang and huawei-bgp.yang.

Table 1 EVPN management

Object

Description

Value

Remarks

/huawei-ethernet-vpn:vpn-instances/vpn-instance/vpn-instance-name

Indicates the name of a created EVPN instance.

The value is a string of 1 to 31 case-sensitive characters without spaces.

NA

/huawei-ethernet-vpn:vpn-instances/vpn-instance/evpn-type

Indicates the type of a created EVPN instance.

The value is of the enumerated type:

  • normal
  • bevpn
  • ievpn
  • bdevpn
  • vpwsevpn

NA

/huawei-ethernet-vpn:vpn-instances/vpn-instance/route-distinguisher

Specifies the RD of an EVPN instance.

The value is a string of 3 to 21 case-sensitive characters without spaces.

NA

/huawei-ethernet-vpn:vpn-instances/vpn-instance/evpntargets/evpntarget/evrf-rtvalue

Specifies the value of the VPN target extended community attribute for an EVPN instance.

The value is a string of 3 to 21 case-sensitive characters without spaces.

NA

/huawei-ethernet-vpn:vpn-instances/vpn-instance/evpntargets/evpntarget/evrf-rttype

Specifies the type of the VPN target extended community attribute for an EVPN instance.

The value is of the enumerated type:

  • export-extcommunity
  • import-extcommunity
  • both

NA

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-bgp:bgp-routing/bgp-router/huawei-bgp-l3vpn:bgp-af-ipv4-vpn-instances/bgp-af-ipv4-vpn-instance/huawei-ethernet-vpn:advertise-to-ethernet-vpn

Enables a VPN instance to advertise IP routes to an EVPN instance.

NA

NA

/huawei-bd:bridge-domains/bridge-domain/huawei-ethernet-vpn:evpn-vpn-instance-name

Specifies the name of an EVPN instance bound to a BD.

The value is a string of 1 to 31 case-sensitive characters without spaces.

For details, see /hw-ethvpn:vpn-instances/hw-ethvpn:vpn-instance/hw-ethvpn:vpn-instance-name.

/huawei-bd:bridge-domains/bridge-domain/huawei-ethernet-vpn:arp-broadcast-suppress

Enables ARP broadcast suppression.

The value is of the Boolean type:

  • true: enabled
  • false: disabled

NA

/huawei-bd:bridge-domains/bridge-domain/huawei-ethernet-vpn:mismatch-discard

Enables the action of discarding ARP packets matching no ARP entry when ARP broadcast suppression is enabled.

The value is of the Boolean type:

  • true: enabled
  • false: disabled

This object can be configured only when the value of /huawei-bd:bridge-domains/bridge-domain/huawei-ethernet-vpn:arp-broadcast-suppress is true.

/huawei-bd:bridge-domains/bridge-domain/huawei-ethernet-vpn: nd-multicast-suppress

Enables the NS multicast suppression function.

The value is of the Boolean type:

  • true: enabled
  • false: disabled

NA

/huawei-bd:bridge-domains/bridge-domain/huawei-ethernet-vpn: nd-mismatch-discard

Configures the device to discard unmatched NS multicast packets when the NS multicast suppression function is enabled.

The value is of the Boolean type:

  • true: enabled
  • false: disabled

This object can be configured only when the value of the /huawei-bd:bridge-domains/bridge-domain/huawei-ethernet-vpn: nd-multicast-suppress object is true.

/huawei-l3vpn:vpn-instances/vpn-instance/huawei-bgp-l3vpn:ipv4-family/huawei-ethernet-vpn:evpntargets/evpntarget/evrf-rtvalue

Specifies the value of a VPN target for EVPN routes to be imported into a VPN instance.

The value is a string of 3 to 21 case-sensitive characters without spaces.

NA

/huawei-l3vpn:vpn-instances/vpn-instance/huawei-bgp-l3vpn:ipv4-family/huawei-ethernet-vpn:evpntargets/evpntarget/evrf-rttype

Specifies the type of a VPN target for EVPN routes to be imported into a VPN instance.

The value is of the enumerated type:

  • export-extcommunity
  • import-extcommunity
  • both

NA

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-bgp:bgp-routing/bgp-neighbors/bgp-neighbor/af-specific-config/l2vpn/evpn/active

Enables the local device to exchange routing information with specified peers.

The value is of the Boolean type:
  • true: enabled
  • false: disabled

NA

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-bgp:bgp-routing/bgp-neighbors/bgp-neighbor/af-specific-config/l2vpn/evpn/route-reflector-client

Enables the local device as a route reflector and its peers as the clients of the route reflector.

The value is of the Boolean type:
  • true: enabled
  • false: disabled

This object can be configured only when the value of /ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-bgp:bgp-routing/bgp-neighbors/bgp-neighbor/af-specific-config/l2vpn/evpn/active is true.

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-bgp:bgp-routing/bgp-neighbors/bgp-neighbor/af-specific-config/l2vpn/evpn/huawei-ethernet-vpn:advertise-host-route-mode

Enables the local device to advertise ARP routes or IRB routes to its BGP EVPN peers.

The value is of the enumerated type:

  • ARP
  • IRB

NA

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-bgp:bgp-routing /bgp-neighbors/bgp-neighbor/af-specific-config/l2vpn/evpn/huawei-ethernet-vpn:advertise-host-ipv6-route-mode

Enables the local device to advertise ND routes or IRBv6 routes to its BGP EVPN peers.

The value is of the enumerated type:

  • nd
  • irbv6

NA

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-bgp:bgp-routing/bgp-router/af-configuration/l2vpn/evpn/vpn-target-filter

Configures the device to filter received EVPN routes based on the VPN target.

The value is of the enumerated type:

  • true
  • false

NA

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/huawei-bgp:bgp-routing/bgp-router/af-configuration/l2vpn/evpn/cluster-id

Configures the cluster ID of the route reflector in the BGP EVPN address family view.

The value can be in either of the following formats:
  • Integer format: 1 to 4294967295
  • IPv4 address format

NA

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