AGREGADOR TELLABS - User password change template

AGREGADOR TELLABS - Privilege 31/NWADM - User password change template

Vendor: Coriant
Product: Agregador tellabs
Executor: Tk Expect

use telnet script
expect "*name:*"
send -- "[#AUTH_USER#]\r"

expect "*password:*"
send -- "[#COE_SENHA#]\r"

expect "*>*"
send -- "enable\r"
send -- "username [#USERNAME#] privilege 31 description [#USERNAME#]\r"

expect "*type password:"
send -- "[#NEW_PASSWORD#]\r"

expect "*retype password:"
send -- "[#NEW_PASSWORD#]\r"

expect "*#"
send -- "quit\r"