Options

"Spanning-tree port-priority" command missing

wseyllerwseyller Member Posts: 44 ■■■□□□□□□□
Using Packet Tracer 7.

I am starting to practice with STP.

I noticed when configuring an interface that this command is missing. Is this just a limitation of PT or am I missing something. I was using the 2960 switch but I also looked at the others to with same findings.

Comments

  • Options
    MitMMitM Member Posts: 622 ■■■■□□□□□□
    you want to do "spanning-tree vlan <vlan #> port-priority"
  • Options
    wseyllerwseyller Member Posts: 44 ■■■□□□□□□□
    MitM wrote: »
    you want to do "spanning-tree vlan <vlan #> port-priority"

    thanks. The video instructor didn't use "vlan" as i assume his equipment was different. I got it now. I can see it change only for vlan 1 for example but did not change for other vlans.
  • Options
    wseyllerwseyller Member Posts: 44 ■■■□□□□□□□
    Ok I have one more question on STP commands

    To change the cost of an interface such as: spanning-tree cost 18
    that is missing also from packet tracer.

    I tried: spanning-tree vlan # cost 18

    but the help doesn't show on cost command that I can find.
  • Options
    rob42rob42 Member Posts: 423
    wseyller wrote: »
    Ok I have one more question on STP commands

    To change the cost of an interface such as: spanning-tree cost 18
    that is missing also from packet tracer.

    I tried: spanning-tree vlan # cost 18

    but the help doesn't show on cost command that I can find.


    You need to be in the config-if mode...

    S2950_1(config-if)#spanning-tree ?
    cost Change an interface's spanning tree port path cost
    guard Change an interface's spanning tree guard mode
    port-priority Change an interface's spanning tree port priority
    portfast Enable an interface to move directly to forwarding on link up
    stack-port Enable stack port
    vlan VLAN Switch Spanning Tree



    ... but I don't think that the CPT IOS supports this feature. One of my 2950 switches is running IOS Ver 12.1(6), which is where the command help came from. My other 2950 is running IOS Ver 12.0(5.3) and shows this at the command help...

    S2950_2(config-if)#spanning-tree ?
    cost Change an interface's spanning tree path cost
    port-priority Change an interface's spanning tree priority
    portfast Allow a change from blocking to forwarding
    rootguard Enforce root guard
    vlan VLAN Switch Spanning Trees
    No longer an active member
  • Options
    wseyllerwseyller Member Posts: 44 ■■■□□□□□□□
    I think it is just packet tracer. I pasted some text from packet tracer. I also finally got some switches in GNS3 which I also pasted text from that. The GNS3 option has more commands available.




    PACKET TRACER (SPANNING-TREE)
    Switch(config)#int f0/1
    Switch(config-if)#spann
    Switch(config-if)#spanning-tree ?
    bpduguard Don't accept BPDUs on this interface
    guard Change an interface's spanning tree guard mode
    link-type Specify a link type for spanning tree protocol use
    portfast Enable an interface to move directly to forwarding on link up
    vlan VLAN Switch Spanning Tree
    Switch(config-if)#spanning-tree




    PACKET TRACER (SPANNING-TREE VLAN 1)
    Switch(config)#int f0/1
    Switch(config-if)#span
    Switch(config-if)#spanning-tree vla
    Switch(config-if)#spanning-tree vlan ?
    WORD vlan range, example: 1,3-5,7,9-11
    Switch(config-if)#spanning-tree vlan 1 ?
    port-priority Change an interface's spanning tree port priority
    Switch(config-if)#spanning-tree vlan 1






    GNS3 (SPANNING-TREE)
    S2(config-if)#spanning-tree ?
    bpdufilter Don't send or receive BPDUs on this interface
    bpduguard Don't accept BPDUs on this interface
    cost Change an interface's spanning tree port path cost
    guard Change an interface's spanning tree guard mode
    link-type Specify a link type for spanning tree protocol use
    mst Multiple spanning tree
    port-priority Change an interface's spanning tree port priority
    portfast Enable an interface to move directly to forwarding on link up
    vlan VLAN Switch Spanning Tree


    S2(config-if)#spanning-tree S2(config)#int e0/0




    GNS3 (SPANNING-TREE VLAN 1)
    S2(config)#int e0/0
    S2(config-if)#spann
    S2(config-if)#spanning-tree vlan 1 ?
    cost Change an interface's per VLAN spanning tree path cost
    port-priority Change an interface's spanning tree port priority


    S2(config-if)#spanning-tree vlan 1
Sign In or Register to comment.