Discussion:
[rancid] Modifying Cisco Login Banner
Chip Pleasants
2015-01-26 18:57:55 UTC
Permalink
Hi all,

I realize this topic has beat up, but I'm hoping someone can point me in
the right direction. I'm trying to change my current cisco login banner,
which doesn't have > or # in it. The new login banner doesn't either. It
appears rancid is getting hung up on the router output "Enter TEXT
message. End with the character 'X' and end up timing out. I found a
couple old threads, but not any specific solutions to this issue. Bellow
is the configuration I'm adding/modifying, and I've attached the debug
output. Let me know if you any questions and thanks in advance for any
assistance.

-Chip



!
conf t
!
no banner login X
banner login X
Rev 3(1-17)
___________
X
!
end
!
wr
!
heasley
2015-01-26 19:46:26 UTC
Permalink
Post by Chip Pleasants
Hi all,
I realize this topic has beat up, but I'm hoping someone can point me in
the right direction. I'm trying to change my current cisco login banner,
which doesn't have > or # in it. The new login banner doesn't either. It
appears rancid is getting hung up on the router output "Enter TEXT
message. End with the character 'X' and end up timing out. I found a
couple old threads, but not any specific solutions to this issue. Bellow
is the configuration I'm adding/modifying, and I've attached the debug
output. Let me know if you any questions and thanks in advance for any
assistance.
-Chip
!
dont need this line or the other ! lines
Post by Chip Pleasants
conf t
!
no banner login X
^^^^^^^^^^^^^^^^^^ dont think you need this either
Post by Chip Pleasants
banner login X
you dont get a prompt after this.
Post by Chip Pleasants
Rev 3(1-17)
___________
X
!
end
!
wr
so file becomes (with the $ to indicate EOL):
conf t
banner login X\nRev 3(1-17)\n___________\nX$
end
wr
Chip Pleasants
2015-01-26 20:21:18 UTC
Permalink
That seems work! Thank you very much.

-Chip
Post by heasley
Post by Chip Pleasants
Hi all,
I realize this topic has beat up, but I'm hoping someone can point me in
the right direction. I'm trying to change my current cisco login banner,
which doesn't have > or # in it. The new login banner doesn't either. It
appears rancid is getting hung up on the router output "Enter TEXT
message. End with the character 'X' and end up timing out. I found a
couple old threads, but not any specific solutions to this issue. Bellow
is the configuration I'm adding/modifying, and I've attached the debug
output. Let me know if you any questions and thanks in advance for any
assistance.
-Chip
!
dont need this line or the other ! lines
Post by Chip Pleasants
conf t
!
no banner login X
^^^^^^^^^^^^^^^^^^ dont think you need this either
Post by Chip Pleasants
banner login X
you dont get a prompt after this.
Post by Chip Pleasants
Rev 3(1-17)
___________
X
!
end
!
wr
conf t
banner login X\nRev 3(1-17)\n___________\nX$
end
wr
Loading...