Hello and welcome to CertForums.co.uk, here we host free active certification forums with links to the best free resources for Microsoft's MCSA MCSE MCDBA Cisco's CCNA CCDA and CCNP, and CompTIA's A+ Network+ i-NET+ and Security+ certifications in the UK. If you wish to post or use other advanced features you will need to register first. Registration is absolutely free and takes only a few minutes to complete so sign up today!

If you have any problems with the registration process or your account login, please contact support

Go Back   CertForums > Certification Forums > Cisco Certification Forums > Routing & Switching
Home Forums Register Search Today's Posts Mark Forums Read

switch configs

Post New ThreadReply
 
Thread Tools Display Modes
  #1  
Old 19-Feb-2008, 12:48 PM
insurin insurin is offline
Posts: 5
Points: 0 insurin has no points
Power: 1
None
Join Date: 19 Feb 2008
switch configs

Hello people

I have inherited a Cisco network and although I have done my CCNA I have not had much hands on in a real live environment so am still new to this.

Just browsing the configs of several switches, all ports within the switch have the lines

interface FastEthernet0/1
switchport trunk encapsulation dot1q
switchport trunk native vlan 200
switchport mode trunk
switchport voice vlan 20
spanning-tree portfast

for each corrsponding port

I have a few questions.

1. I think I undertsand the bit about native vlan, but if some could explain that would be great.

2. the line 'switchport mode trunk' is set on every port in the config and its like this on a lot of other switches too, but some configs just have 'switchport mode access' and 'switchport access vlan vlan_number'

what I am askin here is: I would have thought you would just make 2 ports for trunking, for example if I have 2 fibre ports, I would just set them to be the trunks and the rest of the ports would be switchport mode access.
So if all the ports are set to ' switchport mode trunk', does this not mean that all ports are acting as trunk ports and are forwarding traffic to other switches out on all ports.

forgive me if this reads stupid.

 
Reply With Quote
  #2  
Old 19-Feb-2008, 05:00 PM
BosonMichael's Avatar
BosonMichael BosonMichael is offline
Premium Member
Posts: 10,163
Points: 4789 BosonMichael has over 4000 pointsBosonMichael has over 4000 pointsBosonMichael has over 4000 pointsBosonMichael has over 4000 pointsBosonMichael has over 4000 pointsBosonMichael has over 4000 pointsBosonMichael has over 4000 pointsBosonMichael has over 4000 pointsBosonMichael has over 4000 pointsBosonMichael has over 4000 pointsBosonMichael has over 4000 points
Power: 152
None
Join Date: 02 Nov 2006
Location: near Nashville, TN
Age: 38
Certifications: MCSE+I, MCSE: Securi.. huh? out of room?
WIP: Just about everything!
1. The native VLAN is the management VLAN. Frames on this VLAN are not tagged.

2. Depends on what's hooked to each port. If you've got host computers hooked to each port, you are right - those should be access ports. Trunk ports are to trunk multiple VLANs across a link, typically between switches.


BosonMichael
MCSE+I, MCSE: Security, MCDST, MCDBA, OCP, CCNP, CCDP, CNE, SCSA, Security+, Linux+, Server+, Network+, A+
Served proudly, US Army, 98C Intelligence Analyst, '89-'92
 
Reply With Quote
  #3  
Old 19-Feb-2008, 05:45 PM
insurin insurin is offline
Posts: 5
Points: 0 insurin has no points
Power: 1
None
Join Date: 19 Feb 2008
coming out of the ports are just standard hosts (PC's), so going off what you have told me, I will get 1 switch and change all these trunks to 'access' apart from 2 for trunking. The reason I started to look into the configs was because when ghostcasting whether it was multicasting or just normal ghosting, the network was operating very slow even when nobody was in.for example, I can ghost from one floor and achieve speeds of 500-600mbps but at certain points on the network I can only get around 100mbps.
So after looking at configs and seeing as the majority are set to trunk ports is the network being pounded with more bandwidth than it should be, if all the trunk ports are sending data out on every port it must be creating a lot of traffic?

 
Reply With Quote
  #4  
Old 19-Feb-2008, 05:48 PM
hbroomhall hbroomhall is offline
Premium Member
Posts: 6,031
Points: 2032 hbroomhall has over 2000 pointshbroomhall has over 2000 pointshbroomhall has over 2000 pointshbroomhall has over 2000 pointshbroomhall has over 2000 pointshbroomhall has over 2000 pointshbroomhall has over 2000 pointshbroomhall has over 2000 pointshbroomhall has over 2000 pointshbroomhall has over 2000 pointshbroomhall has over 2000 points
Power: 86
None
Join Date: 08 Sep 2005
Location: Tunbridge Wells, Kent
Certifications: ECDL A+ Network+ i-Net+
WIP: Server+
One of the classic reasons for slow links is full-duplex not being set. Some switches have problems with some NICs, and often the full-duplex setting has to be set, rather than to 'auto'.

Harry.

 
Reply With Quote
  #5  
Old 19-Feb-2008, 05:59 PM
insurin insurin is offline
Posts: 5
Points: 0 insurin has no points
Power: 1
None
Join Date: 19 Feb 2008
ok, good information, I will make changes over the next couple of days and report back the results.

 
Reply With Quote
  #6  
Old 19-Feb-2008, 07:39 PM
insurin insurin is offline
Posts: 5
Points: 0 insurin has no points
Power: 1
None
Join Date: 19 Feb 2008
Quote:
Originally Posted by hbroomhall View Post
One of the classic reasons for slow links is full-duplex not being set. Some switches have problems with some NICs, and often the full-duplex setting has to be set, rather than to 'auto'.

Harry.
Would I be setting duplex/auto etc on the port that the ghost server resides on, on an individual basis, e.g.

I have a 6500 catalyst core switch and a load of 3500/2900 switches. The ghost server is on the module 3/6 on the 6500 (should I make the setting to auto neg/fd/hd here on this interface?

or

set them all on the indivdual ports of the 3500/2900 switches

 
Reply With Quote
  #7  
Old 19-Feb-2008, 10:03 PM
hbroomhall hbroomhall is offline
Premium Member
Posts: 6,031
Points: 2032 hbroomhall has over 2000 pointshbroomhall has over 2000 pointshbroomhall has over 2000 pointshbroomhall has over 2000 pointshbroomhall has over 2000 pointshbroomhall has over 2000 pointshbroomhall has over 2000 pointshbroomhall has over 2000 pointshbroomhall has over 2000 pointshbroomhall has over 2000 pointshbroomhall has over 2000 points
Power: 86
None
Join Date: 08 Sep 2005
Location: Tunbridge Wells, Kent
Certifications: ECDL A+ Network+ i-Net+
WIP: Server+
Note that I am *not* an expert on individual switches! It is just that nearly 100% of slowdowns I have experienced at work are due to the full-duplex problem.

It has always been fixed by setting the individual port that had the problem.

Harry.

 
Reply With Quote
  #8  
Old 20-Feb-2008, 12:50 PM
insurin insurin is offline
Posts: 5
Points: 0 insurin has no points
Power: 1
None
Join Date: 19 Feb 2008
from what I have been reading from the 'Cisco config Guide' there are 2 methods for enabling trunking. I have not mentioned that I do run a load of Cisco 7940/11/60s and have pc's hooked onto these as well as just having computers running off the ports.


> Config 1 (trunked)

> interface FastEthernet0/2
> switchport access vlan 200
> switchport trunk encapsulation dot1q
> switchport trunk native vlan 200
> switchport mode trunk
> switchport voice vlan 20
> no ip address
> spanning-tree portfast

> Config 2 (non-trunked)

> interface FastEthernet0/2
> switchport access vlan 200
> switchport mode access
> switchport voice vlan 20
> no ip address
> spanning-tree portfast

My vlan for voice is 20 and I would need the computers running off the phone to be assigned to the native vlan so it gets the right IP address from our DHCP server via ip helper address.

Looking at the 2 configs above, would both of these work for me or would I have to use config 1 as this states the 'native vlan'

 
Reply With Quote
Post New ThreadReply Spread this thread: Submit this thread to digg Submit this thread to del.icio.us


Go Back   CertForums > Certification Forums > Cisco Certification Forums > Routing & Switching


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
kvm switch grim Hardware & Upgrading 30 31-Dec-2007 11:29 AM
Have you made the switch? simongrahamuk Linux / Unix Discussion 27 20-Nov-2007 12:43 PM
Stacking simongrahamuk Networking 8 23-Jun-2007 07:43 PM
Router and Switch ping queries 16v6n Routing & Switching 6 23-May-2007 11:18 PM
Help needed with switch Paul_o Networking 4 20-Aug-2006 11:13 AM


All times are GMT. The time now is 05:13 AM.

Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
CertForums.co.uk (C) copyright 2003-2007 All Rights Reserved. Content published on CertForums.co.uk requires permission for reprint.
Hosted by Lunarpages