expect -exact "#" { send "exit\r" }
expect -exact "#" { send "ip route 192.168.$sub.0 255.255.255.0 Vlan192\r" }
expect -exact "#" { send "exit\r" }
expect -exact "#" { send "ip route 192.168.$sub.0 255.255.255.0 Vlan192\r" }
expect -exact "#" { send "ip route 192.168.$sub.101 255.255.255.255 Vlan10\r" }
expect -exact "#" { send "ip route 192.168.0.0 255.255.255.0 192.168.$sub.230\r" }
expect -exact "#" { send "exit\r" }
expect -exact "#" { send "ip route 192.168.$sub.101 255.255.255.255 Vlan10\r" }
expect -exact "#" { send "ip route 192.168.0.0 255.255.255.0 192.168.$sub.230\r" }
expect -exact "#" { send "exit\r" }