cancel
Showing results for 
Search instead for 
Did you mean: 

execution of the command next time

execution of the command next time

hadi
New Contributor

I want help to repeat the execution of the command next time in switch x150

1 ACCEPTED SOLUTION

StephanH
Valued Contributor III

Hello,

there is no other way on the switch itself.

It’s a entry level switch for Layer 2.

Therefore some functions are not available.

 

As Tomasz wrote in you first post. You can use an external System (e. q.  Linux, XMC ...) to run a script.

 

 

 

 

Regards Stephan

View solution in original post

7 REPLIES 7

StephanH
Valued Contributor III

Hello hadi,

do be sure:

 

  1. Your X150 don’t support UPM (see answers in you post: https://community.extremenetworks.com/extremeswitching-exos-223284/create-upm-in-switch-x150-7829375)
  2. Do I understand you correct that you now try to run the above script on an X 250?
  3. What probleme do you see with the above script? What’s going wrong in you opinion? What do you see in the log? Maybe this can help: https://gtacknowledge.extremenetworks.com/articles/Q_A/How-to-see-the-cause-of-UPM-execution-failure
  4. Is it enough to solve your problem to simply turn off the port in the mentioned time? Maybe this is easier.

 

Regards Stephan

hadi
New Contributor

Hello
I do not intend to dare
My English typing is poor
I have 20 extrim-x-1550 switches in my organization
My problem:
I want port number 18 to access the router from 8 a.m. to 2 p.m. I did this in the x-250 series with the same system.
But in x-150 series, I need help because of UPM support

 



 

vi aclcam.pol

Entry cam31 {
if {
destination-address 10.10.2.0/24 ;
}
then
{
deny;
}
}


create upm profile power-off
configure access-list aclcam31 ports 20con    
.

create upm timer power-off-timer
configure upm timer power-off-timer profile power-off
configure upm timer power-off-timer at 10 28 2020 07 00 00 every 86400

##unconfigure upm timer "power-off-timer"

create upm profile power-on
unconfigure access-list aclcam31
.

create upm timer power-on-timer
configure upm timer power-on-timer profile power-on
configure upm timer power-on-timer at 10 28 2020 14 30 00 every 86400

##unconfigure upm timer "power-on-timer"

StephanH
Valued Contributor III

Hello Hadi,

here in the forum there are many people who will help you. But you have to describe what you want to achieve. What you have already tried to achieve and what exactly you are failing to achieve.

One single sentence is not enough. We are not here for fun and not to guess riddles but to help each other with concrete problems. So that we all have something of it and don't have to make mistakes twice.

 

Therefore explane what is the problem with command execution you have, please.

 

Regards

Stephan

 

Regards Stephan
GTM-P2G8KFN