cancel
Showing results for 
Search instead for 
Did you mean: 

Tracking feature on X480-24x switches

Tracking feature on X480-24x switches

eiortizj8
New Contributor
Hi,

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
Erendira Ortiz
1 ACCEPTED SOLUTION

Kawawa
Extreme Employee
Good afternoon eiortizj8,

I am not aware of an actual command that does this, however, this is possible via a UPM script

  1. Create a UPM profile
  2. Create a UPM log target that receives the portLinStateDown event
  3. Create a log filter that can match only on the port you want to cause the trigger
  4. Enable the UPM profile and Filter
Here's an example. I want port 10 to be disabled when port 1 goes down. I want this link down event to be passed to UPM

code:
# 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
##start##
disable port 10
create log message "Port 1 has gone down, disabling Port 10"
##end##
.



So now if I run the disable port 1 command, the following is logged:
code:
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.

View solution in original post

2 REPLIES 2

eiortizj8
New Contributor
Hi Kawawa,

Thanks so much for your answer, that is exactly what I was looking for!!

BR,
Erendira Ortiz

Kawawa
Extreme Employee
Good afternoon eiortizj8,

I am not aware of an actual command that does this, however, this is possible via a UPM script

  1. Create a UPM profile
  2. Create a UPM log target that receives the portLinStateDown event
  3. Create a log filter that can match only on the port you want to cause the trigger
  4. Enable the UPM profile and Filter
Here's an example. I want port 10 to be disabled when port 1 goes down. I want this link down event to be passed to UPM

code:
# 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
##start##
disable port 10
create log message "Port 1 has gone down, disabling Port 10"
##end##
.



So now if I run the disable port 1 command, the following is logged:
code:
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.
GTM-P2G8KFN