Loop Detect
此内容尚不支持你的语言。
| URL | GET | POST | PATCH | PUT | DELETE |
|---|---|---|---|---|---|
| /rest/v1/running/loop-detect-interfaces/{name} | Y | Y | Y | N | Y |
| /rest/v1/rpc/show-loopback-detect | N | Y | N | N | N |
Examples
Section titled “Examples”Show loopback detect
Section titled “Show loopback detect”POST HTTPS://{switch IP}/rest/v1/rpc/show-loopback-detect{ "name": "Ethernet1"}Create a loop detect interface.
Section titled “Create a loop detect interface.”POST HTTPS://{switch IP}/rest/v1/running/loop-detect-interfaces{ "name": "Ethernet12", "vlan": "10-200", "interval": 10, "policy": "block-vlan", "wait-time": 30}Properties Descriptions
Section titled “Properties Descriptions”Loopback detect interfaces
Section titled “Loopback detect interfaces”Tree Diagrams
+--rw loop-detect-interfaces +--rw loop-detect-interface* [name] +--rw name +--rw vlan? +--rw interval? +--rw policy? +--rw wait-time? +--ro looped-vlans?Table of Properties
| Name | Required | Type/Range | Description |
|---|---|---|---|
| loop-detect-interfaces | M | Path-only node, has no configurable value. | |
| name | M | Ethernet name | |
| Lag1..9999 | (sub-property of loop-detect-interfaces) | ||
| vlan | O | 1..4094 | (sub-property of loop-detect-interfaces) |
| VLAN ID | |||
| interval | O | 1..3600 | (sub-property of loop-detect-interfaces) |
| Interval in seconds to check for loopback, default is 5 seconds | |||
| Default value: 5 | |||
| policy | O | ”shutdown" | |
| "block-vlan” | (sub-property of loop-detect-interfaces) | ||
| Policy to apply when loopback is detected, shutdown mode: Disable interfaces with loop detection configured, block-vlan mode: Blocking VLANs where loops occur, default is shutdown | |||
| Default value: “shutdown” | |||
| wait-time | O | 1..10800 | (sub-property of loop-detect-interfaces) |
| Wait time in seconds before resuming a blocked port or VLAN, default is 60 seconds | |||
| Default value: 60 | |||
| looped-vlans | RO | string | (sub-property of loop-detect-interfaces) |
Show-loopback-detect
Section titled “Show-loopback-detect”Tree Diagrams
+---x show-loopback-detect +---w input | +---w name? +--ro output +--ro data?Table of Properties
| Name | Required | Type/Range | Description |
|---|---|---|---|
| show-loopback-detect | M | Path-only node, has no configurable value. | |
| Show loopback detect port status. | |||
| name | O | Ethernet name | |
| Lag1..9999 | (sub-property of input) |
|| data | RO |