CLI Guide

Table Of Contents
Chapter 1: About this Guide.........................................................................................................40
Objectives........................................................................................................................................................................... 40
Audience.............................................................................................................................................................................. 40
Conventions........................................................................................................................................................................40
Information Icons............................................................................................................................................................... 41
Chapter 2: CLI Basics.................................................................................................................. 42
Accessing the Command Line........................................................................................................................................ 42
Multiple Configuration Users.......................................................................................................................................... 42
Obtaining Help....................................................................................................................................................................43
Navigating the CLI............................................................................................................................................................ 44
Using the no Command................................................................................................................................................... 45
Filtering show Commands............................................................................................................................................... 45
Enabling Software Features on Devices Using a Command Option..................................................................... 46
feature vrf..................................................................................................................................................................... 46
show feature.................................................................................................................................................................47
Command Modes...............................................................................................................................................................47
Chapter 3: File Management........................................................................................................55
boot system........................................................................................................................................................................55
cd.......................................................................................................................................................................................... 56
copy...................................................................................................................................................................................... 57
delete................................................................................................................................................................................... 60
dir.......................................................................................................................................................................................... 60
format.................................................................................................................................................................................. 62
fsck flash............................................................................................................................................................................. 62
mkdir.....................................................................................................................................................................................63
mount nfs............................................................................................................................................................................ 64
rmdir..................................................................................................................................................................................... 64
upgrade system................................................................................................................................................................. 65
HTTP Copy via CLI............................................................................................................................................................67
rename................................................................................................................................................................................. 68
restore factory-defaults.................................................................................................................................................. 69
show boot system.............................................................................................................................................................. 71
show bootvar......................................................................................................................................................................72
show file-systems..............................................................................................................................................................73
show os-version.................................................................................................................................................................74
show running-config.........................................................................................................................................................75
show startup-config......................................................................................................................................................... 78
show version.......................................................................................................................................................................79
upgrade................................................................................................................................................................................80
Chapter 4: Control and Monitoring.............................................................................................. 83
banner exec........................................................................................................................................................................ 84
Contents
Contents 3