CLI Guide

Using the CLI 249
MAC Access List From Global
Configuration
mode, use the mac
access-list
command.
console(config-mac-access-
list)#
To exit to Global
Configuration
mode, use the
exit command,
or press
<Ctrl>+<Z>
to Privileged
Exec mode.
SSH Public Key-
Chain
From Global
Configuration
mode, use the
crypto key pubkey-
chain ssh
command.
console(config-pubkey-
chain)#
To exit to Global
Configuration
mode, use the
exit command,
or press
<Ctrl>+<Z>
to Privileged
Exec mode.
SSH Public Key
String
From the SSH
Public Key- Chain
mode, use the user-
key <user name >
{rsa | dsa}
command.
console(config-pubkey-key)#
To return to the
SSH Public key-
chain mode, use
the exit
command, or
press
<Ctrl>+<Z>
to Privileged
Exec mode.
TACACS From Global
Configuration
mode, use the
tacacs-server host
command.
console(config-tacacs)#
To exit to Global
Configuration
mode, use the
exit command,
or press
<Ctrl>+<Z>
to Privileged
Exec mode.
Table 2-5. Navigating CLI Command Modes (continued)
Command Mode Access Method Command Prompt Exit or Access
Previous Mode