Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

motd (and beyond)

Hey,

I would like to put some variables in my motd. I find it interesting that a person who logins in, already sees the hostname, serial...

This way, he doesn't really needs to login to see some basic stuff. But it can help him to verify some things. Fe is this the correct device, what device is it...

I found that $(hostname) gives you properly the hostname.

But i can't find other things, fe the serial.

Does anybody knows other variables? Is there somewhere a list of these? :$

1 REPLY
Community Member

Re: motd (and beyond)

Hello,

I just found that.

http://www.cisco.com/en/US/docs/ios/12_2t/fun/command/reference/fft104.html

Token
Information Displayed in the Banner

$(hostname)

Displays the host name for the router.

$(domain)

Displays the domain name for the router.

$(line)

Displays the vty or tty (asynchronous) line number.

$(line-desc)

Displays the description attached to the line.


bye

152
Views
0
Helpful
1
Replies
CreatePlease to create content