Monitor Link Configuration
show monitor-link
Section titled “show monitor-link”[Command] show monitor link
[Purpose] View interface linkage group configuration
[View] System view
[Use Cases]
sonic# show monitor-link+--------------+---------+------------------+--------------------+| Group Name | Delay | Uplink Members | Downlink Members |+==============+=========+==================+====================+| 1 | 10 | Ethernet49 | Ethernet19 || | | Ethernet50 | Ethernet20 |+--------------+---------+------------------+--------------------+monitor-link-group
Section titled “monitor-link-group”[Command] monitor-link-group name monitor_delay_time no monitor-link-group
[Purpose] Create interface linkage groups
[Parameter]
| Parameter | Description |
|---|---|
| name | Linkage Group Name |
| monitor_delay_time | Delayed response time, uplink UP wait for delay time before downlink UP |
[View] System configuration view
[Usage Scenario] The interface bundling group synchronizes the monitoring of the upstream link to make corresponding settings on the downstream link. This ensures that faults in the upstream link are quickly communicated to the downstream devices, thereby triggering actions to prevent prolonged traffic loss due to upstream link failures.
[Use Cases]
sonic(config)# monitor-link-group 1 10sonic(config-monitor-link-group-1)#monitor link
Section titled “monitor link”[Command] monitor-link group-name mode no monitor-link
[Purpose] Add the interface to the linkage group and specify the interface as uplink or downlink
[Parameter]
| Parameter | Description |
|---|---|
| mode | Uplink: refers to the interface that connects to upstream devices Downlink: refers to the interface that connects to downstream devices, typically user terminals |
[View] Interface view
[Use Cases]
sonic(config)# monitor-link-group test 10sonic(config)# port-group ethernet 1-10sonic(config-port-group-1-10)# monitor-link test downlinksonic(config)# interface ethernet 49sonic(config-if-49)# monitor-link test uplink