UPM Sample Config
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎01-18-2019 01:25 PM
Hi
I will configure to UPM profile. for example, When the switch received the mac address 00??cc:11:22:33 from the port 12 , and then the UPM profile run "disable port 11" command. When the switch loss the mac address from the port 12, and then the UPM profile run "enable port 11" command.
Best Regards,
I will configure to UPM profile. for example, When the switch received the mac address 00??cc:11:22:33 from the port 12 , and then the UPM profile run "disable port 11" command. When the switch loss the mac address from the port 12, and then the UPM profile run "enable port 11" command.
Best Regards,
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎01-22-2019 12:19 PM
Hello Stephen,
I wrote below config. Can you check it please?
* X440G2-12p-10G4.55 # sh configuration upm
#
# Module upm configuration.
#
create upm profile macMove
enable cli scripting
IF (!$MATCH($EVENT.LOG_COMPONENT_SUBCOMPONENT,FDB) && !$MATCH($EVENT.LOG_EVENT,MACAdd)) THEN
IF (!$MATCH($EVENT.LOG_PARAM_2,12)) THEN
disable port 11
ENDIF
ELSE
IF (!$MATCH($EVENT.LOG_COMPONENT_SUBCOMPONENT,FDB) && !$MATCH($EVENT.LOG_EVENT,MACDel)) THEN
IF (!$MATCH($EVENT.LOG_PARAM_2,12)) THEN
enable port 11
ENDIF
ENDIF
ENDIF
.
* X440G2-12p-10G4.56 #
* X440G2-12p-10G4.56 # show configuration ems
#
# Module ems configuration.
#
enable log debug-mode
create log filter macMoveFilter
configure log filter macMoveFilter add events FDB.MACAdd match mac-address "00:04:96:A1:45:53"
configure log filter macMoveFilter add events FDB.MACAdd match port "12"
configure log filter macMoveFilter add events FDB.MACDel match mac-address "00:04:96:A1:45:53"
create log target upm macMove
enable log target upm macMove
configure log target upm macMove filter macMoveFilter severity Debug-Summary
* X440G2-12p-10G4.57 #
Best Regards,
I wrote below config. Can you check it please?
* X440G2-12p-10G4.55 # sh configuration upm
#
# Module upm configuration.
#
create upm profile macMove
enable cli scripting
IF (!$MATCH($EVENT.LOG_COMPONENT_SUBCOMPONENT,FDB) && !$MATCH($EVENT.LOG_EVENT,MACAdd)) THEN
IF (!$MATCH($EVENT.LOG_PARAM_2,12)) THEN
disable port 11
ENDIF
ELSE
IF (!$MATCH($EVENT.LOG_COMPONENT_SUBCOMPONENT,FDB) && !$MATCH($EVENT.LOG_EVENT,MACDel)) THEN
IF (!$MATCH($EVENT.LOG_PARAM_2,12)) THEN
enable port 11
ENDIF
ENDIF
ENDIF
.
* X440G2-12p-10G4.56 #
* X440G2-12p-10G4.56 # show configuration ems
#
# Module ems configuration.
#
enable log debug-mode
create log filter macMoveFilter
configure log filter macMoveFilter add events FDB.MACAdd match mac-address "00:04:96:A1:45:53"
configure log filter macMoveFilter add events FDB.MACAdd match port "12"
configure log filter macMoveFilter add events FDB.MACDel match mac-address "00:04:96:A1:45:53"
create log target upm macMove
enable log target upm macMove
configure log target upm macMove filter macMoveFilter severity Debug-Summary
* X440G2-12p-10G4.57 #
Best Regards,
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎01-21-2019 07:42 AM
Hello Stephen,
I did not write dynamic UPM profile before.I will trigger UPM, when the mac address from only 12 port to FDB.
Can you send me full config for this issue please?
Best regards,
Fazil
I did not write dynamic UPM profile before.I will trigger UPM, when the mac address from only 12 port to FDB.
Can you send me full config for this issue please?
Best regards,
Fazil
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎01-18-2019 01:46 PM
You can trigger UPM scripts to run based on log messages. The below script might help.
https://github.com/extremenetworks/ExtremeScripting/blob/master/EXOS/CLI_Scripting/poeupmdisable/poe_upm.xsf
You can add FDB add and Del messages to the log with the below commands.
https://github.com/extremenetworks/ExtremeScripting/blob/master/EXOS/CLI_Scripting/poeupmdisable/poe_upm.xsf
You can add FDB add and Del messages to the log with the below commands.
code:
configure log filter add events FDB.MACAdd match mac-address "00:04:96:42:21:A6"
configure log filter add events FDB.MACDel match mac-address "00:04:96:42:21:A6"
enable log debug-mode
