[Tutor] Print list vs telnetlib.telnet.write differences

Python python at venix.com
Tue Mar 7 03:52:25 CET 2006


On Tue, 2006-03-07 at 11:31 +1000, STREET Gideon (SPARQ) wrote:
> Enter configuration commands, one per line.  End with CNTL/Z.
> switch01(config)#banner exec ^
> 
>  ##################################################
> 
>                      switch01
> 
>         Level XX, XX Some Street, Somewhere
>        Site contact: John Citizen 555 5555
>      System Contact: Helpdesk  555 5556
> 
>  ##################################################
> 
>  ^
> banner exec ^  <---- this is the second time this command is sent to the device
> Enter TEXT message.  End with the character '^'.
> 
>  ###exit
> ############

My tcpwatch.py display shows different colors for each side of the
conversation.  Do you get two colors?  are both in the same color?

Isn't the second banner exec simply the echo back from the cisco device?
It is giving you your entry instructions.

1.  Is the banner exec command working?
If it works, then the funny duplication is almost certainly just an
artifact of characters getting echoed from the cisco device.

-- 
Lloyd Kvam
Venix Corp



More information about the Tutor mailing list