From the pod:
The default cmd_prompt is /[\w().-]*[\$#>]\s?(?:\(enable\))?\s*$/,
suitable for matching promtps like 'rtrname$ ', 'rtrname# ', and 'rtrname> enable) '.
Note the [\$#>] in the RE showing the prompt endings. Presumably you can change cmd_prompt by using the prompt method of Net::Telnet thus:
$foo=Net::Telnet::Cisco->new( Host => '10.10.10.10' );
$foo->promp($new_prompt);
but I haven't tried this as I don't have the Ciscos in my lab just now.
HTH -- traveler | [reply] [d/l] [select] |