Month: April 2012

Cisco – Router and Switch Modes

You may use the following commands to change the information stored in the dynamic RAM (running-config) or NVRAM (startup-config) on a Cisco router or switch.

To make changes to the configuration running in dynamic RAM (running-config file) you may use the following commands. In particular, the “configure terminal” command (or “config t” for short) is used to make changes to the running-config which is the configuration currently stored in the DRAM of the Cisco device.

router-1>enable
router-1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
router-1(config)#

To make changes to NVRAM (the startup-config file) you may use the following commands. In particular, the “configure memory” command (or “config mem” for short) is used to make changes to the startup-config file. The startup-config file is the file that contains the router or switch default configuration after boot.

router-1>enable
router-1#configure memory

R2#

As you can see, when I entered the “configure memory” command the hostname of the router changed. This is due to the fact that I originally changed the hostname of the router to “router-1″ but did not save the information in DRAM (running-config) into NVRAM (startup-config).

As always, if you make a change to the running-config you must save it to the startup-config or any configuration changes will be lost after your next reboot of the router or switch. The commands to save the running-config into the startup-config are the following, “copy running-config startup-config”, “copy run start” or “write mem”.

Enjoy!


Cisco – Configuring a Router or Switch Hostname

You may use the following commands to configure the hostname on a Cisco router or switch. Changing the hostname will not affect the performance of the router or switch but it will help you identify the particular device you are connected to. Also, this is a non-ISR 1700 series router run on the Graphical Network Simulator 3 (GNS3) platform.

R1>enable
R1#config t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#hostname Florida
Florida(config)#hostname Orlando
Orlando(config)#hostname Miami
Miami(config)#hostname Tampa
Tampa(config)#

Again, changing the hostname will not improve or degrade the performance of the hardware device but I believe it is a good network administration practice.


Microsoft Windows Server 2008 – Ping Responses

By default, Windows Server 2008 is configured to block all incoming Internet Control Message Protocol (ICMP) echo requests. You can enable the echo requests by making a configuration change to the Windows firewall using the following two methods.

1. Open the command prompt and type the following command “netsh firewall set icmpsetting 8”.
2. Open the Windows Firewall with Advanced Security. Navigate to the inbound rules and enable “File and Printer Sharing (Echo Request – ICMPv4-In)”.


CentOS

To learn more about Linux Community Enterprise Operating System (CentOS) then visit the official Linux CentOS website at www.centos.org.


Networking – Open System Interconnection (OSI) Model

The Open Systems Interconnection (OSI) model is one of the fundamental building blocks for building your networking knowledge upon. This conceptual model is based upon the following seven layers.

7. Application

6. Presentation

5. Session

4. Transport

3. Network

2. Data Link

1. Physical