Configuration Guide
Reliability Configuration
Monitor-Link Configuration
6 min
monitor link configuration monitor link configuration introduction introduction monitor link is an interface linkage solution that triggers changes in the up/down state of downstream interfaces based on the changes in the up/down state of a monitored device's upstream interface this triggering subsequently leads to topology protocol switches on downstream devices explanation of principles explanation of principles each monitor link group consists of two types of member interfaces upstream interfaces and downstream interfaces while a monitor link group can have multiple upstream or downstream interfaces, an interface can only belong to a single monitor link group the upstream interface is the monitored interface, and its associated link is known as the upstream link the state of the monitor link group is coordinated with the state of this interface when all the uplink interfaces in the monitor link group are down, the monitor link group is considered down conversely, when all the uplink interfaces in the monitor link group are up, the monitor link group is considered up the downstream interface is the monitoring interface, and its associated link is known as the downstream link the state of this interface is synchronized with the state of the monitor link group changes in the up/down state of the monitor link group correspondingly affect the state of the downstream interface, ensuring consistency between the two configuration example configuration example network requirements device uses ethernet ports 49,50 to connect to the uplink device and ethernet ports 1,2,3,4 to connect to the downlink device requirements when the upstream port all failure, need to promptly cut off the downstream port when the uplink port restores connection, the downlink port connection is restored with a delay of 5 seconds to prevent frequent up and down of the downlink port caused by unstable link procedure \# create linkage group 1 and specify a delay time of 5 seconds sonic(config)# monitor link group 1 5 sonic(config monitor link group 1)# \# add uplink and downlink ports, support range configuration sonic(config monitor link group 1)# interface 1 4 downlink sonic(config monitor link group 1)# interface 49,50 uplink verify configuration sonic# show monitor link + + + + + \| group name | delay | uplink members | downlink members | +==============+==========+==================+=====================+ \| 1 | 5 | ethernet49 | ethernet1 | \| | | ethernet50 | ethernet2 | \| | | | ethernet3 | \| | | | ethernet4 | + + + + +
