Hi,
ist einfach zu realisieren sofern nicht darauf geachtet werden soll ob noch Last auf einem Port ist oder nicht.
"hartes" herunterfahren ist einfach mit dem EEM möglich.
Interface Range Sperren:
Code:
event manager applet DisableInterface
event timer cron name DisableInterface cron-entry "0 19 * * *"
action 1.0 cli command "enable"
action 1.1 cli command "configure terminal"
action 1.5 cli command "interface range fa2 - 48"
action 1.6 cli command "shutdown"
Interface Range Freigeben:
Code:
event manager applet EnableInterface
event timer cron name EnableInterface cron-entry "0 6 * * *"
action 1.0 cli command "enable"
action 1.1 cli command "configure terminal"
action 1.5 cli command "interface range fa2 - 48"
action 1.6 cli command "no shutdown"