跳转到内容
Ask AI

Prefix List

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

URLGETPOSTPATCHPUTDELETE
/rest/v1/running/prefix-lists/{name}YYYNY
/rest/v1/running/prefix-lists/{name}/entries/{sequence-id}YYYNY
/rest/v1/rpc/show-ip-prefix-list-summary-jsonNYNNN
/rest/v1/rpc/show-ipv6-prefix-list-summary-jsonNYNNN
POST HTTPS://{switch IP}/rest/v1/running/prefix-lists
{
"name": "test",
"type": "IPv4",
"description": "test_ipv4_prefix_list"
}
POST HTTPS://{switch IP}/rest/v1/running/prefix-lists/test/entries
[{
"sequence-id": "11",
"action": "deny"
},{
"sequence-id": "12",
"action": "deny",
"ipv4-prefix": "10.0.1.0/24",
"min-ipv4-prefix-length": "25",
"max-ipv4-prefix-length": "26"
},{
"sequence-id": "13",
"action": "permit",
"ipv4-prefix": "10.0.2.0/24",
"min-ipv4-prefix-length": "25"
},{
"sequence-id": "14",
"action": "deny",
"ipv4-prefix": "10.0.3.0/24",
"max-ipv4-prefix-length": "30"
},{
"sequence-id": "15",
"action": "deny",
"ipv4-prefix": "10.0.4.0/24"
}]
POST HTTPS://{switch IP}/rest/v1/rpc/show-ip-prefix-list-summary
POST HTTPS://{switch IP}/rest/v1/rpc/show-ipv6-prefix-list-summary

Tree Diagrams

+--rw prefix-lists
+--rw prefix-list* [name]
+--rw name
+--rw type
+--rw description?
+--rw entries
+--rw entry* [sequence-id]
+--rw sequence-id
+--rw action
+--rw (value)?
+--:(ipv4-prefix)
| +--rw ipv4-prefix
| +--rw min-ipv4-prefix-length?
| +--rw max-ipv4-prefix-length?
+--:(ipv6-prefix)
+--rw ipv6-prefix
+--rw min-ipv6-prefix-length?
+--rw max-ipv6-prefix-length?

Table of Properties

NameRequiredType/RangeDescription
prefix-listsMPath-only node, has no configurable value.
nameMprefix-list-name(sub-property of prefix-lists)
Prefix list name
typeM”IPv4"
"IPv6”(sub-property of prefix-lists)
Prefix list type
descriptionOstring(sub-property of prefix-lists)
Prefix list user description
entriesM(sub-property of prefix-lists)
Path-only node, has no configurable value.
sequence-idM1..4294967295(sub-property of entries)
Prefix list sequence value
actionM”deny"
"permit”(sub-property of entries)
Prefix list action on match
ipv4-prefixMA.B.C.D/M(sub-property of entries)
Mutually exclusive with:
  • ipv6-prefix
  • min-ipv6-prefix-length
  • max-ipv6-prefix-length Configure IPv4 prefix to match | | min-ipv4-prefix-length | O | 0..32 | (sub-property of entries) Mutually exclusive with:
  • ipv6-prefix
  • min-ipv6-prefix-length
  • max-ipv6-prefix-length Specifies if matching prefixes with length greater than or equal to value | | max-ipv4-prefix-length | O | 0..32 | (sub-property of entries) Mutually exclusive with:
  • ipv6-prefix
  • min-ipv6-prefix-length
  • max-ipv6-prefix-length Specifies if matching prefixes with length lesser than or equal to value | | ipv6-prefix | M | XX:XX:XX:XX:XX:XX:XX:XX/M | (sub-property of entries) Mutually exclusive with:
  • ipv4-prefix
  • min-ipv4-prefix-length
  • max-ipv4-prefix-length Configure IPv6 prefix to match | | min-ipv6-prefix-length | O | 0..128 | (sub-property of entries) Mutually exclusive with:
  • ipv4-prefix
  • min-ipv4-prefix-length
  • max-ipv4-prefix-length Specifies if matching prefixes with length greater than or equal to value | | max-ipv6-prefix-length | O | 0..128 | (sub-property of entries) Mutually exclusive with:
  • ipv4-prefix
  • min-ipv4-prefix-length
  • max-ipv4-prefix-length Specifies if matching prefixes with length lesser than or equal to value |

Tree Diagrams

+---x show-ip-prefix-list-summary-json
| +---w input
| | +---w name?
| | +---w sequence-id?
| +--ro output
| +--ro data?

Table of Properties

NameRequiredType/RangeDescription
show-ip-prefix-list-summary-jsonMPath-only node, has no configurable value.
nameOstring(sub-property of input)
Name of a prefix list.
sequence-idO1..4294967295(sub-property of input)
Prefix list sequence value
dataRO(sub-property of output)

Tree Diagrams

+---x show-ipv6-prefix-list-summary-json
+---w input
| +---w name?
| +---w sequence-id?
+--ro output
+--ro data?

Table of Properties

NameRequiredType/RangeDescription
show-ipv6-prefix-list-summary-jsonMPath-only node, has no configurable value.
nameOstring(sub-property of input)
Name of a prefix list.
sequence-idO1..4294967295(sub-property of input)
Prefix list sequence value
dataRO(sub-property of output)