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