cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
517
Views
0
Helpful
1
Replies

motd (and beyond)

Brononius
Level 1
Level 1

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 1

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

Review Cisco Networking for a $25 gift card