*
*****************************************************************
Banners can be customized by using banner tokens. Tokens are keywords in the form $(token ) that, when used in a banner
message, display the currently configured value of the token argument (for example, the router hostname, domain name, or address). By using these tokens, you can allow customized banners to be designed that display current Cisco IOS configuration
variables. Only Cisco IOS-supported tokens may be used. There is no facility to define user-defined tokens. Table 3-1 lists the
tokens supported by the different banner commands.
$(hostname)
Router hostname
Yes
Yes
Yes
Yes
Yes
$(domain)
Router domain name
Yes
Yes
Yes
Yes
Yes
$(peer-ip)
IP address of the peer machine
No
No
No
No
Yes
$(gate-ip)
IP address of the gateway machine
No
No
No
No
Yes
$(encap)
Encapsulation type (SLIP or PPP)
No
No
No
No
Yes
$(encap-alt)
Encapsulation type displayed as SL/IP instead of SLIP
No
No
No
No
Yes
$(mtu)
Maximum transmission unit (MTU) size
No
No
No
No
Yes
$(line)
VTY or TTY line number
Yes
Yes
Yes
Yes
No
$(line-desc)
User-specified description of the line
Yes
Yes
Yes
Yes
No
Table 3-1.
Pages:
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136