
7-5
Catalyst 6500 Series Switch and Cisco 7600 Series Router Firewall Services Module Configuration Guide using ASDM
OL-20748-01
Chapter 7 Configuring Basic Settings
Configuring a Login Banner
•
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.
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 [email protected] for any
hostname(config)#
banner motd issues
Summary of Contents for 6500 - Catalyst Series 10 Gigabit EN Interface Module Expansion
Page 35: ...P A R T 1 Getting Started and General Information ...
Page 36: ......
Page 297: ...P A R T 2 Configuring the Security Policy ...
Page 298: ......
Page 521: ...P A R T 3 System Administration ...
Page 522: ......
Page 613: ...P A R T 4 Reference ...
Page 614: ......