Prompt issues on Bay routers.

john heasley heas at shrubbery.net
Thu Sep 11 18:23:32 UTC 2003


Wed, Sep 03, 2003 at 12:28:41PM -0700, James Kilton:
> Hi,
> 
> I'm new to Rancid and not familiar with Tcl, so forgive the newbieness -
> 
> I'm unable to run commands in BCC on Bay routers and I think it's because of prompt issues.  When
> you first log in to a Bay router, you're in TI instead of BCC.  The prompt is [1:TN]$.  I can get
> Rancid to recognize this by doing 'set prompt "TN"' in blogin.  Rancid then executes the 'bcc'
> command to get into BCC.  BCC uses a totally different prompt, however (bcc>), and I'm wondering
> how to get Rancid to "switch" to that prompt so that commands can be run in BCC.  I've tried stuff
> like 'set prompt "TN|bcc"' or 'set prompt (TN|bcc)' all to no avail.
> 
> If anyone has any ideas I'd appreciate hearing them.

I think that someone explained this to me before, but I must have purged it.
blogin has a comment which reads:

# Unlike the Cisco's, there is no enable function on the Bay's.
# Instead there are seperate User and Manager accounts.  A 'system' command
# exists, which i am told does nothing.

so, what is bcc?  for that matter, what is "TI"?  is the prompt configurable?

an example of non-privileged and privileged logins (and perhaps a few random
commands) performed manually from the bay/nortel would be helpful.
	



More information about the Rancid-discuss mailing list