跳转到内容
Ask AI

MCLAG-Netconf

此内容尚不支持你的语言。

YANG Pathget/get-configedit-configrpc
/mclag-domains/{domainid}Ymerge, replace, create, delete—
/mclag-domains/{domainid}/members/{name}Ymerge, replace, create, delete—
/mclag-domains/{domainid}/unique-ipYreplace, create, delete—
/mclag-globalYmerge—
/show-mclag-consistency-check-result——Y
/show-mclag-member——Y
/show-mclag-state——Y
<config><top>
<mclag-global>
<enabled>true</enabled>
</mclag-global>
</top></config>
<config><top>
<mclag-domains>
<mclag-domain operation="create">
<domainid>1</domainid>
<peer-ip>10.1.1.2</peer-ip>
<source-ip>10.1.1.1</source-ip>
<peer-link>Ethernet1</peer-link>
<keepalive-interval>1</keepalive-interval>
<session-timeout>30</session-timeout>
<consistency-check>graceful</consistency-check>
<dad-source-ip>192.168.15.115</dad-source-ip>
<dad-peer-ip>192.168.15.116</dad-peer-ip>
<detection-delay>5</detection-delay>
<member-recover-delay>60</member-recover-delay>
<orphan-recover-delay>30</orphan-recover-delay>
<members>
<member>
<name>PortChannel0135</name>
<active-backup-mode>false</active-backup-mode>
</member>
</members>
<vlans>
<vlan>
<vlanid>40</vlanid>
<unique-ip>true</unique-ip>
</vlan>
</vlans>
</mclag-domain>
</mclag-domains>
</top></config>
<config><top>
<mclag-domains>
<mclag-domain operation="merge">
<domainid>1</domainid>
<peer-ip>20.1.1.2</peer-ip>
<source-ip>20.1.1.1</source-ip>
<peer-link>Ethernet1</peer-link>
<backup-channel>10</backup-channel>
<keepalive-interval>3</keepalive-interval>
<session-timeout>60</session-timeout>
<consistency-check>default</consistency-check>
<detection-delay>15</detection-delay>
<member-recover-delay>10</member-recover-delay>
<orphan-recover-delay>60</orphan-recover-delay>
<members>
<member>
<name>PortChannel0136</name>
<active-backup-mode>false</active-backup-mode>
</member>
</members>
</mclag-domain>
</mclag-domains>
</top></config>
<filter type="subtree">
<top>
<mclag-domains/>
</top>
</filter>
<config><top>
<mclag-domains>
<mclag-domain>
<domainid>1</domainid>
<members operation="create">
<member>
<name>PortChannel0003</name>
</member>
</members>
</mclag-domain>
</mclag-domains>
</top></config>
<config><top>
<mclag-domains>
<mclag-domain>
<domainid>1</domainid>
<members>
<member operation="delete">
<name>PortChannel0003</name>
</member>
</members>
</mclag-domain>
</mclag-domains>
</top></config>
<config><top>
<mclag-domains>
<mclag-domain>
<domainid>1</domainid>
<members operation="delete">
</members>
</mclag-domain>
</mclag-domains>
</top></config>
<config><top>
<mclag-domains>
<mclag-domain>
<domainid>1</domainid>
<members operation="merge">
<member>
<name>PortChannel0135</name>
<active-backup-mode>true</active-backup-mode>
</member>
</members>
</mclag-domain>
</mclag-domains>
</top></config>
<config><top>
<mclag-domains>
<mclag-domain>
<domainid>1</domainid>
<vlans operation="create">
<vlan>
<vlanid>40</vlanid>
</vlan>
</vlans>
</mclag-domain>
</mclag-domains>
</top></config>
<config><top>
<mclag-domains>
<mclag-domain>
<domainid>1</domainid>
<vlans operation="delete">
</vlans>
</mclag-domain>
</mclag-domains>
</top></config>
<show-mclag-consistency-check-result/>
<show-mclag-member/>
<show-mclag-state/>

Tree Diagram

module: asternos-mclag
+--rw mclag-domains
+--rw mclag-domain* [domainid]
+--rw domainid uint16
+--rw peer-ip? inet:ip-address
+--rw source-ip? inet:ip-address
+--rw peer-link? union
+--rw keepalive-interval? uint8
+--rw session-timeout? uint16
+--rw vrf? vrf:vrf-ref
+--rw consistency-check? enumeration
+--rw backup-channel? cmn:vlan-id
+--rw dad-source-ip? inet:ip-address
+--rw dad-peer-ip? inet:ip-address
+--rw detection-delay? uint16
+--rw member-recover-delay? uint16
+--rw orphan-recover-delay? uint16
+--rw dad-vrf? vrf:vrf-ref
+--rw commit? boolean
+--rw members
| +--rw member* [name]
| +--rw name cmn:port-channel-name
| +--rw active-backup-mode? boolean
+--rw unique-ip
+--rw vlanid? cmn:vlan-id

Table of Properties

NameRequiredType/RangeDescription
mclag-domainsMPath-only node, has no configurable value.
mclag-domainMPath-only node, has no configurable value.
List of MCLAGs domain
domainidO1..4095MCLAG domain ID
peer-ipOinet:ip-addressPeer IP of the MC-LAG control link
source-ipOinet:ip-addressLocal IP of the MC-LAG control link
peer-linkOEthernet nameThe peer-link port name, which is used to connect to the remote MC-LAG
keepalive-intervalO1..60MC-LAG keepalive message sending interval in seconds.

The Keepalive message interval value should be less than 1/3 of the session timeout time; the session timeout time should be a multiple of the Keepalive message interval

Default 1 seconds
Default value: 1
session-timeoutO3..3600MC-LAG session timeout in seconds.

Default 15 seconds
Default value: 15
vrfOvrf:vrf-refVRF name, MC-LAG keepalive session belongs to the VRF that specifies the VRF of the routing port to which the local-address belongs
consistency-checkO”default"
"graceful"
"idle”
MC-LAG consistency check action, the default action is the idle mode.

default mode: if the consistency check fails, the master and standby devices admin down the failed member ports at the same time.

graceful mode: if the consistency check fails, only the Standby role device admin down the failed member ports, and the active device stays up.

idle mode, the consistency check only displays the relevant results and does not take any corresponding action.
Default value: idle
backup-channelOcmn:vlan-idMC-LAG ICCP alternate pathway vlanid
dad-source-ipOinet:ip-addressMC-LAG DAD link local IP
dad-peer-ipOinet:ip-addressMC-LAG DAD link peer IP
detection-delayO0..512MC-LAG DAD detection delay in seconds.

Default 15 seconds
Default value: 15
member-recover-delayO0..1000MC-LAG standby side mlag port error-down state recovery delay time

Default 60 seconds
Default value: 60
orphan-recover-delayO0..1000MC-LAG standby side non-mlag port error-down state recovery delay time

Default 0 seconds
Default value: 0
dad-vrfOvrf:vrf-refVRF name, MC-LAG DAD keepalive session belongs to the VRF that specifies the VRF of the routing port to which the local-address belongs
commitO”true"
"false”
This is a special leaf to control behavior of server on processing running configuration.

If set to false, configurations within its ancestor setting to running datastore WOULD NOT be transferred to operational datastore automatically, until a request containing this leaf with value ‘true’ comes. Normally this leaf can be ignored.
Default value: True
membersMPath-only node, has no configurable value.
memberMPath-only node, has no configurable value.
nameOcmn:port-channel-name
active-backup-modeO”true"
"false”
Whether to enable the active-backup-mode of mclag member, the default mode is active-active mode.
Default value: False
unique-ipMPath-only node, has no configurable value.
Unique ip VLAN ID
vlanidOcmn:vlan-id

Tree Diagram

module: asternos-mclag
+--rw mclag-domains

Tree Diagram

module: asternos-mclag
+--rw mclag-domains

Tree Diagram

module: asternos-mclag
+--rw mclag-global
+--rw enabled? boolean

Table of Properties

NameRequiredType/RangeDescription
mclag-globalMPath-only node, has no configurable value.
enabledO”true"
"false”
Indicates if the mclag is enabled

Tree Diagram

module: asternos-mclag
rpcs:
+---x show-mclag-consistency-check-result
+--ro output
+--ro data? <anydata>

Table of Properties

NameRequiredType/RangeDescription
show-mclag-consistency-check-resultO
dataOShow MCLAG consistency check result.

Tree Diagram

module: asternos-mclag
rpcs:
+---x show-mclag-member
+--ro output
+--ro data? <anydata>

Table of Properties

NameRequiredType/RangeDescription
show-mclag-memberO
dataOShow MCLAG member.

Tree Diagram

module: asternos-mclag
rpcs:
+---x show-mclag-state
+--ro output
+--ro data? <anydata>

Table of Properties

NameRequiredType/RangeDescription
show-mclag-stateO
dataOShow MCLAG state.