The configuration model file matching VPLS is huawei-l2vpn.yang.
Object |
Description |
Value |
Remarks |
---|---|---|---|
/huawei-l2vpn:l2vpn/l2vpncommon/l2vpnGlobal/l2vpnEnable |
Indicates whether MPLS L2VPN is enabled. |
The value is of the Boolean type:
The default value is false. |
N/A |
/huawei-l2vpn:l2vpn/l2vpnvpls/vplsInstances/vplsInstance/instanceName |
Indicates the name of a VSI. |
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. |
N/A |
/huawei-l2vpn:l2vpn/l2vpnvpls/vplsInstances/vplsInstance/vplsAcs/vplsAc/interfaceName |
Indicates the name of an interface. |
Specifies the type and number of an interface. The interface type and number can be closely next to each other or separated by a space character. |
N/A |
/huawei-l2vpn:l2vpn/l2vpnvpls/vplsInstances/vplsInstance/memberDiscoveryMode |
Indicates the member discovery mode used by a VSI. |
The value is of the enumerated type:
The default value is default. |
N/A |
/huawei-l2vpn:l2vpn/l2vpnvpls/vplsInstances/vplsInstance/encapsulateType |
Indicates the encapsulation type of an interface. |
The value is of the enumerated type:
The default value is vlan. |
N/A |
/huawei-l2vpn:l2vpn/l2vpnvpls/vplsInstances/vplsInstance/description |
Indicates the description of a VSI. |
The value is a string of 1 to 128 case-sensitive characters without spaces. If the string is enclosed in double quotation marks (" "), the string can contain spaces. |
N/A |
/huawei-l2vpn:l2vpn/l2vpnvpls/vplsInstances/vplsInstance/vplsLdpInsts/vplsLdpInst/vplsPwLdpSignal |
Indicates whether a VSI uses the LDP signaling mode. |
The value is pwLdpSignal. |
If the VSI uses the static member discovery mode, the signaling mode must be LDP. After the signaling mode is successfully configured for the VSI, it cannot be changed. If you want to change the signaling mode, delete the VSI and re-create a VSI. Only one signaling mode can be configured. |
/huawei-l2vpn:l2vpn/l2vpnvpls/vplsInstances/vplsInstance/vplsBgpInsts/vplsBgpInst/vplsPwBgpSignal |
Indicates whether a VSI uses the BGP signaling mode. |
The value is pwBgpSignal. |
If the VSI uses the automatic member discovery mode, the signaling mode must be BGP. After the signaling mode is successfully configured for the VSI, it cannot be changed. If you want to change the signaling mode, delete the VSI and re-create a VSI. Only one signaling mode can be configured. |
/huawei-l2vpn:l2vpn/l2vpnvpls/vplsInstances/vplsInstance/vplsLdpInsts/vplsLdpInst/vsiId |
Indicates the ID of a VSI. |
The value is an integer that ranges from 1 to 4294967295. |
Any two VSIs cannot use the same ID. VSI IDs on all devices in the same VPLS domain must be the same. The VSI ID cannot be changed once being configured. If you want to change the VSI ID, you need to delete the VSI and re-create a VSI. When a VSI uses the LDP signaling mode, the VSI ID must be configured. |
/huawei-l2vpn:l2vpn/l2vpnvpls/vplsInstances/vplsInstance/vplsBgpInsts/vplsBgpInst/bgpRD |
Indicates the value of an RD, which identifies a VSI on a PE. |
The value is a string of 3 to 21 case-sensitive characters without spaces. If the string is enclosed in double quotation marks (" "), the string can contain spaces. The formats of an RD are as follows:
|
N/A |
/huawei-l2vpn:l2vpn/l2vpnvpls/vplsInstances/vplsInstance/tnlPolicyName |
Indicates the name of a tunnel policy. |
The value is a string of 1 to 39 case-sensitive characters without spaces. If the string is enclosed in double quotation marks (" "), the string can contain spaces. |
N/A |
/huawei-l2vpn:l2vpn/l2vpnvpls/vplsInstances/vplsInstance/vplsLdpInsts/vplsLdpInst/vplsLdpPws/vplsLdpPw/peerIp |
Indicates the peer IPv4 address. |
The value is in dotted decimal notation. |
N/A |
/huawei-l2vpn:l2vpn/l2vpnvpls/vplsInstances/vplsInstance/vplsLdpInsts/vplsLdpInst/vplsLdpPws/vplsLdpPw/tnlPolicyName |
Indicates the peer tunnel policy name. |
The value is a string of 1 to 39 case-sensitive characters without spaces. If the string is enclosed in double quotation marks (" "), the string can contain spaces. |
N/A |
/huawei-l2vpn:l2vpn/l2vpnvpls/vplsInstances/vplsInstance/vplsBgpInsts/vplsBgpInst/mtuNegotiateDisable |
Indicates whether the function of ignoring the MTU value during a match check and re-encapsulating the sent VPLS packets is enabled on a device. |
The value is of the Boolean type:
The default value is false. |
N/A |
/huawei-l2vpn:l2vpn/l2vpnvpls/vplsInstances/vplsInstance/vplsBgpInsts/vplsBgpInst/bgpSites/bgpSite/siteId |
Indicates the site ID of a VSI. |
The value is an integer that ranges from 0 to 65534. |
N/A |
/huawei-l2vpn:l2vpn/l2vpnvpls/vplsInstances/vplsInstance/vplsBgpInsts/vplsBgpInst/bgpSites/bgpSite/siteIdRange |
Indicates the range of the number of sites in a VSI. After the range is specified, the system automatically reserves the required labels for the VSI. |
The value is an integer that ranges from 0 to 65535. The default value is 10. |
The range varies depending on the device model. For example, the range is from 1 to 8000 on the S6720-EI, and the range is from 1 to 16000 on the S6720-HI. |
/huawei-l2vpn:l2vpn/l2vpnvpls/vplsInstances/vplsInstance/vplsBgpInsts/vplsBgpInst/bgpSites/bgpSite/defaultOffset |
Indicates the default offset of the initial site ID. |
The value is an integer that ranges from 0 to 1. The default value is 0. |
N/A |
/huawei-l2vpn:l2vpn/l2vpnvpls/vplsInstances/vplsInstance/vplsBgpInsts/vplsBgpInst/vpnTargets/vpnTarget/vpnRTValue |
Adds the extended community attribute VPN-Target to a VSI. |
The value is a string of 3 to 21 case-sensitive characters without spaces. If the string is enclosed in double quotation marks (" "), the string can contain spaces. The formats of an RD are as follows:
|
N/A |
/huawei-l2vpn:l2vpn/l2vpnvpls/vplsInstances/vplsInstance/vplsBgpInsts/vplsBgpInst/vpnTargets/vpnTarget/vpnRTType |
Indicates the direction of the community attribute carried in routing information. |
The value is of the enumerated type:
|
N/A |
/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/hw-bgp:bgp-routing/bgp-neighbors/bgp-neighbor/af-specific-config/l2vpn/vpls/active |
Indicates whether the function of exchanging routing information with a specified peer or peer group is enabled. |
The value is of the Boolean type:
The default value is false. |
N/A |
/ietf-routing:routing/routing-instance/routing-protocols/routing-protocol/hw-bgp:bgp-routing/bgp-neighbors/bgp-neighbor/peer-address |
Indicates the peer IP address. |
The value is in dotted decimal notation. |
N/A |