Jun 30

Today I needed to get interested in how memory works at the IOS, so here is a quick article about it with the information I could find here and there, you might be interested.Especially the IOS commands to check the memory status of your router.

Like any OS, IOS must implement a number of basic principles:

* Process Management
* Memory Management
* Device Management

We’ll look specifically at the system memory management. Recent work with OS protected memory.A process x can not access the memory of a process y (Shared Memory, Message Queues, Pipes, Network Connections, …). For the process x process dialogue with it, they will have to use other methods (Shared Memory, Message Queues, Pipes, Network Connections, …). These methods secure processes between them, but nevertheless they work slow. The IOS does not support shared memory, all processes have access to the memory without restrictions.A process is therefore free to interact with one another in writing in the memory of the latter (Buffer Overflow = Crash).There is however a notion of memory R / W and R / W

IOS works with memory pools, the Pool Manager who is responsible.Here, a pool reserved for the procesand a pool reserved for I / O:

Router # show memory
 Head Total (b) Used (b) Free (b) Lowest (b) Largest (b)
 Processor
 653B8C20 155481056 86243592 69237464 68168948 67670028
 I/O
 EE800000 25165824 5269012 19896812 19819968 19871932


Head: beginning the pool
Total: pool size in bytes
Used: current use of the pool in bytes
Free : current free memory pool in bytes
Lowest :free memory historically the lowest in bytes
Largest :The largest contiguous block of free memory

Region Manager : These same pools belong to regions of memory managed by the Region Manager:

Router # show region

Region Manager:
Start End Size (b) Class Media Name
0×0E800000 0×0FFFFFFF iomem 25165824 R / W iomem: (iomem)
0×60000000 243269632 0×6E7FFFFF Room R / W Hand
0×6000F000 0×632FFFFF iText 53415936 R / O main: text
0×63300000 28310784 0×64DFFCFF iData R / W main: data
0×64DFFD00 0×653B8C1F IBSS 6000416 R / W main: bss
0×653B8C20 0×6E7FFFFF 155 481 056 Room R / W main: heap
0×80000000 243269632 0×8E7FFFFF Room R / W main: (main_k0)
0xA0000000 0xAE7FFFFF 243 269 632 Room R / W main: (main_k1)
0xEE800000 0xEFFFFFFF iomem 25165824 R / W iomem

The Processor memory pool is within the area hand heap. This region is part of the region starting in hand 0 × 60000000 and ends at 0 × 6E7FFFFF. The memory pool I / O is the region of iomem 0xEE800000 to 0xEFFFFFFF.
Read the rest of this entry »

Jun 7

The current settings of the router are stored in RAM, this type of memory loss when switched off the content router. To prevent this from happening it is necessary to make a copy to the NVRAM. The copy command is used for this purpose, identifying a data source to store and a destination where such data are stored. You can save settings to NVRAM RAM, the RAM to a TFTP server, etc…

MADRID # copy running-config startup-config
Copy RAM to NVRAM

MADRID # copy running-config startup-config
A copy of the NVRAM to RAM Read the rest of this entry »

May 28

The materials used in this lab:-

  • 2 Cisco Routers with serial interface
  • 2 Cables V35-DTE
  • Teleco DCE Modem 2 TD-3 604T
  • 2 Cables V35-DTE
  • 1 Cable RJ11 (modified for the connection of two modems DCE-3)

Read the rest of this entry »

May 15

The ethernet interface of the router is on the same network as the TFTP server and the procedure is performed via the console and not via telnet, as the routing functions are disabled during the process. Having said that we can proceed to configure the ethernet interface of the router with an IP address:

Router # configure terminal
Router (config) # interface ethernet0
Router (config-if) # ip address 192.168.0.2 255.255.255.0
Router (config-if) # no shutdown
Router (config-if) # exit
Router (config) # exit
Router #
Read the rest of this entry »

May 13

RAM / DRAM
The RAM is the current configuration and also reserves the ARP cache, fast-switching cache, the buffer occupied by the packets and the routing tables. RAM contents are lost at shutdown or reboot the router.

NVRAM
Not Volatile Ram. There is the startup configuration / backups, which contrary to what happens in RAM, this is not lost when shutdown or reboot the router. Read the rest of this entry »

Apr 23

Let’s see the configuration of TFTP server, which can be useful to download an image on a device not directly accessible.

Router # conf t
Router (config) # tftp-server?
Flash: Allow URL file TFTP load requests
null: Allow URL file TFTP load requests
nvram: Allow URL file TFTP load requests
system: Allow URL file TFTP load requests
Router (config) # tftp-server flash:?
flash: c1700-Y7-mz.123-13.bin
Read the rest of this entry »

Apr 20

For those who often work on remote Cisco device is very useful to have the opportunity to recover the previous configuration changes made (perhaps because it has lost connectivity …).

To do this it is possible to set an automatic reload, which will allow us to restart the router with its original configuration (startup-config) and recover the connection.

The command is as follows:

Router # reload in?
Delay before reload (mmm or hhh: mm)
Router # reload in 45
Router # reload in 45?
LINE Reason for reload

Router # reload in 45 For Test?
LINE
Router # reload in 45 For Test
System Configuration Has Been Modified. Save? [Yes / no]: n
Reload scheduled for 12:18:08 MET +1 Thu Aug 3 2006 (45 minutes) by foo on vty0 (10.55.198.121)
Reload reason: For Test
Proceed with reload? [Confirm]
Read the rest of this entry »

Mar 12

These devices are essential elements of any wired or wireless network. It is therefore essential to understand how to manage the traffic and how to set paths to follow.

As the Router enter in the OSI model
Although only a theoretical framework, the OSI model is a good way to see how all these protocols, addresses and network devices (such as just the router) complement one another.
The Layer 2 and 3 of the OSI model are those that apply in this case. The Layer 2 Data Link layer is where there exist the Ethernet protocol, the MAC addresses and switches. Layer 3, network layer, is where there exist the IP protocol, IP addresses and routers. Consider that all traffic is sent from your computer, starting from Layer 7 (application of your network) up to Layer 1 (physical layer). Through the physical layer, medium traffic flows on your network (whether wired or wireless to a network).

The traffic passes through a router only if it is not on your local LAN. Routers operate at Layer 3 but above all must interpret at least 1 to 3 layers. Many parsed routers each type of traffic up to layer 4 to 7 and in various ways, but to simplify the concept we consider that only operate at Layer 3. Read the rest of this entry »

Mar 10

Many network administrators would have perhaps never been aware of the fact that their router may be subject to an attack. In fact, the router operating systems are as vulnerable as the network operating systems. Read the rest of this entry »

Feb 23

Installing the Cisco Unified CME Router

First make sure you have installed your router an IOS suitable for CME.
The CME software includes a set of files, divided into the following categories.

Basic files: These are the core files that are required to operate the CME. These files also include firmware that allows Cisco IP phones to operate.
Gui files: These files make it possible to control the CME web.
XML template files: These files determine the control structure of Web pages for the configuration of the CME.

Changing these files allow you to create different levels of administration.

  • MOH files: audio files are used for Music on Hold (MOH)
  • Script files: Defined as Various Tool Command Language (Tcl) script files to provide advanced functions in the CME (eg automatic call distributor ACD)
  • Miscellaneous files: There are additional files that allow you to customize the ring tones or background different models Cisco IP Phones

Read the rest of this entry »

« Previous Entries



Networkrim remains as the top los angeles colocation provider since 1998 with 888isp.com
The best web hosting services are updated daily at upperhost reviews

Designed By :Xperwebbuilder.com  All Right Reserved