CLI Guide
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........................................................................................................56
boot system........................................................................................................................................................................56
cd...........................................................................................................................................................................................57
HTTP Copy via CLI........................................................................................................................................................... 58
copy...................................................................................................................................................................................... 59
delete.................................................................................................................................................................................... 61
dir.......................................................................................................................................................................................... 62
format.................................................................................................................................................................................. 63
fsck flash............................................................................................................................................................................. 64
mkdir.....................................................................................................................................................................................65
mount nfs............................................................................................................................................................................ 65
rmdir..................................................................................................................................................................................... 66
upgrade system..................................................................................................................................................................67
rename................................................................................................................................................................................. 69
show boot system............................................................................................................................................................. 70
show bootvar......................................................................................................................................................................70
show file-systems..............................................................................................................................................................72
show os-version.................................................................................................................................................................73
show running-config......................................................................................................................................................... 74
show startup-config..........................................................................................................................................................77
show version.......................................................................................................................................................................78
upgrade boot...................................................................................................................................................................... 79
verify................................................................................................................................................................................... 80
Chapter 4: Control and Monitoring.............................................................................................. 82
alias....................................................................................................................................................................................... 83
Contents
Contents 3