CLI Guide

Contents
1 About this Guide................................................................................................. 43
Objectives............................................................................................................................................43
Audience..............................................................................................................................................43
Conventions........................................................................................................................................ 43
2 CLI Basics............................................................................................................. 45
Accessing the Command Line............................................................................................................45
Multiple Configuration Users..............................................................................................................45
Obtaining Help....................................................................................................................................46
Navigating the CLI...............................................................................................................................48
Using the Keyword no Command......................................................................................................48
Filtering show Commands................................................................................................................. 48
Enabling Software Features on Devices Using a Command Option................................................ 49
feature vrf...................................................................................................................................... 50
show feature.................................................................................................................................. 51
Command Modes................................................................................................................................51
3 File Management.................................................................................................61
boot system......................................................................................................................................... 61
cd......................................................................................................................................................... 63
copy.....................................................................................................................................................63
delete...................................................................................................................................................66
dir.........................................................................................................................................................68
format..................................................................................................................................................69
fsck flash..............................................................................................................................................70
mkdir.....................................................................................................................................................71
mount nfs.............................................................................................................................................72
rmdir.....................................................................................................................................................72
upgrade system................................................................................................................................... 73
rename.................................................................................................................................................75
restore factory-defaults...................................................................................................................... 75
show boot system...............................................................................................................................79
show bootvar...................................................................................................................................... 80
show file-systems................................................................................................................................81
show os-version..................................................................................................................................82
show running-config..........................................................................................................................84
show startup-config........................................................................................................................... 88
show version....................................................................................................................................... 89
3