INS_CNGE11FX3TX8MS[POE][HO] Rev. 11.6.17 PAGE 277
INSTRUCTION MANUAL
CNGE11FX3TX8MS[POE][HO]
TECH SUPPORT: 1.888.678.9427
Using Banners
The system provides three different banners (text that is output as messages to the user):
»
The Message Of The Day banner (MOTD), displayed upon connection to the system or when a
console login attempt has timed out
»
The Login banner, displayed before the first “Username:” login prompt
»
The Exec banner, displayed upon successful login
All of these banners are configured in a similar manner, using the banner command:
banner [ motd ] banner banner exec banner banner login banner
The banner text can be either a single line or multiple lines. The first character of the text defines
a delimiter character; the actual text of the banner then follows and ends at the first appearance of
the delimiter character. The delimiters are not included in the actual text.
Configuring Banners
! First configure the MOTD banner, which in this case is multi-line. ‘*’ is
! used as delimiter character, but any printable character that isn’t used in
! the message is usable:
my-device# configure terminal
my-device(config)# banner motd *This is the Message Of The Day Banner.
Enter TEXT message. End with the character ‘*’.
It spans multiple lines.
And one more. But now it ends.*
! Then the Login and Exec banners. Both are single-line. Note how different ! delimiters are used
in each banner:
my-device(config)# banner login XThis is my-device.X
my-device(config)# banner exec “WARNING: Production system. Be careful.” my-device(config)#
end
! Inspect configuration:
my-device# show running-config
Building configuration...
banner motd “This is the Message Of The Day Banner.
It spans multiple lines.
Содержание CNGE11FX3TX8MS
Страница 105: ...INS_CNGE11FX3TX8MS POE HO Rev 11 6 17 PAGE 105 INSTRUCTION MANUAL CNGE11FX3TX8MS POE HO TECH SUPPORT 1 888 678 9427...
Страница 164: ...INS_CNGE11FX3TX8MS POE HO Rev 11 6 17 PAGE 164 INSTRUCTION MANUAL CNGE11FX3TX8MS POE HO TECH SUPPORT 1 888 678 9427...
Страница 177: ...INS_CNGE11FX3TX8MS POE HO Rev 11 6 17 PAGE 177 INSTRUCTION MANUAL CNGE11FX3TX8MS POE HO TECH SUPPORT 1 888 678 9427...