WRED Configuration Example
As shown in Fig 1, interfaces ge-1/1/1, ge-1/1/2, and ge-1/1/3 are connected to end hosts PC1, PC2, and PC3, respectively. Ports ge-1/1/1 and ge-1/1/12 are ingress ports, while ge-1/1/3 is an egress port. In this example, WRED is configured on ge-1/1/3.
                   Â
                                Fig 1. Configure WRED
Enable WRED
Enable WRED on queue 0 of interface ge-1/1/3.
admin@XorPlus# set interface gigabit-ethernet ge-1/1/3 wred queue 0 enable true admin@XorPlus# commit Commit OK. Save done.
Set Maximum and Minimum Thresholds
Set the maximum threshold to 400 and the minimum threshold to 200 on queue 0 of interface ge-1/1/3.
admin@XorPlus# set interface gigabit-ethernet ge-1/1/3 wred queue 0 max_thresh 400 admin@XorPlus# set interface gigabit-ethernet ge-1/1/3 wred queue 0 min_thresh 200 admin@XorPlus# commit Commit OK. Save done.
Set Drop Probability
Set the drop probability to 50% on queue 0 of interface ge-1/1/3.
admin@XorPlus# set interface gigabit-ethernet ge-1/1/3 wred queue 0 drop_probability 50 admin@XorPlus# commit Commit OK. Save done.
Enable ECN
Enable ECN (Explicit Congestion Notification) on queue 0 of interface ge-1/1/3.
admin@XorPlus# set interface gigabit-ethernet ge-1/1/3 wred queue 0 ecn_thresh 1 admin@XorPlus# commit Commit OK. Save done.
Copyright © 2024 Pica8 Inc. All Rights Reserved.