Configuring A Login Banner - Cisco 7604 Configuration Manual

Catalyst 6500 series switch and cisco 7600 series router firewall services module configuration guide using the cli
Hide thumbs Also See for 7604:
Table of Contents

Advertisement

Chapter 7
Configuring Basic Settings
For example, to show all available elements in the prompt, enter the following command:
hostname(config)# prompt hostname context priority slot state
The prompt changes to the following string:
hostname/admin/pri/6/act(config)#

Configuring a Login Banner

You can configure a message to display when a user connects to the FWSM, when a user logs in to the
FWSM using Telnet, or when a user enters user EXEC mode.
To configure a login banner, enter the following command in the system execution space or within a
context:
hostname(config)# banner {motd | login | exec} text
The motd keyword shows a banner when a user first connects.
The login keyword shows a banner when a user logs in to the FWSM using Telnet.
The exec keyword shows a banner when a user accesses user EXEC mode.
When a user connects to the FWSM, the message-of-the-day banner appears first, followed by the login
banner and prompts. This banner does not appear for non-Telnet connections. After the user successfully
logs in to the FWSM (for Telnet connections), the exec banner displays.
For the banner text, spaces are allowed but you cannot enter tabs using the CLI. You can dynamically
add the hostname or domain name of the FWSM by including the strings $(hostname) and $(domain).
If you configure a banner in the system configuration, you can use that banner text within a context by
using the $(system) string in the context configuration.
To add more than one line, precede each line by the banner command.
For example, to add a message-of-the-day banner, enter:
hostname(config)# banner motd Welcome to $(hostname)
hostname(config)# banner motd Contact me at admin@example.com for any
hostname(config)# banner motd issues
Catalyst 6500 Series Switch and Cisco 7600 Series Router Firewall Services Module Configuration Guide using ASDM
OL-20748-01
context—(Multiple mode only) Displays the current context.
priority—Displays the failover priority as pri (primary) or sec (secondary). Set the priority using
the failover lan unit command.
slot—Displays the slot location in the switch.
state—Displays the traffic-passing state of the unit. The following values are displayed for the state
keyword:
act—Failover is enabled, and the unit is actively passing traffic.
stby— Failover is enabled, and the unit is not passing traffic and is in a standby, failed, or other
non-active state.
actNoFailover—Failover is not enabled, and the unit is actively passing traffic.
stbyNoFailover—Failover is not enabled, and the unit is not passing traffic. This might happen
when there is an interface failure above the threshold on the standby unit.
Configuring a Login Banner
7-5

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

7609-s76137606-sCatalyst 6500 series7600 series

Table of Contents