Skip to content
Ask AI

Monitor Link Configuration

[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 |
+--------------+---------+------------------+--------------------+

[Command] monitor-link-group name monitor_delay_time no monitor-link-group

[Purpose] Create interface linkage groups

[Parameter]

ParameterDescription
nameLinkage Group Name
monitor_delay_timeDelayed 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 10
sonic(config-monitor-link-group-1)#

[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]

ParameterDescription
modeUplink: 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 10
sonic(config)# port-group ethernet 1-10
sonic(config-port-group-1-10)# monitor-link test downlink
sonic(config)# interface ethernet 49
sonic(config-if-49)# monitor-link test uplink