# Basic router/switch commands ###### tags: `cisco` ``` [1]. Write running configuration to start-up configuration R1#copy running-config startup-config Destination filename [startup-config]? Building configuration... [OK] R1#write ? core Write Core File erase Erase NV memory memory Write to NV memory mib-data Write MIB persistence data to NV memory network Write to network TFTP server terminal Write to terminal <cr> R1#write memory Building configuration... [OK] R1# [2]. Load start-up configuration to running configuration R1#copy startup-config running-config Destination filename [running-config]? 1213 bytes copied in 1.260 secs (963 bytes/sec) R1# [3]. Show IOS version R1#show version Cisco IOS Software, C2600 Software (C2600-ADVENTERPRISEK9-M), Version 12.4(21), RELEASE SOFTWARE (fc1) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2008 by Cisco Systems, Inc. Compiled Thu 10-Jul-08 01:21 by prod_rel_team ROM: ROMMON Emulation Microcode ROM: C2600 Software (C2600-ADVENTERPRISEK9-M), Version 12.4(21), RELEASE SOFTWARE (fc1) R1 uptime is 2 hours, 7 minutes System returned to ROM by unknown reload cause - suspect boot_data[BOOT_COUNT] 0x0, BOOT_COUNT 0, BOOTDATA 19 System image file is "tftp://255.255.255.255/unknown" This product contains cryptographic features and is subject to United States and local country laws governing import, export, transfer and use. Delivery of Cisco cryptographic products does not imply third-party authority to import, export, distribute or use encryption. Importers, exporters, distributors and users are responsible for compliance with U.S. and local country laws. By using this product you agree to comply with applicable laws and regulations. If you are unable to comply with U.S. and local laws, return this product immediately. A summary of U.S. laws governing Cisco cryptographic products may be found at: http://www.cisco.com/wwl/export/crypto/tool/stqrg.html If you require further assistance please contact us by sending email to export@cisco.com. Cisco 2621 (MPC860) processor (revision 2.2) with 111616K/19456K bytes of memory. Processor board ID FTX0945W0MY M860 processor: part number 0, mask 0 2 FastEthernet interfaces 2 Serial(sync/async) interfaces 32K bytes of NVRAM. 8192K bytes of processor board System flash (Read/Write) Configuration register is 0x2102 [4]. Show running-configuration or startup-configuration R1#show running-config R1#show startup-config [5]. Show brief summary of IP and status on all interfaces R1#show ip interface brief Interface IP-Address OK? Method Status Protocol FastEthernet0/0 unassigned YES TFTP administratively down down Serial0/0 10.1.102.1 YES manual up up FastEthernet0/1 unassigned YES TFTP administratively down down Serial0/1 10.1.103.1 YES manual up up Loopback11 10.1.1.1 YES manual up up Loopback15 10.1.1.5 YES manual up up Loopback19 10.1.1.9 YES manual up up R1# [6]. Show interface status and configuration R1#show interfaces FastEthernet 0/0 FastEthernet0/0 is administratively down, line protocol is down Hardware is AmdFE, address is c800.08ac.0000 (bia c800.08ac.0000) MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation ARPA, loopback not set Keepalive set (10 sec) Full-duplex, 100Mb/s, 100BaseTX/FX ARP type: ARPA, ARP Timeout 04:00:00 Last input never, output never, output hang never Last clearing of "show interface" counters never Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0 Queueing strategy: fifo Output queue: 0/40 (size/max) 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 0 packets input, 0 bytes Received 0 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored 0 watchdog 0 input packets with dribble condition detected 0 packets output, 0 bytes, 0 underruns 0 output errors, 0 collisions, 0 interface resets 0 unknown protocol drops R1#show interfaces Serial 0/0 Serial0/0 is up, line protocol is down Hardware is PowerQUICC Serial Description: R1->R2 Internet address is 10.1.102.1/29 MTU 1500 bytes, BW 64 Kbit, DLY 20000 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation HDLC, loopback not set Keepalive set (10 sec) Last input 00:06:15, output 00:00:05, output hang never Last clearing of "show interface" counters never Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0 Queueing strategy: weighted fair Output queue: 0/1000/64/0 (size/max total/threshold/drops) Conversations 0/1/256 (active/max active/max total) Reserved Conversations 0/0 (allocated/max allocated) Available Bandwidth 48 kilobits/sec 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 190 packets input, 14139 bytes, 0 no buffer Received 190 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort 244 packets output, 16739 bytes, 0 underruns 0 output errors, 0 collisions, 18 interface resets 0 unknown protocol drops 0 output buffer failures, 0 output buffers swapped out 0 carrier transitions DCD=up DSR=up DTR=up RTS=up CTS=up R1# ```