Skip to content

Network Ninja

The Long Road to Cisco

  • Home
  • About
  • Legal Disclaimer
  • Archives

Less
More
Trim
Untrim
« Older
Home
Loading
Newer »

Archive for the 'Cabling and Equiptment' Category

Preparing a used switch for use

Published
by
Deon Botha
on July 3, 2008
in BCMSN, Cabling and Equiptment, Certification, Cisco Systems, Concepts and Constructs, SSH, Telnet and VLAN
. 0 Comments

Console Port AS

Console Port DS

Step 1: Connect a Workstation (PC or notebook) to the console port of the switch (shown above for Access layer-2 and Distribution layer-3 devices). This is the Cisco Blue cable that comes with the switches (generally a RJ-45 connector on one end and Serial connector on the other, dependant on the switch it was shipped with).

This will enable you to gain console access via Telnet or SSH into your switch. This is how configuration is done at the command line level (if you got this far without ever doing this, it’s a miracle you passed).

Step 2 :D elete the vlan.dat file

When in privaleged mode, you can type the following commands and delete the vlan.dat file
ASW1#delete vlan.dat
Delete filename [vlan.dat]?
Delete flash:vlan.dat? [confirm]
ASW1#

Step 3 :D elete the startup-config file

After erasing the vlan.dat file all vlan information is gone, now the startup config file needs to be erased as this holds VTP, interface, passwords and other information that you want to get rid of to start the switch from scratch.

ASW1#erase startup-config
Erasing the nvram filesystem will remove all configuration files! Continue? [confirm]? [OK]
Erase of nvram: complete
ASW1#

Step 4:Reload

After the above steps, it is now time to reload the switch

ASW1#reload
System configuration has been modified. Save? [yes/no] no
Proceed with reload?

Side Note

As a side note User-Defined VLAN setting is stored in a file on flash called vlan.dat (unix/linux based operating systems like Cisco IOS use case sensitive file naming unlike windows where a file called Aaa.dat and aaa.dat will be seen as identical.

If and when VLAN information is configured and created on a network, this vlan.dat file is used and information stored inside this file. To insert new kit or old kit into a networking (or lab) use the above steps to get rid of the file. If you have for some reason renamed the file using the below steps then you need to follow the below steps.

You can change the file-name where the vlan.dat is stored in the following way:

ASW1(config)#vtp file VLAN.dat

This command changes the vlan.dat file from vlan.dat (all lowercase) uppercase which is seen as different in IOS.

To then delete the file keep in mind that you have to keep the case sensitive spelling otherwise IOS will tell you the file doesn’t exist or delete the old file (vlan.dat) and not the new file where information is actually stored in. To delete the file:

ASW1#delete VLAN.dat

You can name the file anything you want and do pretty much anything you want on “your network”, just keep in mind that keeping things as standard and normal as possible means that if you leave your current job / position / contract the next person to work on that network is going to hate your guts if you went buck wild and creative setting up things in totally weird ways.

Notes and Notices:

This is a part of my personal BCMSN notes and research to assist myself in learning and understanding the concepts and theory for the BCMSN exam. I learn by making notes reading and writing things down and wish to file them where I can’t lose them. These notes are not to be seen, judged or mistaken for replacements to Cisco recognized and authorized training which I personally support and attend and suggest you undertake if you are going for the BCMSN Certification.

Transparent Bridges

Published
by
Deon Botha
on April 14, 2008
in BCMSN, Cabling and Equiptment, Certification, Cisco Systems, Concepts and Constructs and STP
. 0 Comments

Transparent Bridges were first developed in the 1980s by Digital Equipment Corporation which handed their work to the IEEE which incorporated the work into the IEEE 802.1 standard. When one looks at the operation of transparent bridges the basic operation reminds one of a switch because the basic operation is identical on a per-VLAN basis.

By definition end-devices don’t know that they aren’t directly connected to a server or other resources. This would mean that end-devices require no additional configuration to make them work with transparent bridges. The problem with transparent bridges is that they lack the capability to dynamically discover network topology and ensure only one path through the network.

The characteristics of a transparent bridge is that:

  1. Transparent Bridges don’t modify frames that it forwards
  2. Transparent Bridges learns addresses by listening and analyzing on ports for source MAC addresses. It uses these MAC addresses like a return-to-sender system where if a source MAC address for Host A is found on Port 1 when Host A sends something the Transparent Bridge assumes that by sending frames back out Port 1 for Host A it will reach Host A. The bridge then builds a table of MAC source addresses and Ports which is updated constantly.
  3. Transparent Bridges forwards all broadcasts out all ports except the port the port that the broadcast came in on.
  4. When a destination is unknown it forwards out all ports except the port that the unknown frame came in on (unicast flooding).

This all having been said STP provides the missing link in that it gives Ethernet and other protocol transparent bridges what it lacks. STP provides a way by which Ethernet transparent bridges can dynamically discover network topologies and ensure only one path is active through a network; thus eliminating loops.

Without STP there is no fool proof way to make a transparent bridge environment redundant. STP also protects against idiots accidental cabling things incorrectly because it prevents bridging loops.

I have been called in on a problem like this where someone decided a network cable looked untidy and plugged both ends of a RJ-45 cable into a access switch. Expert opinion said the switches in the rack server room had blown, the server was crashing, there was a virus on the network. Walking around the office and unplugging the looped network cable sorted out all problems.

Identifying Traffic Loops

Traffic loops are observed when a frame is forwarded continually and redundantly; this happens when there is no dynamic mechanism to manage multiple paths to the same destination. When a loop occurs firewalls think they are in WW3 and shut down access, switches start forwarding out all ports except the port it came in on (the LEDs look like X-Mas lights on steroids with activity), the load and activity on the network means no one is going to be doing anything until it is sorted out. Examples of this can be found in the above document or another Cisco document.

I made some pictures (I was bored) we have a sample network

Common Loop Network

That wants to send a frame from Work-Station-01 on Segment 1 to to Work-Station-02 on Segment 2 and so it begins. Work-Station-01 sends and both the bridges on Segment A see the frame making annotations in their tables that Work-Station-01 is in Segment A.

The Loop Begins

Our Packet Reaches its destination with Work-Station-02 but other things also happen like both bridges see a frame from Work-Station-01 from Port 2/2 and Port 1/2 and they make the adjustments in their tables that Work-Station-01 is in Segment B.

The Loop Reply

Work-Station-02 having received the frame wants to reply / acknowledge receipt to get the rest and sends a frame. Both bridges receive the frame and give Work-Station-02 the Access Denied sign and drop the frame because Work-Station-01 according to them is in Segment 2.

Loop Reasons

Now this all gets more interesting when anyone broadcasts something on the network. In this Work-Station-01 is going to broadcast something on the network and the fun begins. The Frame sent from Work-Station-01 is received by both bridges and forwarded out all ports except the received port like they should. The frame is received on Segment 2 by Work-Station-02 but also by both bridges (port 1/2 and port 2/2) and the bridges follow the rules and forward the frame again out all except the one it came in on. Repeat this about 100 times or until someone switches off one of the bridges or one of them just cant take the load anymore.

Looping Disaster

Notes and Notices:

This is a part of my personal BCMSN notes and research to assist myself in learning and understanding the concepts and theory for the BCMSN exam. I learn by making notes reading and writing things down and wish to file them where I can’t lose them. These notes are not to be seen, judged or mistaken for replacements to Cisco recognized and authorized training which I personally support and attend and suggest you undertake if you are going for the BCMSN Certification.

Cabling and Equipment with relation to Network Design

Published
by
Deon Botha
on April 8, 2008
in BCMSN, Cabling and Equiptment, Certification, Cisco Systems, Concepts and Constructs, ECNM and Interconnection Technologies
. 0 Comments

The objective in network design is security availability, scalability and manageability. To achieve these objectives the following needs evaluation in the process of migrating to ECNM:

Replacement of hubs and legacy switching gear to new switching technology at the Building Access layer. Important factors include port density (current and expected), inline power and QoS (IP Telephony).

The Cabling Plant from the Building Access to the Buidling Distribution Layer will carry agregate traffic from end nodes to Building Distribution Switches.

At Building Distribution Layer switches must be Multilayer (Layer-2/Layer-3) switches and selected so that they can handle current Building Access Layer load they can be either fixed or modular chassis. Plan port density for additional Access Layer devices. Plan for redundancy in chassis and connections to Access Layer and Core Layers.

The Campus Backbone must support high-speed data communications between other modules. Size the backbone accordingly and plan on redundancy.

Notes and Notices:

This is a part of my personal BCMSN notes and research to assist myself in learning and understanding the concepts and theory for the BCMSN exam. I learn by making notes reading and writing things down and wish to file them where I can’t lose them. These notes are not to be seen, judged or mistaken for replacements to Cisco recognized and authorized training which I personally support and attend and suggest you undertake if you are going for the BCMSN Certification.


Search

About

You are currently browsing the Network Ninja weblog archives for the Cabling and Equiptment category.

Latest

RSS
  • Digital Growth with your Job
  • Open Shortest Path First – OSPF Fundamentals – Scenario
  • Open Shortest Path First – OSPF Fundamentals – Questions and Answers – Question 13
  • Open Shortest Path First – OSPF Fundamentals – Questions and Answers – Question 12
  • Open Shortest Path First – OSPF Fundamentals – Questions and Answers – Question 11
  • Open Shortest Path First – OSPF Fundamentals – Questions and Answers – Question 10
  • Open Shortest Path First – OSPF Fundamentals – Questions and Answers – Question 9
  • Open Shortest Path First – OSPF Fundamentals – Questions and Answers – Question 8
  • Open Shortest Path First – OSPF Fundamentals – Questions and Answers – Question 7
  • Open Shortest Path First – OSPF Fundamentals – Questions and Answers – Question 6

Archives

  • June 2009
  • April 2009
  • March 2009
  • February 2009
  • November 2008
  • October 2008
  • September 2008
  • August 2008
  • July 2008
  • June 2008
  • May 2008
  • April 2008

Categories

  • 802.11 (7)
  • 802.1Q (1)
  • 802.1X (1)
  • AAA (1)
  • Access Point (7)
  • ACL (4)
  • Addressing (3)
  • Asides (31)
  • auto-summary (3)
  • AutoQoS (1)
  • Bandwidth (2)
  • BCMSN (55)
  • BDR (2)
  • BGP (1)
  • BPDU Filtering (1)
  • BPDU Guard (2)
  • BPDU Root Guard (1)
  • BSCI (67)
  • BSCI Notes (18)
  • BSCI Questions (48)
  • Business (1)
  • Cabling and Equiptment (3)
  • CAM (1)
  • CCDA (1)
  • CDP (1)
  • CEF (1)
  • Certification (123)
  • CIDR (2)
  • CIR (2)
  • Cisco Systems (144)
  • Concepts and Constructs (76)
  • CoS (1)
  • Cost (3)
  • DAI (1)
  • DDNS (1)
  • Debug (2)
  • DHCP Snooping (1)
  • DHCP Spoofing (1)
  • DR (3)
  • DUAL (1)
  • Dynamic ARP Inspection (1)
  • ECNM (5)
  • EIGRP (5)
  • Enterprise Architecture (7)
  • EtherChannel (1)
  • GLBP (1)
  • Hello Timer (2)
  • Hold Timer (2)
  • Hot Standby Router Protocol (1)
  • HSRP (1)
  • IGRP (1)
  • IIN (2)
  • Inter-Vlan Routing (1)
  • Interconnection Technologies (2)
  • IP Source Guard (1)
  • IS-IS (1)
  • ISL (1)
  • LACP (1)
  • Link State Advertisements (2)
  • Load Balancing (2)
  • Loop Guard (1)
  • MAC Address Flooding (1)
  • MLS (1)
  • MSTP (1)
  • NBAR (1)
  • NBMA (1)
  • Off-Topic (12)
  • OSPF (18)
  • PAgP (1)
  • passive-interface (1)
  • PoE (1)
  • Port Security (1)
  • Priority (2)
  • Proxy ARP (1)
  • PVC (1)
  • QoS (2)
  • RIP (1)
  • RIPv2 (1)
  • Root Guard (1)
  • RSTP (1)
  • Show (6)
  • Software (1)
  • SONA (2)
  • SSH (2)
  • STP (5)
  • Stub Router (3)
  • summary-address (1)
  • Support (4)
  • Switch Spoofing (1)
  • TCAM (1)
  • Telnet (2)
  • Troubleshooting (1)
  • Trunk (6)
  • Unidirectional Link Detection (1)
  • VACL (3)
  • VC (1)
  • Vine (20)
  • VLAN (11)
  • VLAN Hopping (1)
  • VLSM (1)
  • VoIP (1)
  • VRRP (1)
  • VTP (4)
  • VTY (1)
  • Wireless (7)


Styled with Sawchuk

Powered by WordPressabc and K21.0-RC7

Entries Feed and Comments Feed

45 queries. 1.4930 seconds.