Switching

last person joined: yesterday 

Ask questions and share experiences about EX and QFX portfolios and all switching solutions across your data center, campus, and branch locations.
  • 1.  spanning-tree portfast on EX4200

    Posted 05-25-2012 06:57

    I want to set up portfast (spanning-tree) on an EX4200. I know how to do it with Cisco, but it seems less simple on EX4200

     

    On Cisco the configuration is :

     

    interface GigabitEthernet 7
    switchport
    switchport trunk encapsulation dot1q

    switchport trunk native vlan 100
    switchport mode trunk

    spanning-tree portfast

    no ip address

     

     

     

     

    On EX4200 I have did this :

     

    ge-0/0/3 {
     unit 0 {
      family ethernet-switching {
       port-mode trunk;
        vlan {
          members vlan-200;
        }
       native-vlan-id 100;
      }
     }
    }

     

     

    How can I add spanning-tree portfast on the EX4200 ?

    Thx



  • 2.  RE: spanning-tree portfast on EX4200



  • 3.  RE: spanning-tree portfast on EX4200

    Posted 05-25-2012 10:46

    I really can't understand what the command syntaxe !

     

    How can I apply spanning-tree portfast on ge-0/0/3 interface 

     

    admin# edit protocols vstp interface
    ^
    syntax error.

     

     

    Why the EX4200 down't accept the commande edit protocols vstp interface ge-0/0/3 ?




  • 4.  RE: spanning-tree portfast on EX4200

    Posted 05-25-2012 11:10

    That's because the command syntax is incorrect. It is as below:

    root@juniper# edit protocols vstp vlan vlan20 interface ge-0/0/3

    root@juniper# set edge

     

    Always use ? after every error you got while typing the command, its really helpful



  • 5.  RE: spanning-tree portfast on EX4200

    Posted 05-26-2012 10:06

    Thank you very much.

     

    I would like to know what command can help me now if an interface is configured as spanning-tree porfast or not (edge or not)

     

    admin# run show spanning-tree interface ge-0/0/3.0

    Spanning tree interface parameters for instance 0

    Interface    Port ID Designated    Designated         Port    State    Role

                                      port ID           bridge ID          Cost
    ge-0/0/3.0 128:522 128:521 32768.78fe3d344781 20000 FWD DESG

    {master:0}[edit]

     

    The output doesn't tell if this interface is in portsfast or not !

     

    Thanks



  • 6.  RE: spanning-tree portfast on EX4200

    Posted 05-28-2012 14:55

    show spanning-tree interface ge-0/0/0 detail