API Guide

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