Command Line Reference
Reliability Configuration
Monitor Link Configuration
5 min
monitor link configuration monitor link configuration show monitor link 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 monitor link group \[command] monitor link group group id delay time no monitor link group group id \[purpose] create interface linkage groups \[parameter] parameter description group id linkage group id 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 10 sonic(config monitor link group 1)# monitor link monitor link \[command] monitor link group name mode no monitor link group name \[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 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
