Anda di halaman 1dari 26

Cisco Hierarchical Model:

For more information about this, please read our separate tutorial titled "The Cisco Hierarchical Model".

OSI Model:
The OSI model is a layered model and a conceptual standard used for defining standards to promote multi-vendor integration as well as maintain constant interfaces and isolate changes of implementation to a single layer. It is NOT application or protocol specific. In order to pass any Cisco exam, you need to know the OSI model inside and out. The OSI Model consists of 7 layers as follows: Layer Description Provides network access for applications, flow control and error recovery. Provides communications services to applications by identifying and establishing the availability of other computers as well as to determine if sufficient resources exist for communication purposes. Performs protocol conversion, encryption and data compression Allows 2 applications to communicate over a network by opening a session and synchronizing the involved computers. Handles connection establishment, data transfer and connection release Repackages messages into smaller formats, provides error free delivery and error handling functions Handles addressing, translates logical addresses and names to physical addresses, routing and traffic management. Device Protocol NCP, SMB, SMTP, FTP, SNMP, Telnet, Appletalk

Application

Gateway

Presentation

Gateway and redirectors

NCP, AFP, TDI

Session

Gateway

NetBios

Transport

Gateway

NetBEUI, TCP, SPX, and NWLink IP, IPX, NWLink, NetBEUI

Network

Router and brouter

Packages raw bits into frames making it transmitable across a network link and includes a cyclical redundancy check(CRC). It consists of the LLC sublayer and the MAC Switch, sublayer. The MAC sublayer is important to remember, as **Data Link bridge and it is responsible for appending the MAC address of the next brouter hop to the frame header. On the contrary, LLC sublayer uses Destination Service Access Points and Source Service Access Points to create links for the MAC sublayers. Physical layer works with the physical media for transmitting and receiving data bits via certain encoding schemes. It also includes specifications for certain mechanical connection features, such as the adaptor connector.

None

Physical

Multiplexer None and repeater

Here is an easy way to memorize the order of the layers:

All People Seem To Need Data Processing. The first letter of each word corresponds to the first
letter of one of the layers. It is a little corny, but it works. The table above mentions the term "MAC Address". A MAC address is a 48 bit address for uniquely identifying devices on the network. Something likes 00-00-12-33-FA-BC, we call this way of presenting the address a 12 hexadecimal digits format. The first 6 digits specify the manufacture, while the remainders are for the host itself. The ARP Protocol is used to determine the IP to MAC

mapping. And of course, MAC addresses cannot be duplicated in the network or problems will occur. For more information about ARP and related protocols, read Guide To ARP, IARP, RARP, and Proxy ARP. Data encapsulation takes place in the OSI model. It is the process in which the information in a protocol is wrapped in the data section of another protocol. The process can be broken down into the following steps: User information -> data -> segments -> packets/datagrams -> frames -> bits. When discussing the OSI model it is important to keep in mind the differences between "Connectionoriented" and "Connectionless" communications. A connection oriented communication has the following characteristics:

y y y y y y y

A session is guaranteed. Acknowledgements are issued and received at the transport layer, meaning if the sender does not receive an acknowledgement before the timer expires, the packet is retransmitted. Phrases in a connection-oriented service involves Call Setup, Data transfer and Call termination. All traffic must travel along the same static path. A failure along the static communication path can fail the connection. A guaranteed rate of throughput occupies resources without the flexibility of dynamic allocation. Reliable = SLOW (this is always the case in networking).

In contrast, a connectionless communication has the following characteristics:

y y y y y

Often used for voice and video applications. NO guarantee nor acknowledgement. Dynamic path selection. Dynamic bandwidth allocation. Unreliable = FAST.

(Note: Connectionless communication does have some reliability PROVIDED by upper layer Protocols.)

LAN Design:
Ethernet When we talk about a LAN, Ethernet is the most popular physical layer LAN technology today. Its standard is defined by the Institute for Electrical and Electronic Engineers as IEEE Standard 802.3, but was originally created by Digital Intel Xerox (DIX). According to IEEE, information for configuring an Ethernet as well as specifying how elements in an Ethernet network interact with one another is clearly defined in 802.3. For half-duplex Ethernet 10BaseT topologies, data transmissions occur in one direction at a time, leading to frequent collisions and data retransmission. In contrast, full-duplex devices use separate circuits for transmitting and receiving data and as a result, collisions are largely avoided. A collision is when two nodes are trying to send data at the same time. On an Ethernet network, the node will stop sending when it detects a collision, and will wait for a random amount of time before attempting to resend, known as a jam signal. Also, with full-duplex transmissions the available bandwidth is effectively doubled, as we are using both directions simultaneously. You MUST remember: to enjoy full-duplex transmission, we need a switch port, not a hub, and NICs that are capable of handling full duplex. Ethernets media access control method is called Carrier sense multiple access with collision dectection (CSMA/CD). Because of Ethernets collision habits it is also known as the best effort delivery system. Ethernet cannot carry data over 1518 bytes, anything over that is broken down into travel size packets.

Click here for a website with tons of information related to ethernet. Fast Ethernet For networks that need higher transmission speeds, there is the Fast Ethernet standard called IEEE 802.3u that raises the Ethernet speed limit to 100 Mbps! Of course, we need new cabling to support this high speed. In 10BaseT network we use Cat3 cable, but in 100BaseT network we need Cat 5 cables. The three types of Fast Ethernet standards are 100BASE-TX for use with level 5 UTP cable, 100BASE-FX for use with fiber-optic cable, and 100BASE-T4 which utilizes an extra two wires for use with level 3 UTP cable. Gigabit Ethernet Gigabit Ethernet is an emerging technology that will provide transmission speeds of 1000mbps. It is defined by the IEEE standard The 1000BASE-X (IEEE 802.3z). Just like all other 802.3 transmission types, it uses Ethernet frame format, full-duplex and media access control technology. Token Ring Token Ring is an older standard that isn't very widely used anymore as most have migrated to some form of Ethernet or other advanced technology. Ring topologies can have transmission rates of either 4 or 16mbps. Token passing is the access method used by token ring networks, whereby, a 3bit packet called a token is passed around the network. A computer that wishes to transmit must wait until it can take control of the token, allowing only one computer to transmit at a time. This method of communication aims to prevent collisions. Token Ring networks use multistation access units (MSAUs) instead of hubs on an Ethernet network. For extensive information on Token Ring, read Cisco's Token Ring/IEEE 802.5 tutorial.

Network Devices:
In a typical LAN, there are various types of network devices available as outlined below.

y y

Hub Repeat signals received on each port by broadcasting to all the other connected ports. Repeaters Used to connect two or more Ethernet segments of any media type, and to provide signal amplification for a segment to be extended. In a network that uses repeater, all members are contending for transmission of data onto a single network. We like to call this single network a collision domain. Effectively, every user can only enjoy a percentage of the available bandwidth. Ethernet is subject to the "5-4-3" rule regarding repeater placement, meaning we can only have five segments connected using four repeaters with only three segments capable of accommodating hosts. Bridge A layer 2 device used to connect different networks types or networks of the same type. It maps the Ethernet addresses of the nodes residing on each segment and allows only the necessary traffic to pass through the bridge. Packet destined to the same segment is dropped. This "store-and-forward" mechanism inspects the whole Ethernet packet before making a decision. Unfortunately, it cannot filter out broadcast traffic. Also, it introduces a 20 to 30 percent latency when processing the frame. Only 2 networks can be linked with a bridge. Switch Can link up four, six, eight or even more networks. Cut-through switches run faster because when a packet comes in, it forwards it right after looking at the destination address only. A store-and-forward switch inspects the entire packet before forwarding. Most switches cannot stop broadcast traffic. Switches are layer 2 devices. Routers Can filter out network traffic also. However, they filter based on the protocol addresses defined in OSI layer 3(the network layer), not based on the Ethernet packet addresses. Note that protocols must be routable in order to pass through the routers. A router can determine the most efficient path for a packet to take and send packets around failed segments. Brouter Has the best features of both routers and bridges in that it can be configured to pass the unroutable protocols by imitating a bridge, while not passing broadcast storms by acting as a router for other protocols. Gateway Often used as a connection to a mainframe or the internet. Gateways enable communications between different protocols, data types and environments. This is achieved via protocol conversion, whereby the gateway strips the protocol stack off of the packet and

adds the appropriate stack for the other side. Gateways operate at all layers of the OSI model without making any forwarding decisions. The goal of LAN segmentation is to effectively reduce traffic and collisions by segmenting the network. In a LAN segmentation plan, we do not consider the use of gateways and hubs at all and the focus turns to device such as switches and routers.

Bridging/Switching:
y Bridge - A layer 2 device used to connect different networks types or networks of the same type. It maps the Ethernet addresses of the nodes residing on each segment and allows only the necessary traffic to pass through the bridge. Packet destined to the same segment is dropped. This "store-andforward" mechanism inspects the whole Ethernet packet before making a decision. Unfortunately, it cannot filter out broadcast traffic. Also, it introduces a 20 to 30 percent latency when processing the frame. Only 2 networks can be linked with a bridge. y Switch - Switches are layer 2 devices that can link up four, six, eight or even more networks. Switches are the only devices that allow for microsegmentation. Cut-through switches run faster because when a packet comes in, it forwards it right after looking at the destination address only. A store-and-forward switch inspects the entire packet before forwarding. Most switches cannot stop broadcast traffic. Switches are considered dedicated data link device because they are close to a 100 % of the bandwidth. While bridging does most of its work by hardware, switches use fabric/software to handle most of its work.

Store-and-forward - The entire frame is received before any forwarding takes place. The destination and/or the source addresses are read and filters are applied before the frame is forwarded. Latency occurs while the frame is being received; the latency is greater with larger frames because the entire frame takes longer to read. Error detection is high because of the time available to the switch to check for errors while waiting for the entire frame to be received. This method discards frames smaller than 64 bytes (runts) and frames larger than 1518 bytes (giants). Cut-Through - The switch reads the destination address before receiving the entire frame. The frame is then forwarded before the entire frame arrives. This mode decreases the latency of the transmission and has poor error detection. This method has two forms, Fast-forward and fragment-free.

Fast-forward switching - Fast-forward switching offers the lowest level of latency by immediately forwarding a packet after receiving the destination address. Because fast-forward switching does not check for errors, there may be times when frames are relayed with errors. Although this occurs infrequently and the destination network adapter discards the fault frame upon receipt. In networks with high collision rates, this can negatively affect available bandwidth. Fragment Free Switching - Use the fragment-free option to reduce the number of collisions frames forwarded with errors. In fast-forward mode, latency is measured from the first bit received to the first bit transmitted, or first in, first out (FIFO). Fragment-free switching filters out collision fragments, which are the majority of packets errors, before forwarding begins. In a properly functioning network, collision fragments must be smaller then 64 bytes. Anything greater than 64 byes is a valid packet and is usually received without error. Fragment-free switching waits until the received packet has been determined not to be a collision fragment before forwarding the packet. In fragment-free, latency is measured as FIFO.

Spanning-Tree Protocol - Allows duplicate switched/bridged paths without incurring the latency effects of loops in the network. The Spanning-Tree Algorithm, implemented by the Spanning-Tree Protocol, prevents loops by calculating stable spanning-tree network topology. When creating a fault-tolerant network, a loop-free path must exist between all nodes in the network The Spanning-Tree Algorithm is used to calculate a loop-free paths. Spanning-tree frames, called bridge protocol data units (BPDUs), are sent and received by all switches in the network at regular intervals and are used to determine the spanningtree topology. A switch uses Spanning-Tree Protocol on all Ethernet-and Fast Ethernet-based VLANs. Spanning-tree protocol detects and breaks loops by placing some connections in standby mode, which

are activated in the event of an active connection failure. A separate instance Spanning-Tree Protocol runs within each configured VLAN, ensuring topologies, mainly Ethernet topologies that conform to industry standards throughout the network. These modes are as follows:

y y y y y

Blocking- NO frames forwarded, BPDUs heard. Listening No frames forwarded, listening for frames Learning- No frames forwarded, learning addresses. Forwarding- Frames forwarded, learning addresses. Disabled- No frames forwarded, no BPDUs heard.

The state for each VLAN is initially set by the configuration and later modified by the Spanning-Tree Protocol process. You can determine the status, cost and priority of ports and VLANs, by using the show spantree command. After the port-to-VLAN state is set, Spanning-Tree Protocol determines whether the port forwards or blocks frames.

VLANs:
A VLAN is a logical grouping of devices or users. These devices or users can be grouped by function, department application and so on, regardless of their physical segment location. VLAN configuration is done at the switch via switching fabric. A VLAN can be used to reduce collisions by separating broadcast domains within the switch. In other words, VLANs create separate broadcast domains in a switched network. Frame tagging at layer 2 does this. Frame tagging is a gaining recognition as the standard for implementing VLANs, and is recognized by IEEE 802.1q. Frame tagging uniquely assigns a VLAN ID to each frame. This identifier is understood and examined by each switch prior to any broadcasts or transmissions to other switches, routers, and end-stations devices. When the frame exits the network backbone, the switch removes the identifier before the frame is transmitted to the target end station. This effectively creates an environment with fewer collisions. The key to this is that ports in a VLAN share broadcasts, while ports not in that VLAN cannot share the broadcasts. Thus users in the same physical location can be members of different VLANs. We can plug existing hubs into a switch port and assign them a VLAN of their own to segregates users on the hubs. Frame filtering examines particular information about each frame. A filtering table is developed for each switch; this provides a high level of administrative control because it can examine many attributes of each frame. Frame filtering is slowly being erased and replaced by the frame tagging method. VLANs can be complicated to set up. VLANs use layer 2 addressing, meaning that routers are required between separate VLANs. The advantage of deploying layer 2 addresses is that layer 2 addressing is faster to process. It is also quite common for administrators to set up multiple VLANs with multiple access lists to control access. Layer 3 routing provides the ability for multiple VLANs to communicate with each other, which means that users in different locations can reside on the same VLAN. This is a flexible approach to network design. VLANs are configured on the switch three ways, port centric, static and dynamically. In port-centric VLANs, all the nodes connected to ports in the same VLAN are assigned the same VLAN ID. Packets do not leak into other domains, and are easily administered and provide great security between VLANs. Some say that static configured VLANs are the same as port centric, because static VLANs use the port centric method for assigning them to switch ports. Dynamic VLANs are ports on a switch that can automatically determine their VLAN assignments. Dynamic VLAN functions are based on MAC addresses, logical addressing, or protocol type of the data packets. When a station is initially connected to an unassigned switch port, the appropriate switch checks the MAC entry in the management database and dynamically configures the port with the corresponding VLAN configuration. The major high points of this method are less administration overhead, of course only after the first administration of the database within the VLAN management software. Creating and Maintaining VLANs VLAN Considerations

Lan Protocols:
The following sections will introduce the core LAN protocols that you will need to know for the exam.

TCP/IP: Every IP address can be broken down into 2 parts, the Network ID(netid) and the Host ID(hostid). All hosts on the same network must have the same netid. Each of these hosts must have a hostid that is unique in relation to the netid. IP addresses are divided into 4 octets with each having a maximum value of 255. We view IP addresses in decimal notation such as 124.35.62.181, but it is actually utilized as binary data so one must be able to convert addresses back and forth. The following table explains how to convert binary into decimal and visa versa: Decimal 128 64 32 16 8 4 2 Binary 10000000 01000000 00100000 00010000 00001000 00000100 00000010 Explanation When converting binary data to decimal, a "0" is equal to 0. "1" is equal to the number that corresponds to the field it is in. For example, the number 213 would be 11010101 in binary notation. This is calculated as follows: 128+64+0+16+0+4+0+1=213. Remember that this only represents 1 octet of 8 bits, while a full IP address is 32 bits made up of 4 octets. This being true, the IP address 213.128.68.130 would look like 11010101 10000000 01000100 10000010.

00000001

IP addresses are divided into 3 classes as shown below: Class Range A B C D E 1-126 128-191 192-223 224-239 (Multicasting) 240-255 (Experimental) IP addresses can be class A, B or C. Class A addresses are for networks with a large number of hosts. The first octet is the netid and the 3 remaining octets are the hostid. Class B addresses are used in medium to large networks with the first 2 octets making up the netid and the remaining 2 are the hostid. A class C is for smaller networks with the first 3 octets making up the netid and the last octet comprising the hostid. The later two classes arent used for networks. Explanation

A subnet mask blocks out a portion of an IP address and is used to differentiate between the hostid and netid. The default subnet masks are as follows: Class Default Subnet # of Subnets # of Hosts Per Subnet 126 16,384 2,097,152 16,777,214 65,534 254

Class A 255.0.0.0 Class B 255.255.0.0 Class C 255.255.255.0

In these cases, the part of the IP address blocked out by 255 is the Net ID. In the table above, the it shows the default subnet masks. What subnet mask do you use when you want more that 1 subnet? Lets say, for example, that you want 8 subnets and will be using a class C address. The first thing you want to do is convert the number of subnets into binary, so our example would be 00001000. Moving from left to right, drop all zeros until you get to the first "1". For us that

would leave 1000. It takes 4 bits to make 8 in binary so we add a "1" to the first 4 high order bits of the 4th octet of the subnet mask(since it is class C) as follows: 11111111.11111111.11111111.11110000 = 255.255.255.240. There is our subnet mask. Lets try another one...Lets say that you own a chain of stores that sell spatulas in New York and you have stores in 20 different neighborhoods and you want to have a separate subnet on your network for each neighborhood. It will be a class B network. First, we convert 20 to binary - 00010100. We drop all zeros before the first "1" and that leaves 10100. It takes 5 bits to make 20 in binary so we add a "1" to the first 5 high order bits which gives: 11111111.11111111.11111000.00000000 = 255.255.248.0. The following table shows a comparison between the different subnet masks. Mask # of Subnets Class A Hosts Class B Hosts Class C Hosts 192 224 240 248 252 254 255 2 6 14 30 62 126 254 4,194,302 2,097,150 1,048,574 524,286 262,142 131,070 65,534 16,382 8,190 4,094 2,046 1,022 510 254 62 30 14 6 2 Invalid Invalid

Note: 127.x.x.x is reserved for loopback testing on the local system and is not used on live systems. TCP/IP Ports - Ports are what an application uses when communicating between a client and server computer. Some common TCP/IP ports are: y 20 FTP-DATA y 21 FTP y 23 TELNET y 25 SMTP y 69 TFTP y 70 GOPHER y 80 HTTP y 110 POP3 y 137 NetBIOS name service y 138 NetBIOS datagram service y 139 NetBIOS y 161 SNMP You need to understand Buffering, Source quench messages and Windowing. Buffering allows devices to temporarily store bursts of excess data in memory. However, if data keep arriving at high speed, buffers can go overflow. In this case, we use source quench messages to request the sender to slow down. Windowing is for flow-control purpose. It requires the sending device to send a few packets to the destination device and wait for the acknowledgment. Once received, it sends the same amount of packets again. If there is a problem on the receiving end, obviously no acknowledgement will ever come back. The sending source will then retransmits at a slower speed. This is like trial and error, and it works. Note that the window size should never be set to 0 - a zero window size means to stop transmittion completely. 3COMs IP addressing tutorial is just superior. It covers basic IP addressing options as well as subnetting and VLSM/CIDR. IPX/SPX: IPX will also be an important issue to consider in network management given the fact there many companies still use Netware servers. There are two parts to every IPX Network address - the Network

ID and the Host ID. The first 8 hex digits represent the network ID, while the remaining hex digits represent the host ID, which is most likely the same as the MAC address, meaning we do not need to manually assign node addresses. Note that valid hexadecimal digits range from 0 through 9, and hexadecimal letters range from A through F. FFFFFFFF in hexadecimal notation = 4292967295 in decimal. Sequenced Packet Exchange(SPX) belongs to the Transport layer, and is connection-oriented. It creates virtual circuits between hosts, and that each host is given a connection ID in the SPX header for identifying the connection. Service Advertisement Protocol(SAP) is used by NetWare servers to advertise network services via broadcast at an interval of every 60 minutes by default.

WAN Protocols:
In general, there are three broad types of WAN access technology. With Leased Lines, we have pointto-point dedicated connection that uses pre-established WAN path provided by the ISP. With Circuit Switching such as ISDN, a dedicated circuit path exist only for the duration of the call. Compare to traditional phone service, ISDN is more reliable and is faster. With Packet Switching, all network devices share a single point-to-point link to transport packets across the carrier network - this is known as virtual circuits. When we talk about Customer premises equipment(CPE), we are referring to devices physically located at the subscribers location. Demarcation is the place where the CPE ends and the local loop begins. A Central Office(CO) has switching facility that provides point of presence for its service. Data Terminal Equipment(DTE) are devices where the switching application resides, and Date Circuitterminating Equipment(DCE) are devices that convert user data from the DTE into the appropriate WAN protocol. A router is a DTE, while a DSU/CSU device or modem are often being referred to as DCEs. Frame Relay: Frame Relay has the following characteristics:

y y y y y y

y y y y y

successor to X.25 has less overhead than X.25 because it relies on upper layer protocols to perform error checking. Speed in between the range of 56 Kbps to 2.078 Mbps. uses Data Link Connection Identifiers(DLCI) to identify virtual circuits, with DLCI number between 16 and 1007. uses Local Management Interfaces(LMI) to provide info on the DLCI values as well as the status of virtual circuits. Cisco routers support Cisco(Default), ANSI and Q933a. to set up frame relay, we need to set the encapsulation to frame-relay in either the Cisco(Default) mode or the IETF mode, although Cisco encapsulation is required to connect two Cisco devices. LMI type is configurable, but by default it is being auto-sensed. generally transfer data with permanent virtual circuits (PVCs), although we can use switched virtual circuits (SVCs) as well. SVC is for transferring data intermittently. PVC does not have overhead of establishing and terminating a circuit each time communication is needed. Committed Information Rate(CIR) is the guaranteed minimum transfer rate of a connection

Cisco has a web page that describes the configuration and troubleshooting of Frame relay Comprehensive Guide to Configuring and Troubleshooting Frame Relay ATM: ATM stands for Asynchronous Transfer Mode and is a high-speed, packet-switching technique that uses short fixed length packets called cells which are about 53 bits in length. ATM can transmit voice, video, and data over a variable-speed LAN and WAN connections at speeds ranging from 1.544Mbps to as high as 622Mbps. I recently read that the new standard may be 2Gbps. ATM's speed is derived

from the use of short fixed length cells, which reduce delays, and the variance of delay for delaysensitive services such as voice and video. ATM is capable of supporting a wide range of traffic types such as voice, video, image and data. PPP: As an improvement to Serial Line Internet Protocol (SLIP), Point-to-Point Protocol (PPP) was mainly for the transfer of data over slower serial interfaces. It is better than SLIP because it provides multiprotocol support, error correction as well as password protection. It is a Data Link Layer protocol used to encapsulate higher protocols to pass over synchronous or asynchronous communication lines. PPP is capable of operating across any DTE/DCE device, most commonly modems, as long as they support duplex circuits. There are 3 components to PPP:

y y

HDLC(High-level Data Link Control) - Encapsulates the data during transmission and is a link layer protocol which is also the default Cisco encapsulation protocol for synchronous serial links. HDLC is supposed to be an open standard, but Cisco's version is proprietary, meaning it can only function with Cisco routers. LCP(Link Control Protocol) - Establishes, tests and configures the data link connection. NCPs(Network Control Protocols) - Used to configure the different communication protocols, allowing them on the same line simultaneously. Microsoft uses 3 NCPs for the 3 protocols at the Network Layer (IP, IPX and NetBEUI)

PPP communication occurs in the following manner: PPP sends LCP frames to test and configure the data link. Next, authentication protocols are negotiated to determine what sort of validation is used for security. Below are 2 common authentication protocols:

y y

PAP is similar to a network login but passwords are sent as clear text. It is normally only used on FTP sites. CHAP uses encryption and is a more secure way of sending passwords.

Then NCP frames are used to setup the network layer protocols to be used. Finally, HDLC is used to encapsulate the data stream as it passes through the PPP connection. Point-to-Point Tunneling Protocol(PPTP) provides for the secure transfer of data from a remote client to a private server by creating a multi-protocol Virtual Private Network(VPN) by encapsulating PPP packets into IP datagrams. There are 3 steps to setup a secure communication channel:

1. PPP connection and communication to the remote network are established. 2. PPTP creates a control connection between the client and remote PPTP server 3. PPTP creates the IP datagrams for PPP to send.
The packets are encrypted by PPP and sent through the tunnel to the PPTP server which decrypts the packets, disassembles the IP datagrams and routes them to the host. Setting Up PPTP requires a PPTP Client, PPTP Server and a Network Access Server(NAS).

Cisco IOS:
Cisco routers use the Internetworking Operating System(IOS) which stores the configuration information in Non-Volatile RAM(NVRAM) and the IOS itself is stored in flash. The IOS can be accessed via Telnet, console connection(such as hyperterminal) or dialin connection. You can also configure the router as a web server and then access a web-based configuration panel via http. There are a variety of sources for booting include Flash memory, TFTP and ROM. It is always recommended that new image of IOS be loaded on a TFTP server first, and then copy the image from the TFTP server to the flash memory as a backup mechanism. The copy command such as "copy tftp flash" allows us to copy the IOS image from TFTP server to the Flash memory. And of course, we can always do the reverse. Now, we need to inform the router to boot from the correct source. The

following commands are examples of what we should type in depending on the situation. Typically, it is a good idea to specify multiple boot options as a fall back mechanism.
y boot system flash {filename} y boot system tftp {filename} {tftp server IP address} y boot system rom

After the boot up process we can prepare to login. The User EXEC is the first mode we encounter. It gives us a prompt of "Router>". To exit this mode means to log out completely, this can be done with the logout command. If we want to proceed to the Privileged EXEC, we need to use the enable EXEC command. Once entered, the prompt will be changed to Router#". To go back to user EXEC mode, we need to use the disable command. Note that all the configuration works requires the administrator to be in the Privileged mode first. Put it this way, Privileged EXEC mode includes support for all commands in user mode plus those that provide access to global and system settings. The setup command facility is for making major changes to the existing configurations, such as adding a protocol suite, modifying a major addressing scheme changes, or configuring a newly installed interface. If you aren't big on reading manuals, finding out the way to access help information is a MUST. To display a list of commands available for each command mode, we can type in a ? mark. IOS also provides context-sensitive help feature to make life easier. In order to pass this exam, you will need to be able to find your away around the IOS. We will list some the information here, but there is too much to list all of it. You will definitely need access to a router or get the software listed at the beginning of this study guide so that you can practice. Useful editing commands include: Command Crtl-P Crtl-N Crtl-B Crtl-F Crtl-A Crtl-E Esc B Esc F Purpose Recall commands in the history buffer starting with the most recent command. Return to more recent commands in the history buffer after recalling commands with Crtl-P or the up arrow key. Move the cursor back one character Move the cursor forward one character Move the cursor to the beginning of the command line Move the cursor to the end of the command line Move the cursor back one word Move the cursor forward one word

Crtl-R or CrtlRedisplay the current command line L You will find most of the IOS commands at the following 2 links: Router and Switch Commands http://www.cisco.com/warp/cpropub/45/tutorial.htm

Security:
Access Lists allow us to implement some level of security on the network by inspecting and filtering traffic as it enters or exits an interface. Each router can have many access lists of the same or different types. However, only one can be applied in each direction of an interface at a time (keep in mind that inbound and outbound traffic is determined from the router's perspective). The two major types of access lists that deserve special attention are the IP Access Lists and the IPX Access Lists.

Standard IP access lists can be configured to permit or deny passage through a router based on the source host's IP address. Extended IP access list uses destination address, IP protocol and port number to extend the filtering capabilities. Access can be configured to be judged based on a specific destination address or range of addresses, on an IP protocol such as TCP or UDP, or on port information such as http, ftp, telnet or snmp. We use access list number to differentiate the type of access list. In standard IP access lists we have numbers from 1 through 99, and in extended IP access lists we have numbers from 100 through 199: 1-99 100-199 200-299 300-399 600-699 700-799 800-899 900-999 Standard IP Extended IP Protocol type-code DECnet Appletalk Standard 48-bit MAC Address Standard IPX Extended IPX

1000-1099 IPX SAP 1100-1199 Extended 48-bit MAC Address 1200-1299 IPX Summary Address

When dealing with Access Control Lists or preparing for your CCNA exam, you have to deal with a 32bit wild card address in dotted-decimal form, known as your inverse mask. By Ciscos definition it is called inverse, but you can think of it as the reverse of your subnet mask in most cases. When dealing with your wild card mask, you have two values that you are working with. Like subnetting you have a 0 as "off" and a 1 as the "on" value. Wild cards deal with the 0 value as match and the 1 value as "ignore". What do I mean by ignore or match? If you have studied ACLs you should know that your goal is to set criteria to deny or permit and that is where your Inverse mask comes into play. It tells the router which values to seek out when trying to deny or permit in your definition. If you have dealt with subnetting you know that most of your address ended with an even number. With your inverse mask you will end up with an odd number. There are several different ways to come up with your inverse mask; the easiest is to subtract your subnet mask from the all routers broadcast address of 255.255.255.255. Example: You have a subnet mask of 255.255.255.0. To get your wild card mask all you have to do is: 255.255.255.255. -255.255.255.0 0.0.0.255 Then you can apply it to the definition, whether using a standard or extended ACL. Standard example: Router(config)# access-list 3 deny 170.10.1.0 0.0.0.255 How you would read this list. With this wild card you told the router to match the first three octets and you dont care whats going on in the last octet.

Extended example: Router(config)# access-list 103 permit 178.10.2.0 0.0.0.255 170.10.1.0 0.0.0.255 eq 80 How you would read this list? With this wild card you have told the router to match the first three octets and you dont care whats going on in the last octet. Think of it this way. If you had broken the decimal form down to binary, the wild card mask would look like this. 00000000.00000000.00000000.11111111 As you know the 1 means ignore and 0 means match. So in that last octet it could have been any value on that subnet line ranging from 0-255. For more information on IP Access Lists, read Configuring IP Access Lists

Routing:
There are 2 main types of routing, which are static and dynamic, the third type of routing is called Hybrid. Static routing involves the cumbersome process of manually configuring and maintaining route tables by an administrator. Dynamic routing enables routers to "talk" to each other and automatically update their routing tables. This process occurs through the use of broadcasts. Next is an explanation of the various routing protocols. RIP: Routing Information Protocol(RIP) is a distance vector dynamic routing protocol. RIP measures the distance from source to destination by counting the number of hops(routers or gateways) that the packets must travel over. RIP sets a maximum of 15 hops and considers any larger number of hops unreachable. RIP's real advantage is that if there are multiple possible paths to a particular destination and the appropriate entries exist in the routing table, it will choose the shortest route. Routers can talk to each other, however, in the real routing world, there are so many different routing technologies available, that it is not as simple as just enabling Routing Information Protocol (RIP). For information on RIP configuration, read Configuring RIP OSPF: Open Shortest Path First (OSPF) is a link-state routing protocol that converges faster than a distance vector protocol such as RIP. What is convergence? This is the time required for all routers to complete building the routing tables. RIP uses ticks and hop counts as measurement, while OSPF also uses metrics that takes bandwidth and network congestion into making routing decisions. RIP transmits updates every 30 seconds, while OSPF transmits updates only when there is a topology change. OSPF builds a complete topology of the whole network, while RIP uses second handed information from the neighboring routers. To summarize, RIP is easier to configure, and is suitable for smaller networks. In contrast, OSPF requires high processing power, and is suitable if scalability is the main concern. We can tune the network by adjusting various timers. Areas that are tunable include: the rate at which routing updates are sent, the interval of time after which a route is declared invalid, the interval during which routing information regarding better paths is suppressed, the amount of time that must pass before a route is removed from the routing table, and the amount of time for which routing updates will be postponed. Of course, different setting is needed in different situation. In any case, we can use the "show ip route" command to display the contents of routing table as well as how the route was discovered.

For commands and methods to configure OSPF read OSPF Commands IGRP and EIGRP: RIP and OSPF are considered "open", while IGRP and EIGRP are Cisco proprietary. Interior Gateway Routing Protocol(IGRP) is a distance vector routing protocol for the interior networks, while Enhanced Interior Gateway Routing Protocol (EIGRP) is a hybrid that combines distance vector and link-state technologies. Do not confuse these with NLSP. Link Services Protocol (NLSP) is a proprietary link-state routing protocol used on Novell NetWare 4.X to replace SAP and RIP. For IGRP, the metric is a function of bandwidth, reliability, delay and load. One of the characteristics of IGRP is the deployment of hold down timers. A hold-down timer has a value of 280 seconds. It is used to prevent routing loops while router tables converge by preventing routers from broadcasting another route to a router which is offline before all routing tables converge. For EIGRP, separate routing tables are maintained for IP, IPX and AppleTalk protocols. However, routing update information is still forwarded with a single protocol. (Note: RIPv2, OSPF and EIGRP include the subnet mask in routing updates which allows for VLSM (Variable Length Subnet Mask), hence VLSM is not supported by RIP-1 or IGRP.) For more information about IGRP, read Configuring IGRP For a detailed guideline on configuring EIGRP, read Configuring IP Enhanced IGRP Other Routing Info: In the routing world, we have the concept of autonomous system AS, which represents a group of networks and routers under a common management and share a common routing protocol. ASs are connected by the backbone to other ASs. For a device to be part of an AS, it must be assigned an AS number that belongs to the corresponding AS. Route poisoning intentionally configure a router not to receive update messages from a neighboring router, and sets the metric of an unreachable network to 16. This way, other routers can no longer update the originating router's routing tables with faulty information. Hold-downs prevent routing loops by disallowing other routers to update their routing tables too quickly after a route goes down. Instead, route can be updated only when the hold-down timer expires, if another router advertises a better metric, or if the router that originally advertised the unreachable network advertises that the network has become reachable again. Note that hold down timers need to work together with route poisoning in order to be effective. Split horizon simply prevents a packet from going out the same router interface that it entered. Poison Reverse overrides split horizon by informing the sending router that the destination is inaccessible, while Triggered Updates send out updates whenever a change in the routing table occurs without waiting for the preset time to expire. For a good introduction to routing, check out Routing Basics. Study Guide co-developed by Jason Sprague and Michael Yu Chak Tin Special thanks to Henry Henderson for updating our guide!

Routed vs. Routing Protocols


A routing protocol sends and receives routing information packets to and from other routers. A routed protocol can be routed by a router, which means that it can be forwarded from one router to another. A routed protocol contains the data elements required for a packet to be sent outside of its host netowkr or network segment. In other words, a routed protocol can be routed. Protocols used to communicate routing information between routers within an autonomous system are Interior Gateway Protocols (IGP), which are routing protocols, but not routed protocols. Examples of routed protocols are IP and IPX, and examples of routing protocfols are RIP and IGRP.

As far as the CCNA exam goes, there are three types of routing: static, dynamic, and default.
y Static routes - are fixed routes that are manually entered by the administrator into the router's configuration. y Dynamic routing - is the process by which a network adapts automatically to the changes in topology or traffic as those changes occur. y Default routes - are very much like static route. The administrator enters the default route, and it becomes the default path the router uses to forward packets for which it knows no other route to use. Without a default route, packets with unknown destinations are dripped.

A static route is configured on the router with a command like this: ip route [destination_network] [mask] [next_hop_address or exit interface] [administrative-distance] [permanent] Example: RouterA(config)#ip route 192.168.1.0 255.255.255.0 192.168.1.1 3 Using the previous command example the key elements of the static router configuration command are:

y ip route: This is the command used to designate a static route. y destination address: in this example, 209.220.93.243 is the IP address of the destination network. y submet mask: 192.169.1.0 is a Class C IP address and is using the default subnet mask for Class C addresses, 255.255.255.0 y next hop: Following the subnet mask is the address of the next hop router, 192.168.1.1 y administrative distance: This is a number between 0 and 255 that indicates how well the route can be trusted. The higher the number, the lower the trust. y permanent: if the interface is shut down or the router cannot communicate to the next hop router, the route is automatically discarded from the routing table. Choosing the permanent option keeps the entry in the routing table no matter what happens.

Static routing has the following benefits:


y No overhead on the router CPU y No bandwidth usage between routers y Security (because the administrator only allows routing to certain networks)

Static routing has the following disadvantages:


y The administrator must really understand the internetwork and how each router is connected to configure the routes correctly. y If on network is added to the internetwork, the administrator must add a route to it on all routers. y It's not feasible in large networks because it would be a full-time job.

Routers use a series of calculations and metric-based decisions to determine the most efficient and economical router for a packet to use to reach its destination. In general, these calculations and decisions are embedded in an algorithm. Here are some of the metrics used to determine the better route:
y Bandwidth: Maximum throughput speed in bits-per-second. y Cost: A arbitrary value assigned by the administrator for the crossing and intersection of networks. y Delay (latency): A group of factors such as congestion or distance. y Hop Count: The number of routers a packet passes through to reach its destination. y Load: The measure of traffic that flows through a router.

y MTUs (maximum transmission unit): The largest message size allowed on all routes to the destination. y Reliability: A value representing the amount of downtime for a network. y Ticks: A measurement of delay, based on the clock in a personal computer, where one tick is 1/18 of a second. It's used as part of the metric in IPX (Novell) RIP.

For the CCNA exam, you should remember that a distance-vector algorithm is concerned primarily with hop count, or the number of routers that a packet must pass through to reach its destination. RIP and IGRP use distance-vector algorighms. In each of these routing protocols, the routing table lists a remote network and also the number of hops required to get to it. RIP uses a maximum hop count of 15 and IGRP uses a maximum hop count of 255. Both are distance-vector routing protocols and interior routing protocols. Three mechanisms used with distance-vector protocols to control routing (count to infinity) loops are split horizon, route poisoning, and hold-downs.

RIP (Routing Information Protocol) is a classful, distance-vector routing protocol. As such, it uses information provided to it by its neighboring routers to maintain information in a routing table about the cost, in terms of hops and other metrics, of a particular route. For the CCNA exam focus on adding RIP statements to the router. The IGRP router command requires an autonomous system number to be assigned to the network entries included in the command. An IPX network address is an 80-bit number that is made up of a 32-bit network ID and the 48-bit MAC address. Because an IPX address includes the MAC address of a node, there's no need for ARP translations on an IPX network. Novell encapsulations and their Cisco equivalents:
Interface Ethernet FDDI Serial Cisco Command Word novell-ehter snap hdlc

Token Ring sap

Novell Frame Types and Their Cisco Equivalents:

Novell Ethernet_802.2 Ethernet_802.3 Ethernet_snap Ethernet_II FDDI_snap FDDI_raw FDDI_802.2 Token-Ring

Cisco sap novell-ether (default) snap arpa snap (default) novell-fddi sap sap (default)

Token-Rint_snap snap

Cisco Commands used to Monitor Router Operations:


Command Privileged Exec Mode ping show ipx traffic show ipx route show ipx interface show ipx servers debug ipx sap debug ipx routing Action You must be in this mode to use the remaining commands in this table. Verifies that a network connection is reachable. Displays IPX traffic statistics. Displays all IPX entries in the routing table or just one entry if the network value is entered. Displays a detailed view of an interface's IPX settings. Lists the IPX servers discovered through SAP advertisements. Displays messages regarding SAP updates. Displays messages about each routing update.

Verifying an IP Address IP addresses are verified using PING, Trace and Telnet. For the exam it's important that you know that PING is used to verify IP address connections to the Network layer and that Telnet is used to verify network IP address connections to the Application layer. Cisco PING Response Codes
Response Meaning ! (exclamation mark) Success . (period) U | (vertical bar) ? (question mark) C & (ampersand) Timed out waiting for reply Destination unreachable Ping process interrupted Unknown packet type Congestion-experienced Time to live exceeded

Cisco Trace Command Response Codes


Response Meaning * Timed out !H N P U router received packet but did not forward it network unreachable protocol unreachable port unreachable

Show commands - Cisco routers


Show version - software version, config files, boot images, config register, basic config of router Show ipx interface - status, ipx rip and sap received/sent, ipx accesslists Show ipx route - ipx routing table Show ipx servers - server list (name, port, hops, type of service) Show ipx traffic - number/type of packets, RIP and SAP packets Show protocol - ipx addresses of an interface, IP addresses and routing protocol Show ip protocol - routing update times, networks active on, neighbour routers, administrative distances, AS number Show access-lists - shows standard and extended access-lists on all interfaces Show access-list 101 Show ip interface - IP addresses, masks, MTU, access-lists, split horizon, ICMP, CDP status, NAT statistics, LMI info, DLCIs Show interface serial 0 - shows bandwidth, MTU, keepalives Show ip route - ip routing table Show cdp neighbor - deviceID, local intf, holdtime, capability, platform, remote portID Show cdp entry * - IP address of neighbour, protocol info, platform, capability, portID, holdtime, same info as show version, neighbour device ID, local interface Show cdp neighbor detail - same as above also IP address, version info Show cdp traffic - info on traffic and errors Show cdp interface - encapsulation, timer, holdtime for each intf Show controllers serial 0 - shows DTE/DCE connections, buffer size, collisions, mac address Show host(s) - shows hostname to IP resolution of hosts Show session(s) - shows connections to a remote device Show users - shows connections to your router, port and time connected Show frame-relay lmi - lmi errors and lmi type Show frame-relay pvc - all configured PVC's, DLCI numbers, status of connections, No. of BECN/FECN Show frame-relay pvc 16 Show frame-relay map - ip to dlci mappings Show run - display router config (RAM), configured PVCs, ACLs.

Show commands - 1900 switch


Show Show Show Show Show Show Show Show Show Show Show mac-address-table run ip - like ipconfig port system - shows switching method vtp trunk A allowed-vlans - shows which VLANS allowed on trunk link vlan-membership vlan 2 vlan - verify VLAN config history - shows last 10 commands entered by default terminal - shows terminal config + history buffer size

General router commands


Banner exec - for activation or incoming vty Banner incoming - displayed on reverse telnet sessions Banner login - displayed on all connected terminals. Displayed before MOTD banner but before login prompts Bfe - manual emergency mode setting Clear counters - clears counters on all interfaces Clear frame-relay-inarp - clears dynamic mappings Clear line 1 - clears vty 1 connection to a remote router Clock set 10.30.10 28 may 2002 Config-register 0x2102 - changes config register Copy flash tftp Copy tftp flash - copies IOS image from tftp server default directory to router flash Disable - to get back to user mode from privileged Disconnect 1 - clears a connection to a remote router Enable - to get into privileged mode Enable last-resort - define enable action if no tacas servers respond Enable use-tacas - tells the router to authenticate passwords through a tacas server Encapsulation isl 3 - encapsulates ISL frame-tagging for VLAN 3 on an interface Exec timeout 0 1 - sets console timeout to 1 second Exec-timeout 0 0 - sets exec timeout to never timeout Exec-timeout 1 0 - set exec timeout to 1 minute Ip domain-lookup - enables DNS (use no form to stop this) Ip domain-name nikmakris.com - appends domain name to hostname (required for DNS) Ip host nik 172.17.1.63 - adds to host table (up to 8 ip addr) Ip name-server - sets ip address(es) of DNS servers Lock - locks the terminal Logging synchronous - stops console messages overwriting commands Logout - to logout of the router Media-type 100BaseX - sets media type Mrinfo - request neigbour and version information from a multicast router No login - sets line, vty ports not to prompt for login info Passive-inteface s0 - disables routing updates on interface (Global command) - they are not sent out this interface but they are still received. Ping ipx 40.0000.0c8d.5c9d Service password-encryption - encrypts passwords (Global command) Terminal monitor - needed to view debug commands from telnet session Terminal history size 50 - sets command history to 50 lines Tftp-server system <image name> - Make router a tftp server

CCNA Study Notes:


Study Notes are one of the best ways to prepare for final certification exam. Free Tech Exams dot com provides CCNA Study Notes to help you pass final Cisco CCNA test and get certified.

Start reading CCNA Study Notes:


Cisco Hierarchical Internetworking Model OSI Layer Model TCP/IP IOS Commands CDP Routing Routing Protocols RIP IGRP

IOS Commands

Router modes Modes Router> Router# Router(config)# Description User mode Privileged mode Global configuration mode

Router(config-if)# Interface mode

Basic IOS Commands Command Description Syntax

Enable Disable

Puts you into privileged mode Takes you from privileged mode back to user mode Puts you in global configuration mode and change the running-config Sets the name of a router Creates a banner for users who log into the router Sets the encrypted enable password

Router>enable Router>disable

Config Terminal

Router#config t

Hostname Banner

Router(config)#hostname R1 Router(config)#banner motd #

Enable Password Enable Secret

Router(config)#enable password

Sets the encrypted enable secret. Supersedes Router(config)#enable secret the enable password if set Puts in the auxiliary interface configuration mode Router(config)#line aux 0 Router(config-line)#login Router(config)# password cisco

Line Aux

Line Console 0

Puts you in the console configuration mode

Router(config)#line console 0 Router(config-line)#login Router(config)# password cisco

Line Vty

Puts you in VTY (Telnet) interface configuration mode

Router(config-line)#line vty 0 4 Router(config-line)#login Router(config)# password cisco

Service Passwordencryption Terminal History Size Telnet

Encrypts the user mode and enable password Router(config)#service passwordencryption Changes your history size from the default of 10 up to 256 Tests IP connectivity and configures a router Router#terminal history size 25

Telnet [destination ip] Router#telnet 172.16.10.2

Ping

Tests IP connectivity

Ping [destination ip] Router#ping 172.16.10.2

Interface

Puts you in interface configuration mode for a Router(config)#int fa 0/0

Fastethernet 0/0 Interface Serial 1

fastethernet port Puts you in configuration mode for interface serial 1 and can be used for show commands Sets an IP address on an interface Router(config)#int serial 1

Ip Address

Router(config)#ip address 172.16.10.2 255.255.255.0 Router(config-if)#bandwidth 64

Bandwidth Copy Run Start

Sets the bandwidth on a serial interface

Short for copy running-config, startup-config. Router#copy run start Places a configuration into NVRAM Deletes the startup-config Router#erase startup-config Router#sh controllers s 0

Erase Startup

Show Controllers S Show the DTE or DCE status of an interface 0 Show History Shows you the last 10 commands entered by default Shows the statistics of interface serial 0

Router#sh history

Show Interface S 0 Show Run

Router#sh int s 0

Short for show running-config. Shows the configuration currently running on the router Short for show startup-config. Shows the backup configuration stored in NVRAM Shows you your configured history size Shows you statistic of the router Puts an interface in administratively-down mode

Router#sh run

Show Start

Router#sh start

Show Terminal Show Version Shutdown

Router#sh terminal Router#sh ver Router(config-if)#shutdown

IP Routing Commands Command Ip route Description Creates static and default routes on a router Syntax Ip route [destination_network] [mask] [next_hop_address or exitinterface] [administrative_distance] [permanent] Example: Router(config)#ip route

172.16.20.0 255.255.255.0 172.16.10.2 No ip route Removes a static default rout Router(config)#no ip route 172.16.20.0 255.255.255.0 172.16.10.2 Router(config)#router rip Router(config-if)#network 172.16.20.0

Router RIP Network

Turns on ip rip routing on a router Tells the routing protocol what network to advertise Turns on ip igrp routing on a router

Router igrp AS

Router igrp[Autonomous system no.] Router(config)#router igrp 10

Debug ip rip

Sends console messages displaying Router#debug ip rip information about rip packets being sent and received on a router interface Provides a summary of the igrp routing information running on the network Shows message requests from neighbor routes asking for an update and the broadcast sent from your router to that neighbor router Displays the ip routing table Router#debug ip igrp events

Debug ip igrp events Debug ip igrp transactions

Router#debug ip igrp transactions

Show ip route

Router#sh ip route

Show protocols Shows the routed protocols and network Router#sh protocols addresses configured on each interface Show ip protocols Shows the routing protocols and timers associated with each routing protocol configured on a router Router#sh ip protocols

Managing Internetwork Command Cdp enable No cdp enable Cdp run No cdp run Description Turns on cdp on an individual interface Turns off cdp on an individual interface Turns on cdp on a router Turns off cdp completely on router Syntax Router#cdp enable Router#no cdp enable Router#cdp run Router#no cdp run

Cdp holdtime Cdp timer Clear line

Changes the holdtime of cdp packets Changes the cdp update timer Clears a connection connected via telnet to your router Tells the router how to boot and to change the configuration register setting Copies a file from flash memory to a tftp host Copies the running-config file to the startup-config file Copies the running-config file to a tftp host Copies a file from a tftp host to flash memory Copies a configuration from a tftp host to the running-config file Deletes the contents of NVRAM on a router

Router(config)#cdp holdtime 240 Router(config)#cdp timer 90 Router#clear line 2

Config-register

Router(config)#config-register 0x0101 Router# copy flash tftp Router#copy run start

Copy flash tftp Copy run start

Copy run tftp Copy tftp flash Copy tftp run

Router#copy run tftp Router#copy tftp flash Router#copy tftp run

Erase startupconfig Ip host

Router#erase startup-config

Creates a host table on a router

Ip host[hostname] [ip address] Example: Router(config)#ip host router2 172.16.10.2

No ip host

Removes a hostname from a host table

Router(config)#no ip host router2 172.16.10.2 Router#sh cdp Router#sh cdp entry

Show cdp Show cdp entry

Displays the cdp timer and holdtime frequencies Same as show cdp neighbor detail, but does not work on a 1900 switch Shows the individual interfaces enabled with cdp

Show cdp interface Show cdp neighbor Show cdp neighbor detail

Router#sh cdp interface

Shows the directly connected neighbors and the details about them Shows the ip address and IOS version and type, and includes all of the information from the show cdp neighbor command

Router#sh cdp nei

Router#sh cdp neighbor detail

Show cdp traffic Shows the cdp packets sent and received on a device and any errors Show flash Show hosts Show sessions Shows the files in flash memory Shows the contents of the host table Shows your connections via telnet to remote device

Router#sh cdp traffic

Router#sh flash Router#sh hosts Router#sh sessions

Anda mungkin juga menyukai