MC-LAG
Multi Chassis Link Aggregation Group.
| URL | GET | POST | PATCH | PUT | DELETE |
|---|---|---|---|---|---|
| /rest/v1/running/mclag-domains/{domainid} | Y | Y | Y | N | Y |
| /rest/v1/running/mclag-domains/{domainid}/members/{name} | Y | Y | Y | N | Y |
| /rest/v1/running/mclag-domains/{domainid}/vlans/{vlanid} | Y | Y | Y | N | Y |
| /rest/v1/rpc/show-mclag-consistency-check-result | N | Y | N | N | N |
| /rest/v1/rpc/show-mclag-state | N | Y | N | N | N |
Examples
Section titled “Examples”Show-mclag-consistency-check-result
Section titled “Show-mclag-consistency-check-result”POST HTTPS://{switch IP}/rest/v1/rpc/show-mclag-consistency-check-resultShow-mclag-state
Section titled “Show-mclag-state”POST HTTPS://{switch IP}/rest/v1/rpc/show-mclag-stateCreate a mclag domain.
Section titled “Create a mclag domain.”POST HTTPS://{switch IP}/rest/v1/running/mclag-domains{ "domainid": 2, "peer-ip": "35.0.0.2", "source-ip": "35.0.0.1"}Create a member for mclag domain
Section titled “Create a member for mclag domain”POST HTTPS://{switch IP}/rest/v1/running/mclag-domains/1/members{ "name": "Lag111"}Create a VLAN for mclag domain.
Section titled “Create a VLAN for mclag domain.”POST HTTPS://{switch IP}/rest/v1/running/mclag-domains/1/vlans{ "vlanid": 12, "unique_ip": "true", "mode": "same-mac"}Properties Descriptions
Section titled “Properties Descriptions”MC-LAG domains global
Section titled “MC-LAG domains global”Tree Diagrams
+--rw mclag-domains +--rw mclag-domain* [domainid] +--rw domainid +--rw peer-ip? +--rw source-ip? +--rw peer-link? +--rw keepalive-interval? +--rw session-timeout? +--rw vrf? +--rw consistency-check? +--rw backup-channel? +--rw dad-source-ip? +--rw dad-peer-ip? +--rw detection-delay? +--rw member-recover-delay? +--rw orphan-recover-delay? +--rw dad-vrf? +--rw commit?Table of Properties
| Name | Required | Type/Range | Description |
|---|---|---|---|
| mclag-domains | M | Path-only node, has no configurable value. | |
| domainid | M | 1..4095 | (sub-property of mclag-domains) |
| MCLAG domain ID | |||
| peer-ip | O | A.B.C.D | |
| XX:XX:XX:XX:XX:XX:XX:XX | (sub-property of mclag-domains) | ||
| Peer IP of the MC-LAG control link | |||
| source-ip | O | A.B.C.D | |
| XX:XX:XX:XX:XX:XX:XX:XX | (sub-property of mclag-domains) | ||
| Local IP of the MC-LAG control link | |||
| peer-link | O | Ethernet name | |
| Lag1..9999 | (sub-property of mclag-domains) | ||
| The peer-link port name, which is used to connect to the remote MC-LAG | |||
| keepalive-interval | O | 1..60 | (sub-property of mclag-domains) |
| MC-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-timeout | O | 3..3600 | (sub-property of mclag-domains) |
| MC-LAG session timeout in seconds. Default 15 seconds | |||
| Default value: 15 | |||
| vrf | O | ”default” | |
| vrf name | (sub-property of mclag-domains) | ||
| VRF name, MC-LAG keepalive session belongs to the VRF that specifies the VRF of the routing port to which the local-address belongs | |||
| consistency-check | O | ”default" | |
| "graceful" | |||
| "idle” | (sub-property of mclag-domains) | ||
| 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-channel | O | 1..4094 | (sub-property of mclag-domains) |
| MC-LAG ICCP alternate pathway vlanid | |||
| dad-source-ip | O | A.B.C.D | |
| XX:XX:XX:XX:XX:XX:XX:XX | (sub-property of mclag-domains) | ||
| MC-LAG DAD link local IP | |||
| dad-peer-ip | O | A.B.C.D | |
| XX:XX:XX:XX:XX:XX:XX:XX | (sub-property of mclag-domains) | ||
| MC-LAG DAD link peer IP | |||
| detection-delay | O | 0..512 | (sub-property of mclag-domains) |
| MC-LAG DAD detection delay in seconds. Default 15 seconds | |||
| Default value: 15 | |||
| member-recover-delay | O | 0..1000 | (sub-property of mclag-domains) |
| MC-LAG standby side mlag port error-down state recovery delay time Default 60 seconds | |||
| Default value: 60 | |||
| orphan-recover-delay | O | 0..1000 | (sub-property of mclag-domains) |
| MC-LAG standby side non-mlag port error-down state recovery delay time Default 0 seconds | |||
| Default value: 0 | |||
| dad-vrf | O | ”default” | |
| vrf name | (sub-property of mclag-domains) | ||
| VRF name, MC-LAG DAD keepalive session belongs to the VRF that specifies the VRF of the routing port to which the local-address belongs |
MC-LAG domain members
Section titled “MC-LAG domain members”Tree Diagrams
+--rw mclag-domains +--rw mclag-domain* [domainid] +--rw domainid +--rw members | +--rw member* [name] | +--rw nameTable of Properties
| Name | Required | Type/Range | Description |
|---|---|---|---|
| mclag-domains | M | Path-only node, has no configurable value. | |
| domainid | M | 1..4095 | (sub-property of mclag-domains) |
| MCLAG domain ID | |||
| members | M | (sub-property of mclag-domains) | |
| Path-only node, has no configurable value. | |||
| name | M | Lag1..9999 | (sub-property of members) |
MC-LAG domain vlans
Section titled “MC-LAG domain vlans”Tree Diagrams
+--rw mclag-domains +--rw mclag-domain* [domainid] +--rw domainid +--rw vlans +--rw vlan* [vlanid] +--rw vlanid +--rw mode? +--rw unique-ip?Table of Properties
| Name | Required | Type/Range | Description |
|---|---|---|---|
| mclag-domains | M | Path-only node, has no configurable value. | |
| domainid | M | 1..4095 | (sub-property of mclag-domains) |
| MCLAG domain ID | |||
| vlans | M | (sub-property of mclag-domains) | |
| Path-only node, has no configurable value. | |||
| vlanid | M | 1..4094 | (sub-property of vlans) |
| mode | O | ”diff-mac" | |
| "same-mac” | (sub-property of vlans) | ||
| Unique VLAN mode, the default mode is diff_mac mode. diff_mac: The VLAN ID of the local and remote devices must be different. same_mac: The VLAN ID of the local and remote devices must be the same. | |||
| Default value: “diff-mac” | |||
| unique-ip | O | ”true" | |
| "false” | (sub-property of vlans) | ||
| Whether to enable the unique IP function. Default: “false” | |||
| Default value: “false” |
Show-mclag-state
Section titled “Show-mclag-state”Tree Diagrams
+---x show-mclag-state | +--ro output | +--ro data?Table of Properties
| Name | Required | Type/Range | Description |
|---|---|---|---|
| show-mclag-state | M | Path-only node, has no configurable value. | |
| Show MCLAG state. | |||
| data | RO | (sub-property of output) |
Show-mclag-consistency-check-result
Section titled “Show-mclag-consistency-check-result”Tree Diagrams
+---x show-mclag-consistency-check-result +--ro output +--ro data?Table of Properties
| Name | Required | Type/Range | Description |
|---|---|---|---|
| show-mclag-consistency-check-result | M | Path-only node, has no configurable value. | |
| Show MCLAG consistency check result. | |||
| data | RO | (sub-property of output) |