Switching

Expand all | Collapse all

Portfast

Jump to Best Answer
  • 1.  Portfast

    Posted 10-13-2020 20:05

    INFO:

    Model: ex2200-48t-4g
    Junos: 15.1R7-S1

     

    I want to enable portfast on interface beside trunk port

    But after my test only 2s difference.
    Portfast enable: 26s
    Portfast disable: 28s

     

    ?

    Any miss in my steps?
    tq

    STEPS:

    interfaces {
        interface-range ACCESS {
            member-range ge-0/0/0 to ge-0/0/45;
        }
    protocols {
        rstp {
            interface ACCESS {
                edge;
            }
            bpdu-block-on-edge;
        }
    ethernet-switching-options {
        bpdu-block {
            disable-timeout 60;
        }
     

    UPDATE1:
    I don't know why my reply getting deleted

    So I just update here my solution

    EDGE on:
    Mac 26s
    Win 5s

     

    Edge off:
    Mac 28s

    Win 9s

     

    You can see so much difference if using Windows

    # run show spanning-tree interface detail | match "Link type"
    Link type : Pt-Pt/NONEDGE
    Link type : Pt-Pt/NONEDGE
    Link type : Pt-Pt/NONEDGE
    Link type : Pt-Pt/NONEDGE
    Link type : Pt-Pt/NONEDGE
    Link type : Pt-Pt/EDGE
    Link type : Pt-Pt/NONEDGE
    Link type : Pt-Pt/EDGE
    Link type : Pt-Pt/EDGE
    Link type : Pt-Pt/EDGE
    Link type : Pt-Pt/EDGE
    Link type : Pt-Pt/EDGE
    Link type : Pt-Pt/EDGE
    Link type : Pt-Pt/EDGE
    Link type : Pt-Pt/EDGE
    Link type : Pt-Pt/EDGE
    Link type : Pt-Pt/EDGE
    Link type : Pt-Pt/EDGE
    Link type : Pt-Pt/EDGE
    Link type : Pt-Pt/EDGE
    Link type : Pt-Pt/EDGE
    Link type : Pt-Pt/EDGE
    Link type : Pt-Pt/EDGE
    Link type : Pt-Pt/EDGE
    Link type : Pt-Pt/EDGE
    Link type : Pt-Pt/EDGE
    Link type : Pt-Pt/EDGE
    Link type : Pt-Pt/EDGE
    Link type : Pt-Pt/EDGE
    Link type : Pt-Pt/EDGE
    Link type : Pt-Pt/EDGE
    Link type : Pt-Pt/EDGE
    Link type : Pt-Pt/EDGE
    Link type : Pt-Pt/EDGE
    Link type : Pt-Pt/EDGE
    Link type : Pt-Pt/EDGE
    Link type : Pt-Pt/EDGE
    Link type : Pt-Pt/EDGE
    Link type : Pt-Pt/EDGE
    Link type : Pt-Pt/EDGE
    Link type : Pt-Pt/EDGE
    Link type : Pt-Pt/EDGE
    Link type : Pt-Pt/EDGE
    Link type : Pt-Pt/EDGE
    Link type : Pt-Pt/EDGE
    Link type : Pt-Pt/EDGE
    Link type : Pt-Pt/EDGE
    Link type : Pt-Pt/NONEDGE
    Link type : Pt-Pt/NONEDGE



  • 2.  Betreff: Portfast
    Best Answer

     
    Posted 10-14-2020 01:52

    Hello,

     

    I've never tested if it is possible to put a whole interface range in edge mode, although the CLI option is available.

    You can check if edge is active or not with the following command:

    show spanning-tree interface <interface> detail | match "Link type"

     

    For example if edge is active:

    show spanning-tree interface ge-0/0/0 detail | match "Link type"

    Link type : Pt-Pt/EDGE

     

    If edge is not active:

    Link type : Pt-Pt/NONEDGE

     

    If putting the whole interface-range to edge is not working, then you need to configure each interface seperately to edge, e.g. with a wildcard range:

    wildcard range set protocols rstp interface ge-0/0/[0-45] edge