Users Guide
Contents
1 About this Guide...........................................................................................................................................35
Audience........................................................................................................................................................................... 35
Conventions......................................................................................................................................................................35
Related Documents......................................................................................................................................................... 35
2 Configuration Fundamentals........................................................................................................................36
Accessing the Command Line........................................................................................................................................36
CLI Modes.........................................................................................................................................................................36
Navigating CLI Modes...............................................................................................................................................38
The do Command............................................................................................................................................................. 41
Undoing Commands.........................................................................................................................................................41
Obtaining Help..................................................................................................................................................................42
Entering and Editing Commands................................................................................................................................... 42
Command History............................................................................................................................................................43
Filtering show Command Outputs.................................................................................................................................43
Example of the grep Keyword..................................................................................................................................43
Multiple Users in Configuration Mode...........................................................................................................................44
3 Getting Started........................................................................................................................................... 45
Console Access................................................................................................................................................................46
Serial Console.............................................................................................................................................................46
Accessing the CLI Interface and Running Scripts Using SSH....................................................................................47
Entering CLI commands Using an SSH Connection..............................................................................................47
Executing Local CLI Scripts Using an SSH Connection........................................................................................47
Default Configuration...................................................................................................................................................... 48
Configuring a Host Name............................................................................................................................................... 48
Accessing the System Remotely................................................................................................................................... 48
Accessing the System Remotely............................................................................................................................. 48
Configure the Management Port IP Address.........................................................................................................49
Configure a Management Route............................................................................................................................. 49
Configuring a Username and Password..................................................................................................................49
Configuring the Enable Password................................................................................................................................. 50
Configuration File Management.................................................................................................................................... 50
Copy Files to and from the System.........................................................................................................................50
Mounting an NFS File System.................................................................................................................................. 51
Save the Running-Configuration............................................................................................................................. 53
Configure the Overload Bit for a Startup Scenario...............................................................................................53
Viewing Files...............................................................................................................................................................53
Compressing Configuration Files............................................................................................................................. 54
Managing the File System.............................................................................................................................................. 57
Enabling Software Features on Devices Using a Command Option......................................................................... 57
View Command History.................................................................................................................................................. 58
Contents
3