Juniper Trunking – Setting Up Two Links Without LAG

ieee-802.1axjuniperjuniper-exspanning treetrunk

Some reason I'm drawing a blank on this. Let's say I have two EX switches connected together with 2 links to each other (xe-0/1/0 and xe-0/1/1 on both switches).

I can easily setup a trunk on one of those links using a simple configuration like the following:

test@SW1# show interfaces xe-0/1/0                                 
unit 0 {
description "Trunk to SW2 to port xe-0/1/0";
family ethernet-switching {
    port-mode trunk;
    vlan {
        members [ vlan-10 vlan-20 ];
    }
    native-vlan-id 1;
}
}

Now my question is how would I make the second link be a backup for this trunk? Would I configure port xe-0/1/1 the same as above and let STP block it? What's the proper procedure for this?

From what I can tell there are 3 options (redundant trunk group, link aggregation, two links using STP) I'm just having an issue telling if I need to configure both ports identically or if there is something else I should do.

Thanks!

Best Answer

One thing to keep in mind with trunk redundancy is that STP fails over slowly, even with Rapid STP. If you set up the two links as an aggregated channel, the link failover is much faster. STP failover is the slowest, routing protocol failover is an order of magnitude faster, and the aggregation channel failover is another order of magnitude faster still.