Question

UPM Profile

  • 15 August 2019
  • 0 replies
  • 106 views

Hi
I need your help:
I use 2 Extreme switch summit x460-48p in stack. Condition that ports must work is as follow:

  1. If one of port 1:9 or port 2:9 or port2:10 go in state "down", then port 1:15 must go "Down"
  2. If port 1:9 and 2:9 and 2:10 are in state "Up", then port 1:15 must go in state "UP"
Seems stupid, but I'm not experte and I'm triyng using UPM profile but I can't make the scritp..I always receive sintax error and Upm profile Fail.
Can I have some help pls?
this is wath I made...Problem is one of port go in State Up, port 15 will go Up and it's not good

create log filter MnLinkDn
create log filter MnLinkUp
configure log filter MnLinkDn add events vlan.msgs.portLinkStateDown match string "1:9"
configure log filter MnLinkDn add events vlan.msgs.portLinkStateDown match string "2:9"
configure log filter MnLinkDn add events vlan.msgs.portLinkStateDown match string "2:10"
configure log filter MnLinkUp add events vlan.msgs.portLinkStateUp match string "1:9"
configure log filter MnLinkUp add events vlan.msgs.portLinkStateUp match string "2:9"
configure log filter MnLinkUp add events vlan.msgs.portLinkStateUp match string "2:10"
create log target upm MnLinkUp
enable log target upm MnLinkUp
configure log target upm MnLinkUp filter MnLinkUp severity Info
create log target upm MnLinkDn
enable log target upm MnLinkDn
configure log target upm MnLinkDn filter MnLinkDn severity Info

Profile State: Enabled
Profile Maximimum Execution Time: 30
Events and ports configured on the profile:
===========================================================
Event Port list/Log filter
===========================================================
device-detect :
device-undetect :
user-authenticated :
user-unauthenticated :
log-message : MnLinkDn
identity-detect :
identity-undetect :
identity-role-associate :
identity-role-dissociate :
===========================================================
* Slot-1 IOCC_SWITCH.4 # show upm profile MnLinkUp
Created at : 2019-08-13 10:05:57
Last edited at : 2019-08-13 12:16:51

************Profile Contents Begin************
enable port 1:15











************Profile Contents Ends*************

Profile State: Enabled
Profile Maximimum Execution Time: 30
Events and ports configured on the profile:
===========================================================
Event Port list/Log filter
===========================================================
device-detect :
device-undetect :
user-authenticated :
user-unauthenticated :
log-message : MnLinkUp
identity-detect :
identity-undetect :
identity-role-associate :
identity-role-dissociate :
===========================================================
* Slot-1 IOCC_SWITCH.5 # enable lo
log Configure log service
loopback-mode loopback
* Slot-1 IOCC_SWITCH.5 # enable log target session
* Slot-1 IOCC_SWITCH.6 # 08/13/2019 12:37:41.59 Slot-1: Port 1:1 link down

* Slot-1 IOCC_SWITCH.6 #
* Slot-1 IOCC_SWITCH.6 # 08/13/2019 12:38:00.89 Slot-1: Port 1:1 link UP at speed 1 Gbps and full-duplex

* Slot-1 IOCC_SWITCH.6 #
* Slot-1 IOCC_SWITCH.6 # 08/13/2019 12:38:12.21 Slot-1: Port 1:9 link down
08/13/2019 12:38:12.25 Slot-1: Launched profile MnLinkDn for the event log-message
08/13/2019 12:38:12.61 Slot-1: Port 1:15 link down

0 replies

Be the first to reply!

Reply