05.07.2013 Views

PFC - Jose Maria Zapardiel Gonzalo.pdf - E-Archivo UC3M ...

PFC - Jose Maria Zapardiel Gonzalo.pdf - E-Archivo UC3M ...

PFC - Jose Maria Zapardiel Gonzalo.pdf - E-Archivo UC3M ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

46<br />

42 echo ” l o g o u t ” ) | telnet >> salida . txt<br />

43<br />

44 echo ”DSLAM i n i c i a l i z a d o ”<br />

1<br />

2 #! / bin / bash<br />

3<br />

4 linea10=0<br />

5 ident=0<br />

6<br />

7 echo ”Creando l o s p e r f i l e s de QoS”<br />

8<br />

Script 2: Creación de los abonados<br />

9 ( echo ” open 1 9 2 . 1 6 8 . 0 . 1 0 ”<br />

10 sleep 1<br />

11 echo ” isadmin ”<br />

12 sleep 1<br />

13 echo ”ANS#150”<br />

14 sleep 1<br />

15 echo ” c o n f i g u r e qos p r o f i l e s p o l i c e r 1M committed−i n f o −r a t e 1024 committed−burst−s i z e ←↪<br />

1024 ”<br />

16 sleep 1<br />

17 echo ” c o n f i g u r e qos p r o f i l e s p o l i c e r 3M committed−i n f o −r a t e 3072 committed−burst−s i z e ←↪<br />

3072 ”<br />

18 sleep 1<br />

19 echo ” c o n f i g u r e qos p r o f i l e s p o l i c e r 6M committed−i n f o −r a t e 6144 committed−burst−s i z e ←↪<br />

6144 ”<br />

20 sleep 1<br />

21 echo ” c o n f i g u r e qos p r o f i l e s p o l i c e r 8M committed−i n f o −r a t e 8192 committed−burst−s i z e ←↪<br />

8192 ”<br />

22 sleep 1<br />

23 echo ” c o n f i g u r e qos p r o f i l e s s e s s i o n datos up−p o l i c e r name : 1M down−p o l i c e r name : 3M ←↪<br />

l o g i c a l −flow−type pvc ”<br />

24 sleep 1<br />

25 echo ” c o n f i g u r e qos p r o f i l e s s e s s i o n voz up−p o l i c e r name : 1M down−p o l i c e r name : 6M ←↪<br />

l o g i c a l −flow−type pvc ”<br />

26 sleep 1<br />

27 echo ” c o n f i g u r e qos p r o f i l e s s e s s i o n vídeo up−p o l i c e r name : 1M down−p o l i c e r name : 8M ←↪<br />

l o g i c a l −flow−type pvc ”<br />

28 sleep 1<br />

29 echo ” l o g o u t ” ) | telnet >> salida . txt<br />

30<br />

31 echo ” Creados l o s p e r f i l e s de QoS”<br />

32<br />

33<br />

34 for ( ( linea =29; linea

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!