cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1089
Views
5
Helpful
5
Replies

Spanning-Tree Portfast Config

bbentley05
Level 1
Level 1

Scenario: 400 user LAN (30 VLANs - L2 througout - L3 routing at the core) with about 30% of the users having small 5-port gig switches because they must run 3-4 machines. Physically we can only deliver 2 ports/user and each user has a Cisco IP phone. Current policy allows end-users to use these small switches in their offices.

Question: Is the following config safe to use globally on our access switches (3750G L2 running 12.37.SE1)?

Config Snips:

!

spanning-tree mode rapid-pvst

spanning-tree loopguard default

spanning-tree portfast bpduguard default

spanning-tree extend system-id

!

interface GigabitEthernet1/0/2

switchport access vlan 2

switchport voice vlan 20

srr-queue bandwidth share 10 10 60 20

srr-queue bandwidth shape 10 0 0 0

queue-set 2

priority-queue out

mls qos trust device cisco-phone

mls qos trust cos

auto qos voip cisco-phone

spanning-tree portfast

!

Thanks in advance,

-Brad

1 Accepted Solution

Accepted Solutions

Edison Ortiz
Hall of Fame
Hall of Fame

Looks good.

__

Edison.

View solution in original post

5 Replies 5

Edison Ortiz
Hall of Fame
Hall of Fame

Looks good.

__

Edison.

Thanks for reviewing Edison. I wanted a second opinion. We ran BPDU guard and loop detection tests by using multilpe hubs and switches and looping them back into the network. Switches and RSPT handled the loop detection and port err_disablement perfectly. The network didn't skip a beat.

Thanks again,

Brad

With RSTP I though portfast was an inherent state or role of ports connected to none STP speaking devices??

Hi

If i understand you correctly then yes portfast is the equivalent of an "edge" port in RSTP. However you still need to use portfast keyword ie. from Cisco doc

=============================================

Edge Ports

The edge port concept is already well known to Cisco spanning tree users, as it basically corresponds to the PortFast feature. All ports directly connected to end stations cannot create bridging loops in the network. Therefore, the edge port directly transitions to the forwarding state, and skips the listening and learning stages. Neither edge ports or PortFast enabled ports generate topology changes when the link toggles. Unlike PortFast, an edge port that receives a BPDU immediately loses edge port status and becomes a normal spanning tree port. At this point, there is a user-configured value and an operational value for the edge port state. The Cisco implementation maintains that the PortFast keyword be used for edge port configuration. This makes the transition to RSTP simpler.

=============================================

Jon

Thank you sir!

Review Cisco Networking products for a $25 gift card