We have a UCS5108AC chassis with 2 2104XP I/O modules and 1 B200 M1 Server. We recently purchased 2 UCSB-PSU-2500ACDV power supplies. We are wanting to use the 110v capability off of the new power supplies. My question is will this work. The only...
Thanks for letting me know about the typo. It still didn't work the way I had it before so this is what I did and now it is working, sort of. I notice that it does not keep the description that each port had the same. It over writes it sometimes w...
I still get the same error.
set cli [list "config t"] foreach port [array name suspend_ports] { set output [run_cli [list "show int $port switchport | inc Access Mode VLAN" "show int $port | inc Description:"]] if{!regexp {Description: ([^\r]+)} $...
This is what I have now:
set cli [list "config t"]
foreach port [array name suspend_ports] {
set output [run_cli [list "show int $port switchport | inc Access Mode VLAN" "show int $port | inc Description:"]]
if { ! [regexp {Access Mode VLAN: NUM} $ou...
Thanks for the information. I put this into my script and it now only shutdowns that interface only and not the others. This is how I implemented it.
set cli [list "config t"]
foreach port [array name suspend_ports] {
set output [run cli [list "sho...
Joe,
This is what I currently have:
set cli [concat $cli [list "interface $port" "shut" "switchport access vlan XXX" "description Script Generated Shutdown"]]
I am wanting to retain the original description to the port and add the rest of the descrip...