i
Contents
Using the CLI ································································································································································ 1
Logging in to the CLI ·························································································································································1
Command conventions ·····················································································································································1
Using the undo form of a command ·······························································································································2
CLI views ············································································································································································2
Entering system view from user view······················································································································3
Returning to the upper-level view from any view ··································································································3
Returning to user view from any other view ··········································································································3
Accessing the CLI online help ··········································································································································4
Entering a command·························································································································································5
Editing a command line ···········································································································································5
Entering a STRING type value for an argument····································································································5
Abbreviating commands··········································································································································5
Configuring and using command keyword aliases ······························································································6
Configuring and using hotkeys ·······························································································································6
Enabling redisplaying entered-but-not-submitted commands ···············································································8
Understanding command-line error messages ···············································································································8
Using the command history function ·······························································································································9
Viewing history commands ·····································································································································9
Setting the command history buffer size for user interfaces ················································································9
Controlling the CLI output ·············································································································································· 10
Pausing between screens of output ····················································································································· 10
Filtering the output from a display command ····································································································· 10
Configuring user privilege and command levels ········································································································ 13
Configuring a user privilege level ······················································································································· 13
Switching the user privilege level ························································································································ 17
Changing the level of a command ······················································································································ 19
Saving the running configuration ································································································································· 19
Displaying and maintaining CLI ··································································································································· 20
Login overview ··························································································································································· 21
Login methods at a glance ············································································································································ 21
User interfaces ································································································································································ 22
User interface assignment····································································································································· 22
User interface identification ································································································································· 22
Logging in to the CLI ·················································································································································· 23
Logging in through the console port for the first time
································································································· 23
Configuring console login control settings·········································································································· 25
Configuring none authentication for console login ··························································································· 26
Configuring password authentication for console login ··················································································· 27
Configuring scheme authentication for console login ······················································································· 28
Configuring common console login settings (optional) ····················································································· 30
Logging in through Telnet
·············································································································································· 32
Configuring none authentication for Telnet login ······························································································ 33
Configuring password authentication for Telnet login ······················································································ 34
Configuring scheme authentication for Telnet login ·························································································· 35
Configuring common settings for VTY user interfaces (optional)······································································ 37
Using the device to log in to a Telnet server ······································································································ 39
Setting the DSCP value for IP to use for outgoing Telnet packets ···································································· 40