The data model file matching VRRP management is huawei-vrrp.yang.
Object |
Description |
Value |
Remarks |
---|---|---|---|
/huawei-vrrp:vrrp/vrrp-instance/interface-name |
Indicates the interface for which VRRP is to be configured. |
The value is a character string. |
This object can only be set to an interface that has been created in ietf-interfaces. |
/huawei-vrrp:vrrp/vrrp-instance/vrid |
Indicates the ID of a VRRP group. |
The value is an integer in the range from 1 to 255. |
N/A |
/huawei-vrrp:vrrp/vrrp-instance/vrrp4/virtual-ip |
Indicates the virtual IP address of a VRRP group. |
The value is in dotted decimal notation. |
N/A |
/huawei-vrrp:vrrp/vrrp-instance/vrrp4/preempt-mode-flag |
Indicates the preemption mode of a VRRP group. |
The value is of the Boolean type:
The default value is true. |
If this object is set to false (the non-preemption mode is used), preempt-mode-delay must be set to 0. |
/huawei-vrrp:vrrp/vrrp-instance/vrrp4/preempt-mode-delay |
Indicates the preemption delay of a VRRP group, in seconds. |
The value is an integer in the range from 0 to 3600. The default value is 0. |
If this object is set to a non-zero value, preempt-mode-flag cannot be set to false. |
/huawei-vrrp:vrrp/vrrp-instance/vrrp4/priority |
Indicates the priority of a VRRP group. |
The value is an integer in the range from 1 to 254. |
A larger value indicates a higher priority. |
/huawei-vrrp:vrrp/vrrp-instance/vrrp4/vrrp-track-ifs/vrrp-track-if/if-name |
Indicates the type and number of an interface monitored by a VRRP group. |
The value is a character string. |
Only VLANIF interfaces created in ietf-interfaces can be configured. |
/huawei-vrrp:vrrp/vrrp-instance/vrrp4/vrrp-track-ifs/vrrp-track-if/reduce-value |
Indicates the value by which the priority decreases when the monitored interface becomes Down. |
The value is an integer in the range from 1 to 255. The priority can decrease to 1. |
By default, when the monitored BFD session becomes Down, the VRRP priority decreases by 10. |
/huawei-vrrp:vrrp/vrrp-instance/vrrp4/vrrp-track-ifs/vrrp-track-if/increase-value |
Indicates the value by which the priority increases when the monitored interface becomes Down. |
The value is an integer in the range from 1 to 255. The maximum priority value is 254. |
N/A |
/huawei-vrrp:vrrp/vrrp-instance/vrrp4/vrrp-track-bfd-byids/vrrp-track-bfd-byid/session-id |
Indicates the local discriminator of the monitored BFD session. |
The value is an integer in the range from 1 to 8191. |
N/A |
/huawei-vrrp:vrrp/vrrp-instance/vrrp4/vrrp-track-bfd-byids/vrrp-track-bfd-byid/reduce-value |
Indicates the value by which the priority decreases when the monitored BFD session becomes Down. |
The value is an integer in the range from 1 to 255. The priority can decrease to 1. |
By default, when the monitored BFD session becomes Down, the VRRP priority decreases by 10. |
/huawei-vrrp:vrrp/vrrp-instance/vrrp4/vrrp-track-bfd-byids/vrrp-track-bfd-byid/increase-value |
Indicates the value by which the priority increases when the monitored BFD session becomes Down. |
The value is an integer in the range from 1 to 255. The maximum priority value is 254. |
N/A |
/huawei-vrrp:vrrp/vrrp-instance/vrrp4/vrrp-track-bfd-bynames/vrrp-track-bfd-byname/bfd-session-name |
Indicates the name of the monitored BFD session. |
The value is a string of 1 to 15 case-insensitive characters without spaces.
NOTE:
When quotation marks are used around the string, spaces are allowed in the string. |
N/A |
/huawei-vrrp:vrrp/vrrp-instance/vrrp4/vrrp-track-bfd-bynames/vrrp-track-bfd-byname/reduce-value |
Indicates the value by which the priority decreases when the monitored BFD session becomes Down. |
The value is an integer in the range from 1 to 255. |
By default, when the monitored BFD session becomes Down, the VRRP priority decreases by 10. |
/huawei-vrrp:vrrp/vrrp-instance/vrrp4/vrrp-track-bfd-bynames/vrrp-track-bfd-byname/increase-value |
Indicates the value by which the priority increases when the monitored BFD session becomes Down. |
The value is an integer in the range from 1 to 255. The maximum priority value is 254. |
N/A |