The configuration model file matching STP management is huawei-stp.yang.
Object |
Description |
Value |
Remarks |
---|---|---|---|
/huawei-stp:stp/enable |
Indicates whether to enable STP. |
The value is of the Boolean type:
|
NA |
/huawei-stp:stp/mode |
Indicates the STP mode. |
The value is of the enumerated type:
|
NA |
/huawei-stp:stp/bpdu-protection |
Indicates whether to enable BPDU protection. |
The value is of the Boolean type:
|
NA |
/huawei-stp:stp/edged-port-enable |
Indicates whether to configure a port as an edge port. |
The value is of the enumerated type:
|
NA |
/huawei-stp:stp/stp-priority/instance-id |
Indicates the STP instance ID. |
The value is an integer in the range from 0 to 4094. |
NA |
/huawei-stp:stp/stp-priority/priority |
Indicates the switching device priority. |
The value is an integer in the range from 0 to 61440. The value must be an integer multiple of 4096, for example, 0, 4096, and 8192. |
NA |
/huawei-stp:stp/stp-mstp/process-list/processid |
Indicates an MSTP process. |
The value is an integer in the range from 1 to 31. |
NA |
/huawei-stp:stp/stp-mstp/process-list/bpdu-protection |
Indicates whether to enable BPDU protection in an MSTP process. |
The value is of the Boolean type:
|
NA |
/huawei-stp:stp/stp-mstp/process-list/stp-priority/instance-id |
Indicates the instance ID of an MSTP process. |
The value is an integer in the range from 0 to 4094. |
NA |
/huawei-stp:stp/stp-mstp/process-list/stp-priority/priority |
Indicates the instance priority of an MSTP process. |
The value is an integer in the range from 0 to 61440. |
NA |
/huawei-stp:stp/stp-mstp/process-list/mode |
Indicates the STP mode of an MSTP process. |
The value is of the enumerated type:
|
NA |
/huawei-stp:stp/stp-mstp/process-list/enabled |
Indicates whether to enable STP in an MSTP process. |
The value is of the Boolean type:
|
NA |
/huawei-stp:stp/stp-mstp/process-list/tc-notify/tc-notify-process |
Indicates whether to enable TC notification in an MSTP process. |
The value is of the Boolean type:
|
NA |
/huawei-stp:stp/region-configuration/region-name |
Indicates the MST region name. |
The value is a string of 1 to 32 characters. |
NA |
/huawei-stp:stp/region-configuration /revision-level |
Indicates the revision level of an MST region. |
The value is an integer in the range from 0 to 65535. |
NA |
/huawei-stp:stp/region-configuration/instance/instance-id |
Indicates the instance ID of an MST region. |
The value is an integer in the range from 0 to 4094. |
NA |
/huawei-stp:stp/region-configuration/instance/map-vlan |
Indicates the mapping VLAN of an MST region. |
The value is an integer in the range from 1 to 4094. |
NA |
/huawei-stp:stp/auto-recovery/cause |
Indicates the auto-recovery cause of an interface in Error-Down state. |
The value is of the enumerated type: bpdu-protection. |
NA |
/huawei-stp:stp/auto-recovery/interval |
Indicates the auto-recovery interval. |
The value is an integer in the range from 30 to 86400. |
NA |
/ietf-interfaces:interface/huawei-stp:stp/enable |
Indicates whether to enable STP on an interface. |
The value is of the Boolean type:
|
NA |
/ietf-interfaces:interface/huawei-stp:stp/edged-port-enable |
Indicates whether to configure a port as an edge port. |
The value is of the enumerated type:
|
NA |
/ietf-interfaces:interface/huawei-stp:stp/stp-port-instance/ port-instance/instance-id |
Indicates the instance ID of an interface. |
The value is an integer in the range from 0 to 4094. |
NA |
/ietf-interfaces:interface/huawei-stp:stp/stp-port-instance/port-instance/cost |
Indicates the interface cost of an instance. |
The value is an integer in the range from 1 to 200000000. |
NA |
/ietf-interfaces:interface/huawei-stp:stp/stp-port-instance/port-instance/port-priority |
Indicates the interface priority of an instance. |
The value is an integer in the range from 0 to 240. The value must be an integer multiple of 16, for example, 0, 16, or 32. |
NA |
/ietf-interfaces:interface/huawei-stp:stp/stp-mstp/stp-mstp-instance/process-mstp/process-mstp-id |
Indicates the process ID of an interface. |
The value is an integer in the range from 1 to 31. |
NA |
/ietf-interfaces:interface/huawei-stp:stp/stp-mstp/stp-mstp-instance/process-mstp/instance-id |
Indicates the instance ID of a process on an interface. |
The value is an integer in the range from 0 to 4094. |
NA |
/ietf-interfaces:interface/huawei-stp:stp/stp-mstp/stp-mstp-instance/process-mstp/port-priority |
Indicates the interface priority of a specified instance in a specified process. |
The value is an integer in the range from 0 to 240. The value must be an integer multiple of 16, for example, 0, 16, or 32. |
NA |
/ietf-interfaces:interface/huawei-stp:stp/stp-mstp/stp-mstp-instance/process-mstp/cost |
Indicates the interface cost of a specified process. |
The value is an integer in the range from 1 to 200000000. |
NA |
/ietf-interfaces:interface/huawei-stp:stp/stp-mstp-bind/process-list/process-id |
Indicates the ID of a process bound to an interface. |
The value is an integer in the range from 1 to 31. |
NA |
/ietf-interfaces:interface/huawei-stp:stp/stp-mstp-bind/process-list/link-share-port |
Indicates whether to enable process sharing on an interface. |
The value is of the Boolean type:
|
NA |
/huawei-stp:stp-state-get/request-num |
Indicates the maximum number of spanning tree state records that can be queried at a time. |
The value is an integer in the range from 1 to 1024. If this object is not specified, 1024 records are queried by default. |
NA |
/huawei-stp:stp-state-get/filter-condition/process-id |
Indicates the ID of an MSTP process. |
The value is an integer in the range from 0 to 256. The default value is 0 during the query of VBST state information. |
NA |
/huawei-stp:stp-state-get/filter-condition/mstid-vlan-id |
Indicates the spanning tree instance ID or VLAN ID. |
The value is an integer in the range from 0 to 4094. |
NA |
/huawei-stp:stp-state-get/filter-condition/interface-name |
Indicates the name of an interface. |
The value is a string of 1 to 63 characters and consists of the interface type and interface number. |
NA |
/huawei-stp:stp-state-get/get-next-request/last-process-id |
Indicates the MSTP process ID during the last successful query of the spanning tree state. |
The value is an integer in the range from 0 to 256. The default value is 0 during the query of VBST state information. |
|
/huawei-stp:stp-state-get/get-next-request/last-mstid-vlan-id |
Specifies the spanning tree instance ID or VLAN ID during the last successful query of the spanning tree state. |
The value is an integer in the range from 0 to 4094. |
|
/huawei-stp:stp-state-get/get-next-request/last-interface-name |
Indicates the interface name during the last successful query of the spanning tree state. |
The value is a string of 1 to 63 characters and consists of the interface type and interface number. |
|
/huawei-stp:stp-state-get/has-more |
Indicates whether there is spanning tree state information that is not queried. |
The value is of the Boolean type:
|
NA |
/huawei-stp:stp-state-get/stp-state/process-id |
Indicates the queried MSTP process ID. |
The value is an integer in the range from 0 to 256. The default value is 0 during the query of VBST state information and statistics. |
NA |
/huawei-stp:stp-state-get/stp-state/mstid-vlan-id |
Indicates the queried spanning tree instance ID or VLAN ID. |
The value is an integer in the range from 0 to 4094. |
NA |
/huawei-stp:stp-state-get/stp-state/interface-name |
Indicates the queried interface name. |
The value is a string of 1 to 63 characters and consists of the interface type and interface number. |
NA |
/huawei-stp:stp-state-get/stp-state/mode |
Indicates the queried spanning tree mode. |
The value is of the enumerated type:
|
NA |
/huawei-stp:stp-state-get/stp-state/role |
Indicates the queried interface role. |
The value is of the enumerated type:
|
NA |
/huawei-stp:stp-state-get/stp-state/status |
Indicates the queried interface state. |
The value is of the enumerated type:
|
NA |
/huawei-stp:stp-state-get/stp-state/protection |
Indicates the queried interface protection type. |
The value is of the enumerated type:
|
NA |