Quantcast
Channel: All Ethernet Switching posts
Viewing all articles
Browse latest Browse all 10307

Re: login message banner

$
0
0

Hi,

 

Unlike Cisco, I believe its not possible to use any chosen delimiter for the banner message.

On Junos, a new line requires "\n":

http://www.juniper.net/techpubs/en_US/junos15.1/topics/task/configuration/authentication-router-login-message-qfx-series.html

 

Your message would be like:

message "#########################################################################\n## ##\n## {} ##\n## , A {} ############# ##\n## / \, | , .--. ## !!WARNING!! ## ##\n## | =|= > /.--.\ ################# ##\n## \ /` | ` |====| ##\n## ` | |`::`| ##\n## | .-;`\..../`;_.-^-._ You have accessed a restricted ##\n## /\\/ / |...::..|` : : `| device. It is for official and ##\n## |:'\ | /'''::''| .:.:. | authorized use only. You have ##\n## \ /\;-,/\ :: |.:::.:::.| no expectation of privacy in ##\n## |\ <` > >._::_.| '::.::' | its use. To ensure that the ##\n## | `^^` / ^^ | ':.:' | device is functioning properly ##\n## | | \ :.: / individuals using this system ##\n## | | \ : : / are subject to having all of ##\n## | |___/\___|`-.:.-` their activities monitored and ##\n## | \_ || _/ recorded. ##\n## | <_ >< _> ##\n## | | || | Last Updated September 22 2014 ##\n## | | || | ##\n## | _\.Smiley Indifferent|:./_ ##\n## | /____/\____\ ##\n## ##\n#########################################################################"

All the text should be one the same line.

Example banner:

telnet 192.168.1.1
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
#########################################################################
## ##
## {} ##
## , A {} ############# ##
## / , | , .--. ## !!WARNING!! ## ##
## | =|= > /.--. ################# ##
## /` | ` |====| ##
## ` | |`::`| ##
## | .-;`..../`;_.-^-._ You have accessed a restricted ##
## /\/ / |...::..|` : : `| device. It is for official and ##
## |:' | /'''::''| .:.:. | authorized use only. You have ##
## /;-,/ :: |.:::.:::.| no expectation of privacy in ##
## | <` > >._::_.| '::.::' | its use. To ensure that the ##
## | `^^` / ^^ | ':.:' | device is functioning properly ##
## | | :.: / individuals using this system ##
## | | : : / are subject to having all of ##
## | |___/___|`-.:.-` their activities monitored and ##
## | _ || _/ recorded. ##
## | <_ >< _> ##
## | | || | Last Updated September 22 2014 ##
## | | || | ##
## | _.Smiley Indifferent|:./_ ##
## | /____/____ ##
## ##
#########################################################################

Cheers,

Ashvin


Viewing all articles
Browse latest Browse all 10307

Trending Articles