HA sync Configuration
此内容尚不支持你的语言。
HA sync Configuration
Section titled “HA sync Configuration”ha_sync enable
Section titled “ha_sync enable”[Command]
ha_sync enable
[Purpose]
Enable session synchronization
[View]
System configuration view
[Notes]
Before using the session synchronization feature, enable this switch first
[Use Cases]
sonic(config)# ha_sync enableshow ha_sync statistics
Section titled “show ha_sync statistics”[Command]
show ha_sync statistics
[Purpose]
Display session synchronization statistics
[View]
System view
[Use Cases]
sonic# show ha_sync statisticsshow ha_sync summary
Section titled “show ha_sync summary”[Command]
show ha_sync summary
[Purpose]
Display session synchronization configuration information
[View]
System view
[Use Cases]
sonic# show ha_sync summaryha_sync global
Section titled “ha_sync global”[Command]
ha_sync global
[Purpose]
Global session synchronization configuration
[View]
System configuration view
[Notes]
All session synchronization configurations are configured here
[Use Cases]
sonic(config)# ha_sync globaldomain_id id
Section titled “domain_id id”[Command]
domain_id id
[Purpose]
Configure HA sync domain ID, default 0
[View]
ha_sync global configuration view
[Parameter]
| id | HA sync domain ID, range 0–4294967295 |
[Use Cases]
sonic(config)# ha_sync globalsonic(config-ha-sync-global)# domain_id 1heartbeat_interval interval
Section titled “heartbeat_interval interval”[Command]
heartbeat_interval interval
[Purpose]
Configure HA sync heartbeat interval in seconds, default 5
[View]
ha_sync global configuration view
[Parameter]
| interval | range 0–4294967295 |
[Use Cases]
sonic(config)# ha_sync globalsonic(config-ha-sync-global)# heartbeat_interval 10heartbeat_max_fail_counts counts
Section titled “heartbeat_max_fail_counts counts”[Command]
heartbeat_max_fail_counts counts
[Purpose]
Configure HA sync heartbeat max fail counts, default 3
[View]
ha_sync global configuration view
[Parameter]
| counts | range 0–4294967295 |
[Use Cases]
sonic(config)# ha_sync globalsonic(config-ha-sync-global)# heartbeat_max_fail_counts 5packet_size size
Section titled “packet_size size”[Command]
packet_size size
[Purpose]
Configure HA sync packet size, default 1400
[View]
ha_sync global configuration view
[Parameter]
| size | range 0–4294967295 |
[Use Cases]
sonic(config)# ha_sync globalsonic(config-ha-sync-global)# packet_size 1300peer_address ip_address
Section titled “peer_address ip_address”[Command]
peer_address ip_address
[Purpose]
Configure HA sync peer address, this must be configured
[View]
ha_sync global configuration view
[Use Cases]
sonic(config)# ha_sync globalsonic(config-ha-sync-global)# peer_address 1.1.1.1retransmit_interval interval
Section titled “retransmit_interval interval”[Command]
retransmit_interval interval
[Purpose]
Configure HA sync retransmit interval in seconds, default 2
[View]
ha_sync global configuration view
[Use Cases]
sonic(config)# ha_sync globalsonic(config-ha-sync-global)# retransmit_interval 5retransmit_times times
Section titled “retransmit_times times”[Command]
retransmit_times times
[Purpose]
Configure HA sync retransmit times, default 3
[View]
ha_sync global configuration view
[Use Cases]
sonic(config)# ha_sync globalsonic(config-ha-sync-global)# retransmit_times 5src_address ip_address
Section titled “src_address ip_address”[Command]
src_address ip_address
[Purpose]
Configure HA sync source address, , this must be configured
[View]
ha_sync global configuration view
[Use Cases]
sonic(config)# ha_sync globalsonic(config-ha-sync-global)# src_address 2.2.2.2src_intfc ethernet interface_num
Section titled “src_intfc ethernet interface_num”[Command]
src_intfc ethernet interface_num
[Purpose]
Configure HA sync source interface, , this must be configured
[View]
ha_sync global configuration view
[Use Cases]
sonic(config)# ha_sync globalsonic(config-ha-sync-global)# src_intfc ethernet 1