[c-nsp] script to rapply policy map

lee.e.rian at census.gov lee.e.rian at census.gov
Fri Feb 3 11:03:37 EST 2006


If you don't mind a script with zero error-checking

(echo "password"
echo "en"
echo "password"
echo "conf t"
echo "int fastethernet 0/17"
echo "no service-policy input TOD"
echo "service-policy input TOD"
echo "end"
echo "exit" ) | telnet 192.168.71.56

Regards,
Lee

Atiqur Rahman Mohammed <atiqurrahman.mohammed at gmail.com> wrote on
02/03/2006 10:13:22 AM:

> Can anyone help in writing to a script to telnet a switch and reappy
> to sevice polocy.
>
> Following are the steps:
>
> telnet 192.168.71.56
> password
> en
> password
> conf t
> int fastethernet 0/17
> no service-policy input TOD
> service-policy input TOD
> end
> exit
>
>
> --
> Regards,
> Atiqur Rahman
> Infocomm Technology Cente
> Reliance Infocomm
> Mobile: 09324621784
>
> _______________________________________________
> cisco-nsp mailing list  cisco-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/



More information about the cisco-nsp mailing list