Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA http://www.cisco.com Tel: 408 526-4000 800 553-NETS (6387) Fax: 408 527-0883 Cisco IOS Configuration Fundamentals Command Reference April 2010 Text Part Number: THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. ALL STATEMENTS, INFORMATION, AND RECOMMENDATIONS IN THIS MANUAL ARE BELIEVED TO BE ACCURATE BUT ARE PRESENTED WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. USERS MUST TAKE FULL RESPONSIBILITY FOR THEIR APPLICATION OF ANY PRODUCTS. THE SOFTWARE LICENSE AND LIMITED WARRANTY FOR THE ACCOMPANYING PRODUCT ARE SET FORTH IN THE INFORMATION PACKET THAT SHIPPED WITH THE PRODUCT AND ARE INCORPORATED HEREIN BY THIS REFERENCE. IF YOU ARE UNABLE TO LOCATE THE SOFTWARE LICENSE OR LIMITED WARRANTY, CONTACT YOUR CISCO REPRESENTATIVE FOR A COPY. The Cisco implementation of TCP header compression is an adaptation of a program developed by the University of California, Berkeley (UCB) as part of UCB’s public domain version of the UNIX operating system. All rights reserved. Copyright © 1981, Regents of the University of California. NOTWITHSTANDING ANY OTHER WARRANTY HEREIN, ALL DOCUMENT FILES AND SOFTWARE OF THESE SUPPLIERS ARE PROVIDED “AS IS” WITH ALL FAULTS. CISCO AND THE ABOVE-NAMED SUPPLIERS DISCLAIM ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, THOSE OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OR ARISING FROM A COURSE OF DEALING, USAGE, OR TRADE PRACTICE. IN NO EVENT SHALL CISCO OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, OR INCIDENTAL DAMAGES, INCLUDING, WITHOUT LIMITATION, LOST PROFITS OR LOSS OR DAMAGE TO DATA ARISING OUT OF THE USE OR INABILITY TO USE THIS MANUAL, EVEN IF CISCO OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. CCDE, CCENT, CCSI, Cisco Eos, Cisco Explorer, Cisco HealthPresence, Cisco IronPort, the Cisco logo, Cisco Nurse Connect, Cisco Pulse, Cisco SensorBase, Cisco StackPower, Cisco StadiumVision, Cisco TelePresence, Cisco TrustSec, Cisco Unified Computing System, Cisco WebEx, DCE, Flip Channels, Flip for Good, Flip Mino, Flipshare (Design), Flip Ultra, Flip Video, Flip Video (Design), Instant Broadband, and Welcome to the Human Network are trademarks; Changing the Way We Work, Live, Play, and Learn, Cisco Capital, Cisco Capital (Design), Cisco:Financed (Stylized), Cisco Store, Flip Gift Card, and One Million Acts of Green are service marks; and Access Registrar, Aironet, AllTouch, AsyncOS, Bringing the Meeting To You, Catalyst, CCDA, CCDP, CCIE, CCIP, CCNA, CCNP, CCSP, CCVP, Cisco, the Cisco Certified Internetwork Expert logo, Cisco IOS, Cisco Lumin, Cisco Nexus, Cisco Press, Cisco Systems, Cisco Systems Capital, the Cisco Systems logo, Cisco Unity, Collaboration Without Limitation, Continuum, EtherFast, EtherSwitch, Event Center, Explorer, Follow Me Browsing, GainMaker, iLYNX, IOS, iPhone, IronPort, the IronPort logo, Laser Link, LightStream, Linksys, MeetingPlace, MeetingPlace Chime Sound, MGX, Networkers, Networking Academy, PCNow, PIX, PowerKEY, PowerPanels, PowerTV, PowerTV (Design), PowerVu, Prisma, ProConnect, ROSA, SenderBase, SMARTnet, Spectrum Expert, StackWise, WebEx, and the WebEx logo are registered trademarks of Cisco and/or its affiliates in the United States and certain other countries. All other trademarks mentioned in this document or website are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (1002R) Any Internet Protocol (IP) addresses used in this document are not intended to be actual addresses. Any examples, command display output, and figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses in illustrative content is unintentional and coincidental. Cisco IOS Configuration Fundamentals Command Reference © 2010 Cisco Systems, Inc. All rights reserved. iii Cisco IOS Configuration Fundamentals Command Reference April 2010 CONTENTS About Cisco IOS Software Documentation xxi Documentation Objectives xxi Audience xxi Documentation Conventions xxi Typographic Conventions xxii Command Syntax Conventions xxii Software Conventions xxiii Reader Alert Conventions xxiii Documentation Organization xxiii Cisco IOS Documentation Set xxiv Cisco IOS Documentation on Cisco.com xxiv Configuration Guides, Command References, and Supplementary Resources xxv Additional Resources and Documentation Feedback xxxi Using the Command-Line Interface in Cisco IOS Software xxxiii Initially Configuring a Device xxxiii Using the CLI xxxiv Understanding Command Modes xxxiv Using the Interactive Help Feature xxxvii Understanding Command Syntax xxxviii Understanding Enable and Enable Secret Passwords xxxix Using the Command History Feature xl Abbreviating Commands xli Using Aliases for CLI Commands xli Using the no and default Forms of Commands xlii Using the debug Command xlii Filtering Output Using Output Modifiers xlii Understanding CLI Error Messages xliii Saving Changes to a Configuration xliv Additional Information xliv Introduction CF-1 Cisco IOS IFS Command Syntax CF-2 Obtaining Documentation, Obtaining Support, and Security Guidelines CF-3 Contents iv Cisco IOS Configuration Fundamentals Command Reference April 2010 Configuration Fundamentals Commands CF-5 activation-character CF-6 alias CF-7 archive CF-11 archive config CF-12 archive log config persistent save CF-14 archive tar CF-15 async-bootp CF-18 attach CF-20 autobaud CF-23 auto-sync CF-24 autoupgrade disk-cleanup CF-26 autoupgrade ida url CF-27 autoupgrade status email CF-28 banner exec CF-29 banner incoming CF-31 banner login CF-33 banner motd CF-35 banner slip-ppp CF-37 boot CF-39 boot bootldr CF-43 boot bootstrap CF-45 boot config CF-47 boot host CF-50 boot network CF-53 boot system CF-56 boot-end-marker CF-62 boot-start-marker CF-64 cd CF-66 clear archive log config CF-68 clear catalyst6000 traffic-meter CF-69 clear configuration lock CF-70 clear ip http client cache CF-72 clear logging CF-73 clear logging system CF-74 Contents v Cisco IOS Configuration Fundamentals Command Reference April 2010 clear logging xml CF-76 clear mls statistics CF-77 clear parser cache CF-78 clear platform netint CF-79 clear processes interrupt mask CF-80 clear tcp CF-81 clear vlan counters CF-83 clock CF-84 clock initialize nvram CF-86 config-register CF-87 configuration mode exclusive CF-89 configure confirm CF-95 configure memory CF-97 configure network CF-99 configure overwrite-network CF-100 configure replace CF-101 configure revert CF-105 configure terminal CF-107 confreg CF-109 continue (ROM monitor) CF-111 copy CF-112 copy erase flash CF-130 copy http:// CF-131 copy https:// CF-132 copy logging system CF-133 copy xmodem: CF-135 copy ymodem: CF-136 copy /noverify CF-137 databits CF-141 data-character-bits CF-143 default-value exec-character-bits CF-144 default-value special-character-bits CF-145 define interface-range CF-146 delete CF-148 diag CF-150 Contents vi Cisco IOS Configuration Fundamentals Command Reference April 2010 diagnostic bootup level CF-153 diagnostic cns CF-155 diagnostic event-log size CF-157 diagnostic level CF-158 diagnostic monitor CF-160 diagnostic ondemand CF-164 diagnostic schedule test CF-166 diagnostic start CF-169 diagnostic stop CF-173 dir CF-175 disable CF-177 disconnect-character CF-178 dispatch-character CF-179 dispatch-machine CF-181 dispatch-timeout CF-183 do CF-185 downward-compatible-config CF-187 editing CF-188 enable CF-191 end CF-194 environment-monitor shutdown temperature CF-195 environment temperature-controlled CF-196 erase CF-197 erase bootflash CF-200 errdisable detect cause CF-201 errdisable recovery CF-203 escape-character CF-205 exec CF-207 exec-banner CF-208 exec-character-bits CF-210 exec-timeout CF-212 execute-on CF-213 exit (EXEC) CF-216 exit (global) CF-217 file prompt CF-218 Contents vii Cisco IOS Configuration Fundamentals Command Reference April 2010 file verify auto CF-219 format CF-221 fsck CF-225 full-help CF-231 help CF-233 hidekeys CF-235 history CF-237 history size CF-239 hold-character CF-240 hostname CF-241 hw-module reset CF-243 hw-module shutdown CF-244 insecure CF-245 international CF-246 ip bootp server CF-247 ip finger CF-249 ip ftp passive CF-251 ip ftp password CF-252 ip ftp source-interface CF-253 ip ftp username CF-255 ip rarp-server CF-256 ip rcmd domain-lookup CF-258 ip rcmd rcp-enable CF-260 ip rcmd remote-host CF-261 ip rcmd remote-username CF-264 ip rcmd rsh-enable CF-266 ip rcmd source-interface CF-267 ip telnet source-interface CF-269 ip tftp source-interface CF-270 ip wccp web-cache accelerated CF-272 length CF-274 load-interval CF-275 location CF-277 lock CF-278 lockable CF-280 Contents viii Cisco IOS Configuration Fundamentals Command Reference April 2010 log config CF-281 logging enable CF-282 logging event bundle-status CF-283 logging event link-status (global configuration) CF-285 logging event link-status (interface configuration) CF-287 logging event subif-link-status CF-289 logging event trunk-status CF-291 logging ip access-list cache (global configuration) CF-292 logging ip access-list cache (interface configuration) CF-294 logging persistent (config-archive-log-cfg) CF-296 logging persistent reload (config-archive-log-cfg) CF-298 logging size CF-299 logging synchronous CF-301 logging system CF-304 logout CF-305 logout-warning CF-306 macro (global configuration) CF-307 macro (interface configuration) CF-309 maximum CF-311 memory free low-watermark CF-313 memory lite CF-315 memory reserve critical CF-316 memory sanity CF-318 memory scan CF-319 memory-size iomem CF-320 menu (EXEC) CF-322 menu <menu-name> single-space CF-324 menu clear-screen CF-325 menu command CF-327 menu default CF-329 menu line-mode CF-330 menu options CF-332 menu prompt CF-333 menu status-line CF-334 menu text CF-335 Contents ix Cisco IOS Configuration Fundamentals Command Reference April 2010 menu title CF-337 microcode (12000) CF-339 microcode (7000/7500) CF-341 microcode (7200) CF-343 microcode reload (12000) CF-345 microcode reload (7000/7500) CF-347 microcode reload (7200) CF-348 mkdir CF-349 mkdir disk0: CF-351 mode CF-352 CF-355 monitor event-trace (EXEC) CF-356 monitor event-trace (global) CF-359 monitor event-trace dump-traces CF-362 monitor permit-list CF-363 monitor session egress replication-mode CF-365 monitor session type CF-367 mop device-code CF-375 mop retransmit-timer CF-376 mop retries CF-377 more CF-378 more <url> begin CF-381 more <url> exclude CF-383 more <url> include CF-385 more flh:logfile CF-387 motd-banner CF-389 name-connection CF-391 no menu CF-392 notify CF-393 notify syslog CF-394 padding CF-396 parity CF-397 parser cache CF-399 parser command serializer CF-400 parser config cache interface CF-401 Contents x Cisco IOS Configuration Fundamentals Command Reference April 2010 parser config partition CF-403 partition CF-405 path (archive configuration) CF-407 periodic CF-411 ping CF-414 ping (privileged) CF-418 ping ip CF-421 ping vrf CF-425 platform shell CF-428 power enable CF-429 power redundancy-mode CF-430 printer CF-431 private CF-433 privilege CF-434 process cpu statistics limit entry-percentage CF-439 process cpu threshold type CF-440 process-max-time CF-442 prompt CF-443 pwd CF-445 refuse-message CF-446 reload CF-447 remote command CF-451 remote login CF-453 remote-span CF-455 rename CF-456 request platform software package describe file CF-457 request platform software package expand file CF-463 request platform software package install commit CF-466 request platform software package install file CF-468 request platform software package install rollback CF-477 request platform software package install snapshot CF-479 request platform software process release CF-481 request platform software system shell CF-483 request platform software shell session output format CF-484 request platform software vty attach CF-487 [...]... Configuration Guide • Cisco IOS Configuration Fundamentals Command Reference • Cisco IOS DECnet Configuration Guide • Cisco IOS DECnet Command Reference • Cisco IOS Dial Technologies Configuration Guide • Cisco IOS Dial Technologies Command Reference • Cisco IOS Flexible NetFlow Configuration Guide • Cisco IOS Flexible NetFlow Command Reference • Cisco IOS High Availability Configuration Guide • Cisco IOS High... Protocol-Independent Configuration Guide • Cisco IOS IP Routing: Protocol-Independent Command Reference • Cisco IOS IP Routing: RIP Configuration Guide • Cisco IOS IP Routing: RIP Command Reference • Cisco IOS IP SLAs Configuration Guide • Cisco IOS IP SLAs Command Reference • Cisco IOS IP Switching Configuration Guide • Cisco IOS IP Switching Command Reference • Cisco IOS IPv6 Configuration Guide • Cisco IOS IPv6 Command. .. multicast • Cisco IOS IP Routing: EIGRP Configuration Guide • Cisco IOS IP Routing: EIGRP Command Reference • Cisco IOS IP Routing: ISIS Configuration Guide • Cisco IOS IP Routing: ISIS Command Reference • Cisco IOS IP Routing: ODR Configuration Guide • Cisco IOS IP Routing: ODR Command Reference • Cisco IOS IP Routing: OSPF Configuration Guide • Cisco IOS IP Routing: OSPF Command Reference • Cisco IOS IP... (VSLP) Note • Cisco IOS Voice Configuration Library • Cisco IOS Voice Command Reference • Cisco IOS VPDN Configuration Guide • Cisco IOS VPDN Command Reference • Cisco IOS Wide-Area Networking Configuration Guide • Cisco IOS Wide-Area Networking Command Reference • Cisco IOS Wireless LAN Configuration Guide • Cisco IOS Wireless LAN Command Reference For information about virtual switch configuration, ... • Cisco IOS IP Application Services Command Reference • Cisco IOS IP Mobility Configuration Guide • Cisco IOS IP Mobility Command Reference • Cisco IOS IP Multicast Configuration Guide • Cisco IOS IP Multicast Command Reference • Cisco IOS IP Routing: BFD Configuration Guide Bidirectional forwarding detection (BFD) • Cisco IOS IP Routing: BGP Configuration Guide • Cisco IOS IP Routing: BGP Command Reference. .. (PPPoE) Cisco IOS Configuration Fundamentals Command Reference April 2010 xxv About Cisco IOS Software Documentation Documentation Organization Table 1 Cisco IOS Configuration Guides and Command References (continued) Configuration Guide and Command Reference Titles • Cisco IOS Carrier Ethernet Configuration Guide • Cisco IOS Carrier Ethernet Command Reference • Cisco IOS Configuration Fundamentals Configuration. .. Networking Configuration Guide • Cisco IOS Mobile Wireless Radio Access Networking Command Reference • Cisco IOS Multiprotocol Label Switching Configuration Guide • Cisco IOS Multiprotocol Label Switching Command Reference • Cisco IOS Multi-Topology Routing Configuration Guide • Cisco IOS Multi-Topology Routing Command Reference • Cisco IOS NetFlow Configuration Guide • Cisco IOS NetFlow Command Reference Cisco. .. and accounting Cisco IOS Configuration Fundamentals Command Reference April 2010 xxix About Cisco IOS Software Documentation Documentation Organization Table 1 Cisco IOS Configuration Guides and Command References (continued) Configuration Guide and Command Reference Titles • Cisco IOS Software Activation Configuration Guide • Cisco IOS Software Activation Command Reference • Cisco IOS Software Modularity... Client for Cisco IOS software (XSM Configuration) • • Cisco IOS Novell IPX Configuration Guide • Novell Internetwork Packet Exchange (IPX) protocol Cisco IOS Novell IPX Command Reference Cisco IOS Configuration Fundamentals Command Reference xxviii April 2010 About Cisco IOS Software Documentation Documentation Organization Table 1 Cisco IOS Configuration Guides and Command References (continued) Configuration. .. access Cisco IOS documentation, go to the Product/Technologies Support area of Cisco. com at the following location: http://www .cisco. com/go/techdocs Table 1 Cisco IOS Configuration Guides and Command References Configuration Guide and Command Reference Titles • Cisco IOS AppleTalk Configuration Guide • Cisco IOS AppleTalk Command Reference • Cisco IOS Asynchronous Transfer Mode Configuration Guide • Cisco . Cisco IOS Configuration Fundamentals Command Reference © 2010 Cisco Systems, Inc. All rights reserved. iii Cisco IOS Configuration Fundamentals Command. CCVP, Cisco, the Cisco Certified Internetwork Expert logo, Cisco IOS, Cisco Lumin, Cisco Nexus, Cisco Press, Cisco Systems, Cisco Systems Capital, the Cisco