Cisco 220 Series Smart Plus Reference Manual page 529

Smart plus switches command line interface
Hide thumbs Also See for 220 Series Smart Plus:
Table of Contents

Advertisement

User Interface Commands
banner login
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x
Default Configuration
N/A
Command Mode
Global Configuration mode
User Guidelines
The login banner shows on the login page when users try to access the switch's
web-based interface or on the command-line interface when users try to access
the switch's command-line interface.
Example
The following example sets the login banner, including the hostname, system
contact, system location, and MAC address of the switch:
switchxxxxxx(config)# banner login !
Enter TEXT message.
~ WELCOME ~
----------------------------------------
Host Name = $(hostname)
Bold Text = $(bold)Bold Text$(bold)
Inverse
= $(inverse)Inverse Test$(inverse)
Contact
= $(contact)
Location
= $(location)
Mac Addr
= $(mac-address)
!
The following table describes the variables defined in the example:
Token
$(hostname)
$(bold)
$(inverse)
$(contact)
$(location)
$(mac-address)
End with the character '!'
Description
Displays the hostname for the switch.
Indicates that the next text is a bold text. Using this
token again indicates the end of the bold text.
Indicates that the next text is an inverse text. Using this
token again indicates the end of the inverse text.
Displays the system contact string.
Displays the system location string.
Displays the base MAC address of the switch.
39
479

Advertisement

Table of Contents
loading

Table of Contents