I would like to know if there is a feature for X480-24x switches with ExtremeXOS version 16.2 that tracks an interface in L2 and place a condition on it.
For example: If Interface X has a L2 “track” and the interface comes down, then it makes another interface Y come down as well.
Both interfaces would be carrying traffic of the same vlan.
Thanks for your comments
Best answer by Kawawa
I am not aware of an actual command that does this, however, this is possible via a UPM script
- Create a UPM profile
- Create a UPM log target that receives the portLinStateDown event
- Create a log filter that can match only on the port you want to cause the trigger
- Enable the UPM profile and Filter
# create log filter upmFilter
# configure log filter upmFilter add events vlan.msgs.portLinkStateDown match port "1"
# create log target upm p1
# enable log target upm p1
# configure log target upm p1 filter upmFilter severity Info
# create upm profile p1
disable port 10
create log message "Port 1 has gone down, disabling Port 10"
So now if I run the disable port 1 command, the following is logged:
03/19/2019 00:21:51.69 Port 1 has gone down, disabling Port 10
03/19/2019 00:21:51.44 Launched profile p1 for the event log-message
03/19/2019 00:21:51.44 Port 1 link down
You can then do the opposite for when port 1 comes back up, enable port 10.
Hope this helps.