Solved

Cisco 3750 spanning tree portfast

Posted on 2011-02-25
8
1,663 Views
Last Modified: 2012-05-11
Let’s say I am configuring my fast Ethernet ports on a 3750

Some ports have the following configuration (Lets call this config1):
      interface FastEthernet1/1
      switchport access vlan 100
      spanning-tree portfast

Other ports have the following configuration (Lets call this config2)
interface FastEthernet1/6
      switchport access vlan 100

The following are my spanning tree commands:

spanning-tree mode rapid-pvst
spanning-tree etherchannel guard misconfig
spanning-tree extend system-id
spanning-tree uplinkfast
spanning-tree backbonefast


Questions:
1.      Does this mean that I can only plug Ethernet connections into config1?
2.      What happens if I plug an Ethernet cable into a port with config2?
3.      Can I just disable a port completely
4.      What if I wanted to connect a switch into a fast Ethernet port instead of a fiber port? Would I have to make that port a trunk port? If so will all inter VLAN routing work.


The reason for the question is that I have read articles that have told me not to plug cables into particular ports that do not have spanning tree portfast for fear of flooding, broadcast storms etc..
0
Comment
Question by:adimit
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
  • +2
8 Comments
 
LVL 50

Accepted Solution

by:
Don Johnston earned 200 total points
ID: 34983501
1. The 3750 is an Ethernet switch. You can't connect anything but ethernet to it.
2. After 30 seconds, the port will move to forwarding state.
3. Yes. In interface config mode issue the command "shutdown".
4. You wouldn't have to. But you could. If the port needed to carry more than one VLAN, it would have to be a trunk.
0
 
LVL 3

Assisted Solution

by:MrRude
MrRude earned 100 total points
ID: 34983541
I don't understand question 1. it is an ethernet port so yes only ethernet will fit
2. It will take a little longer to come up to forwarding state
3. yes - shutdown command
4. Trinking port with spanning tree portfast disabled
0
 

Author Comment

by:adimit
ID: 34983723
the reason for ?1 and 2 is that I have been told that I should not plug cables into ports not configured for spanning tree (see my last 2 lines in the original question). Is that true?
0
Building an interactive eFuture classroom

Watch and learn how ATEN provided a total control system solution including seamless switching matrix switch, HDBaseT extenders, PDU, lighting control to build an interactive eFuture classroom.

 
LVL 50

Assisted Solution

by:Don Johnston
Don Johnston earned 200 total points
ID: 34983740
Spanning-tree can't really be disabled. It's on by default and unless you turn on portfast and BPDU-filter, you're fine.
0
 
LVL 28

Assisted Solution

by:mikebernhardt
mikebernhardt earned 100 total points
ID: 34984644
"spanning-tree portfast" doesn't turn on spanning tree, which is already on by default.

"spanning-tree portfast" bypasses the normal spanning tree listen-learn-forward mechanism so that hosts can come on line as soon as they are plugged into the port. It's good to use it on host ports. It should NEVER be used on trunk or uplink ports.

You can configure the fast ethernet port exactly the same you configure the fiber port with trunking and multiple vlans and it will work fine.
0
 
LVL 12

Assisted Solution

by:jjmartineziii
jjmartineziii earned 100 total points
ID: 34984677
you should only enable portfast on access ports. this allows the port to "come up" faster than without it. Without it, a port can take up to 60 secs to go through the STP process
0
 

Author Comment

by:adimit
ID: 35037620
Hello

I beleive the following summarizes what I was told. Let me know if I am wrong:

1)      If the port is not connected to any device –OR– its purpose in unknown –OR– the port is connected to another switch then “spanning-tree portfast” should NOT be set.
2)      If the port is connected to a server or a non-switch device, then it is safe to enable “spanning-tree portfast”
0
 
LVL 28

Expert Comment

by:mikebernhardt
ID: 35038244
That's correct. Although if the port is not connected to any device then it really doesn't matter how the port is set. If I know that the purpose of the switch is primarily to support hosts/servers then I might turn it on on all user ports, connected or not.

There is a feature called "bpdu guard" which will shut down the port if it sees BPDUs entering a port that had portfast enabled. I think whether it's enabled by default depends on the model or version of software, but you can turn it on if it isn't already. That way you can turn on portfast everywhere (except uplinks) and if someone plugs in a little switch under their desk, the port will shut down until you turn off portfast.
0

Featured Post

Why You Need a DevOps Toolchain

IT needs to deliver services with more agility and velocity. IT must roll out application features and innovations faster to keep up with customer demands, which is where a DevOps toolchain steps in. View the infographic to see why you need a DevOps toolchain.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Destination host unreachable 12 366
eigrp routing loop 5 96
connect to cisco 2690 series 6 76
Sonicpoint ACi and PoE switch 3 5
The worst thing when starting a new job is when the previous Network Administrator left behind no documentation. How do you get into the devices? If you've been in this situation or just accidently mistyped your password, this article will hopefully…
Arrow Electronics was searching for a KVM  (Keyboard/Video/Mouse) switch that could display on one single monitor the current status of all units being tested on the rack.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question