usr/local/bin/custom/poe.sh aktualisiert
This commit is contained in:
@@ -31,10 +31,10 @@ expect {
|
|||||||
}
|
}
|
||||||
send "configure terminal\r"
|
send "configure terminal\r"
|
||||||
expect "(config)#"
|
expect "(config)#"
|
||||||
send "interface $port\r"
|
send "interface $switch_port\r"
|
||||||
expect "(eth-$port)#"
|
expect "(eth-$switch_port)#"
|
||||||
send "no power-over-ethernet\r"
|
send "no power-over-ethernet\r"
|
||||||
expect "(eth-$port)#"
|
expect "(eth-$switch_port)#"
|
||||||
send "exit\r"
|
send "exit\r"
|
||||||
expect "(config)#"
|
expect "(config)#"
|
||||||
send "exit\r"
|
send "exit\r"
|
||||||
@@ -63,10 +63,10 @@ expect {
|
|||||||
}
|
}
|
||||||
send "configure terminal\r"
|
send "configure terminal\r"
|
||||||
expect "(config)#"
|
expect "(config)#"
|
||||||
send "interface $port\r"
|
send "interface $switch_port\r"
|
||||||
expect "(eth-$port)#"
|
expect "(eth-$switch_port)#"
|
||||||
send "power-over-ethernet\r"
|
send "power-over-ethernet\r"
|
||||||
expect "(eth-$port)#"
|
expect "(eth-$switch_port)#"
|
||||||
send "exit\r"
|
send "exit\r"
|
||||||
expect "(config)#"
|
expect "(config)#"
|
||||||
send "exit\r"
|
send "exit\r"
|
||||||
|
|||||||
Reference in New Issue
Block a user