< Home

Data Model

The configuration model file matching BGP-VPN instance IPv4 address family is huawei-bgp-l3vpn.yang.

Table 1 Configuring a BGP-VPN instance IPv4 address family

Object

Description

Value

Remarks

/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/vpn-instance-name

Associates a specified VPN instance with an IPv4 address family.

The value is a string of 1 to 31 case-sensitive characters without spaces. If the string is enclosed in double quotation marks (" "), the string can contain spaces.

When configuring this object, ensure that the VPN instance has been configured, the IPv4 address family has been enabled, and a route distinguisher (RD) has been configured.

/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/bgp-peers/bgpPeer/peer-addr

Specifies the IP address of a peer.

The value is in dotted decimal notation.

Both this object and the remote-as object must be configured to create a peer.

/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/bgp-peers/bgpPeer/remote-as

Specifies the AS number of a peer.

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

Both this object and the peer-addr object must be configured to create a peer.

/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/bgp-peers/bgpPeer/identifier-interface

Specifies the source interface that sends BGP packets.

Only VBDIF interfaces and VLANIF interfaces are supported.

Before configuring this object, ensure that this interface has been bound to the VPN instance specified by the vpn-instance-name object.

/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/bgp-peers/bgpPeer/route-reflector-client

Configures the local device as a route reflector and the specified peer or peer group as the client of the route reflector.

The value is of the Boolean type:
  • true: This function is enabled.
  • false: This function is disabled.
The default value is false.

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/bgp-peers/bgpPeer/next-hop-local

Configures the function that enables a device to set its IP address as the next-hop addresses of routes when advertising these routes to an IBGP peer or peer group.

The value is of the Boolean type:
  • true: This function is enabled.
  • false: This function is disabled.
The default value is false.

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/protocol/direct

Imports direct routes in the BGP-VPN instance IPv4 address family view.

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

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/protocol/static

Imports static routes in the BGP-VPN instance IPv4 address family view.

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

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/protocol/isis/isis-id

Imports IS-IS routes of the specified IS-IS process in the BGP-VPN instance IPv4 address family view.

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

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/protocol/ospf/ospf-id

Imports OSPF routes of the specified OSPF process in the BGP-VPN instance IPv4 address family view.

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

NA

/huawei-l3vpn:vpn-instances/vpn-instance/huawei-bgp-l3vpn:ipv4-family/route-distinguisher

Configures an RD for a VPN instance address family.

-

NA

/huawei-l3vpn:vpn-instances/vpn-instance/huawei-bgp-l3vpn:ipv4-family/vpnTargets/vpnTarget/vrfRTValue

Sets the vpn-target value for the import or export VPN target extended community attribute for the VPN instance address family.

-

NA

/huawei-l3vpn:vpn-instances/vpn-instance/huawei-bgp-l3vpn:ipv4-family/vpnTargets/vpnTarget/vrfRTType

Specifies the direction in which the vpn-target is added to the VPN instance address family.

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/default-route-imported

Configures the function that imports the default routes in the local IP routing table to the BGP routing table.

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

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/aggregate-prefix/aggregate-ip-prefix

Indicates the IP address and mask length of the summary route.

The format is ipv4-address/mask-length:
  • ipv4-address indicates an IP address in dotted decimal notation.
  • mask-length indicates the mask length, which is an integer in the range from 0 to 32.

N/A

/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/aggregate-prefix/detail-suppressed-flag

Indicates whether to advertise only the summary route.

The value is of the Boolean type:
  • true: Only the summary route is advertised.
  • false: Both the summary route and its specific routes are advertised.
The default value is false.

N/A

/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/networks/ip-prefix

Adds the route with the specified IP address and mask length statically to the BGP routing table and advertises the route to the peer.

The format is ipv4-address/mask-length:
  • ipv4-address indicates an IP address in dotted decimal notation.
  • mask-length indicates the mask length, which is an integer in the range from 0 to 32.

N/A

/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/bgp-peers/bgpPeer/keepalive-time

Indicates the keepalive time of a BGP peer.

The value is an integer that ranges from 0 to 21845, in seconds. The default value of a Keepalive timer is 60s

N/A

/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/bgp-peers/bgpPeer/hold-time

Indicates the hold time of a BGP peer.

The value is an integer that can be 0 or ranges from 3 to 65535, in seconds. The default value of a Hold timer is 180s.

N/A

/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/bgp-peers/bgpPeer/cipher-password

Indicates that MD5 authentication is used during the establishment of a TCP connection and indicates a ciphertext password.

The value is a string of case-sensitive characters without spaces. When the value is displayed in plaintext, its length ranges from 1 to 255. When the value is displayed in ciphertext, its length ranges from 20 to 392.

  • This object cannot be configured together with the /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/bgp-peers/bgpPeer/bgp-neighbor-keychain object.
  • If this object is configured together with the /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/bgp-peers/bgpPeer/simple-password object, the latter overwrites the first (existing) configuration.

/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/bgp-peers/bgpPeer/simple-password

Indicates that MD5 authentication is used during the establishment of a TCP connection and indicates a simple password.

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

  • This object cannot be configured together with the /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/bgp-peers/bgpPeer/bgp-neighbor-keychain object.
  • If this object is configured together with the /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/bgp-peers/bgpPeer/cipher-password object, the latter overwrites the first (existing) configuration.

/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/bgp-peers/bgpPeer/bgp-neighbor-keychain

Indicates that Keychain authentication is used during the establishment of a TCP connection.

The value is a string of 1 to 47 case-insensitive characters. Except the question mark (?) and space. However, when double quotation marks (") are used around the string, spaces are allowed in the string.

This object cannot be configured together with the /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/bgp-peers/bgpPeer/cipher-password object and the /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/bgp-peers/bgpPeer/simple-password object.

/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/hw-bgp:bgp-routing/bgp-router/hw-bgp-l3vpn:bgp-af-ipv4-vpn-instances/bgp-af-ipv4-vpn-instance/load-balancing/max-number

Configures the maximum number of equal-cost routes for load balancing.

The value is an integer that ranges from 1 to 8 on the S5720I-SI, S5720S-SI, S5720-SI, S5735-S, S5735S-S, S5735-S-I, S5730S-EI, S5730-SI, S6720S-SI, or S6720-SI. The value ranges from 1 to 16 on the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, or S6730S-S.

N/A

/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/bgp-peers/bgpPeer/bfd-config/enable

Enables BFD for a peer or a peer group.

The value is of the Boolean type:

  • true: BFD is enabled.

  • false: BFD is disabled.

The default value is false.

Before configuring this object, configure the /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/bgp-peers/bgpPeer/remote-as object first.

/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/bgp-peers/bgpPeer/bfd-config/min-tx-interval

Specifies the interval at which BFD packets are sent.

The value is an integer in the range from 3 to 1000, in milliseconds. The default value is 1000.

Before configuring this object, configure the /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/bgp-peers/bgpPeer/remote-as object first.

/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/bgp-peers/bgpPeer/bfd-config/min-rx-interval

Specifies the interval at which BFD packets are received.

The value is an integer in the range from 3 to 1000, in milliseconds. The default value is 1000.

Before configuring this object, configure the /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/bgp-peers/bgpPeer/remote-as object first.

/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/bgp-peers/bgpPeer/bfd-config/detect-multiplier

Specifies the local detection time multiplier.

The value is an integer in the range from 3 to 50. The default value is 3.

Before configuring this object, configure the /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/bgp-peers/bgpPeer/remote-as object first.

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