Table of Contents

Cisco Configuration Command Examples



Show running-config

without more

Host# ter len 0
Host# sh run
Host# terminal length 0
Host# show run
Host# conf t
Host(config)# do ter len 0
Host(config)# do sh run

with more

Host# terminal length 24
Host# show run
Host# terminal length 30
Host# show run


Check Interface Configuration

Host# sh int status
Host# sh run int Gi1/0/8
Host# configure terminal
Host(config)# do sh int status
Host(config)# do sh run int Gi1/0/8


Save Configration

Host# copy running-config startup-config

or

Host# wr
or
Host# write


Configuration Backup to TFTP Server

Backup Runnning Configuration to TFTP Server

Host#copy running-config tftp:
or
Host#copy running-config tftp:conf/aaa01-rt/aaa01-rt_20131115.txt
or
Host#copy running-config tftp://192.168.0.10/conf/aaa01-rt/aaa01-rt_20131115.txt

Backup Startup Configuration to TFTP Server

Host#copy startup-config tftp:

Configuration Backup to TFTP Server With VRF

Host#copy startup-config tftp:conf/test-l2/test-l2_20151010.txt  vrf <VRFNAME of Management>

Host#copy startup-config tftp://192.168.0.10/conf/test-l2/test-l2_20151010.txt  vrf <VRFNAME of Management>

Configuration Restore From TFTP Server

Host#copy tftp running-config

or

Host#copy tftp startup-config