cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5311
Views
75
Helpful
48
Replies
ANDAFBCCO
Beginner

Shutdown Ports not in use for a while with EEM Tcl

I have downloaded these 2 Tcl scripts from this previous discussion and from the sounds of it it's exactly what I've been looking for. But the problem is I'm new to EEM and have no idea how to go about putting these on the switches themselves. I've searched for configuration guides but to no prevail. Any help is greatly appreciated. Here's the link to previous discussion:

https://supportforums.cisco.com/thread/164684.pdf;jsessionid=EEEEE143342DAAB34706D608D5C4C920.node0

48 REPLIES 48

I'll post tonights output when the script runs again.

The debug output was the same as last night. Here's the show even man hist event:

No.  Job Id      Status   Time of Event             Event Type          Name
1    1981        success  Fri Oct15  18:06:28 2010  syslog              script: sl_suspend_ports.tcl
2    1982        success  Fri Oct15  19:07:50 2010  syslog              script: sl_suspend_ports.tcl
3    1983        success  Fri Oct15  19:07:52 2010  syslog              script: sl_suspend_ports.tcl
4    1984        success  Fri Oct15  19:27:40 2010  syslog              script: sl_suspend_ports.tcl
5    1985        success  Fri Oct15  19:27:41 2010  syslog              script: sl_suspend_ports.tcl
6    1986        success  Fri Oct15  19:28:17 2010  syslog              script: sl_suspend_ports.tcl
7    1987        success  Fri Oct15  19:28:47 2010  syslog              script: sl_suspend_ports.tcl
8    1988        success  Fri Oct15  19:44:59 2010  syslog              script: sl_suspend_ports.tcl
9    1989        success  Fri Oct15  19:45:01 2010  syslog              script: sl_suspend_ports.tcl
10   1990        success  Sat Oct16  00:00:00 2010  timer cron          script: tm_suspend_ports.tcl

Still didn't disable the ports. I've attached the susp_ports.dat again.

Joe Clarke
Hall of Fame Cisco Employee

Here is a debug version that can be run manually.  Register this version (don't just copy it to the device, you actually need to re-register it).  Then run:

event manager run tm_suspend_ports.tcl

Post the output.

Here's the output from running the script. Below that is the log file.


XXX: Looking at iface FastEthernet1/0/1
XXX: line 'FastEthernet1/0/1 unassigned YES unset up up' is up
XXX: FastEthernet1/0/1 not found in array
XXX: Looking at iface FastEthernet1/0/2
XXX: line 'FastEthernet1/0/2 unassigned YES unset up up' is up
XXX: FastEthernet1/0/2 not found in array
XXX: Looking at iface FastEthernet1/0/3
XXX: line 'FastEthernet1/0/3 unassigned YES unset down down' is down
XXX: FastEthernet1/0/3 not found in array
XXX: Adding FastEthernet1/0/3 to ports array
XXX: Looking at iface FastEthernet1/0/4
XXX: line 'FastEthernet1/0/4 unassigned YES unset up up' is up
XXX: FastEthernet1/0/4 not found in array
XXX: Looking at iface FastEthernet1/0/5
XXX: line 'FastEthernet1/0/5 unassigned YES unset up up' is up
XXX: FastEthernet1/0/5 not found in array
XXX: Looking at iface FastEthernet1/0/6
XXX: line 'FastEthernet1/0/6 unassigned YES unset down down' is down
XXX: FastEthernet1/0/6 not found in array
XXX: Adding FastEthernet1/0/6 to ports array
XXX: Looking at iface FastEthernet1/0/7
XXX: line 'FastEthernet1/0/7 unassigned YES unset up up' is up
XXX: FastEthernet1/0/7 not found in array
XXX: Looking at iface FastEthernet1/0/8
XXX: line 'FastEthernet1/0/8 unassigned YES unset up up' is up
XXX: FastEthernet1/0/8 not found in array
XXX: Looking at iface FastEthernet1/0/9
XXX: line 'FastEthernet1/0/9 unassigned YES unset up up' is up
XXX: FastEthernet1/0/9 not found in array
XXX: Looking at iface FastEthernet1/0/10
XXX: line 'FastEthernet1/0/10 unassigned YES unset up up' is up
XXX: FastEthernet1/0/10 not found in array
XXX: Looking at iface FastEthernet1/0/11
XXX: line 'FastEthernet1/0/11 unassigned YES unset up up' is up
XXX: FastEthernet1/0/11 not found in array
XXX: Looking at iface FastEthernet1/0/12
XXX: line 'FastEthernet1/0/12 unassigned YES unset down down' is down
XXX: FastEthernet1/0/12 not found in array
XXX: Adding FastEthernet1/0/12 to ports array
XXX: Looking at iface FastEthernet1/0/13
XXX: line 'FastEthernet1/0/13 unassigned YES unset down down' is down
XXX: FastEthernet1/0/13 not found in array
XXX: Adding FastEthernet1/0/13 to ports array
XXX: Looking at iface FastEthernet1/0/14
XXX: line 'FastEthernet1/0/14 unassigned YES unset up up' is up
XXX: FastEthernet1/0/14 not found in array
XXX: Looking at iface FastEthernet1/0/15
XXX: line 'FastEthernet1/0/15 unassigned YES unset up up' is up
XXX: FastEthernet1/0/15 not found in array
XXX: Looking at iface FastEthernet1/0/16
XXX: line 'FastEthernet1/0/16 unassigned YES unset up up' is up
XXX: FastEthernet1/0/16 not found in array
XXX: Looking at iface FastEthernet1/0/17
XXX: line 'FastEthernet1/0/17 unassigned YES unset up up' is up
XXX: FastEthernet1/0/17 not found in array
XXX: Looking at iface FastEthernet1/0/18
XXX: line 'FastEthernet1/0/18 unassigned YES unset up up' is up
XXX: FastEthernet1/0/18 not found in array
XXX: Looking at iface FastEthernet1/0/19
XXX: line 'FastEthernet1/0/19 unassigned YES unset down down' is down
XXX: FastEthernet1/0/19 not found in array
XXX: Adding FastEthernet1/0/19 to ports array
XXX: Looking at iface FastEthernet1/0/20
XXX: line 'FastEthernet1/0/20 unassigned YES unset down down' is down
XXX: FastEthernet1/0/20 not found in array
XXX: Adding FastEthernet1/0/20 to ports array
XXX: Looking at iface FastEthernet1/0/21
XXX: line 'FastEthernet1/0/21 unassigned YES unset down down' is down
XXX: FastEthernet1/0/21 not found in array
XXX: Adding FastEthernet1/0/21 to ports array
XXX: Looking at iface FastEthernet1/0/22
XXX: line 'FastEthernet1/0/22 unassigned YES unset up up' is up
XXX: FastEthernet1/0/22 not found in array
XXX: Looking at iface FastEthernet1/0/23
XXX: line 'FastEthernet1/0/23 unassigned YES unset down down' is down
XXX: FastEthernet1/0/23 not found in array
XXX: Adding FastEthernet1/0/23 to ports array
XXX: Looking at iface FastEthernet1/0/24
XXX: line 'FastEthernet1/0/24 unassigned YES unset down down' is down
XXX: FastEthernet1/0/24 not found in array
XXX: Adding FastEthernet1/0/24 to ports array
XXX: Looking at iface FastEthernet1/0/25
XXX: line 'FastEthernet1/0/25 unassigned YES unset down down' is down
XXX: FastEthernet1/0/25 not found in array
XXX: Adding FastEthernet1/0/25 to ports array
XXX: Looking at iface FastEthernet1/0/26
XXX: line 'FastEthernet1/0/26 unassigned YES unset up up' is up
XXX: FastEthernet1/0/26 not found in array
XXX: Looking at iface FastEthernet1/0/27
XXX: line 'FastEthernet1/0/27 unassigned YES unset up up' is up
XXX: FastEthernet1/0/27 not found in array
XXX: Looking at iface FastEthernet1/0/28
XXX: line 'FastEthernet1/0/28 unassigned YES unset up up' is up
XXX: FastEthernet1/0/28 not found in array
XXX: Looking at iface FastEthernet1/0/29
XXX: line 'FastEthernet1/0/29 unassigned YES unset down down' is down
XXX: FastEthernet1/0/29 not found in array
XXX: Adding FastEthernet1/0/29 to ports array
XXX: Looking at iface FastEthernet1/0/30
XXX: line 'FastEthernet1/0/30 unassigned YES unset down down' is down
XXX: FastEthernet1/0/30 not found in array
XXX: Adding FastEthernet1/0/30 to ports array
XXX: Looking at iface FastEthernet1/0/31
XXX: line 'FastEthernet1/0/31 unassigned YES unset down down' is down
XXX: FastEthernet1/0/31 not found in array
XXX: Adding FastEthernet1/0/31 to ports array
XXX: Looking at iface FastEthernet1/0/32
XXX: line 'FastEthernet1/0/32 unassigned YES unset down down' is down
XXX: FastEthernet1/0/32 not found in array
XXX: Adding FastEthernet1/0/32 to ports array
XXX: Looking at iface FastEthernet1/0/33
XXX: line 'FastEthernet1/0/33 unassigned YES unset up up' is up
XXX: FastEthernet1/0/33 not found in array
XXX: Looking at iface FastEthernet1/0/34
XXX: line 'FastEthernet1/0/34 unassigned YES unset up up' is up
XXX: FastEthernet1/0/34 not found in array
XXX: Looking at iface FastEthernet1/0/35
XXX: line 'FastEthernet1/0/35 unassigned YES unset up up' is up
XXX: FastEthernet1/0/35 not found in array
XXX: Looking at iface FastEthernet1/0/36
XXX: line 'FastEthernet1/0/36 unassigned YES unset down down' is down
XXX: FastEthernet1/0/36 not found in array
XXX: Adding FastEthernet1/0/36 to ports array
XXX: Looking at iface FastEthernet1/0/37
XXX: line 'FastEthernet1/0/37 unassigned YES unset up up' is up
XXX: FastEthernet1/0/37 not found in array
XXX: Looking at iface FastEthernet1/0/38
XXX: line 'FastEthernet1/0/38 unassigned YES unset down down' is down
XXX: FastEthernet1/0/38 not found in array
XXX: Adding FastEthernet1/0/38 to ports array
XXX: Looking at iface FastEthernet1/0/39
XXX: line 'FastEthernet1/0/39 unassigned YES unset down down' is down
XXX: FastEthernet1/0/39 not found in array
XXX: Adding FastEthernet1/0/39 to ports array
XXX: Looking at iface FastEthernet1/0/40
XXX: line 'FastEthernet1/0/40 unassigned YES unset down down' is down
XXX: FastEthernet1/0/40 not found in array
XXX: Adding FastEthernet1/0/40 to ports array
XXX: Looking at iface FastEthernet1/0/41
XXX: line 'FastEthernet1/0/41 unassigned YES unset up up' is up
XXX: FastEthernet1/0/41 not found in array
XXX: Looking at iface FastEthernet1/0/42
XXX: line 'FastEthernet1/0/42 unassigned YES unset down down' is down
XXX: FastEthernet1/0/42 not found in array
XXX: Adding FastEthernet1/0/42 to ports array
XXX: Looking at iface FastEthernet1/0/43
XXX: line 'FastEthernet1/0/43 unassigned YES unset down down' is down
XXX: FastEthernet1/0/43 not found in array
XXX: Adding FastEthernet1/0/43 to ports array
XXX: Looking at iface FastEthernet1/0/44
XXX: line 'FastEthernet1/0/44 unassigned YES unset up up' is up
XXX: FastEthernet1/0/44 not found in array
XXX: Looking at iface FastEthernet1/0/45
XXX: line 'FastEthernet1/0/45 unassigned YES unset up up' is up
XXX: FastEthernet1/0/45 not found in array
XXX: Looking at iface FastEthernet1/0/46
XXX: line 'FastEthernet1/0/46 unassigned YES unset down down' is down
XXX: FastEthernet1/0/46 not found in array
XXX: Adding FastEthernet1/0/46 to ports array
XXX: Looking at iface FastEthernet1/0/47
XXX: line 'FastEthernet1/0/47 unassigned YES unset up up' is up
XXX: FastEthernet1/0/47 not found in array
XXX: Looking at iface FastEthernet1/0/48
XXX: line 'FastEthernet1/0/48 unassigned YES unset down down' is down
XXX: FastEthernet1/0/48 not found in array
XXX: Adding FastEthernet1/0/48 to ports array
XXX: Looking at iface GigabitEthernet1/0/1
XXX: line 'GigabitEthernet1/0/1 unassigned YES unset up up' is up
XXX: GigabitEthernet1/0/1 not found in array
XXX: Looking at iface GigabitEthernet1/0/2
XXX: line 'GigabitEthernet1/0/2 unassigned YES unset administratively down down' is admin down
XXX: GigabitEthernet1/0/2 not found in array
XXX: Looking at iface GigabitEthernet1/0/3
XXX: line 'GigabitEthernet1/0/3 unassigned YES unset administratively down down' is admin down
XXX: GigabitEthernet1/0/3 not found in array
XXX: Looking at iface GigabitEthernet1/0/4
XXX: line 'GigabitEthernet1/0/4 unassigned YES unset administratively down down' is admin down
XXX: GigabitEthernet1/0/4 not found in array
XXX: Looking at iface FastEthernet2/0/1
XXX: line 'FastEthernet2/0/1 unassigned YES unset down down' is down
XXX: FastEthernet2/0/1 not found in array
XXX: Adding FastEthernet2/0/1 to ports array
XXX: Looking at iface FastEthernet2/0/2
XXX: line 'FastEthernet2/0/2 unassigned YES unset down down' is down
XXX: FastEthernet2/0/2 not found in array
XXX: Adding FastEthernet2/0/2 to ports array
XXX: Looking at iface FastEthernet2/0/3
XXX: line 'FastEthernet2/0/3 unassigned YES unset down down' is down
XXX: FastEthernet2/0/3 not found in array
XXX: Adding FastEthernet2/0/3 to ports array
XXX: Looking at iface FastEthernet2/0/4
XXX: line 'FastEthernet2/0/4 unassigned YES unset down down' is down
XXX: FastEthernet2/0/4 not found in array
XXX: Adding FastEthernet2/0/4 to ports array
XXX: Looking at iface FastEthernet2/0/5
XXX: line 'FastEthernet2/0/5 unassigned YES unset down down' is down
XXX: FastEthernet2/0/5 not found in array
XXX: Adding FastEthernet2/0/5 to ports array
XXX: Looking at iface FastEthernet2/0/6
XXX: line 'FastEthernet2/0/6 unassigned YES unset down down' is down
XXX: FastEthernet2/0/6 not found in array
XXX: Adding FastEthernet2/0/6 to ports array
XXX: Looking at iface FastEthernet2/0/7
XXX: line 'FastEthernet2/0/7 unassigned YES unset down down' is down
XXX: FastEthernet2/0/7 not found in array
XXX: Adding FastEthernet2/0/7 to ports array
XXX: Looking at iface FastEthernet2/0/8
XXX: line 'FastEthernet2/0/8 unassigned YES unset down down' is down
XXX: FastEthernet2/0/8 not found in array
XXX: Adding FastEthernet2/0/8 to ports array
XXX: Looking at iface FastEthernet2/0/9
XXX: line 'FastEthernet2/0/9 unassigned YES unset up up' is up
XXX: FastEthernet2/0/9 not found in array
XXX: Looking at iface FastEthernet2/0/10
XXX: line 'FastEthernet2/0/10 unassigned YES unset down down' is down
XXX: FastEthernet2/0/10 not found in array
XXX: Adding FastEthernet2/0/10 to ports array
XXX: Looking at iface FastEthernet2/0/11
XXX: line 'FastEthernet2/0/11 unassigned YES unset down down' is down
XXX: FastEthernet2/0/11 not found in array
XXX: Adding FastEthernet2/0/11 to ports array
XXX: Looking at iface FastEthernet2/0/12
XXX: line 'FastEthernet2/0/12 unassigned YES unset down down' is down
XXX: FastEthernet2/0/12 not found in array
XXX: Adding FastEthernet2/0/12 to ports array
XXX: Looking at iface FastEthernet2/0/13
XXX: line 'FastEthernet2/0/13 unassigned YES unset down down' is down
XXX: FastEthernet2/0/13 not found in array
XXX: Adding FastEthernet2/0/13 to ports array
XXX: Looking at iface FastEthernet2/0/14
XXX: line 'FastEthernet2/0/14 unassigned YES unset down down' is down
XXX: FastEthernet2/0/14 not found in array
XXX: Adding FastEthernet2/0/14 to ports array
XXX: Looking at iface FastEthernet2/0/15
XXX: line 'FastEthernet2/0/15 unassigned YES unset down down' is down
XXX: FastEthernet2/0/15 not found in array
XXX: Adding FastEthernet2/0/15 to ports array
XXX: Looking at iface FastEthernet2/0/16
XXX: line 'FastEthernet2/0/16 unassigned YES unset down down' is down
XXX: FastEthernet2/0/16 not found in array
XXX: Adding FastEthernet2/0/16 to ports array
XXX: Looking at iface FastEthernet2/0/17
XXX: line 'FastEthernet2/0/17 unassigned YES unset down down' is down
XXX: FastEthernet2/0/17 not found in array
XXX: Adding FastEthernet2/0/17 to ports array
XXX: Looking at iface FastEthernet2/0/18
XXX: line 'FastEthernet2/0/18 unassigned YES unset down down' is down
XXX: FastEthernet2/0/18 not found in array
XXX: Adding FastEthernet2/0/18 to ports array
XXX: Looking at iface FastEthernet2/0/19
XXX: line 'FastEthernet2/0/19 unassigned YES unset up up' is up
XXX: FastEthernet2/0/19 not found in array
XXX: Looking at iface FastEthernet2/0/20
XXX: line 'FastEthernet2/0/20 unassigned YES unset down down' is down
XXX: FastEthernet2/0/20 not found in array
XXX: Adding FastEthernet2/0/20 to ports array
XXX: Looking at iface FastEthernet2/0/21
XXX: line 'FastEthernet2/0/21 unassigned YES unset down down' is down
XXX: FastEthernet2/0/21 not found in array
XXX: Adding FastEthernet2/0/21 to ports array
XXX: Looking at iface FastEthernet2/0/22
XXX: line 'FastEthernet2/0/22 unassigned YES unset down down' is down
XXX: FastEthernet2/0/22 not found in array
XXX: Adding FastEthernet2/0/22 to ports array
XXX: Looking at iface FastEthernet2/0/23
XXX: line 'FastEthernet2/0/23 unassigned YES unset down down' is down
XXX: FastEthernet2/0/23 not found in array
XXX: Adding FastEthernet2/0/23 to ports array
XXX: Looking at iface FastEthernet2/0/24
XXX: line 'FastEthernet2/0/24 unassigned YES unset up up' is up
XXX: FastEthernet2/0/24 not found in array
XXX: Looking at iface FastEthernet2/0/25
XXX: line 'FastEthernet2/0/25 unassigned YES unset down down' is down
XXX: FastEthernet2/0/25 not found in array
XXX: Adding FastEthernet2/0/25 to ports array
XXX: Looking at iface FastEthernet2/0/26
XXX: line 'FastEthernet2/0/26 unassigned YES unset down down' is down
XXX: FastEthernet2/0/26 not found in array
XXX: Adding FastEthernet2/0/26 to ports array
XXX: Looking at iface FastEthernet2/0/27
XXX: line 'FastEthernet2/0/27 unassigned YES unset down down' is down
XXX: FastEthernet2/0/27 not found in array
XXX: Adding FastEthernet2/0/27 to ports array
XXX: Looking at iface FastEthernet2/0/28
XXX: line 'FastEthernet2/0/28 unassigned YES unset down down' is down
XXX: FastEthernet2/0/28 not found in array
XXX: Adding FastEthernet2/0/28 to ports array
XXX: Looking at iface FastEthernet2/0/29
XXX: line 'FastEthernet2/0/29 unassigned YES unset down down' is down
XXX: FastEthernet2/0/29 not found in array
XXX: Adding FastEthernet2/0/29 to ports array
XXX: Looking at iface FastEthernet2/0/30
XXX: line 'FastEthernet2/0/30 unassigned YES unset down down' is down
XXX: FastEthernet2/0/30 not found in array
XXX: Adding FastEthernet2/0/30 to ports array
XXX: Looking at iface FastEthernet2/0/31
XXX: line 'FastEthernet2/0/31 unassigned YES unset down down' is down
XXX: FastEthernet2/0/31 not found in array
XXX: Adding FastEthernet2/0/31 to ports array
XXX: Looking at iface FastEthernet2/0/32
XXX: line 'FastEthernet2/0/32 unassigned YES unset up up' is up
XXX: FastEthernet2/0/32 not found in array
XXX: Looking at iface FastEthernet2/0/33
XXX: line 'FastEthernet2/0/33 unassigned YES unset down down' is down
XXX: FastEthernet2/0/33 not found in array
XXX: Adding FastEthernet2/0/33 to ports array
XXX: Looking at iface FastEthernet2/0/34
XXX: line 'FastEthernet2/0/34 unassigned YES unset down down' is down
XXX: FastEthernet2/0/34 not found in array
XXX: Adding FastEthernet2/0/34 to ports array
XXX: Looking at iface FastEthernet2/0/35
XXX: line 'FastEthernet2/0/35 unassigned YES unset down down' is down
XXX: FastEthernet2/0/35 not found in array
XXX: Adding FastEthernet2/0/35 to ports array
XXX: Looking at iface FastEthernet2/0/36
XXX: line 'FastEthernet2/0/36 unassigned YES unset down down' is down
XXX: FastEthernet2/0/36 not found in array
XXX: Adding FastEthernet2/0/36 to ports array
XXX: Looking at iface FastEthernet2/0/37
XXX: line 'FastEthernet2/0/37 unassigned YES unset down down' is down
XXX: FastEthernet2/0/37 not found in array
XXX: Adding FastEthernet2/0/37 to ports array
XXX: Looking at iface FastEthernet2/0/38
XXX: line 'FastEthernet2/0/38 unassigned YES unset down down' is down
XXX: FastEthernet2/0/38 not found in array
XXX: Adding FastEthernet2/0/38 to ports array
XXX: Looking at iface FastEthernet2/0/39
XXX: line 'FastEthernet2/0/39 unassigned YES unset up up' is up
XXX: FastEthernet2/0/39 not found in array
XXX: Looking at iface FastEthernet2/0/40
XXX: line 'FastEthernet2/0/40 unassigned YES unset up up' is up
XXX: FastEthernet2/0/40 not found in array
XXX: Looking at iface FastEthernet2/0/41
XXX: line 'FastEthernet2/0/41 unassigned YES unset down down' is down
XXX: FastEthernet2/0/41 not found in array
XXX: Adding FastEthernet2/0/41 to ports array
XXX: Looking at iface FastEthernet2/0/42
XXX: line 'FastEthernet2/0/42 unassigned YES unset down down' is down
XXX: FastEthernet2/0/42 not found in array
XXX: Adding FastEthernet2/0/42 to ports array
XXX: Looking at iface FastEthernet2/0/43
XXX: line 'FastEthernet2/0/43 unassigned YES unset down down' is down
XXX: FastEthernet2/0/43 not found in array
XXX: Adding FastEthernet2/0/43 to ports array
XXX: Looking at iface FastEthernet2/0/44
XXX: line 'FastEthernet2/0/44 unassigned YES unset down down' is down
XXX: FastEthernet2/0/44 not found in array
XXX: Adding FastEthernet2/0/44 to ports array
XXX: Looking at iface FastEthernet2/0/45
XXX: line 'FastEthernet2/0/45 unassigned YES unset up up' is up
XXX: FastEthernet2/0/45 not found in array
XXX: Looking at iface FastEthernet2/0/46
XXX: line 'FastEthernet2/0/46 unassigned YES unset up up' is up
XXX: FastEthernet2/0/46 not found in array
XXX: Looking at iface FastEthernet2/0/47
XXX: line 'FastEthernet2/0/47 unassigned YES unset up up' is up
XXX: FastEthernet2/0/47 not found in array
XXX: Looking at iface FastEthernet2/0/48
XXX: line 'FastEthernet2/0/48 unassigned YES unset up up' is up
XXX: FastEthernet2/0/48 not found in array
XXX: Looking at iface GigabitEthernet2/0/1
XXX: line 'GigabitEthernet2/0/1 unassigned YES unset administratively down down' is admin down
XXX: GigabitEthernet2/0/1 not found in array
XXX: Looking at iface GigabitEthernet2/0/2
XXX: line 'GigabitEthernet2/0/2 unassigned YES unset administratively down down' is admin down
XXX: GigabitEthernet2/0/2 not found in array
XXX: Looking at iface GigabitEthernet2/0/3
XXX: line 'GigabitEthernet2/0/3 unassigned YES unset administratively down down' is admin down
XXX: GigabitEthernet2/0/3 not found in array
XXX: Looking at iface GigabitEthernet2/0/4
XXX: line 'GigabitEthernet2/0/4 unassigned YES unset administratively down down' is admin down
XXX: GigabitEthernet2/0/4 not found in array
XXX: Looking at iface FastEthernet3/0/1
XXX: line 'FastEthernet3/0/1 unassigned YES unset up up' is up
XXX: FastEthernet3/0/1 not found in array
XXX: Looking at iface FastEthernet3/0/2
XXX: line 'FastEthernet3/0/2 unassigned YES unset down down' is down
XXX: FastEthernet3/0/2 not found in array
XXX: Adding FastEthernet3/0/2 to ports array
XXX: Looking at iface FastEthernet3/0/3
XXX: line 'FastEthernet3/0/3 unassigned YES unset up up' is up
XXX: FastEthernet3/0/3 not found in array
XXX: Looking at iface FastEthernet3/0/4
XXX: line 'FastEthernet3/0/4 unassigned YES unset down down' is down
XXX: FastEthernet3/0/4 not found in array
XXX: Adding FastEthernet3/0/4 to ports array
XXX: Looking at iface FastEthernet3/0/5
XXX: line 'FastEthernet3/0/5 unassigned YES unset up up' is up
XXX: FastEthernet3/0/5 not found in array
XXX: Looking at iface FastEthernet3/0/6
XXX: line 'FastEthernet3/0/6 unassigned YES unset up up' is up
XXX: FastEthernet3/0/6 not found in array
XXX: Looking at iface FastEthernet3/0/7
XXX: line 'FastEthernet3/0/7 unassigned YES unset up up' is up
XXX: FastEthernet3/0/7 not found in array
XXX: Looking at iface FastEthernet3/0/8
XXX: line 'FastEthernet3/0/8 unassigned YES unset up up' is up
XXX: FastEthernet3/0/8 not found in array
XXX: Looking at iface FastEthernet3/0/9
XXX: line 'FastEthernet3/0/9 unassigned YES unset down down' is down
XXX: FastEthernet3/0/9 not found in array
XXX: Adding FastEthernet3/0/9 to ports array
XXX: Looking at iface FastEthernet3/0/10
XXX: line 'FastEthernet3/0/10 unassigned YES unset down down' is down
XXX: FastEthernet3/0/10 not found in array
XXX: Adding FastEthernet3/0/10 to ports array
XXX: Looking at iface FastEthernet3/0/11
XXX: line 'FastEthernet3/0/11 unassigned YES unset down down' is down
XXX: FastEthernet3/0/11 not found in array
XXX: Adding FastEthernet3/0/11 to ports array
XXX: Looking at iface FastEthernet3/0/12
XXX: line 'FastEthernet3/0/12 unassigned YES unset up up' is up
XXX: FastEthernet3/0/12 not found in array
XXX: Looking at iface FastEthernet3/0/13
XXX: line 'FastEthernet3/0/13 unassigned YES unset down down' is down
XXX: FastEthernet3/0/13 not found in array
XXX: Adding FastEthernet3/0/13 to ports array
XXX: Looking at iface FastEthernet3/0/14
XXX: line 'FastEthernet3/0/14 unassigned YES unset down down' is down
XXX: FastEthernet3/0/14 not found in array
XXX: Adding FastEthernet3/0/14 to ports array
XXX: Looking at iface FastEthernet3/0/15
XXX: line 'FastEthernet3/0/15 unassigned YES unset up up' is up
XXX: FastEthernet3/0/15 not found in array
XXX: Looking at iface FastEthernet3/0/16
XXX: line 'FastEthernet3/0/16 unassigned YES unset down down' is down
XXX: FastEthernet3/0/16 not found in array
XXX: Adding FastEthernet3/0/16 to ports array
XXX: Looking at iface FastEthernet3/0/17
XXX: line 'FastEthernet3/0/17 unassigned YES unset down down' is down
XXX: FastEthernet3/0/17 not found in array
XXX: Adding FastEthernet3/0/17 to ports array
XXX: Looking at iface FastEthernet3/0/18
XXX: line 'FastEthernet3/0/18 unassigned YES unset up up' is up
XXX: FastEthernet3/0/18 not found in array
XXX: Looking at iface FastEthernet3/0/19
XXX: line 'FastEthernet3/0/19 unassigned YES unset down down' is down
XXX: FastEthernet3/0/19 not found in array
XXX: Adding FastEthernet3/0/19 to ports array
XXX: Looking at iface FastEthernet3/0/20
XXX: line 'FastEthernet3/0/20 unassigned YES unset up up' is up
XXX: FastEthernet3/0/20 not found in array
XXX: Looking at iface FastEthernet3/0/21
XXX: line 'FastEthernet3/0/21 unassigned YES unset down down' is down
XXX: FastEthernet3/0/21 not found in array
XXX: Adding FastEthernet3/0/21 to ports array
XXX: Looking at iface FastEthernet3/0/22
XXX: line 'FastEthernet3/0/22 unassigned YES unset down down' is down
XXX: FastEthernet3/0/22 not found in array
XXX: Adding FastEthernet3/0/22 to ports array
XXX: Looking at iface FastEthernet3/0/23
XXX: line 'FastEthernet3/0/23 unassigned YES unset down down' is down
XXX: FastEthernet3/0/23 not found in array
XXX: Adding FastEthernet3/0/23 to ports array
XXX: Looking at iface FastEthernet3/0/24
XXX: line 'FastEthernet3/0/24 unassigned YES unset up up' is up
XXX: FastEthernet3/0/24 not found in array
XXX: Looking at iface FastEthernet3/0/25
XXX: line 'FastEthernet3/0/25 unassigned YES unset up up' is up
XXX: FastEthernet3/0/25 not found in array
XXX: Looking at iface FastEthernet3/0/26
XXX: line 'FastEthernet3/0/26 unassigned YES unset down down' is down
XXX: FastEthernet3/0/26 not found in array
XXX: Adding FastEthernet3/0/26 to ports array
XXX: Looking at iface FastEthernet3/0/27
XXX: line 'FastEthernet3/0/27 unassigned YES unset up up' is up
XXX: FastEthernet3/0/27 not found in array
XXX: Looking at iface FastEthernet3/0/28
XXX: line 'FastEthernet3/0/28 unassigned YES unset down down' is down
XXX: FastEthernet3/0/28 not found in array
XXX: Adding FastEthernet3/0/28 to ports array
XXX: Looking at iface FastEthernet3/0/29
XXX: line 'FastEthernet3/0/29 unassigned YES unset up up' is up
XXX: FastEthernet3/0/29 not found in array
XXX: Looking at iface FastEthernet3/0/30
XXX: line 'FastEthernet3/0/30 unassigned YES unset down down' is down
XXX: FastEthernet3/0/30 not found in array
XXX: Adding FastEthernet3/0/30 to ports array
XXX: Looking at iface FastEthernet3/0/31
XXX: line 'FastEthernet3/0/31 unassigned YES unset down down' is down
XXX: FastEthernet3/0/31 not found in array
XXX: Adding FastEthernet3/0/31 to ports array
XXX: Looking at iface FastEthernet3/0/32
XXX: line 'FastEthernet3/0/32 unassigned YES unset down down' is down
XXX: FastEthernet3/0/32 not found in array
XXX: Adding FastEthernet3/0/32 to ports array
XXX: Looking at iface FastEthernet3/0/33
XXX: line 'FastEthernet3/0/33 unassigned YES unset up up' is up
XXX: FastEthernet3/0/33 not found in array
XXX: Looking at iface FastEthernet3/0/34
XXX: line 'FastEthernet3/0/34 unassigned YES unset up up' is up
XXX: FastEthernet3/0/34 not found in array
XXX: Looking at iface FastEthernet3/0/35
XXX: line 'FastEthernet3/0/35 unassigned YES unset down down' is down
XXX: FastEthernet3/0/35 not found in array
XXX: Adding FastEthernet3/0/35 to ports array
XXX: Looking at iface FastEthernet3/0/36
XXX: line 'FastEthernet3/0/36 unassigned YES unset down down' is down
XXX: FastEthernet3/0/36 not found in array
XXX: Adding FastEthernet3/0/36 to ports array
XXX: Looking at iface FastEthernet3/0/37
XXX: line 'FastEthernet3/0/37 unassigned YES unset down down' is down
XXX: FastEthernet3/0/37 not found in array
XXX: Adding FastEthernet3/0/37 to ports array
XXX: Looking at iface FastEthernet3/0/38
XXX: line 'FastEthernet3/0/38 unassigned YES unset down down' is down
XXX: FastEthernet3/0/38 not found in array
XXX: Adding FastEthernet3/0/38 to ports array
XXX: Looking at iface FastEthernet3/0/39
XXX: line 'FastEthernet3/0/39 unassigned YES unset down down' is down
XXX: FastEthernet3/0/39 not found in array
XXX: Adding FastEthernet3/0/39 to ports array
XXX: Looking at iface FastEthernet3/0/40
XXX: line 'FastEthernet3/0/40 unassigned YES unset up up' is up
XXX: FastEthernet3/0/40 not found in array
XXX: Looking at iface FastEthernet3/0/41
XXX: line 'FastEthernet3/0/41 unassigned YES unset down down' is down
XXX: FastEthernet3/0/41 not found in array
XXX: Adding FastEthernet3/0/41 to ports array
XXX: Looking at iface FastEthernet3/0/42
XXX: line 'FastEthernet3/0/42 unassigned YES unset down down' is down
XXX: FastEthernet3/0/42 not found in array
XXX: Adding FastEthernet3/0/42 to ports array
XXX: Looking at iface FastEthernet3/0/43
XXX: line 'FastEthernet3/0/43 unassigned YES unset down down' is down
XXX: FastEthernet3/0/43 not found in array
XXX: Adding FastEthernet3/0/43 to ports array
XXX: Looking at iface FastEthernet3/0/44
XXX: line 'FastEthernet3/0/44 unassigned YES unset down down' is down
XXX: FastEthernet3/0/44 not found in array
XXX: Adding FastEthernet3/0/44 to ports array
XXX: Looking at iface FastEthernet3/0/45
XXX: line 'FastEthernet3/0/45 unassigned YES unset up up' is up
XXX: FastEthernet3/0/45 not found in array
XXX: Looking at iface FastEthernet3/0/46
XXX: line 'FastEthernet3/0/46 unassigned YES unset up up' is up
XXX: FastEthernet3/0/46 not found in array
XXX: Looking at iface FastEthernet3/0/47
XXX: line 'FastEthernet3/0/47 unassigned YES unset down down' is down
XXX: FastEthernet3/0/47 not found in array
XXX: Adding FastEthernet3/0/47 to ports array
1287181296Process Forced Exit- MAXRUN timer expired.
    ("foreach" body line 1)
    invoked from within
"foreach line [split $result "\n"] {
    set line [string trim $line]
    regsub -all {\s+} $line " " line
    set elems [split $line]
    set iface [l..."
    invoked from within
"$slave eval $Contents"
    (procedure "eval_script" line 7)
    invoked from within
"eval_script slave $scriptname"
    invoked from within
"if {$security_level == 1} {       #untrusted script
     interp create -safe slave
     interp share {} stdin slave
     interp share {} stdout slave
..."
    (file "tmpsys:/lib/tcl/base.tcl" line 50)
Tcl policy execute failed: 1287181296Process Forced Exit- MAXRUN timer expired.

LOG FILE:

Oct 16 08:21:37: %HA_EM-6-LOG: tm_suspend_ports2.tcl : DEBUG(cli_lib) : OUT : FastEthernet1/0/1      unassigned      YES unset  up                    up   

Oct 16 08:21:37: %HA_EM-6-LOG: tm_suspend_ports2.tcl : DEBUG(cli_lib) : OUT : FastEthernet1/0/2      unassigned      YES unset  up                    up    
Oct 16 08:21:37: %HA_EM-6-LOG: tm_suspend_ports2.tcl : DEBUG(cli_lib) : OUT : FastEthernet1/0/3      unassigned      YES unset  down                  down  
Oct 16 08:21:37: %HA_EM-6-LOG: tm_suspend_ports2.tcl : DEBUG(cli_lib) : OUT : FastEthernet1/0/4      unassigned      YES unset  up                    up    
Oct 16 08:21:37: %HA_EM-6-LOG: tm_suspend_ports2.tcl : DEBUG(cli_lib) : OUT : FastEthernet1/0/5      unassigned      YES unset  up                    up    
Oct 16 08:21:37: %HA_EM-6-LOG: tm_suspend_ports2.tcl : DEBUG(cli_lib) : OUT : FastEthernet1/0/6      unassigned      YES unset  down                  down  
Oct 16 08:21:37: %HA_EM-6-LOG: tm_suspend_ports2.tcl : DEBUG(cli_lib) : OUT : FastEthernet1/0/7      unassigned      YES unset  up                    up    
Oct 16 08:21:37: %HA_EM-6-LOG: tm_suspend_ports2.tcl : DEBUG(cli_lib) : OUT : FastEthernet1/0/8      unassigned      YES unset  up                    up    
Oct 16 08:21:37: %HA_EM-6-LOG: tm_suspend_ports2.tcl : DEBUG(cli_lib) : OUT : FastEthernet1/0/9      unassigned      YES unset  up                    up    
Oct 16 08:21:37: %HA_EM-6-LOG: tm_suspend_ports2.tcl : DEBUG(cli_lib) : OUT : FastEthernet1/0/10     unassigned      YES unset  up                    up    
Oct 16 08:21:37: %HA_EM-6-LOG: tm_suspend_ports2.tcl : DEBUG(cli_lib) : OUT : FastEthernet1/0/11     unassigned      YES unset  up                    up    
Oct 16 08:21:37: %HA_EM-6-LOG: tm_suspend_ports2.tcl : DEBUG(cli_lib) : OUT : FastEthernet1/0/12     unassigned      YES unset  down                  down 

Oct 16 08:21:37: %HA_EM-6-LOG: tm_suspend_ports2.tcl : DEBUG(cli_lib) : OUT : FastEthernet1/0/13     unassigned      YES unset  down                  down  
Oct 16 08:21:37: %HA_EM-6-LOG: tm_suspend_ports2.tcl : DEBUG(cli_lib) : OUT : FastEthernet1/0/14     unassigned      YES unset  up                    up    
Oct 16 08:21:37: %HA_EM-6-LOG: tm_suspend_ports2.tcl : DEBUG(cli_lib) : OUT : FastEthernet1/0/15     unassigned      YES unset  up                    up    
Oct 16 08:21:37: %HA_EM-6-LOG: tm_suspend_ports2.tcl : DEBUG(cli_lib) : OUT : FastEthernet1/0/16     unassigned      YES unset  up                    up    
Oct 16 08:21:37: %HA_EM-6-LOG: tm_suspend_ports2.tcl : DEBUG(cli_lib) : OUT : FastEthernet1/0/17     unassigned      YES unset  up                    up    
Oct 16 08:21:37: %HA_EM-6-LOG: tm_suspend_ports2.tcl : DEBUG(cli_lib) : OUT : FastEthernet1/0/18     unassigned      YES unset  up                    up    
Oct 16 08:21:37: %HA_EM-6-LOG: tm_suspend_ports2.tcl : DEBUG(cli_lib) : OUT : FastEthernet1/0/19     unassigned      YES unset  down                  down  
Oct 16 08:21:37: %HA_EM-6-LOG: tm_suspend_ports2.tcl : DEBUG(cli_lib) : OUT : FastEthernet1/0/20     unassigned      YES unset  down                  down  
Oct 16 08:21:37: %HA_EM-6-LOG: tm_suspend_ports2.tcl : DEBUG(cli_lib) : CTL : 20+ lines read from cli_read, debug output truncated.
Oct 16 08:21:37: %HA_EM-6-LOG: tm_suspend_ports2.tcl : DEBUG(cli_lib) : CTL : cli_close called.

I have a feeling its truncating the good stuff. Is there a way to make it output everything and not truncate the rest of the lines or is that what the onscreen stuff from above is?

Joe Clarke
Hall of Fame Cisco Employee

Whoops, forgot to bump the maxrun time.  Try this version.  You do not need to leave debugging enabled.  The XXX output from the script will be sufficient.

The XXX output:

XXX: Looking at iface FastEthernet1/0/1
XXX: line 'FastEthernet1/0/1 unassigned YES unset up up' is up
XXX: FastEthernet1/0/1 not found in array
XXX: Looking at iface FastEthernet1/0/2
XXX: line 'FastEthernet1/0/2 unassigned YES unset up up' is up
XXX: FastEthernet1/0/2 not found in array
XXX: Looking at iface FastEthernet1/0/3
XXX: line 'FastEthernet1/0/3 unassigned YES unset down down' is down
XXX: FastEthernet1/0/3 not found in array
XXX: Adding FastEthernet1/0/3 to ports array
XXX: Looking at iface FastEthernet1/0/4
XXX: line 'FastEthernet1/0/4 unassigned YES unset up up' is up
XXX: FastEthernet1/0/4 not found in array
XXX: Looking at iface FastEthernet1/0/5
XXX: line 'FastEthernet1/0/5 unassigned YES unset up up' is up
XXX: FastEthernet1/0/5 not found in array
XXX: Looking at iface FastEthernet1/0/6
XXX: line 'FastEthernet1/0/6 unassigned YES unset down down' is down
XXX: FastEthernet1/0/6 not found in array
XXX: Adding FastEthernet1/0/6 to ports array
XXX: Looking at iface FastEthernet1/0/7
XXX: line 'FastEthernet1/0/7 unassigned YES unset up up' is up
XXX: FastEthernet1/0/7 not found in array
XXX: Looking at iface FastEthernet1/0/8
XXX: line 'FastEthernet1/0/8 unassigned YES unset up up' is up
XXX: FastEthernet1/0/8 not found in array
XXX: Looking at iface FastEthernet1/0/9
XXX: line 'FastEthernet1/0/9 unassigned YES unset up up' is up
XXX: FastEthernet1/0/9 not found in array
XXX: Looking at iface FastEthernet1/0/10
XXX: line 'FastEthernet1/0/10 unassigned YES unset up up' is up
XXX: FastEthernet1/0/10 not found in array
XXX: Looking at iface FastEthernet1/0/11
XXX: line 'FastEthernet1/0/11 unassigned YES unset up up' is up
XXX: FastEthernet1/0/11 not found in array
XXX: Looking at iface FastEthernet1/0/12
XXX: line 'FastEthernet1/0/12 unassigned YES unset down down' is down
XXX: FastEthernet1/0/12 not found in array
XXX: Adding FastEthernet1/0/12 to ports array
XXX: Looking at iface FastEthernet1/0/13
XXX: line 'FastEthernet1/0/13 unassigned YES unset down down' is down
XXX: FastEthernet1/0/13 not found in array
XXX: Adding FastEthernet1/0/13 to ports array
XXX: Looking at iface FastEthernet1/0/14
XXX: line 'FastEthernet1/0/14 unassigned YES unset up up' is up
XXX: FastEthernet1/0/14 not found in array
XXX: Looking at iface FastEthernet1/0/15
XXX: line 'FastEthernet1/0/15 unassigned YES unset up up' is up
XXX: FastEthernet1/0/15 not found in array
XXX: Looking at iface FastEthernet1/0/16
XXX: line 'FastEthernet1/0/16 unassigned YES unset up up' is up
XXX: FastEthernet1/0/16 not found in array
XXX: Looking at iface FastEthernet1/0/17
XXX: line 'FastEthernet1/0/17 unassigned YES unset up up' is up
XXX: FastEthernet1/0/17 not found in array
XXX: Looking at iface FastEthernet1/0/18
XXX: line 'FastEthernet1/0/18 unassigned YES unset up up' is up
XXX: FastEthernet1/0/18 not found in array
XXX: Looking at iface FastEthernet1/0/19
XXX: line 'FastEthernet1/0/19 unassigned YES unset down down' is down
XXX: FastEthernet1/0/19 not found in array
XXX: Adding FastEthernet1/0/19 to ports array
XXX: Looking at iface FastEthernet1/0/20
XXX: line 'FastEthernet1/0/20 unassigned YES unset down down' is down
XXX: FastEthernet1/0/20 not found in array
XXX: Adding FastEthernet1/0/20 to ports array
XXX: Looking at iface FastEthernet1/0/21
XXX: line 'FastEthernet1/0/21 unassigned YES unset down down' is down
XXX: FastEthernet1/0/21 not found in array
XXX: Adding FastEthernet1/0/21 to ports array
XXX: Looking at iface FastEthernet1/0/22
XXX: line 'FastEthernet1/0/22 unassigned YES unset up up' is up
XXX: FastEthernet1/0/22 not found in array
XXX: Looking at iface FastEthernet1/0/23
XXX: line 'FastEthernet1/0/23 unassigned YES unset down down' is down
XXX: FastEthernet1/0/23 not found in array
XXX: Adding FastEthernet1/0/23 to ports array
XXX: Looking at iface FastEthernet1/0/24
XXX: line 'FastEthernet1/0/24 unassigned YES unset down down' is down
XXX: FastEthernet1/0/24 not found in array
XXX: Adding FastEthernet1/0/24 to ports array
XXX: Looking at iface FastEthernet1/0/25
XXX: line 'FastEthernet1/0/25 unassigned YES unset down down' is down
XXX: FastEthernet1/0/25 not found in array
XXX: Adding FastEthernet1/0/25 to ports array
XXX: Looking at iface FastEthernet1/0/26
XXX: line 'FastEthernet1/0/26 unassigned YES unset up up' is up
XXX: FastEthernet1/0/26 not found in array
XXX: Looking at iface FastEthernet1/0/27
XXX: line 'FastEthernet1/0/27 unassigned YES unset up up' is up
XXX: FastEthernet1/0/27 not found in array
XXX: Looking at iface FastEthernet1/0/28
XXX: line 'FastEthernet1/0/28 unassigned YES unset up up' is up
XXX: FastEthernet1/0/28 not found in array
XXX: Looking at iface FastEthernet1/0/29
XXX: line 'FastEthernet1/0/29 unassigned YES unset down down' is down
XXX: FastEthernet1/0/29 not found in array
XXX: Adding FastEthernet1/0/29 to ports array
XXX: Looking at iface FastEthernet1/0/30
XXX: line 'FastEthernet1/0/30 unassigned YES unset down down' is down
XXX: FastEthernet1/0/30 not found in array
XXX: Adding FastEthernet1/0/30 to ports array
XXX: Looking at iface FastEthernet1/0/31
XXX: line 'FastEthernet1/0/31 unassigned YES unset down down' is down
XXX: FastEthernet1/0/31 not found in array
XXX: Adding FastEthernet1/0/31 to ports array
XXX: Looking at iface FastEthernet1/0/32
XXX: line 'FastEthernet1/0/32 unassigned YES unset down down' is down
XXX: FastEthernet1/0/32 not found in array
XXX: Adding FastEthernet1/0/32 to ports array
XXX: Looking at iface FastEthernet1/0/33
XXX: line 'FastEthernet1/0/33 unassigned YES unset up up' is up
XXX: FastEthernet1/0/33 not found in array
XXX: Looking at iface FastEthernet1/0/34
XXX: line 'FastEthernet1/0/34 unassigned YES unset up up' is up
XXX: FastEthernet1/0/34 not found in array
XXX: Looking at iface FastEthernet1/0/35
XXX: line 'FastEthernet1/0/35 unassigned YES unset up up' is up
XXX: FastEthernet1/0/35 not found in array
XXX: Looking at iface FastEthernet1/0/36
XXX: line 'FastEthernet1/0/36 unassigned YES unset down down' is down
XXX: FastEthernet1/0/36 not found in array
XXX: Adding FastEthernet1/0/36 to ports array
XXX: Looking at iface FastEthernet1/0/37
XXX: line 'FastEthernet1/0/37 unassigned YES unset up up' is up
XXX: FastEthernet1/0/37 not found in array
XXX: Looking at iface FastEthernet1/0/38
XXX: line 'FastEthernet1/0/38 unassigned YES unset down down' is down
XXX: FastEthernet1/0/38 not found in array
XXX: Adding FastEthernet1/0/38 to ports array
XXX: Looking at iface FastEthernet1/0/39
XXX: line 'FastEthernet1/0/39 unassigned YES unset down down' is down
XXX: FastEthernet1/0/39 not found in array
XXX: Adding FastEthernet1/0/39 to ports array
XXX: Looking at iface FastEthernet1/0/40
XXX: line 'FastEthernet1/0/40 unassigned YES unset down down' is down
XXX: FastEthernet1/0/40 not found in array
XXX: Adding FastEthernet1/0/40 to ports array
XXX: Looking at iface FastEthernet1/0/41
XXX: line 'FastEthernet1/0/41 unassigned YES unset up up' is up
XXX: FastEthernet1/0/41 not found in array
XXX: Looking at iface FastEthernet1/0/42
XXX: line 'FastEthernet1/0/42 unassigned YES unset down down' is down
XXX: FastEthernet1/0/42 not found in array
XXX: Adding FastEthernet1/0/42 to ports array
XXX: Looking at iface FastEthernet1/0/43
XXX: line 'FastEthernet1/0/43 unassigned YES unset down down' is down
XXX: FastEthernet1/0/43 not found in array
XXX: Adding FastEthernet1/0/43 to ports array
XXX: Looking at iface FastEthernet1/0/44
XXX: line 'FastEthernet1/0/44 unassigned YES unset up up' is up
XXX: FastEthernet1/0/44 not found in array
XXX: Looking at iface FastEthernet1/0/45
XXX: line 'FastEthernet1/0/45 unassigned YES unset up up' is up
XXX: FastEthernet1/0/45 not found in array
XXX: Looking at iface FastEthernet1/0/46
XXX: line 'FastEthernet1/0/46 unassigned YES unset down down' is down
XXX: FastEthernet1/0/46 not found in array
XXX: Adding FastEthernet1/0/46 to ports array
XXX: Looking at iface FastEthernet1/0/47
XXX: line 'FastEthernet1/0/47 unassigned YES unset up up' is up
XXX: FastEthernet1/0/47 not found in array
XXX: Looking at iface FastEthernet1/0/48
XXX: line 'FastEthernet1/0/48 unassigned YES unset down down' is down
XXX: FastEthernet1/0/48 not found in array
XXX: Adding FastEthernet1/0/48 to ports array
XXX: Looking at iface GigabitEthernet1/0/1
XXX: line 'GigabitEthernet1/0/1 unassigned YES unset up up' is up
XXX: GigabitEthernet1/0/1 not found in array
XXX: Looking at iface GigabitEthernet1/0/2
XXX: line 'GigabitEthernet1/0/2 unassigned YES unset administratively down down' is admin down
XXX: GigabitEthernet1/0/2 not found in array
XXX: Looking at iface GigabitEthernet1/0/3
XXX: line 'GigabitEthernet1/0/3 unassigned YES unset administratively down down' is admin down
XXX: GigabitEthernet1/0/3 not found in array
XXX: Looking at iface GigabitEthernet1/0/4
XXX: line 'GigabitEthernet1/0/4 unassigned YES unset administratively down down' is admin down
XXX: GigabitEthernet1/0/4 not found in array
XXX: Looking at iface FastEthernet2/0/1
XXX: line 'FastEthernet2/0/1 unassigned YES unset down down' is down
XXX: FastEthernet2/0/1 not found in array
XXX: Adding FastEthernet2/0/1 to ports array
XXX: Looking at iface FastEthernet2/0/2
XXX: line 'FastEthernet2/0/2 unassigned YES unset down down' is down
XXX: FastEthernet2/0/2 not found in array
XXX: Adding FastEthernet2/0/2 to ports array
XXX: Looking at iface FastEthernet2/0/3
XXX: line 'FastEthernet2/0/3 unassigned YES unset down down' is down
XXX: FastEthernet2/0/3 not found in array
XXX: Adding FastEthernet2/0/3 to ports array
XXX: Looking at iface FastEthernet2/0/4
XXX: line 'FastEthernet2/0/4 unassigned YES unset down down' is down
XXX: FastEthernet2/0/4 not found in array
XXX: Adding FastEthernet2/0/4 to ports array
XXX: Looking at iface FastEthernet2/0/5
XXX: line 'FastEthernet2/0/5 unassigned YES unset down down' is down
XXX: FastEthernet2/0/5 not found in array
XXX: Adding FastEthernet2/0/5 to ports array
XXX: Looking at iface FastEthernet2/0/6
XXX: line 'FastEthernet2/0/6 unassigned YES unset down down' is down
XXX: FastEthernet2/0/6 not found in array
XXX: Adding FastEthernet2/0/6 to ports array
XXX: Looking at iface FastEthernet2/0/7
XXX: line 'FastEthernet2/0/7 unassigned YES unset down down' is down
XXX: FastEthernet2/0/7 not found in array
XXX: Adding FastEthernet2/0/7 to ports array
XXX: Looking at iface FastEthernet2/0/8
XXX: line 'FastEthernet2/0/8 unassigned YES unset down down' is down
XXX: FastEthernet2/0/8 not found in array
XXX: Adding FastEthernet2/0/8 to ports array
XXX: Looking at iface FastEthernet2/0/9
XXX: line 'FastEthernet2/0/9 unassigned YES unset up up' is up
XXX: FastEthernet2/0/9 not found in array
XXX: Looking at iface FastEthernet2/0/10
XXX: line 'FastEthernet2/0/10 unassigned YES unset down down' is down
XXX: FastEthernet2/0/10 not found in array
XXX: Adding FastEthernet2/0/10 to ports array
XXX: Looking at iface FastEthernet2/0/11
XXX: line 'FastEthernet2/0/11 unassigned YES unset down down' is down
XXX: FastEthernet2/0/11 not found in array
XXX: Adding FastEthernet2/0/11 to ports array
XXX: Looking at iface FastEthernet2/0/12
XXX: line 'FastEthernet2/0/12 unassigned YES unset down down' is down
XXX: FastEthernet2/0/12 not found in array
XXX: Adding FastEthernet2/0/12 to ports array
XXX: Looking at iface FastEthernet2/0/13
XXX: line 'FastEthernet2/0/13 unassigned YES unset down down' is down
XXX: FastEthernet2/0/13 not found in array
XXX: Adding FastEthernet2/0/13 to ports array
XXX: Looking at iface FastEthernet2/0/14
XXX: line 'FastEthernet2/0/14 unassigned YES unset down down' is down
XXX: FastEthernet2/0/14 not found in array
XXX: Adding FastEthernet2/0/14 to ports array
XXX: Looking at iface FastEthernet2/0/15
XXX: line 'FastEthernet2/0/15 unassigned YES unset down down' is down
XXX: FastEthernet2/0/15 not found in array
XXX: Adding FastEthernet2/0/15 to ports array
XXX: Looking at iface FastEthernet2/0/16
XXX: line 'FastEthernet2/0/16 unassigned YES unset down down' is down
XXX: FastEthernet2/0/16 not found in array
XXX: Adding FastEthernet2/0/16 to ports array
XXX: Looking at iface FastEthernet2/0/17
XXX: line 'FastEthernet2/0/17 unassigned YES unset down down' is down
XXX: FastEthernet2/0/17 not found in array
XXX: Adding FastEthernet2/0/17 to ports array
XXX: Looking at iface FastEthernet2/0/18
XXX: line 'FastEthernet2/0/18 unassigned YES unset down down' is down
XXX: FastEthernet2/0/18 not found in array
XXX: Adding FastEthernet2/0/18 to ports array
XXX: Looking at iface FastEthernet2/0/19
XXX: line 'FastEthernet2/0/19 unassigned YES unset up up' is up
XXX: FastEthernet2/0/19 not found in array
XXX: Looking at iface FastEthernet2/0/20
XXX: line 'FastEthernet2/0/20 unassigned YES unset down down' is down
XXX: FastEthernet2/0/20 not found in array
XXX: Adding FastEthernet2/0/20 to ports array
XXX: Looking at iface FastEthernet2/0/21
XXX: line 'FastEthernet2/0/21 unassigned YES unset down down' is down
XXX: FastEthernet2/0/21 not found in array
XXX: Adding FastEthernet2/0/21 to ports array
XXX: Looking at iface FastEthernet2/0/22
XXX: line 'FastEthernet2/0/22 unassigned YES unset down down' is down
XXX: FastEthernet2/0/22 not found in array
XXX: Adding FastEthernet2/0/22 to ports array
XXX: Looking at iface FastEthernet2/0/23
XXX: line 'FastEthernet2/0/23 unassigned YES unset down down' is down
XXX: FastEthernet2/0/23 not found in array
XXX: Adding FastEthernet2/0/23 to ports array
XXX: Looking at iface FastEthernet2/0/24
XXX: line 'FastEthernet2/0/24 unassigned YES unset up up' is up
XXX: FastEthernet2/0/24 not found in array
XXX: Looking at iface FastEthernet2/0/25
XXX: line 'FastEthernet2/0/25 unassigned YES unset down down' is down
XXX: FastEthernet2/0/25 not found in array
XXX: Adding FastEthernet2/0/25 to ports array
XXX: Looking at iface FastEthernet2/0/26
XXX: line 'FastEthernet2/0/26 unassigned YES unset down down' is down
XXX: FastEthernet2/0/26 not found in array
XXX: Adding FastEthernet2/0/26 to ports array
XXX: Looking at iface FastEthernet2/0/27
XXX: line 'FastEthernet2/0/27 unassigned YES unset down down' is down
XXX: FastEthernet2/0/27 not found in array
XXX: Adding FastEthernet2/0/27 to ports array
XXX: Looking at iface FastEthernet2/0/28
XXX: line 'FastEthernet2/0/28 unassigned YES unset down down' is down
XXX: FastEthernet2/0/28 not found in array
XXX: Adding FastEthernet2/0/28 to ports array
XXX: Looking at iface FastEthernet2/0/29
XXX: line 'FastEthernet2/0/29 unassigned YES unset down down' is down
XXX: FastEthernet2/0/29 not found in array
XXX: Adding FastEthernet2/0/29 to ports array
XXX: Looking at iface FastEthernet2/0/30
XXX: line 'FastEthernet2/0/30 unassigned YES unset down down' is down
XXX: FastEthernet2/0/30 not found in array
XXX: Adding FastEthernet2/0/30 to ports array
XXX: Looking at iface FastEthernet2/0/31
XXX: line 'FastEthernet2/0/31 unassigned YES unset down down' is down
XXX: FastEthernet2/0/31 not found in array
XXX: Adding FastEthernet2/0/31 to ports array
XXX: Looking at iface FastEthernet2/0/32
XXX: line 'FastEthernet2/0/32 unassigned YES unset up up' is up
XXX: FastEthernet2/0/32 not found in array
XXX: Looking at iface FastEthernet2/0/33
XXX: line 'FastEthernet2/0/33 unassigned YES unset down down' is down
XXX: FastEthernet2/0/33 not found in array
XXX: Adding FastEthernet2/0/33 to ports array
XXX: Looking at iface FastEthernet2/0/34
XXX: line 'FastEthernet2/0/34 unassigned YES unset down down' is down
XXX: FastEthernet2/0/34 not found in array
XXX: Adding FastEthernet2/0/34 to ports array
XXX: Looking at iface FastEthernet2/0/35
XXX: line 'FastEthernet2/0/35 unassigned YES unset down down' is down
XXX: FastEthernet2/0/35 not found in array
XXX: Adding FastEthernet2/0/35 to ports array
XXX: Looking at iface FastEthernet2/0/36
XXX: line 'FastEthernet2/0/36 unassigned YES unset down down' is down
XXX: FastEthernet2/0/36 not found in array
XXX: Adding FastEthernet2/0/36 to ports array
XXX: Looking at iface FastEthernet2/0/37
XXX: line 'FastEthernet2/0/37 unassigned YES unset down down' is down
XXX: FastEthernet2/0/37 not found in array
XXX: Adding FastEthernet2/0/37 to ports array
XXX: Looking at iface FastEthernet2/0/38
XXX: line 'FastEthernet2/0/38 unassigned YES unset down down' is down
XXX: FastEthernet2/0/38 not found in array
XXX: Adding FastEthernet2/0/38 to ports array
XXX: Looking at iface FastEthernet2/0/39
XXX: line 'FastEthernet2/0/39 unassigned YES unset up up' is up
XXX: FastEthernet2/0/39 not found in array
XXX: Looking at iface FastEthernet2/0/40
XXX: line 'FastEthernet2/0/40 unassigned YES unset up up' is up
XXX: FastEthernet2/0/40 not found in array
XXX: Looking at iface FastEthernet2/0/41
XXX: line 'FastEthernet2/0/41 unassigned YES unset down down' is down
XXX: FastEthernet2/0/41 not found in array
XXX: Adding FastEthernet2/0/41 to ports array
XXX: Looking at iface FastEthernet2/0/42
XXX: line 'FastEthernet2/0/42 unassigned YES unset down down' is down
XXX: FastEthernet2/0/42 not found in array
XXX: Adding FastEthernet2/0/42 to ports array
XXX: Looking at iface FastEthernet2/0/43
XXX: line 'FastEthernet2/0/43 unassigned YES unset down down' is down
XXX: FastEthernet2/0/43 not found in array
XXX: Adding FastEthernet2/0/43 to ports array
XXX: Looking at iface FastEthernet2/0/44
XXX: line 'FastEthernet2/0/44 unassigned YES unset down down' is down
XXX: FastEthernet2/0/44 not found in array
XXX: Adding FastEthernet2/0/44 to ports array
XXX: Looking at iface FastEthernet2/0/45
XXX: line 'FastEthernet2/0/45 unassigned YES unset up up' is up
XXX: FastEthernet2/0/45 not found in array
XXX: Looking at iface FastEthernet2/0/46
XXX: line 'FastEthernet2/0/46 unassigned YES unset up up' is up
XXX: FastEthernet2/0/46 not found in array
XXX: Looking at iface FastEthernet2/0/47
XXX: line 'FastEthernet2/0/47 unassigned YES unset up up' is up
XXX: FastEthernet2/0/47 not found in array
XXX: Looking at iface FastEthernet2/0/48
XXX: line 'FastEthernet2/0/48 unassigned YES unset up up' is up
XXX: FastEthernet2/0/48 not found in array
XXX: Looking at iface GigabitEthernet2/0/1
XXX: line 'GigabitEthernet2/0/1 unassigned YES unset administratively down down' is admin down
XXX: GigabitEthernet2/0/1 not found in array
XXX: Looking at iface GigabitEthernet2/0/2
XXX: line 'GigabitEthernet2/0/2 unassigned YES unset administratively down down' is admin down
XXX: GigabitEthernet2/0/2 not found in array
XXX: Looking at iface GigabitEthernet2/0/3
XXX: line 'GigabitEthernet2/0/3 unassigned YES unset administratively down down' is admin down
XXX: GigabitEthernet2/0/3 not found in array
XXX: Looking at iface GigabitEthernet2/0/4
XXX: line 'GigabitEthernet2/0/4 unassigned YES unset administratively down down' is admin down
XXX: GigabitEthernet2/0/4 not found in array
XXX: Looking at iface FastEthernet3/0/1
XXX: line 'FastEthernet3/0/1 unassigned YES unset up up' is up
XXX: FastEthernet3/0/1 not found in array
XXX: Looking at iface FastEthernet3/0/2
XXX: line 'FastEthernet3/0/2 unassigned YES unset down down' is down
XXX: FastEthernet3/0/2 not found in array
XXX: Adding FastEthernet3/0/2 to ports array
XXX: Looking at iface FastEthernet3/0/3
XXX: line 'FastEthernet3/0/3 unassigned YES unset up up' is up
XXX: FastEthernet3/0/3 not found in array
XXX: Looking at iface FastEthernet3/0/4
XXX: line 'FastEthernet3/0/4 unassigned YES unset down down' is down
XXX: FastEthernet3/0/4 not found in array
XXX: Adding FastEthernet3/0/4 to ports array
XXX: Looking at iface FastEthernet3/0/5
XXX: line 'FastEthernet3/0/5 unassigned YES unset up up' is up
XXX: FastEthernet3/0/5 not found in array
XXX: Looking at iface FastEthernet3/0/6
XXX: line 'FastEthernet3/0/6 unassigned YES unset up up' is up
XXX: FastEthernet3/0/6 not found in array
XXX: Looking at iface FastEthernet3/0/7
XXX: line 'FastEthernet3/0/7 unassigned YES unset up up' is up
XXX: FastEthernet3/0/7 not found in array
XXX: Looking at iface FastEthernet3/0/8
XXX: line 'FastEthernet3/0/8 unassigned YES unset up up' is up
XXX: FastEthernet3/0/8 not found in array
XXX: Looking at iface FastEthernet3/0/9
XXX: line 'FastEthernet3/0/9 unassigned YES unset down down' is down
XXX: FastEthernet3/0/9 not found in array
XXX: Adding FastEthernet3/0/9 to ports array
XXX: Looking at iface FastEthernet3/0/10
XXX: line 'FastEthernet3/0/10 unassigned YES unset down down' is down
XXX: FastEthernet3/0/10 not found in array
XXX: Adding FastEthernet3/0/10 to ports array
XXX: Looking at iface FastEthernet3/0/11
XXX: line 'FastEthernet3/0/11 unassigned YES unset down down' is down
XXX: FastEthernet3/0/11 not found in array
XXX: Adding FastEthernet3/0/11 to ports array
XXX: Looking at iface FastEthernet3/0/12
XXX: line 'FastEthernet3/0/12 unassigned YES unset up up' is up
XXX: FastEthernet3/0/12 not found in array
XXX: Looking at iface FastEthernet3/0/13
XXX: line 'FastEthernet3/0/13 unassigned YES unset down down' is down
XXX: FastEthernet3/0/13 not found in array
XXX: Adding FastEthernet3/0/13 to ports array
XXX: Looking at iface FastEthernet3/0/14
XXX: line 'FastEthernet3/0/14 unassigned YES unset down down' is down
XXX: FastEthernet3/0/14 not found in array
XXX: Adding FastEthernet3/0/14 to ports array
XXX: Looking at iface FastEthernet3/0/15
XXX: line 'FastEthernet3/0/15 unassigned YES unset up up' is up
XXX: FastEthernet3/0/15 not found in array
XXX: Looking at iface FastEthernet3/0/16
XXX: line 'FastEthernet3/0/16 unassigned YES unset down down' is down
XXX: FastEthernet3/0/16 not found in array
XXX: Adding FastEthernet3/0/16 to ports array
XXX: Looking at iface FastEthernet3/0/17
XXX: line 'FastEthernet3/0/17 unassigned YES unset down down' is down
XXX: FastEthernet3/0/17 not found in array
XXX: Adding FastEthernet3/0/17 to ports array
XXX: Looking at iface FastEthernet3/0/18
XXX: line 'FastEthernet3/0/18 unassigned YES unset up up' is up
XXX: FastEthernet3/0/18 not found in array
XXX: Looking at iface FastEthernet3/0/19
XXX: line 'FastEthernet3/0/19 unassigned YES unset down down' is down
XXX: FastEthernet3/0/19 not found in array
XXX: Adding FastEthernet3/0/19 to ports array
XXX: Looking at iface FastEthernet3/0/20
XXX: line 'FastEthernet3/0/20 unassigned YES unset up up' is up
XXX: FastEthernet3/0/20 not found in array
XXX: Looking at iface FastEthernet3/0/21
XXX: line 'FastEthernet3/0/21 unassigned YES unset down down' is down
XXX: FastEthernet3/0/21 not found in array
XXX: Adding FastEthernet3/0/21 to ports array
XXX: Looking at iface FastEthernet3/0/22
XXX: line 'FastEthernet3/0/22 unassigned YES unset down down' is down
XXX: FastEthernet3/0/22 not found in array
XXX: Adding FastEthernet3/0/22 to ports array
XXX: Looking at iface FastEthernet3/0/23
XXX: line 'FastEthernet3/0/23 unassigned YES unset down down' is down
XXX: FastEthernet3/0/23 not found in array
XXX: Adding FastEthernet3/0/23 to ports array
XXX: Looking at iface FastEthernet3/0/24
XXX: line 'FastEthernet3/0/24 unassigned YES unset up up' is up
XXX: FastEthernet3/0/24 not found in array
XXX: Looking at iface FastEthernet3/0/25
XXX: line 'FastEthernet3/0/25 unassigned YES unset up up' is up
XXX: FastEthernet3/0/25 not found in array
XXX: Looking at iface FastEthernet3/0/26
XXX: line 'FastEthernet3/0/26 unassigned YES unset down down' is down
XXX: FastEthernet3/0/26 not found in array
XXX: Adding FastEthernet3/0/26 to ports array
XXX: Looking at iface FastEthernet3/0/27
XXX: line 'FastEthernet3/0/27 unassigned YES unset up up' is up
XXX: FastEthernet3/0/27 not found in array
XXX: Looking at iface FastEthernet3/0/28
XXX: line 'FastEthernet3/0/28 unassigned YES unset down down' is down
XXX: FastEthernet3/0/28 not found in array
XXX: Adding FastEthernet3/0/28 to ports array
XXX: Looking at iface FastEthernet3/0/29
XXX: line 'FastEthernet3/0/29 unassigned YES unset up up' is up
XXX: FastEthernet3/0/29 not found in array
XXX: Looking at iface FastEthernet3/0/30
XXX: line 'FastEthernet3/0/30 unassigned YES unset down down' is down
XXX: FastEthernet3/0/30 not found in array
XXX: Adding FastEthernet3/0/30 to ports array
XXX: Looking at iface FastEthernet3/0/31
XXX: line 'FastEthernet3/0/31 unassigned YES unset down down' is down
XXX: FastEthernet3/0/31 not found in array
XXX: Adding FastEthernet3/0/31 to ports array
XXX: Looking at iface FastEthernet3/0/32
XXX: line 'FastEthernet3/0/32 unassigned YES unset down down' is down
XXX: FastEthernet3/0/32 not found in array
XXX: Adding FastEthernet3/0/32 to ports array
XXX: Looking at iface FastEthernet3/0/33
XXX: line 'FastEthernet3/0/33 unassigned YES unset up up' is up
XXX: FastEthernet3/0/33 not found in array
XXX: Looking at iface FastEthernet3/0/34
XXX: line 'FastEthernet3/0/34 unassigned YES unset up up' is up
XXX: FastEthernet3/0/34 not found in array
XXX: Looking at iface FastEthernet3/0/35
XXX: line 'FastEthernet3/0/35 unassigned YES unset down down' is down
XXX: FastEthernet3/0/35 not found in array
XXX: Adding FastEthernet3/0/35 to ports array
XXX: Looking at iface FastEthernet3/0/36
XXX: line 'FastEthernet3/0/36 unassigned YES unset down down' is down
XXX: FastEthernet3/0/36 not found in array
XXX: Adding FastEthernet3/0/36 to ports array
XXX: Looking at iface FastEthernet3/0/37
XXX: line 'FastEthernet3/0/37 unassigned YES unset down down' is down
XXX: FastEthernet3/0/37 not found in array
XXX: Adding FastEthernet3/0/37 to ports array
XXX: Looking at iface FastEthernet3/0/38
XXX: line 'FastEthernet3/0/38 unassigned YES unset down down' is down
XXX: FastEthernet3/0/38 not found in array
XXX: Adding FastEthernet3/0/38 to ports array
XXX: Looking at iface FastEthernet3/0/39
XXX: line 'FastEthernet3/0/39 unassigned YES unset down down' is down
XXX: FastEthernet3/0/39 not found in array
XXX: Adding FastEthernet3/0/39 to ports array
XXX: Looking at iface FastEthernet3/0/40
XXX: line 'FastEthernet3/0/40 unassigned YES unset up up' is up
XXX: FastEthernet3/0/40 not found in array
XXX: Looking at iface FastEthernet3/0/41
XXX: line 'FastEthernet3/0/41 unassigned YES unset down down' is down
XXX: FastEthernet3/0/41 not found in array
XXX: Adding FastEthernet3/0/41 to ports array
XXX: Looking at iface FastEthernet3/0/42
XXX: line 'FastEthernet3/0/42 unassigned YES unset down down' is down
XXX: FastEthernet3/0/42 not found in array
XXX: Adding FastEthernet3/0/42 to ports array
XXX: Looking at iface FastEthernet3/0/43
XXX: line 'FastEthernet3/0/43 unassigned YES unset down down' is down
XXX: FastEthernet3/0/43 not found in array
XXX: Adding FastEthernet3/0/43 to ports array
XXX: Looking at iface FastEthernet3/0/44
XXX: line 'FastEthernet3/0/44 unassigned YES unset down down' is down
XXX: FastEthernet3/0/44 not found in array
XXX: Adding FastEthernet3/0/44 to ports array
XXX: Looking at iface FastEthernet3/0/45
XXX: line 'FastEthernet3/0/45 unassigned YES unset up up' is up
XXX: FastEthernet3/0/45 not found in array
XXX: Looking at iface FastEthernet3/0/46
XXX: line 'FastEthernet3/0/46 unassigned YES unset up up' is up
XXX: FastEthernet3/0/46 not found in array
XXX: Looking at iface FastEthernet3/0/47
XXX: line 'FastEthernet3/0/47 unassigned YES unset down down' is down
XXX: FastEthernet3/0/47 not found in array
XXX: Adding FastEthernet3/0/47 to ports array
XXX: Looking at iface FastEthernet3/0/48
XXX: line 'FastEthernet3/0/48 unassigned YES unset down down' is down
XXX: FastEthernet3/0/48 not found in array
XXX: Adding FastEthernet3/0/48 to ports array
XXX: Looking at iface GigabitEthernet3/0/1
XXX: line 'GigabitEthernet3/0/1 unassigned YES unset administratively down down' is admin down
XXX: GigabitEthernet3/0/1 not found in array
XXX: Looking at iface GigabitEthernet3/0/2
XXX: line 'GigabitEthernet3/0/2 unassigned YES unset administratively down down' is admin down
XXX: GigabitEthernet3/0/2 not found in array
XXX: Looking at iface GigabitEthernet3/0/3
XXX: line 'GigabitEthernet3/0/3 unassigned YES unset administratively down down' is admin down
XXX: GigabitEthernet3/0/3 not found in array
XXX: Looking at iface GigabitEthernet3/0/4
XXX: line 'GigabitEthernet3/0/4 unassigned YES unset administratively down down' is admin down
XXX: GigabitEthernet3/0/4 not found in array
XXX: Looking at iface EBN-23002-3#
XXX: Line 'EBN-23002-3#' is not valid

Joe Clarke
Hall of Fame Cisco Employee

I believe this version will fix the problem.

I've attached the output for that one.

Joe Clarke
Hall of Fame Cisco Employee

It's working, but you'll either need to wait for tomorrow, or load the dat file you attached to this thread a few days ago to see ports get shutdown.  In the meantime, where is the script with all debugging removed and the original ED line restored.

The original script is still on the switch. I loaded the old .bat file but it didn't disable the ports. So I will wait until tomorrow to see what happens. Should I take all but the original script off the switch or can I leave the debugging script with the XXX outputs on there?

Joe Clarke
Hall of Fame Cisco Employee

If you take the latest script with the XXX code, copy .dat file from a few days ago, and run the script, the ports should shutdown.  Alternatively, you can load the latest script I just sent with all of the debugging removed, wait until tomorrow, and all of the down ports should be shutdown.

Ok. I copied the .dat from a few days ago and ran the XXX script and got this in the log but still didn't shut down. I will load the script that you just posted and wait until tomorrow unless this output tells you anything:

Oct 16 10:03:37: %HA_EM-6-LOG: tm_suspend_ports4.tcl: Shutting down port FastEthernet3/0/9 since it was last used on Tue Oct 12 00:00:01 guam 2010

Oct 16 10:03:37: %HA_EM-6-LOG: tm_suspend_ports4.tcl: Shutting down port FastEthernet2/0/20 since it was last used on Tue Oct 12 00:00:01 guam 2010

Oct 16 10:03:37: %HA_EM-6-LOG: tm_suspend_ports4.tcl: Shutting down port FastEthernet2/0/21 since it was last used on Tue Oct 12 00:00:01 guam 2010

Oct 16 10:03:37: %HA_EM-6-LOG: tm_suspend_ports4.tcl: Shutting down port FastEthernet3/0/47 since it was last used on Tue Oct 12 00:00:01 guam 2010

Oct 16 10:03:37: %HA_EM-6-LOG: tm_suspend_ports4.tcl: Shutting down port FastEthernet2/0/22 since it was last used on Tue Oct 12 00:00:01 guam 2010

Oct 16 10:03:37: %HA_EM-6-LOG: tm_suspend_ports4.tcl: Shutting down port FastEthernet3/0/48 since it was last used on Tue Oct 12 00:00:01 guam 2010

Oct 16 10:03:37: %HA_EM-6-LOG: tm_suspend_ports4.tcl: Shutting down port FastEthernet2/0/23 since it was last used on Tue Oct 12 00:00:01 guam 2010

Oct 16 10:03:37: %HA_EM-6-LOG: tm_suspend_ports4.tcl: Shutting down port FastEthernet2/0/25 since it was last used on Tue Oct 12 00:00:01 guam 2010

Oct 16 10:03:37: %HA_EM-6-LOG: tm_suspend_ports4.tcl: Shutting down port FastEthernet2/0/26 since it was last used on Tue Oct 12 00:00:01 guam 2010

Oct 16 10:03:37: %HA_EM-6-LOG: tm_suspend_ports4.tcl: Shutting down port FastEthernet2/0/27 since it was last used on Tue Oct 12 00:00:01 guam 2010

Oct 16 10:03:37: %HA_EM-6-LOG: tm_suspend_ports4.tcl: Shutting down port FastEthernet2/0/28 since it was last used on Tue Oct 12 00:00:01 guam 2010

I just checked the log and go this: It looks like its trying to disable the ports but it doesn't.

Oct 16 10:03:37: %HA_EM-6-LOG: tm_suspend_ports4.tcl: Shutting down port FastEthernet3/0/9 since it was last used on Tue Oct 12 00:00:01 guam 2010
Oct 16 10:03:37: %HA_EM-6-LOG: tm_suspend_ports4.tcl: Shutting down port FastEthernet2/0/20 since it was last used on Tue Oct 12 00:00:01 guam 2010
Oct 16 10:03:37: %HA_EM-6-LOG: tm_suspend_ports4.tcl: Shutting down port FastEthernet2/0/21 since it was last used on Tue Oct 12 00:00:01 guam 2010
Oct 16 10:03:37: %HA_EM-6-LOG: tm_suspend_ports4.tcl: Shutting down port FastEthernet3/0/47 since it was last used on Tue Oct 12 00:00:01 guam 2010
Oct 16 10:03:37: %HA_EM-6-LOG: tm_suspend_ports4.tcl: Shutting down port FastEthernet2/0/22 since it was last used on Tue Oct 12 00:00:01 guam 2010
Oct 16 10:03:37: %HA_EM-6-LOG: tm_suspend_ports4.tcl: Shutting down port FastEthernet3/0/48 since it was last used on Tue Oct 12 00:00:01 guam 2010
Oct 16 10:03:37: %HA_EM-6-LOG: tm_suspend_ports4.tcl: Shutting down port FastEthernet2/0/23 since it was last used on Tue Oct 12 00:00:01 guam 2010
Oct 16 10:03:37: %HA_EM-6-LOG: tm_suspend_ports4.tcl: Shutting down port FastEthernet2/0/25 since it was last used on Tue Oct 12 00:00:01 guam 2010
Oct 16 10:03:37: %HA_EM-6-LOG: tm_suspend_ports4.tcl: Shutting down port FastEthernet2/0/26 since it was last used on Tue Oct 12 00:00:01 guam 2010
Oct 16 10:03:37: %HA_EM-6-LOG: tm_suspend_ports4.tcl: Shutting down port FastEthernet2/0/27 since it was last used on Tue Oct 12 00:00:01 guam 2010
Oct 16 10:03:37: %HA_EM-6-LOG: tm_suspend_ports4.tcl: Shutting down port FastEthernet2/0/28 since it was last used on Tue Oct 12 00:00:01 guam 2010

Joe Clarke
Hall of Fame Cisco Employee

Re-enable "debug event manager tcl cli", test the script, and post the output.

Here it is: This is just a snippit. I was going to take out the {} but I didn't want to screw up the script.

Oct 16 10:54:20: %HA_EM-6-LOG: tm_suspend_ports4.tcl : DEBUG(cli_lib) : IN : EBN-23002-3(config)#{interface FastEthernet2/0/27} shut

Oct 16 10:54:20: %HA_EM-6-LOG: tm_suspend_ports4.tcl : DEBUG(cli_lib) : OUT : ^

Oct 16 10:54:20: %HA_EM-6-LOG: tm_suspend_ports4.tcl : DEBUG(cli_lib) : OUT : % Invalid input detected at '^' marker.

Oct 16 10:54:20: %HA_EM-6-LOG: tm_suspend_ports4.tcl : DEBUG(cli_lib) : OUT :

Oct 16 10:54:20: %HA_EM-6-LOG: tm_suspend_ports4.tcl : DEBUG(cli_lib) : OUT : EBN-23002-3(config)#

Oct 16 10:54:20: %HA_EM-6-LOG: tm_suspend_ports4.tcl : DEBUG(cli_lib) : IN : EBN-23002-3(config)#{interface FastEthernet2/0/28} shut

Oct 16 10:54:20: %HA_EM-6-LOG: tm_suspend_ports4.tcl : DEBUG(cli_lib) : OUT : ^

Oct 16 10:54:20: %HA_EM-6-LOG: tm_suspend_ports4.tcl : DEBUG(cli_lib) : OUT : % Invalid input detected at '^' marker.