cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 

What does this script most likely do?

What does this script most likely do?

Ilya_Semenov
Contributor
Hello, everybody!

I have a script on all my switches:

create upm profile blackhole1set var portb 0
set var portb $TCL(string range ${EVENT.LOG_PARAM_0} 36 39)
disable port $portb
create log entry "Port $portb blocked by UPM"
delete var portb

Do you have any idea what could it do? Blocks a port? For what reason?

Many thanks in advance,

Ilya

6 REPLIES 6

Michal_Rz
New Contributor III
show us,
sh configuration upm
maybe there is something more?

Please, take a look at the output:

Slot-1 sw-514-1.6 # sh conf upm#
# Module upm configuration.
#
create upm profile blackhole1
set var portb 0
set var portb $TCL(string range ${EVENT.LOG_PARAM_0} 36 39)
disable port $portb
create log entry "Port $portb blocked by UPM"
delete var po
.
create upm profile mac_move
set var portb1 0
set var portb2 0
set var mac 0
set var portb1 $EVENT.LOG_PARAM_2
set var portb2 $EVENT.LOG_PARAM_3
set var mac $EVENT.LOG_PARAM_0
disable port $portb1
disable port $portb2
create log entry "Port $portb1 and $portb2 was disabled by UPM sript (mac_move), flapping MAC is $mac "
delete var portb1
delete var portb2
delete var
.

GTM-P2G8KFN