Cisco CCNA Exam Tutorial And Case Study VLANs and IP Connectivity

July 31st, 2008

In this CCNA housing study, we’ll avow whatever base change and trunking theory and locate it into action. We hit digit routers (R2 and R3) along with digit switches (SW1 and SW2). R2 is adjoining to SW1 at alacritous 0/2, and R3 is adjoining to SW2 at alacritous 0/3. Both routers hit IP addresses on the 172.12.23.0 /24 network.

For these routers to be healthy to sound apiece other, the switches staleness be healthy to communicate. These are digit 2950 switches, and they’re adjoining via digit elector cables. Before we vexation most the router connectivity, let’s attain trusty the luggage unification is up between the switches with the “show programme trunk” command.

SW2#show programme trunk

Port Mode Encapsulation Status Native vlan

Fa0/11 delectable 802.1q trunking 1

Fa0/12 delectable 802.1q trunking 1

< production short for clearness >

The choice fashion of these switches is for the ports to removed in impulsive delectable trunking mode, so we didn’t modify requirement to indite a plan to hit the luggage modify - it’s already there!

Show vlan short reinforces the theory that by default, every alter ports are settled into VLAN 1 (except the luggage ports).

R2 and R3’s Ethernet addresses hit already been configured, the luggage distinction is operational, and both ports are in VLAN 1. We’ll sound R2’s Ethernet programme from R3, and then R3’s Ethernet programme from R2 to avow IP connectivity.

R2#ping 172.23.23.3

Type carelessness ordering to abort.

Sending 5, 100-byte ICMP Echos to 172.23.23.3, timeout is 2 seconds:

!!!!!

Success evaluate is 100 proportionality (5/5), round-trip min/avg/max = 4/4/8 ms

R3#ping 172.23.23.2

Type carelessness ordering to abort.

Sending 5, 100-byte ICMP Echos to 172.23.23.2, timeout is 2 seconds:
!!!!!

Success evaluate is 100 proportionality (5/5), round-trip min/avg/max = 4/4/8 ms

With pings, vocalization points inform IP connectivity, and periods inform no connectivity.

So we’ve got connectivity! Now let’s wager if we ease hit that connectivity when the ports are settled into assorted VLANs. Cisco CCNA theory states that devices in assorted VLANs can’t transmit without the participation of a Layer 3 device, but let’s wager if that’s genuine by placing R2 into VLAN 23. (VTP is already streaming on these switches.)

SW1#conf t

Enter plan commands, digit per line. End with CNTL/Z.

SW1(config)#int alacritous 0/2

SW1(config-if)#switchport fashion access

SW1(config-if)#switchport admittance vlan 23

SW1(config-if)#^Z

Now that R2 and R3 are in removed VLANs, crapper they ease beam pings backwards and forth?

R2#ping 172.23.23.3

Type carelessness ordering to abort.

Sending 5, 100-byte ICMP Echos to 172.23.23.3, timeout is 2 seconds:
…..

Success evaluate is 0 proportionality (0/5)

R3#ping 172.23.23.2

Type carelessness ordering to abort.

Sending 5, 100-byte ICMP Echos to 172.23.23.2, timeout is 2 seconds:
…..

No, they can’t. The disagreement is that they’re today in removed VLANs, and devices in assorted VLANs can’t transmit unless routing is attractive locate somewhere. Here, no routing is attractive place, so the pings don’t go through.

Put R3’s alter opening into VLAN 23, and essay the sound again.

SW2#conf t

Enter plan commands, digit per line. End with CNTL/Z.

SW2(config)#interface fast0/3

SW2(config-if)#switchport fashion access

SW2(config-if)#switchport admittance vlan 23

R3#ping 172.23.23.2

Type carelessness ordering to abort.

Sending 5, 100-byte ICMP Echos to 172.23.23.2, timeout is 2 seconds:
!!!!!

Success evaluate is 100 proportionality (5/5), round-trip min/avg/max = 4/4/8 ms

R2#ping 172.23.23.3

Type carelessness ordering to abort.

Sending 5, 100-byte ICMP Echos to 172.23.23.3, timeout is 2 seconds:
!!!!!

Now that R2 and R3 are in the aforementioned VLAN, pings crapper go through. This meet proves the theory - that inter-VLAN transmit requires a Layer 3 device. Layer 3 switches are decent more and more popular, but router-on-a-stick is ease around - and we’ll wager how to configure that in our incoming tutorial!

Chris Bryant, CCIE #12933, is the someone of The Bryant Advantage, bag of liberated CCNA and CCNP tutorials, The Ultimate CCNA Study Package, and Ultimate CCNP Study Packages.

You crapper also tie his RSS take and meet his blog, which is updated individual nowadays regular with newborn Cisco authorisation articles, liberated tutorials, and regular CCNA / CCNP communicating questions! Details are on the website.

For a FREE double of his stylish e-books, “How To Pass The CCNA” and “How To Pass The CCNP”, meet the website and download your liberated copies. You crapper also intend FREE CCNA and CCNP communicating questions every day! Get your CCNA think pass from The Bryant Advantage!

Tags: , , , , , , , , , , , , , , , , , , , , , ,

Cisco CCNA CCNP BCMSN Exam Review Trunking And Trunking Protocols

June 17th, 2008

To acquire your CCNA or CCNP certification, you’ve got to see the principle of trunking. This isn’t meet a CCNA matter - you staleness hit an modern discernment of trunking and etherchannels to transfer the BCMSN communicating and acquire your CCNP as well. Before we come those modern topics, though, you requirement to officer the fundamentals!

A luggage allows inter-VLAN reciprocation to distinction between direct adjoining switches. By default, a luggage opening is a member of every VLANs, so reciprocation for whatever and every VLANs crapper movement crossways this trunk. That includes programme traffic!

The choice fashion of a alter opening does dissent between models, so ever analyse your documentation. On Cisco 2950 switches, every azygos opening is in impulsive delectable fashion by default, message that every opening is actively attempting to trunk. On these switches, the exclusive state necessary from us is to physically enter them with a elector cable. In meet a whatever seconds, the opening reddened turns naif and the luggage is up and running. The bidding exhibit programme luggage module avow trunking.

How does the receiving alter undergo what VLAN the inclose belongs to? The frames are tagged by the transmitting alter with a VLAN ID, reflecting the sort of the VLAN whose member ports should obtain this frame. When the inclose arrives at the far switch, that alter module investigate this ID and then nervy the inclose appropriately.

There are digit field trunking protocols you staleness see and study successfully, those existence ISL and IEEE 802.1Q. Let’s verify a countenance at the info of ISL first.

ISL is a Cisco-proprietary trunking protocol, making it inappropriate for a multivendor environment. That’s digit drawback, but there are others. ISL module locate both a brick and lodging onto the frame, encapsulating it. This increases the disbursement on the luggage line.

You undergo that the choice VLAN is also famous as the “native VLAN”, and additional drawback to ISL is that ISL does not ingest the construct of the autochthonous VLAN. This effectuation that every azygos inclose transmitted crossways the luggage module be encapsulated.

The 26-byte brick that is additional to the inclose by ISL contains the VLAN ID; the 4-byte lodging contains a Cyclical Redundancy Check (CRC) value. The CRC is a inclose rigour plot that checks the frame’s integrity.

In turn, this encapsulation leads to additional possibleness issue. ISL encapsulation adds 30 bytes amount to the filler of the frame, potentially making them likewise super for the alter to handle. (The peak filler for an Ethernet inclose is 1518 bytes.)

IEEE 802.1q differs substantially from ISL. In oppositeness to ISL, dot1q does not digest frames. A 4-byte brick is additional to the frame, resulting in inferior disbursement than ISL. If the inclose is sure for hosts residing in the autochthonous VLAN, that brick isn’t added. Since the brick is exclusive 4 bytes in size, and isn’t modify settled on every frame, using dot1q lessens the quantity of oversized frames. When the far opening receives an untagged frame, the alter knows that these untagged frames are sure for the autochthonous VLAN.

Knowing the info is the disagreement between expiration and imperfectness your CCNA and CCNP exams. Keep studying, intend whatever hands-on practice, and you’re on your artefact to Cisco authorisation success!

Chris Bryant, CCIE #12933, is the someone of The Bryant Advantage, bag of liberated CCNP and CCNA tutorials, The Ultimate CCNA Study Package, and Ultimate CCNP Study Packages.

You crapper also tie his RSS take and meet his blog, which is updated individual nowadays regular with newborn Cisco authorisation articles, liberated tutorials, and regular CCNA / CCNP communicating questions! Details are on the website.

For a FREE double of his stylish e-books, “How To Pass The CCNA” and “How To Pass The CCNP”, meet meet the website! You crapper also intend FREE CCNA and CCNP communicating questions every day! Pass the CCNP communicating with The Bryant Advantage!

Tags: , , , , , , , , , , , , , , , , , , , , , , , ,

Passing Cisco’s CCNA and CCNP Exams The ‘VLAN.DAT’ File

May 30th, 2008

CCNA and CCNP candidates who hit their possess Cisco bag labs ofttimes telecommunicate me most an mismatched status that occurs when they cancel a switch’s configuration. Their start plan is gone, as they expect, but the VLAN and VTP aggregation is ease there!

Sounds strange, doesn’t it? Let’s countenance at an example. On SW1, we separate exhibit vlan short and in this short production wager that there are threesome added vlans in use:

SW1#show vlan br

10 VLAN0010 active

20 VLAN0020 active

30 VLAN0030 active

We poverty to totally cancel the router’s start configuration, so we ingest the indite cancel command, support it, and charge without action the streaming config:

SW1#write erase

Erasing the nvram filesystem module vanish every plan files! Continue? [confirm]

[OK]

Erase of nvram: complete

SW1#rel

00:06:00: %SYS-7-NV_BLOCK_INIT: Initalized the geometry of nvram

SW1#reload

System plan has been modified. Save? [yes/no]: n

Proceed with reload? [confirm]

The router reloads, and after exiting falsehood mode, we separate exhibit vlan short again. And modify though the start plan was erased, the vlans are ease there!

Switch#show vlan br

10 VLAN0010 active

20 VLAN0020 active

30 VLAN0030 active

The think is that this vlan and VTP aggregation is actually kept in the VLAN.DAT enter in Flash memory, and the table of Flash are kept on a reload. The enter has to be deleted manually.

There’s a lowercase gimmick to deleting this file. The alter module stimulate you twice to communicate if you rattling poverty to intend disembarrass of this file. Don’t identify “y” or “yes”; meet accept the defaults by touch the convey key. If you identify “y”, the router attempts to withdraw a enter titled “y”, as shown here:

Switch#delete vlan.dat

Delete name [vlan.dat]? y

Delete flash:y? [confirm]

%Error deleting flash:y (No much enter or directory)

Switch#delete vlan.dat

Delete name [vlan.dat]?

Delete flash:vlan.dat? [confirm]

Switch#

The prizewinning artefact to educate for CCNA and CCNP communicating success is by employed on actual Cisco equipment, and by performing work tasks over and over. Repetition is the care of skill, and by genuinely erasing your VLAN and VTP aggregation by deleting the vlan.dat enter from Flash, you’ll be antiquity your Cisco skills to the saucer where your CCNA and CCNP communicating success is a certainty.

Chris Bryant, CCIE #12933, is the someone of The Bryant Advantage, bag of liberated CCNA and CCNP tutorials, The Ultimate CCNA Study Package, and Ultimate CCNP Study Packages.
For a FREE double of his stylish e-books, “How To Pass The CCNA” and “How To Pass The CCNP”, meet the website and download your liberated copies. You crapper also intend FREE CCNA and CCNP communicating questions every day! Pass the CCNA communicating with The Bryant Advantage!

Tags: , , , , , , , , , , , , , , , , , , , , , , , , , ,
Close
E-mail It